Hi Volker, Thnx for the reply and the application is working fine now when placed immediate="true".
Regards, Madan ----- Original Message ---- From: Volker Weber <[EMAIL PROTECTED]> To: MyFaces Discussion <[email protected]> Sent: Friday, 2 February, 2007 1:20:35 AM Subject: Re: [Tobago] Problem with Required Attribute Hi Madan, add a immediate=true to the navigation command. Regards, Volker 2007/2/1, madan chowdary <[EMAIL PROTECTED]>: > > Hi All, > > I Used a Layout as specified in the Demo Example. > > I included a Top Navigation bar at the top, a Left Navigation bar in the > left. > > The <jsp:doBody/> is done for the Middle Part which uses the layout. > > In one of the pages, i used a panel to place <tc:in/> with required="true" > and a submit button. > > When i navigate to this page, and click on submit button without entering > any values, i get the indication that fields are Required. > > But when i just navigate to this page, and then click on other links on my > TopNavigationBar to visit other screens, i get the same indication that > fields are required. > > I need to display these errors when the user clicks "submit" button, but not > when he wish to navigate to other screen without entering any data in the > required fields. > > How to achieve this ? > > Thnx in advance, > Madan > > > > ________________________________ > Here's a new way to find what you're looking for - Yahoo! Answers __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/

