Hi, I'm a WebWork beginnner and I'm trying to migrate from Struts to WebWork2,
 
I have the following Action,
 
public class TagTestAction implements Action
{
 boolean test;
}
 
and...
#tag(Checkbox "label=checkbox test'" "name='test'" "fieldValue=test" "size=30")
 
if the property test is true, the ckeckbox in my view will be checked ...
and when I check it in the html page and submit my form, the attribute
in my action will be true.... does it work like this, or I´m wrong?
 
but this isn't working, the property test in the action is always set to false after de submit...
 
can anyone help me ?
 
thanks

Reply via email to