cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: [Woody] explicit <wi:style> in <wt:widget>
Date Fri, 01 Aug 2003 14:54:53 GMT
Bruno Dumon wrote:

>On Fri, 2003-08-01 at 16:31, Sylvain Wallez wrote:
>  
>
<snip/>

>>For these reasons, I propose to make <wi:style> explicit in the template file,
e.g. :
>>  <wt:widget ref="foo"> <!-- new "ref" attribute !! -->
>>    <wi:style class="bar" variant="popup"/>
>>    <wi:label>overriden label</wi:label>
>>  </wt:wiget/>
>>
>>Thoughts ?
>>    
>>
>
>Again: yeah, it is better ;-)
>

Kewl again ;-)

>While I'm thinking of it, there is a somewhat similar situation in the
>form definition files: widgets that have child widgets, such as wd:form
>and wd:repeater, currently have these child widgets listed immediately
>inside the wd:form and wd:repeater elements. It would be better to wrap
>those inside a wd:children element (or similar), so that forms and
>repeaters can have other configuration elements too.
>

This totally makes sense :
- in XMLForm, I used <xf:label> on <xf:groups> to produce the <label> of

a <fieldset>
- an aggregate field, being a leaf from the GUI point of view, must have 
its label, format, etc.

Sylvain

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



Mime
View raw message