Sri,
Thanks for the idea. I think I need to add a type attribute to the
bean:define to make it a string.
Mike
-----Original Message-----
From: Sri Sankaran [mailto:Sri.Sankaran@sas.com]
Sent: Tuesday, February 11, 2003 1:00 PM
To: Struts Users Mailing List
Subject: RE: Question on embedding tags
Here's one way:
Define a bean called, say "size" as follows:
<bean:define
id="size"
name="editList"
property="fieldLength"/>
Then use it in your <html:text> :
<html:text
name="editList"
property="value"
size="<%=size%>"/>
Sri
-----Original Message-----
From: mike.witt@honeywell.com [mailto:mike.witt@honeywell.com]
Sent: Tuesday, February 11, 2003 12:55 PM
To: struts-user@jakarta.apache.org
Subject: Question on embedding tags
I would like to get the following to work:
<html:text name="editList" property="value" size="<bean:write
name="editList" property="fieldLength" />" />
Unfortunately, I get a "jsp.error.attribute.noequal" error when I do this.
I'm assuming that there is a way to delimit this properly, but I haven't
found it. Anybody know how I can embed a bean attribute
(editList.fieldLength) into the size property?
Thanks for your help,
Mike Witt
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
|