I apparently get the same problem any time I try to use a scriptlet inside of a custom tag. The custom tag gets sent as HTML with the proper data inserted from my scriptlet. So if I did somthing like:
<td> CER Number: <bean:write name="cer" property="<%= "cerNbr" %>" /> </td> the HTML would look like: <td> CER Number: <bean:write name="cer" property="cerNbr" /> </td> Any ideas how to get the scriptlet code to evaluate before the tag code?? Thanks. Austin Lowry wrote: > I thought I had solved my problem with radio buttons and scriptlets, > but apparently not quite. > > What is happening now is that if I include a scriptlet to populate the > value attribute of a radio tag, the scriptlet is run and prints the > proper data, but the radio button itself is not rendered and appears > in the html the same way it is in the jsp, but with the proper value > statement. > > JSP code: > <logic:iterate id="cer" name="cers" type="com.fedex.ess.site.entity.CER"> > <html:radio property="shipper" value="<%= cer.getCerNbr() %>" /> > CER: <bean:write name="cer" property="cerNbr"/> > </logic:iterate> > > Everything is right in the resulting HTML, except that instead of an > HTML radio tag, I get this: > <html:radio property="shipper" value="3345043516" /> > > If I do not include the scriptlet and just set the value attribute to > somthing random like value="1", the radio button renders as expected. > > Any ideas? Thanks in advance for your help. > > ~Austin Lowry > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

