I'm not sure exactly what you mean, but maybe this will help.
To set the initial value of the checkbox you use the annotation
@InitialValue, and to have it stored as a session variable you would use
@Persist (defaults to session).
Using both of these looks like this in the java file:
@Component(bindings =
{"value=rememberMe","displayName=message:label.rememberMe"})
public abstract Checkbox getRememberMeCheckbox();
@Persist
@InitialValue("true")
public abstract boolean getRememberMe()
Sorry if this is not what you meant!
Peter Beshai
From: "Ken nashua" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" <users@tapestry.apache.org>
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 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 your PC to make calls at very low rates
https://voiceoam.pcs.v2s.live.com/partnerredirect.aspx
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Essayez la nouvelle génération de recherche avec Live Search.
http://www.live.com/?mkt=fr-ca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]