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]

Reply via email to