bruno 2003/07/15 08:13:01
Modified: src/blocks/woody/java/org/apache/cocoon/woody/datatype/typeimpl AbstractDatatypeBuilder.java Log: Renamed cache attribute to dynamic Revision Changes Path 1.5 +2 -2 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/datatype/typeimpl/AbstractDatatypeBuilder.java Index: AbstractDatatypeBuilder.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/datatype/typeimpl/AbstractDatatypeBuilder.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AbstractDatatypeBuilder.java 15 Jul 2003 14:09:25 -0000 1.4 +++ AbstractDatatypeBuilder.java 15 Jul 2003 15:13:00 -0000 1.5 @@ -144,8 +144,8 @@ SelectionList selectionList; String src = selectionListElement.getAttribute("src"); if (src.length() > 0) { - boolean cache = DomHelper.getAttributeAsBoolean(selectionListElement, "cache", true); - if (cache) { + boolean dynamic = DomHelper.getAttributeAsBoolean(selectionListElement, "dynamic", false); + if (!dynamic) { selectionListElement = readSelectionList(src); selectionList = SelectionListBuilder.build(selectionListElement, datatype); } else {