Thanks a lot!
On 30 Mai, 17:48, Luis Majano <
lmaj...@gmail.com> wrote:
> You need to pass the query into the options argument
>
> Luis F. Majano
> CEO
> Ortus Solutions,
Corpwww.ortussolutions.com(
http://www.ortussolutions.com)
> Social:
twitter.com/lmajano (
http://twitter.com/lmajano)
facebook.com/lmajano (
http://facebook.com/lmajano)
>
>
>
>
>
>
>
> On Wednesday, May 30, 2012 at 2:38 AM, Tanja Zogg wrote:
> > Hi
>
> > I would like to use html.select populating it with the records of a
> > query. I have tried the following:
>
> > html.select( name="page.moduleId", bind=prc.qryGetModules,
> > nameColumn="variabelname", column="id",
> > selectedValue=prc.objPage.getModuleId(), label="Modul" )
>
> > query: prc.qryGetModules
> > value-column: id
> > name-column: variabelname
>
> > When I dump the query before outputting the select field, the query
> > has records, however the select is empty. Could you please tell me,
> > what I'm doing wrong?
>
> > Thanks!
>
> > --
> > You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
> > To post to this group, send email to
col...@googlegroups.com (mailto:
col...@googlegroups.com)
> > To unsubscribe from this group, send email to
coldbox-u...@googlegroups.com (mailto:
coldbox-u...@googlegroups.com)