Am Mittwoch, den 06.10.2010, 21:39 +0200 schrieb Maurizio Cucchiara:
> gender.add(getText("user.gender.female"));
> gender.add(getText("user.gender.male"));
you ever tried that? I used it in the prepare method, and i don't know
why but at lot of page request the getText is returning the wrong
tran
Hello,
i would like to display in a multi language page a select field where
you choose your gender.
in my action i define the list with the translation keys:
gender = new HashMap();
gender.put(0, "user.gender.female");
gender.put(1, "user.gender.male");
the jsp contains:
the dropdown field is
Am Donnerstag, den 16.09.2010, 12:06 +0200 schrieb Daniel Rindt:
> the interceptor for i18n in struts should switch the locale after a
> request with parameter ?request_locale=en. The property files are used
> properly with the right translation, but when i ask in the action for
>
Hello,
the interceptor for i18n in struts should switch the locale after a
request with parameter ?request_locale=en. The property files are used
properly with the right translation, but when i ask in the action for
the language getLocale().getLanguage(); i got still the old language
instead of th
Hello,
i would like to know how to obtain the name of the current action inside
the JSP code. I found code: but this
is showing me: "action.regis...@ce41cc" but its useless information for
me.
next question i had is i invoke a request to any action like this:
"?request_locale=tr", the form i use
Am Mittwoch, den 08.09.2010, 09:29 +0200 schrieb Paweł Wielgus:
> yes You can,
Hi Paweł,
thanks it works. It's more simple as i thought.
Daniel
signature.asc
Description: This is a digitally signed message part
Hello,
i created an action what is displaying a form. This form also shows the
input errors. The action implements the Preparable Interface to provide
collections to display. My save method is in the same action class.
Is it possible to have a mapping for just one action name, what is
caring abou
Am Montag, den 06.09.2010, 13:55 +0800 schrieb Hantsy Bai:
> Use convention plugin[1] please, it is shipped with struts2 dist
> package.
> [1]https://cwiki.apache.org/confluence/display/WW/Convention%20Plugin
Thanks for the reactions, but after using the convention plugin, i am
not able to use the
Hello,
i am using struts2-core 2.2.1 via maven2 in my project. My problem is,
that i can't find the annotations. The installation of the package
struts2-annotations 1.0.5 doesn't help.
Where can i use the annotations again?
Thanks for reading, understanding, answering ;-)
Daniel
signature.asc
D
Am Freitag, den 03.09.2010, 10:24 +0200 schrieb Tim Dellas:
> Use the includeContext="false" attribute like so:
>
Thank you Tim, that is working.
But i run in a different problem now. Local Debugging is done here with
Tomcat 5.5 in Eclipse. So there the Context is needed. On the Production
Machin
Hello,
the Tag prefixes all used URL's with the Application Name.
This is in my case not wanted, so i am looking for a Solution to avoid
the Prefixing.
Thanks in Advance
Daniel
signature.asc
Description: This is a digitally signed message part
11 matches
Mail list logo