Title: Message
Hi Fintan,
 
  I am really thankful to you for your good suggestion. But I need to call the JSF Form(jsf1) from  a particular field of JSFForm (jsf1) and based on the dependencies in the JSF Form(jsf2) I Have to return the Focus to the Next or the same field. How  can I do this.
 
Regards,
Chandru.
----- Original Message -----
Sent: Wednesday, August 02, 2006 7:10 PM
Subject: RE: Neede Suggestion for my Query through JSF way

Hi Chandru,
 
If you bind the particular field (formField) in your form to a field (bbField) in your backing bean (bb), then you can have a method in your backing bean that returns the next page to go to (navMethod).  The logic in this method will look at the value in the field in order to determine which page to go to next. 
 
The 'submit' button on your form should have an 'action="" attribute.
 
The UpdateModel phase will store the value that was entered onto the form (formField) in the backing bean field (bbField).
The InvokeApplication phase will execute the navMethod() to determine which page to go to next.
 
Since the UpdateModel phase executes before the InvokeApplication phase the bbField will have been set when the navMethod checks it to decide which page to go to.
 
HTH,
 
Fintan
-----Original Message-----
From: Chandra Sekhar [mailto:[EMAIL PROTECTED]
Sent: 02 August 2006 13:49
To: MyFaces Discussion
Subject: Neede Suggestion for my Query through JSF way

Hi,
 
 I need a way to forward to the JSF page to the another JSF Page basing upon the value in a Particular field. For form page validations I'm using _javascript_ .Please suggest a way to do this.
 
Regards,
Chandru.
 


* ** *** ** * ** *** ** * ** *** ** *
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