Antwerp
Posts: 24
|
Posted: 03/09/2005, 7:19 AM |
|
How do I get the GroupId to be used in a JSP page? The GroupId in my app is not a form control, but is retrieved from the database when a user logs in.
|
|
|
sbwtxj
Posts: 27
|
Posted: 03/10/2005, 5:24 AM |
|
In some controller event,
you can use the following code:
com.codecharge.util.Authenticator auth = com.codecharge.util.AuthenticatorFactory.getAuthenticator( e.getPage().getRequest() );
String variable = auth.getGroupId();
OR............................
e.getPage().getAuthenticator().getGroupId();
Regards,
shanbw
_________________
----------------
Regards,
shanbw |
|
|
|