hy,
my model is :
<wd:field id="index">
    <wd:label>Index :</wd:label>
    <wd:datatype base="string"/>
    <wd:selection-list src="" dynamic="true"/>
    <wd:on-value-changed>
        <_javascript_>
        var value = event.source.value;
         /* var searchwidget= something to access to my searchwidget in the repeater  */
         searchwidget.setSelectionList("cocoon:/list?list=search&amp;index=" + value);
       </_javascript_>
    </wd:on-value-changed>
 
 </wd:field>
 
 <wd:repeater id="transform">
 
  <wd:field id="search" required="true">
      <wd:label>Search field:</wd:label>
      <wd:datatype base="string"/>
      <wd:selection-list/>
   </wd:field>
 </wd:repeater>
 
how acess to my searchfield ?
 

Reply via email to