cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: generating view content basing on CForms widget values
Date Sun, 26 Sep 2004 12:54:58 GMT
Michal Stochmialek wrote:

>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.
>  
>

Exactly.

>But actually it seems to be broken...
>  
>

That won't last :-)

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message