Title: Message
Hi Shawn,
 
When you submit a form the values are saved as "submitted values".  It is only when all validations are passed that the values are stored in the backing bean.  This way if there are invalid values, the original view is restored and its values are pulled in from the "submitted values" and not from the bean.
 
HTH,
 
Fintan
-----Original Message-----
From: Garner, Shawn [mailto:[EMAIL PROTECTED]
Sent: 19 January 2006 19:37
To: 'MyFaces Discussion'
Subject: [JSF] multiple beans and binding stage

The only examples I've seen are binding one managed bean's values to form controls.

Can you use values from multiple managed beans in controls on the same form?

 

Can an you stop the form from binding the values to the beans after they press submit if the values are invalid for whatever reason?

I know you can return to the original view if there are errors but I assume the values are still bound to the bean.

 

Shawn

****************************************************************************

This email may contain confidential
material. If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.

 ***************************************************************************

 


* ** *** ** * ** *** ** * ** *** ** *
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
Any views or opinions presented are solely those of the author, and do not necessarily
represent those of ESB.
If you have received this email in error please notify the sender.

Although ESB scans e-mail and attachments for viruses, it does not guarantee
that either are virus-free and accepts no liability for any damage sustained
as a result of viruses.

* ** *** ** * ** *** ** * ** *** ** *

Reply via email to