S2 - Need advice with Localization

2008-09-18 Thread bob fuller
I am trying to Localize a dynamic message and would like some advice as to how I should go about it. My main goal is to keep the message itself as 'intact' as possible in my package.properties, doing this will (hopefully) speed up translation by an interpreter. Goals after that are to use the

RE: Struts 2 - Repopulate controls when validation fails

2008-06-30 Thread bob fuller
Setting the s:action's ignoreContextParams to true partially resolves the issue I am having. Here's my pseudo jsp now... s:form name="myAction" s:textfield name="foo0"/ s:action name="languages" ignoreContextParams="true" executeResult="true"/ s:textfield name="foo1"/ s:submit/ /s:form Now, the

RE: Struts 2 - Repopulate controls when validation fails

2008-06-26 Thread bob fuller
The approach I am taking is from the Struts 2 FAQ... http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html Why should it be avoided? > Date: Thu, 26 Jun 2008 08:32:37 +0200 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: Struts 2 - Rep

RE: Struts 2 - Repopulate controls when validation fails

2008-06-25 Thread bob fuller
Trying again to give out my pseudo JSP... s:form name="myAction" s:textfield name="foo0"/ s:action name="languages" executeResult="true"/ s:textfield name="foo1"/ s:submit/ /s:form > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Struts 2 - Repopulate controls when validation fa

Struts 2 - Repopulate controls when validation fails

2008-06-25 Thread bob fuller
I'm following the "How do we repopulate controls when validation fails" FAQ located at... http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html Of the two methods it suggests I am trying to use the 'action tag' method. Using the simple example from the FAQ