Thanks for the reply, I will try out this method and will get back to you
whether it worked or not... 

Regards,
Anjali

-----Original Message-----
From: Waimun Yeow [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 9:21 PM
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]

Reply via email to