Skip to content

Commit

Permalink
Forced a page save
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/cocoon/trunk/blocks@481320 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
SimoneGianni committed Dec 1, 2006
1 parent 2a6eaea commit d36f993
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -68,10 +68,10 @@ public void doSave(Widget frmModel, JXPathContext jxpc) throws BindingException
}

EnhancedRepeater rep = (EnhancedRepeater) repeater;
rep.doPageSave();
Pointer ptr = jxpc.getPointer(super.getRepeaterPath());
JXPathContext repeaterContext = jxpc.getRelativeContext(ptr);
RepeaterJXPathCollection collection = rep.getCollection();

// iterate updated rows. note: we don't iterate over the whole context
for (Iterator iter = collection.getUpdatedRows().iterator(); iter.hasNext();) {
RepeaterItem item = (RepeaterItem) iter.next();
Expand Down

0 comments on commit d36f993

Please sign in to comment.