Thanks Ricardo!

This is just what I was looking for! I am using the first solution, "Force a new View," and it seems to be working well.

I see now that this article is linked to from the front page of the wiki, sorry that I did not find it myself.

Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

Ricardo Tercero Lozano wrote:

http://wiki.apache.org/myfaces/ClearInputComponents?highlight=%28reset%29




On 6/14/06, *Jeff Bischoff* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Let me clarify slightly:

    Output components within the subForm, such as <h:outputText> do display
    the new model values correctly.

    Input components (e.g. h:inputText, h:selectOneMenu) do not display the
    new model values.

    Can't I retrieve values for input-type components, without first
    submitting?

    Any suggestions appreciated,

    Jeff Bischoff
    Kenneth L Kurz & Associates, Inc.

    Jeff Bischoff wrote:
     > I have used s:subForm tags so that only certain buttons (i.e.
    "save") on
     > the page cause validations, update model values, etc. to occur.
    While,
     > the use of this tag achieves this goal splendidly, I have noticed
    that
     > now when my "load" button is clicked, the subForm does not
    display the
     > resulting new model values.
     >
     > Is there a way to get the subForm to retrieve and display the new
    model
     > values when this button is clicked, but still bypass validations,
    etc?
     >
     > (I also  have a dataTable on many of these pages, and the
    dataTable does
     > display the new values reliably)
     >
     > Regards,
     >
     > Jeff Bischoff
     > Kenneth L Kurz & Assoc, Inc.
     >
     >
     >
     >
     >





Reply via email to