[opencms-dev] Select Widget with custom options

Antonio Cordeddu antoniocordeddu at coranto.it
Mon Apr 15 13:57:20 CEST 2019


Hi Kay,

thank you very much for you hints and the source code; with some minimal 
changes its encounter our needs and resolve the issue.

Antonio


On 13/04/2019 16:18, Kai Widmann wrote:
> Hey Antonio,
>
> if it’s only a Select Widget with custom options you need, you don't 
> even have to develop JavaScript or GWT at all, this can simply be done 
> in pure Java by creating a subclass of CmsSelectWidget and overriding 
> the method parseSelectOptions that returns a List of 
> CmsSelectWidgetOptions (see sample code below).
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>

-- 
_______________________________________________
Coranto informatica di Antonio Cordeddu
antoniocordeddu at coranto.it
Skype: antonio.cordeddu
http://www.coranto.it
_______________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20190415/8a12809a/attachment.htm>


More information about the opencms-dev mailing list