|
When does Facelet's re-evaluate ui:fragment rendered expression?: msg#00139java.facelets.user
Hi- I'm using <ui:fragment rendered="#{myBean.rendered}">... in my page. The business logic behind myBean.isRendered() is a fairly expensive DB query. When I submit a form that includes that fragment, the EL for the rendered attribute is being re-evaluated during the Apply Request Values phase. Is this expected? I assumed that the rendered attribute would only be evaluated during the Render View phase, since this is the only time you'd want to toggle this attribute. I don't want to store myBean in session/conversation/view scope. Is there another way that I can prevent my method being called during the post-back? Thanks for any tips. Adam Brod Product Development Team Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: JSF, Facelets & Recursion, jacob |
|---|---|
| Next by Date: | Re: When does Facelet's re-evaluate ui:fragment rendered expression?, Andrew Robinson |
| Previous by Thread: | JSF, Facelets & Recursion, Roel De Nijs |
| Next by Thread: | Re: When does Facelet's re-evaluate ui:fragment rendered expression?, Andrew Robinson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |