Yes, I tried. But it returns just "test test", so I use repr() to show
the source code for comparison.

On Dec 12, 1:01 am, "Jose Galvez" <[EMAIL PROTECTED]> wrote:
> why the repr? did you try just ${h.options_for_select(['test','test'])}
>
> On Dec 11, 2007 8:49 AM, Olli Wang <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, I want to create a selection filed in template.
>
> > I tried "h.options_for_select(['test', 'test'])" in shell,
> > it correctly returned
> > '<option value="test">test</option>\n<option value="test">test</
> > option>'
>
> > But when I tried "${repr(h.options_for_select(['test', 'test']))}"
> > it just returned 'test\ntest'
>
> > Any help? Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to