Re: Caching the result of an EL expression evaluation with in a life cycle

2009-06-26 Thread Manfred Geiler
A standard EL expression evaluator cannot and MUST never cache results. Imagine the following expression: h:outputText#{someBean.nextCounterValue}/h:outputText The app developer would not be very happy if EL caches that result, right? So caching can only be a matter for the model. OR: you write

Re: Caching the result of an EL expression evaluation with in a lifecycle

2009-06-26 Thread Jeremy Wilson
--Original Message-- From: Sam Witty To: dev@myfaces.apache.org ReplyTo: MyFaces Development Sent: Jun 25, 2009 9:36 PM Subject: Caching the result of an EL expression evaluation with in a lifecycle If you have the following code: h:h:outputText#{someBean.user.firstName}/h:outputText

Re: Myfaces 2.0 javascript javax.faces.viewRoot response need some feedback from others

2009-06-26 Thread Werner Punz
Werner Punz schrieb: Werner Punz schrieb: Curtiss Howard schrieb: Forgive me if I'm missing some important details, but why even use innerHTML in the first place? It should be possible to parse the incoming text into a DOM node (there's some JS function for it, I can't remember which), then

Re: Caching the result of an EL expression evaluation with in a lifecycle

2009-06-26 Thread Alan Hancock
Use JPA to get the data. You'll need a service and an entity object. Then your backing bean can use the service layer to retrieve the entire object. This approach handles caching for you and is much more scalable -Alan via iPhone On Jun 26, 2009, at 5:56 AM, Jeremy Wilson

[jira] Created: (MYFACES-2260) Dom replacement code in javax.faces.ViewRoot und javax.faces.ViewBody is incorrect

2009-06-26 Thread Werner Punz (JIRA)
Dom replacement code in javax.faces.ViewRoot und javax.faces.ViewBody is incorrect -- Key: MYFACES-2260 URL: https://issues.apache.org/jira/browse/MYFACES-2260 Project:

[jira] Resolved: (MYFACES-2260) Dom replacement code in javax.faces.ViewRoot und javax.faces.ViewBody is incorrect

2009-06-26 Thread Werner Punz (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Werner Punz resolved MYFACES-2260. -- Resolution: Fixed resolved with the last commit! the head section is a different issue, I am

[jira] Reopened: (TRINIDAD-1515) Browser back button does not work

2009-06-26 Thread Andrew Robinson (JIRA)
[ https://issues.apache.org/jira/browse/TRINIDAD-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Robinson reopened TRINIDAD-1515: --- Browser back button does not work --

Re: Caching the result of an EL expression evaluation with in a life cycle

2009-06-26 Thread Sam Witty
Yes I absolutely agree, it has to be configurable in some way. It just seems like such a common issue that I was hoping there was a general solution. The ELResolver route will certainly work, though as you pointed out it will have to be some sort of annotation which will look and feel hacky,

[jira] Commented: (MYFACES-2259) Implement Partial State Saving feature

2009-06-26 Thread Leonardo Uribe (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12724725#action_12724725 ] Leonardo Uribe commented on MYFACES-2259: - Committed implementation of