What about placecing the login form in your layout page/class and surround it 
by a <t:if test="userLoggedIn"> in your layout tml and implement a "boolean 
isUserLoggedIn()" method in your layout class?

See T5 doc: 

Api docs/corelib/components/if 

User Guide/Layout Component


Jens



Sent from my iPhone

On 03.09.2012, at 11:11, fabs <lord.f...@gmail.com> wrote:

> Hello all.
> 
> My website has a login page, with a username and password field. However, I
> wish to show an inline login form on all pages when the user is not logged
> in, and submit the login request from any page to the main login page (to
> allow errors to be displayed in case login is unsuccessful). I am having
> trouble finding how to fit this use case into tapestry5.
> 
> Thank you for any advice. 
> 
> 
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Submitting-a-form-from-another-page-tp5715999.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to