Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

construct struts tags dynamically

 
jonathan Greens
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to have tags like the following:
<html:<bean:write name="cellType"/> property=""/>

My goal is to pass in attribute whose value can be used again to construt struts tags dynamically. Is this doable? for example, passing in the right struts html tag and concatenate it with other struts tags to form a new struts tag.

but when it's rendered it comes out like
<html:text property=""/>
any alternative to achieve my goal?
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic