[Zope] dtml naming conventions and js - found
p.t.
p.training@tin.it
Fri, 31 May 2002 20:56:21 +0200
Casey,
understood (a simple single quote embedding is working) :
onclick="assign(this, 'aForm.aField:record')"
Thanks,
p.t.
At 13:08 31/05/2002 -0400, Casey Duncan wrote:
>Use the following syntax:
>
>form['aForm.aField:record']
>
>hth,
>
>-Casey
>
>On Fri, 2002-05-31 at 12:20, p.t. wrote:
> > Hi,
> > I've a form-field set that would be convinient to name as a record,
> > something like:
> >
> > <input type="text" name="aForm.aField:record" value="aValue">
> >
> > Having the necessity to reference some of these fields using java script,
> > it appears that the fieldname violates the js namimg conventions.
> > I know that I can change name like aForm_aField, but this forces me to
> > extract the dictionary parsing the REQUEST.form.
> > Does somebody know if there is a way to work around the js problem using
> > the :record naming convention?
> > TIA,
> > p.t.
>
>
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )