Also I found that http://exploring.liftweb.net/master/index-6.html#toc-Subsection-6.3.7 is out of sync with code. "Note that the callback function will be
executed for each selected item in the multiselect, which is why the
callback takes a String argument instead of a Set[String]" this is not
true, now the onSubmit really takes Set[String] in case of
SHtml.multiselect.
Thank you,
Martin
David Pollak
unread,
Oct 9, 2011, 2:48:34 PM10/9/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lif...@googlegroups.com
Please open a ticket on this issue (http://ticket.liftweb.net you must be a watcher of the LiftWeb space on Assembla to open tickets and please link to this thread).
> watcher of the LiftWeb space on Assembla to open tickets and please link to
> this thread).
>
>
>
> On Wed, Oct 5, 2011 at 3:11 AM, martin <kov.mar...@gmail.com> wrote:
> > Hello,
>
> > I have a slight problem with SHtml.multiSelectObj.
>
> > It looks like when there is nothing selected the onSubmit function is
> > not called.
>
> > I can do a workaround mentioned in this thread
>
> > but it would be much better if func was called for empty selection.
> > Also I have validation logic in the onSubmit function and because
> > onSubmit is not called for empty selection the validation is simply
> > ignored.
>
> > Also I found that
> >http://exploring.liftweb.net/master/index-6.html#toc-Subsection-6.3.7 > > is out of sync with code. "Note that the callback function will be
> > executed for each selected item in the multiselect, which is why the
> > callback takes a String argument instead of a Set[String]" this is not
> > true, now the onSubmit really takes Set[String] in case of
> > SHtml.multiselect.
>
> > Thank you,
>
> > Martin
>
> > --
> > Lift, the simply functional web framework:http://liftweb.net > > Code:http://github.com/lift > > Discussion:http://groups.google.com/group/liftweb > > Stuck? Help us help you:
> >https://www.assembla.com/wiki/show/liftweb/Posting_example_code >
> --
> Lift, the simply functional web frameworkhttp://liftweb.net