You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by j j <jo...@yahoo.com> on 2002/07/12 21:39:50 UTC
newbie question:
Hi
I'm new to struts ( and java beans for that matter )
I'm trying to dynamically re-size a select box i'm
creating on my page
in java i have a function
public String getSelectSize()
{
return "10";
}
on my jsp page i have something like
<html:select multiple="true" property="itemsSelected"
size="<bean:write name='MyForm' property='SelectSize'
/>" >
my problem is the bean:write is not evaluated in this
case
if i remove the quotes or try <% %> i get compile
errors
is there a simple way to do this?
thanks
--joe
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>