On 6/19/07, Anthony Yulo <[EMAIL PROTECTED]> wrote:
Yes I know. I just thought the question was about JSF in particular so I
tried to post to this list anyway and also it is very similar to Trinidad.
I'll just re-phrase the question :)
How can I force the validateModelUpdates phase of the JSF Lifecycle
Inside the return Listener method after the Trinidad dialog returns to the
main page?
You can't. returnListener is simply in charge of getting a value
back into the content, and validation does not fire.
Validation will fire on the next postback.
-- Adam
-----Original Message-----
From: Adam Winer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 11:03 AM
To: MyFaces Discussion
Subject: Re: Dialog Framework and validateModelUpdates Phase
Anton, this is a question about ADF Faces and BC4J, both
of which are Oracle products. You should bring this
question to OTN or Oracle support. This mailing list
needs to be limited to questions about Apache MyFaces
projects.
-- Adam
On 6/19/07, Anthony Yulo <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi! I've noticed that when I launch a popup using the ADF Faces Dialog
> framework, it seems that the validateModelUpdates phase of the JSF
Lifecycle
> doesn't get called when it returns to the main page. I am using the ADF
BC4J
> framework. When I return from the dialog, I updated my Model data on the
> returnListener. I updated a value on the main page bound to table on the
> database. I got the value from the dialog and it was invalid based on
some
> business rule. But when I traced the program, the validator did not get
> fired at all.
>
>
>
>
>
>
>
> Is there anyway to force the ValidateModelUpdates phase to run inside the
> returnListener?
>
>
>
>
>
>
>
> Regards,
>
>
>
>
>
> Anton
>
>
>
>