Jim <zjinys <at> gmail.com> writes:
> I'm using gridsphere as my portal container ,But how can I get current
> login user infomation from my tapestry portlet?
Try:
class MyPage {
@InjectObject("service:Tapestry.Globals.WebRequest")
public abstract WebRequest getRequest();
void foo() {
getRequest().getUserPrincipal();
...
}
}
--
Author of a book for learning Tapestry (www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]