Thank you Massimo, this works very well. For the record, this is needed by
JqueryMobile and Sencha Touch.

On Wed, Aug 17, 2011 at 8:28 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> DIV(**{'_data-rol':'controlgroup', '_data-typ':'horizontal'})
>
> On Aug 17, 5:29 am, Bruno Rocha <rochacbr...@gmail.com> wrote:
> > I need to create this:
> >
> > <div data-role="controlgroup" data-type="horizontal">
> >
> > using helpers this should be:
> >
> > DIV(_data-role='controlgroup', _data-type='horizontal')
> >
> > but the code above raises a Python error:
> >
> > SyntaxError: keyword can't be an expression
> >
> > what shoud I use in the place of dashes?
> >
> > thanks.
>



-- 



--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]

Reply via email to