Hi,

I'm working with Struts 1.1 and tiles. It seems like the validate() can't
forward to my tiles page when an ActionErrors occurs.
Here is my struts-config.xml file :

<action path="/EditDossCEAction"
type="com.atosorigin.agrippa.web.communs.doss.EditDossCEAction"
scope="request"
name="EditDossCEForm"
attribute="EditDossCEForm"
input="page.communs.editDossCECarte"
validate="true">
<forward name="edit" path="page.communs.editDossCE" />
<forward name="editCarte" path="page.communs.editDossCECarte" />
</action>

When my method validate on EditDossCEForm fails it returns a non null
ActionErrors and this is supposed to forward to the input page. The
RequestProcessor seems to find page.communs.editDossCECarte as the input,
however it fails in finding the corresponding tiles definition (
mapping.findForward(input) is null)
and therefore forward me to the correct page. I solved this problem by
adding this forward :
<forward name="page.communs.editDossCECarte"
path="page.communs.editDossCECarte" />

Was anyone aware of this problem ? Any other way to solve this ?
Raphaël


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to