You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/03/11 12:58:29 UTC

DO NOT REPLY [Bug 27600] New: - syntax for unique rows in repeater binding

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27600>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27600

syntax for unique rows in repeater binding

           Summary: syntax for unique rows in repeater binding
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: CocoonForms
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: joerg.heinicke@gmx.de


Replace current implementation with

<fb:repeater id="myRepeaterId" parent-path="." row-path="TheRowPath">
   <fb:identity>
     <fb:value id="myId1" path="myId1"/>
     <fb:value id="myId2" path="myId2"/>
   </fb:identity>
   <fb:on-bind>
     <fb:value id="field1" path="field1"/>
     <fb:value id="field2" path="field2"/>
   </fb:on-bind>
</fb:repeater>

Remove the old attribute syntax.

http://marc.theaimsgroup.com/?t=107825346700001&r=1&w=4