CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Getting GroupId for use in JSP page

Print topic Send  topic

Author Message
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.
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.