"Adam Lipscombe" <[EMAIL PROTECTED]> wrote on 05/13/2004 
08:43:15 AM:

> Folks,
> 
> 
> I am a struts newbie trying to create a test app using Struts 1.1, JSP 
with
> Tiles.
> 
> My problem is that I am using Tiles to construct templated JSPs. 
> One of the JSP elements inserted into the template has a form that 
captures
> user input.
> When the form is submitted and the ActionForm validation fails, the JSP
> template element re-displayed, but the entire template is not.
> What I want is for the whole template to be redisplayed.
> 
> 
> My template looks like this:
> 
> file WizardTemplate1.jsp
> 
> <tiles:insert page="/pages/layouts/WizardLayout.jsp" flush="true" >
>   <tiles:put name="header"
> value="/pages/wizards/newclaimwizard/PageHeader.jsp"/>
>   <tiles:put name="body" 
value="/pages/wizards/newclaimwizard/Page1.jsp"/>
> </tiles:insert>
> 
> If  the /pages/wizards/newclaimwizard/Page1.jsp ActionForm validation 
fails
> then Page1 is re-displayed alone. What I want is for WizardTemplate1.jsp 
to
> be re-displayed so that the PageHeader.jsp element is also displayed.
> 
>

Adam, 

Sounds like maybe the 'input' attribute of your action mapping is not what 
you want it to be. What do your action mappings for this look like? 

Susan Bradeen
 
> 
> Please accept my apologies is this is obvious. I have scoured the info 
put
> cant find anything that allows me to specify the JSP that gets displayed
> when an ActionError is returned from a ActionForm.
> 
> 
> 
> TIA - Adam


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

Reply via email to