Hi again,
for your radio button problem you could try this:
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:radioGroup id="radioGroup1">
<xp:selectItem itemLabel="1" itemValue="1"></xp:selectItem>
<xp:selectItem itemLabel="2" itemValue="2"></xp:selectItem>
<xp:selectItem itemLabel="3" itemValue="3"></xp:selectItem>
<xp:eventHandler event="onclick" submit="false">
<xp:this.script>
<xp:executeClientScript>
<xp:this.script><![CDATA[function getValueFromRadioButton( pID ){
var value;
try{
var rb = document.getElementsByName( pID );
for( var i=0; i< rb.length; i++ ){
if( rb[i].checked == true )
value = rb[i].value;
}
}catch(e){}
return value;
}
alert( getValueFromRadioButton( '#{id:radioGroup1}' ) );]]></xp:this.script>
</xp:executeClientScript>
</xp:this.script></xp:eventHandler></xp:radioGroup>
</xp:view>
Hope this helps
Sven