I was checking Jakarta tapestry website and it says this about the Conditional component:
This component has been deprecated; Tapestry 4.0 adds the If component which allows conditionalized elements to be safely contained by Form components. If anybody has any idea how to display a message in Tapestry4 please help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Thanks & Regards ----------------------------- Ananya Goswami Software Developer ----------------------------- mail: [EMAIL PROTECTED] mob: 09886886320 ph: 080-57561000 extn:3720 -----Original Message----- From: Waimun Yeow [mailto:[EMAIL PROTECTED] Sent: 08 September 2005 21:21 To: [email protected] Subject: Re: Need help on how to display a message in Tapestry Hi Anjali You could have a property (boolean) in Login page and before you return back to Login page, you can set that property to true. By doing so, in your Login page, you can use the @Conditional comp to decide whether to output the message "welcome back from forget password page". <property-specification name="cameFromForgetPage" type="boolean"/> loginPage.setCameFromForgetPage(true); cycle.activate("loginPage"); HTH, -- waimun On 9/8/05, Anjali Abraham <[EMAIL PROTECTED]> wrote: > Hi All, > I Need help on how to display a message on my login page. > > I have a scenario wherein where in I move from my login page to "forgot > Password" page, and in the forgot password page I have a submit button > wherein after all validation if successful I need to display a Message say > "Welcome back to Login Page" into the login page after clicking on the > submit button in the forgot password page. > The problem is that, initially my login page shouldn't have that message to > be displayed but after I come back from forgot password page I need to > display that message. > So what n all code I need to add in my html page so that displaying the > message or not be dynamic and what component need to be used for displaying > the message in login's .page file. > > Thanks in advance, > > Regards, > Anjali > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
