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 2003/11/04 16:19:40 UTC

DO NOT REPLY [Bug 24395] New: - [Woody] Read access to MultiValueField through flow script

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24395

[Woody] Read access to MultiValueField through flow script

           Summary: [Woody] Read access to MultiValueField through flow
                    script
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: danielf@nada.kth.se


In the current CVS-version of Woody there is no read access to MultiValueField 
widgets from flow scripts. This patch adds a length property and indexing for 
accessing the values stored in a MultiValueField.

Example:

...
var fields = model.multiField;
for (i = 0; i < fields.length; i++) {
  useTheValue(fields[i]);
}
...