OK, well that's rather different.  No, that's not
supported - we call renderResponse() during
Apply Request Values on return, and the actual
model update is delayed until the next go-around.

In theory, you could call processValidators()
followed by processUpdateModel() on a component
subtree in your returnListener to force these phases
to execute, but I wouldn't guarantee everything
works...

-- Adam



On 8/9/07, Anthony Yulo <[EMAIL PROTECTED]> wrote:
>
> Alright. Thanks Adam.
>
>
> What I really want to do has something to do with the Dialog framework.
>
>
> I want to submit the form on the main page when the Dialog page returns.
> I understand that the main page doesn't get through the whole JSF
> Lifecyle phase, when the dialog page returns.  I need to get main page
> to submit, after the dialog returns because I need the
> validateModelUpdates() function to be called.
>
> Regards,
>
> Anton
>
> -----Original Message-----
> From: Adam Winer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 09, 2007 1:57 PM
> To: MyFaces Discussion
> Subject: Re: autoSubmit=true
>
> No, not really.  For one thing, it uses an AJAX request,
> not a straight form submit.  Conceptually, it's similar
> to doing a form submit though.
>
> -- Adam
>
>
> On 8/8/07, Anthony Yulo <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > A Trinidad input component has an attribute "autoSubmit".  Behind the
> > scenes, is this equivalent to:
> >
> >
> >
> > Onchange="document.getElementById('myform').submit()" ?
> >
> >
> >
> >
>

Reply via email to