A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
data population problem
Joined: Feb 06, 2008
Nov 05, 2012 17:25:02
I am using struts2 framework
And everything works fine when I have my actions tags / result tags in the struts.xml file not using tiles
when I start sectioning code off into tiles I cann't retrieve that data any more
<c:forEach var="myvar" items="itemlist" > ....etc myvar.propertytopopulate comes back as null always when using tiles.
But when I have it just a <result name="success" > myjsppage.jsp ...etc </result> in the struts.xml works fine
What could be going wrong ? I even tried request.getSession().setAttribute(...) but it still doesn't work.
I am think it must be some scope issue but I cann't figure it out.
Tiles are acting werid interms of scope and accessing data
My action tags are <action name="myactionsname" class="com.myclass...etc" method="sometimestomakeitdifferentfromdefaultexecutemethod" >
<result name="success" > ...etc </result>
I agree. Here's the link:
subject: data population problem
Struts 2 addActionError problem
Help: Not picking Struts-Tiles-Definition name...
HELP with tiles
Loading tiles definitions on startup
confusion on struts tile
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015