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]
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
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
Thanks, worked perfectly and it was easier than adding an attribute to my
domain layer bean.
Mike
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 3:22 PM
To: Struts Users Mailing List
Subject: Re: Question on embedding tags
4 matches
Mail list logo