We actually use a derivative of the "Complete, but quirky" version of the ValidSelect. Quirky means examine it make sure the quirks are acceptable. The only quirk I could find is that it requires a specific Validator. So, we made a validator that was application specific and moved on.
-----Original Message----- From: Random Tapestry User [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 7:37 PM To: Tapestry users Subject: Re: Validating a PropertySelection Srinivasan, Thank you. Saw that component some time ago, but status is marked as "Complete, but quirky". As this will be in a very important application and function, I cannot afford "quirky". Unless I see something different, looks like it's up to me. Thank you, tappapp Srinivasan Ranganathan wrote: >The built-in PropertySelection doesn't allow the selection to be >validated. Have a look at >http://equalitylearning.org/Tassel/app?service=direct/1/Browse/viewComp onent&sp=SsrirangValidPropertySelect > >- Srini > >On 5/12/05, Random Tapestry User <[EMAIL PROTECTED]> wrote: > > >>Hi all, >> >>I have a PropertySelection component that defines a US state selector. >>The first option in the selector is "--Select One--" with a code of "00" >>for it. >>I want to be able to use a validator that hooks into all the subsystems >>like "ValidField" does, so it will display the error message, and mark >>up the field label appropriately for errors. >> >>I can't understand how to do this. >>I tried adding a validator to the component, like this, but to no avail... >>Any help ? >> >><component id="inputState" type="PropertySelection"> >> <binding name="displayName" >>expression="page.global.getL10N('state',page.locale)" /> >> <binding name="value" expression="page.stateCode" /> >> <binding name="model" expression="page.stateChoicesModel" /> >> <binding name="validator" >>expression="page.beans.singleSelectValidator"/> >></component> >> >>Thanks all, >>tappapp >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
