cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36808] New: - [PATCH, CFORMS] Nested repeaters broken in AJAX
Date Sun, 25 Sep 2005 20:02:05 GMT
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=36808>.
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=36808

           Summary: [PATCH, CFORMS] Nested repeaters broken in AJAX
           Product: Cocoon 2
           Version: Current SVN 2.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CocoonForms
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: cocoon@lojjic.net


This issue was originally described on the dev mailing list:
http://marc.theaimsgroup.com/?t=112740966900004&r=1&w=2

There is a problem with repeaters (and other container widgets?) in CForms when
AJAX mode is turned on, that causes an error when a repeater-within-a-repeater
is updated.  After more investigation I found a couple underlying problems that
were causing this:

The first problem was that JXMacrosHelper.getRepeater() throws an error when the
.getWidget() method did not add the widget to the stack, as is often the case
with AJAX updates.

The second problem was that there was a bug in Form.addWidgetUpdate() that was
stopping ancestor widgets above the parent widget from getting added to the
childUpdatedWidgets set.  This meant that if a widget more than one level deep
was updated then its top-level container would not be updated.

Patch forthcoming.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message