You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by horri khalid <ho...@gmail.com> on 2007/05/28 19:41:26 UTC

pb with struts and jstl

Hi

I use <html:multibox property="customers" value="<c:out value='${
customer.idcustomer}'/>"/> for list of checkbox with  the  customer  ID as
value.
but in the output i have this  <input type="checkbox" name="customers"
value="&lt;c:out value=&#39;${customer.idcustomer}&#39;/&gt;"
checked="checked">

so i want to know where is the problem ?
Any idea is appreciated.

Re: pb with struts and jstl

Posted by Dave Newton <ne...@yahoo.com>.
--- horri khalid <ho...@gmail.com> wrote:
> <html:multibox 
>     property="customers"
>     value="<c:out value='${customer.idcustomer}'/>"
> />
> so i want to know where is the problem ?

It's where you nest XML, which isn't allowed.

If you're in a JSP 2+ container you can use straight
JSP EL, if JSP <2 you can the use the html-el tags.

d.



       
____________________________________________________________________________________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org