Pete,
Thanks, your input was good and I made of it.
I took your last snippet and applied it
@Persist
@InitialValue("true")
public abstract boolean isRememberMe();
@InjectComponent("rememberMe")
public abstract Checkbox getRememberMeComponent();
Makes fo
rom: "Ken nashua" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users"
To: users@tapestry.apache.org
Subject: RE: CheckBox Implementation ... Tap-4.1.1 help please (thanks)
Date: Wed, 18 Oct 2006 16:30:45 -0400
Pete,
Your solution does not accomodate initialization/update to the ch
Pete,
Your solution does not accomodate initialization/update to the checkbox
component. It is a one-way usage.
I need to set the checkbox on when I encounter a cookie.
Can you offer a solution for seamless update?
Ken
_
Use yo
Try this:
in .java file:
// the actual checkbox component
@Component(bindings =
{"value=rememberMe","displayName=message:label.rememberMe"})
public abstract Checkbox getRememberMeCheckbox();
// holds the value of the checkbox
public abstract boolean getRememberMe()
in .html file:
note: