I have my outline with the attribute "state" :

<?xml version="1.0" encoding="UTF-8"?> 

<opml version="2.0"><body> 

   <outline id="1" state="available" 
xmlUrl="http://www.les-croiseurs-daquitaine.fr/rss.xml"/>  

</body></opml> 

... my form definition :

<fd:repeater id="outlines"> 

  <fd:widgets> ...

    <fd:field id="state">
        
<fd:label><i18n:text>feedsLabelState</i18n:text><i18n:text>:</i18n:text></fd:label>
           
        <fd:datatype base="string"/>
        <fd:selection-list src="cocoon:/selectionList/feedStates"/>

</fd:field>     

 ... </fd:widgets> 

</fd:repeater>

The pipeline of URI cocoon:/selectionList/feedStates use the file : 

<x:states object="feed"> 
  <x:state>unavailable</x:state> 
  <x:state>available</x:state>
  <x:state>complete</x:state>  
  <x:state>check</x:state>   
  <x:state>offline</x:state>      
  <x:state>online</x:state>   
</x:states>

I'm looking for a method for my widgets lists "state" take the value of 
opml/body/outlin/@statein my repeater. 

Have you got an idea ? 

Grégory Roche 

Reply via email to