| Author |
Please help
|
Sandeep Awasthi
Ranch Hand
Joined: Oct 23, 2003
Posts: 597
|
|
Hi all, I want to set attribute of custom tag with the value of form bean I am trying to do like this <app:tag1 attr1="bean:write name="formName" property="property1" />" /> the value going in custom tag is "property1" instead of value in property1. Please help me. Thanks Rajesh
|
Sandeep
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
Struts custom tags do not support embedding one custom tag within another. To get around this, you can either: 1-use a scriptlet instead of a <bean:write> tag. 2-Use the EL version of the tag (for example, html-el). These tags are exactly the same as the regular version except that they accept EL expressions as attrubute values.
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: Please help
|
|
|