struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julia Weaver <dreamweaver_...@yahoo.com>
Subject tiles and validation problem
Date Thu, 13 May 2004 15:10:10 GMT
Hi,

Thank you very much for any help!

In my struts-config.xml, I have:
<forward name="error"  path="po.edit.page"/>


In my tiles-defs.xml, I have:
 <definition name="mainLayout" path="/gtsLayout.jsp">
	  <put name="title"  value="my First Definition Page"
/>   
	  <put name="header" value="/common/Header.jsp" />
	  <put name="footer" value="/common/footer.jsp" />
	  <put name="menu"   value="/menu.jsp" />
	  <put name="body"   value="/indexBody.jsp" />
 </definition>


<definition name="po.edit.page" extends="mainLayout" >
  <put name="title" value="edit po" />
  <put name="body"  value="/EditPO.jsp" />
</definition>


In my formbean, I have:
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {...


But when validate error, It only shows EditPO.jsp, not
able to display menu.jsp and Header.jsp

Thank you very much for any help!





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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message