mpo 2004/04/08 07:51:20
Modified: src/blocks/forms/java/org/apache/cocoon/forms/binding
CustomJXPathBindingBuilder.java
Log:
Fixing minor glitch during build of CustomJXPathBindingBuilder.
The Binding itself was ready for an optional @id, but the builder never
allowed that case.
Revision Changes Path
1.4 +2 -2
cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/binding/CustomJXPathBindingBuilder.java
Index: CustomJXPathBindingBuilder.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/binding/CustomJXPathBindingBuilder.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- CustomJXPathBindingBuilder.java 6 Apr 2004 08:51:24 -0000 1.3
+++ CustomJXPathBindingBuilder.java 8 Apr 2004 14:51:19 -0000 1.4
@@ -73,7 +73,7 @@
CommonAttributes commonAtts =
JXPathBindingBuilderBase.getCommonAttributes(bindingElm);
String xpath = DomHelper.getAttribute(bindingElm, "path", ".");
- String widgetId = DomHelper.getAttribute(bindingElm, "id");
+ String widgetId = DomHelper.getAttribute(bindingElm, "id", null);
Object bindingInstance;