Author: scabanovich
Date: 2009-03-30 11:32:28 -0400 (Mon, 30 Mar 2009)
New Revision: 14378
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesLoaderUtil.java
Log:
JBIDE-4101
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesLoaderUtil.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesLoaderUtil.java 2009-03-30
15:27:22 UTC (rev 14377)
+++
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesLoaderUtil.java 2009-03-30
15:32:28 UTC (rev 14378)
@@ -33,12 +33,12 @@
return super.isSaveable(entity, n, v, dv);
}
- public String getAttribute(Element element, String xmlname) {
+ public String getAttribute(Element element, String xmlname, XAttribute attr) {
int i = xmlname.indexOf('|');
- if(i < 0) return super.getAttribute(element, xmlname);
- String v = super.getAttribute(element, xmlname.substring(0, i));
+ if(i < 0) return super.getAttribute(element, xmlname, attr);
+ String v = super.getAttribute(element, xmlname.substring(0, i), attr);
return (v != null && v.length() > 0) ? v :
- super.getAttribute(element, xmlname.substring(i + 1));
+ super.getAttribute(element, xmlname.substring(i + 1), attr);
}
public void saveAttribute(Element element, String xmlname, String value) {
Show replies by date