• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

data population problem

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

for example
<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>
</action>
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic