So both form and component validators will have access to the value?

Chris

>-----Original Message-----
>From: Igor Vaynberg [mailto:[email protected]]
>Sent: Tuesday, 14 September 2010 12:55 PM
>To: [email protected]
>Subject: Re: DropDownChoice - performing extra validation before model
>changed
>
>you can add a validator, it will have access to the value.
>
>-igor
>
>On Mon, Sep 13, 2010 at 6:32 PM, Chris Colman
><[email protected]> wrote:
>> Is it possible to test if an item has been selected in a
DropDownChoice
>> in an overridden validate method?
>>
>> I want to test and bring up a message box (not just rely on the
Feedback
>> panel to show an error message).
>>
>> DropDownChoice doesn't seem to have any methods to get the currently
>> selected item (or null if none is selected).
>>
>> The only way seems to be checking the model but that would not be
>> updated until after the validation process is complete (I would
tnink).
>>
>> Any ideas?
>>
>>
>> ---------------------------------------------------------------------
>> 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]

Reply via email to