PS: I'm using tapestry 4!
thanks again
Mateus Lucio dos Santos wrote:
Hi everyone, I'm having problems trying to check a radio button when
the page is rendered for the first time.
Is there some kind of tricky point in it?
the component is mapped this way:
<table width="100%">
<tr>
<span
jwcid="[EMAIL PROTECTED]" selected="ognl:insulatorOption">
<td><input
type="radio" jwcid="bestHeight" onclick="doRadio()"
checked="checked"/> <span
key="InsulatorResults.label.theBestHeight">The Best
Height</span></td>
<td><input
type="radio" jwcid="bestWeight" onclick="doRadio()" /> <span
key="InsulatorResults.label.theBestWeight">The Best
Weight</span></td>
<td><input
type="radio" jwcid="standard" onclick="doRadio()" /> <span
key="InsulatorResults.label.standardInsulator">Standard</span></td>
</span>
</tr>
</table>
each one have a jwcid because i need different values for them
they are mapped like this:
<component id="bestWeight" type="Radio">
<binding name="value" value="ognl:1"/>
</component>
Am I doing something wrong? Cause I tried to check the radio with
javascript, write "checked" in the html, but nothing worked.
I Appreciate any help
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]