You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pham Anh Tuan <an...@ichi-corp.jp> on 2005/05/20 06:45:41 UTC

[HELP] Couldn't include tag in onClick in

Hi all,

I couldn't include <bean:write> tag in onclick attribute of <html:radio> like below:

<html:radio name="exhibit_item_request" property="auctionTypeId" value="<%= (String)rId%>" onclick='javascript:whichAuctionType(&#34;<bean:write name="rule" property="auctionTypeId"/>&#34;);'/>

and the result: html source code shows like below:

<input type="radio" name="auctionTypeId" value="1" checked="checked" onclick="javascript:whichAuctionType(&#34;<bean:write name="rule" property="auctionTypeId"/>&#34;);">

<bean:write> is not recognized!

help me, plz :(

Anh Tuan