You are trying to use struts tag in java script. Please check how to use struts tag in java script.
-----Original Message----- From: Pham Anh Tuan [mailto:[EMAIL PROTECTED] Sent: 20 May 2005 05:46 To: Struts Users Mailing List Subject: [HELP] Couldn't include <bean:write> tag in onClick in <html:radio> 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("<bean:write name="rule" property="auctionTypeId"/>");'/> and the result: html source code shows like below: <input type="radio" name="auctionTypeId" value="1" checked="checked" onclick="javascript:whichAuctionType("<bean:write name="rule" property="auctionTypeId"/>");"> <bean:write> is not recognized! help me, plz :( Anh Tuan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]