Some of my actions end with code like this:
// Return to the appropriate place... either the default
// or maybe to a specified screen
String returnScreen = data.getParameters().getString("returnScreen");
if (returnScreen != null) {
if (returnScreen.length() != 0) {
//System.out.println("Returning to " + returnScreen);
TemplateScreen.setTemplate(data, returnScreen);
}
}
HTH... I would think you'd want to put the language choice in a cookie.
At 1:13 PM +0530 12/10/03, Aparna Sundari wrote:
[snip]
On Clicking one of these pages..an action class called login.java is
invoked.
Actual code is:
<a
href="$link.setAction("mainframes").addQueryData("lang","eng")")">English</a
<br><br>
in the actionclass , i should set another page..
i tried it out by calling data.setPage("some.vm")
where data is a Rundata object here..but i could not set it.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>