Hi

I think you should check your <action> tag for the
input attribute. input attribute should be having the
name of the file you want to display in case of any
error from validation

cheers
kk

PS: let me know if that help

--- Adam Lipscombe <[EMAIL PROTECTED]>
wrote:
> 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.
>  
>  
>  
> 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
> 



        
                
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 

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

Reply via email to