Ao ler este exemplo: http://www.roseindia.net/jsf/selectOneRadio.shtml
Fiquei intrigado se o JSF só trabalha com radio button deste jeito ou tem uma forma mais flexivel de layout... Eu gostaria de algo do genero:
<table width="100%" cellspacing="1" cellpadding="1" style="margin: 0px;">
<tbody><tr>
<td width="10" valign="top">
<input type="radio" onclick="InformeEsconde2(); Informe('informe2_1', 'block');inicializaValoresPINFO();" class="campo_radio" value="DC" id="informe" name="pInfo"/>
</td>
<td>
<strong>Quanto deseja contribuir
</strong>
<div style="display: none;" id="informe2_1">
<table cellspacing="1" cellpadding="1" style="margin: 0px;">
<tbody><tr>
<td width="120">Primeira ou única *
</td>
<td>R$
<input type="text" onkeyup="Formata(this,20,event,2);" onkeydown="return( isNumber(event) );" value="" onblur="this.className = 'campo';" onfocus="this.className = 'campo_focus';" maxlength="13" size="15" id="primeira_unica" class="campo" name="pValorPrimContrib"/>
</td>
</tr>
<tr>
<td>Mensais
</td>
<td>R$
<input type="text" onkeyup="Formata(this,20,event,2);" onkeydown="return( isNumber(event) );" value="" onblur="this.className = 'campo';" onfocus="this.className = 'campo_focus';" maxlength="13" size="15" id="mensais" class="campo" name="pValorContribMensal"/>
</td>
</tr>
</tbody></table>
</div>
</td>
</tr>
<tr>
<td valign="top">
<input type="radio" onclick="InformeEsconde2(); Informe('informe2_2', 'block');inicializaValoresPINFO();" class="campo_radio" value="RM" id="informe" name="pInfo"/>
</td>
<td>
<strong>Quanto deseja receber de renda mensal
</strong>
<div style="display: none;" id="informe2_2">
R$
<input type="text" onkeyup="Formata(this,20,event,2);" onkeydown="return( isNumber(event) );" value="" onblur="this.className = 'campo';" onfocus="this.className = 'campo_focus';" maxlength="13" size="15" id="renda_mensal" class="campo" name="pValorRecebMensal"/>
</div>
</td>
</tr>
<tr>
<td valign="top">
<input type="radio" onclick="InformeEsconde2(); Informe('informe2_3', 'block');inicializaValoresPINFO();" class="campo_radio" value="FT" id="informe" name="pInfo"/>
</td>
<td>
<strong>O valor do fundo acumulado total
</strong>
<div style="display: none;" id="informe2_3">
R$
<input type="text" onkeyup="Formata(this,20,event,2);" onkeydown="return( isNumber(event) );" value="" onblur="this.className = 'campo';" onfocus="this.className = 'campo_focus';" maxlength="13" size="15" id="acumulado_total" class="campo" name="pValorFundoAcumTotal"/>
</div>
</td>
</tr>
</tbody></table>
Percebam os radio button aninhados ao layout. Este layout não fui eu quem fiz, foi um webdesigner. Logo fica incompatível usar o selectOneRadio pois não teria a opção flexivel de colcar os radio aonde eu quero.
Existe solução para isto? Quero evitar ao maximo mecher com datatable... minha página tá quase pronta mas estou empacado nestes radio buttons...
