You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Oleg V Alexeev <go...@penza.net> on 2001/06/09 18:13:11 UTC

Re[4]: Can you do this with internationalisation.

Hello Valery,

Saturday, June 09, 2001, 1:56:53 PM, you wrote:

VK>       Thank you for your response.
VK> I try do your solution with
VK> only litle change  (I'm beginer in struts .May be I understand you)
VK>     <action    path="/language"
VK>                type="some.package.LanguageAction"
VK> <!--type="some.package.LanguageForm" -->
VK>                name="languageForm">
VK>     </action>
VK> It's work.

VK> But how I can know in LanguageAction url of page where I click choose
VK> language.
VK> I need this ,becouse  I want forward to page when I click choose language.


VK> When I click choose language in Category.jsp I want forward to
VK> CategoryEditAction becouse CategoryEditAction
VK> populate Category.jsp localized values from db

Place, for example, forward name to the request scope and display it
hidden value in jsp page. Every action can do it with standart way -
scan ActionMappings find itself and place action path to the request
under some name. By this name you can identify source action.

P.S. This is not standart way - I only suggest you my idea to
implement it.

-- 
Best regards,
 Oleg                            mailto:gonza@penza.net