Hi,
if you want to have one Radio preselected, you should have the
corresponding model object in the model of the radio group.
Sven
On 06/17/2012 06:48 AM, Dan12321 wrote:
Thanks. I look at this, I try my code little chage, but it still doesn't work
and I cannot see what is wrong in my
Hi ,
I have problem getting the value from a check box.
I have something like this:
check = new CheckBox(check, Model.of(Boolean.TRUE));
add(check);
AjaxLink link = new AjaxLink(link)
{
@Override
public void onClick(AjaxRequestTarget target)
{
Boolean x =
Try a dynamic model
Boolean value ;
check = new CheckBox(check, new ModelBoolean(){
public void setObject(Boolean object){ value=object}
public Boolean getObject(){return value}
});
//YOu may want to add an ajax onchange behaviour to the checkbox if you
want to value to be