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