struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James" <JamesPra...@hotmail.com>
Subject Re: Localisation
Date Wed, 05 Mar 2003 19:38:30 GMT
ok simon.. thanks

one more question, what happens to text entry fields tat havent been
submited if the user clicks to alter his locale..
when the page is loaded his entries will be lost.. how can i stop this?

"Simon Kelly" <kelly@ipe.fzk.de> wrote in message
news:03e501c2e30a$5c67f490$bc40348d@ka.fzk.de...
> You could set a group of forwards up, based on the locale ie
>
> <forward name="this_en" path="/jsp_pages/out_en-jsp" redirect="true"/>
> <forward name="this_de" path="/jsp_pages/out_de-jsp" redirect="true"/>
> <forward name="this_ko" path="/jsp_pages/out_ko-jsp" redirect="true"/>
>
> within <action/>
>
> And you can then dynamically create the name from the selected action by
the
> client.
>
> Or, better still, you could create a generic jsp, which calls all text by
> tagged resources, and have a collection of resources for that page with
all
> the differing languages in. Allowing for easier updating of the page and
> page content.
>
> I use xslt, so I can't give you a jsp example, but there are some examples
> of this in Programming Jakata Strus and a few on the web.
>
> Cheers
>
> Simon
>
> ----- Original Message -----
> From: "James" <JamesPrance@hotmail.com>
> To: <struts-user@jakarta.apache.org>
> Sent: Wednesday, March 05, 2003 8:11 PM
> Subject: Localisation
>
>
> > I have a LocaleActionClass that sets the locale according to which wee
> flag
> > the user clicks, my question is how in the struts-config.xml do i
specify
> it
> > to forward to the page they changed locale on (i.e their original page).
> >
> > James
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message