Hello,
With the fix for issue 44 [1], I have changed the bahavior of ajaxZone.
I have updated the TLDDocs [2].
Issue: 44
M run-time/samples/cardemo/src/main/webapp/carDetail.jsp
- turn on prependId="false"
M run-time/samples/cardemo/src/main/webapp/optionsPanel.jsp
- use the new "execute" and "render" attributes to control what happens when
an ajax event originates from within zone2. In thes case, we want to
re-render zone1 and zone2, and execute zone2.
M run-time/avatar/src/main/java/com/sun/faces/extensions/avatar/taglib/AjaxZoneTag.java
M run-time/avatar/src/main/resources/jsf-ext-dynafaces.tld
- Add the "execute" and "render" attributes
M run-time/avatar/src/main/java/com/sun/faces/extensions/avatar/renderkit/AjaxZoneRenderer.java
- If the user specified "execute" or "render" attributes on an ajaxZone,
write out some JavaScript that stuffs the value of those attributes
into the ajaxZone element associative array that *is* the ajaxZone DOM
element under the respective key, "render" or "execute".
M run-time/avatar/src/main/resources/com_sun_faces_ajax_zone.js
- Modify moveAsideEventType() to assume that the ajaxZone DOM element
passed in as the first element will have associative array entries for
"execute" and "render", and that those values should simply be passed
on to the respective option in the DynaFaces options. If one or the
other is not specified, use the id of the current ajaxZone as the
value of the respective DynaFaces option.
[1]
https://jsf-extensions.dev.java.net/issues/show_bug.cgi?id=44
[2]
https://jsf-extensions.dev.java.net/nonav/mvn/ajax/tlddocs/
--
| ed.burns_at_sun.com | office: 408 884 9519 OR x31640
| homepage: | http://purl.oclc.org/NET/edburns/
| aim: edburns0sunw | iim: ed.burns_at_sun.com