[dev] Renderer patch

Marko Djukic marko at oblo.com
Sat Apr 12 03:08:02 PDT 2003


Quoting Eduardo Dominguez <lalo at teligens.com>:

> A small cosmetic change to Renderer that adds <labels> and its
> corresponding id to *some* types. Also, the description now uses its own
> CSS class.
>
i've been wanting to add IDs for some time now to the renderer, to help with
interaction with external JS code. one thing i never got around to testing...
a) is it enough just calling the IDs $var->getVarName()? or should we use a
suffix something like <formname> . '_' . $var->getVarName()?
b) what happens when several variables are named as an array? 'somevar[]'?
c) and what happens in the row-renderer?

and specifically for Eduardo... thanks for the patch... but one question:
d) any particular reason only *some* types?

marko



More information about the dev mailing list