-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I think I have to explain my problem more clearly:
I have a page that show some text-fields. These Text-Fields can be
filled in different languages.
To choose the according language, you can click on a button (e.g.
english/french etc.) and a method "switchlanguage" is called,
which sets a parameter to the language I want to enter.
As I need this function on various pages, I want to implement it in a
superclass of my action class.
After clicking on a language-button, I need to set the language and go
back to the form to enter the text.
Therefore, I need a way to react on a result called "languageSwitched"
which leads to the page I just came from.
As I do not want to write it in every action but only once in
struts.xml, I need a result that goes back to that page
without having to specify each time, which page that was.
Is that possible ?
~ Volker
Paweł Wielgus schrieb:
| Hi Volker,
| where it should go when i will open my browser window (blank) and type
| Your action url?
|
| Best greetings,
| Paweł Wielgus.
|
| 2008/9/18 Volker Karlmeier <[EMAIL PROTECTED]>:
| Hello Struts-Freaks,
|
| I have a quite easy question, I think:
|
| how can I configure an action in struts.xml, that does nothing than go to
| the page I came from ?
| Something like <result name="success" /> or so ?
|
| Thanks in advance.....
|
| ~ Volker
|
|
|>
|>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|>
|>
- --
- -------------------------------
Volker Karlmeier
Friedrich-Freye-Str. 61
45481 Mülheim/Ruhr
Tel. : (+49) 208-7785675
Mobil: (+49) 176-21056587
Mail : [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFI0sSkaEMQXBIqssERAqkuAJ0U44scceFNB5DJ2PljMdx1Op/0rgCfeahV
8TQELRYohqOMGZKsDCo7Jck=
=yU7g
-----END PGP SIGNATURE-----