File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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!