cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Stochmialek <mi...@e-informatyka.pl>
Subject Re: generating view content basing on CForms widget values
Date Sun, 26 Sep 2004 11:36:05 GMT
On Sun, Sep 26, 2004 at 12:55:52PM +0200, Leszek Gawron wrote:
> Hi,
> I came up with a use case that I have no way of doing with CForms.
> 
> I'd like to make some adjustments to the view according to widget 
> values. Examples:
> - render date widgets red when date is in the past
> - render the table row containing messages for user bold when message 
> has not been read before.
> 
> I can come up with some hack for top level widgets but I have no idea 
> how to do anything with widgets nested in repeater.

I think using template.jx would be an answer for you.
Using it you can access elements in repeaters and also
nested repeaters. 

But actually it seems to be broken...

regards,
-- 
Michal Stochmialek <misto@e-informatyka.pl>

Mime
View raw message