Nathan Wiger | 15 Mar 19:34
Picon

Re: Suggestion for indivdual field scripting/styling

This sounds reasonable, send me a diff -u patch against 3.02 and I will 
add it. In render(), you'll likely have to change the $self->tr calls to 
instead retrieve the %attr and then change it. Check out the $self->td 
calls.

-Nate

Liu, Aaron wrote:
> Hi,
>  
>     Despite Nathan's repeated advices on not to use the 
> built-in rendering when one needs flexibility in various parts of the 
> document, I have found the built-in rendering quite sufficient for my 
> usage, with one exception: I need to be able to address individual 
> fields's containing row (<tr>) by id. With individual id assigned to the 
> table rows I can easily show and hide fields by javascript at run-time. 
> I can also highlight fields I need by applying style to individual 
> fields I needed. So far I have hacked the code (for version 2) to 
> include ths id so an input field named "password" would be enclosed 
> within a <tr id="tr_password" ... >. Do you think this feature can be 
> included in version 3 or am I just too lazy and should switch to 
> templates instead? (Or it was already in version 3 and I missed it?) Any 
> comments are welcome.
>  
> Aaron
>  


Gmane