|
Hi All,
I want to have the parameter value of radio button (I have two radio buttons with Yes and No in Form Widget)
------------------------------------------------------------------------------------------
<field name="yourAnswer">
<radio>
<option key="Yes"/>
<option key="No"/>
</radio>
</field>
------------------------------------------------------------------------------------------
In .java file I tried
String yourAnswer = (String) request.getParameter("yourAnswer");
request.setAttribute("yourAnswer",yourAnswer);
and on screen
<container><label text="yourAnswer: ${parameters.yourAnswer}"/></container>
But it gives me no value.
Thanks for the help in advance.
|