Hi Sonu.

I'm far from being a Tapestry expert, but what you are asking is feasible by:

1. injecting the Register page into the Login page (user "@Inject
private Register register" in the Login.java),
2. adding an action link "<t:actionlink
t:id="register">Register</t:actionlink>" in the Login.tml,
3. add the "Object onActionFromRegister() { register.initialize();
return register; }

However, this will all the same trigger eventually the
Register.onActivate() method. Or, in step 3, just "return null" if you
do not want the Register page to be displayed.

Otherwise, you should really take a look at the Tapestry JumpStart
Application (http://files.doublenegative.com.au/jumpstart/home.html),
which covers many Tapestry use cases.

Hope this helps. Cheers,
Édouard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to