cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: CForms: where and how to specify the suggestion-list?
Date Thu, 22 Sep 2005 20:36:54 GMT
Sylvain Wallez wrote:
> Leszek Gawron wrote:
> 
>> are you taking a "picker patter" into account? I mean just as with 
>> selection list you have a value and label you should be able to filter 
>> the by labels (i.e. username) but get value as the result (i.e. user id).
> 
> 
> 
> What would happen if the user types something that doesn't exist in the 
> selection list? What value should be returned to the application?
Null, so if you want a valid user id you, make the field required. At 
runtime you are forced to perform a proper lookup to be allowed to 
proceed (just as selecting a proper value/label from a selection list).

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message