or:
> size="<%=size.toString()%>"/>
^^^^^^^^^^^
--
James Mitchell
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 3:17 PM
Subject: RE: Question on embedding tags
> 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:[EMAIL PROTECTED]]
> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 12:55 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]