This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes construct struts tags dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "construct struts tags dynamically" Watch "construct struts tags dynamically" New topic

construct struts tags dynamically

jonathan Greens
Ranch Hand

Joined: Apr 07, 2004
Posts: 139
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?
I agree. Here's the link:
subject: construct struts tags dynamically
It's not a secret anymore!