wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "construct struts tags dynamically" Watch "construct struts tags dynamically" New topic
Author

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?
thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: construct struts tags dynamically
 
Similar Threads
Dynamically Mapping Form Action with javascript
html:checkbox disable property
how to use javascript in struts jsp
From Tomcat 4 to Websphere 5
struts-jstl-struts