I have an action that constructs a graph of objects and returns an outcome that forwards the request to a new view. In this view, there is an h:outputText tag that displays a string value pulled from the graph. When a user submits a request that causes a validation failure, MyFaces then looks back to the graph/model for the value. Because the model (and consequently the string value) is in request scope, it is of course gone and an empty string is rendered. This problem disappears if I change h:outputText to h:inputText - giving me the behavior (but not the UI control) I want. Ideas?
Dennis Byrne
- restoring the value of h:outputText after validation fai... Dennis_Byrne
- Re: restoring the value of h:outputText after valid... Mike Kienenberger
- Re: restoring the value of h:outputText after v... Dennis_Byrne
- Re: restoring the value of h:outputText aft... Mike Kienenberger
- Re: restoring the value of h:outputText... Dennis_Byrne
- Re: restoring the value of h:outpu... Mike Kienenberger

