Author: akazakov
Date: 2009-06-30 14:20:02 -0400 (Tue, 30 Jun 2009)
New Revision: 16301
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java 2009-06-30
16:47:13 UTC (rev 16300)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java 2009-06-30
18:20:02 UTC (rev 16301)
@@ -99,8 +99,8 @@
protected String getMatchString(IStructuredDocumentRegion parent, ITextRegion aRegion,
int offset) {
String matchString = super.getMatchString(parent, aRegion, offset);
String regionType = aRegion.getType();
- if(regionType == DOMRegionContext.XML_TAG_ATTRIBUTE_VALUE &&
matchString.equals("\"")) {
- matchString = ""; //$NON-NLS-1$
+ if(regionType == DOMRegionContext.XML_TAG_ATTRIBUTE_VALUE &&
matchString.startsWith("\"")) {
+ matchString = matchString.substring(1); //$NON-NLS-1$
}
return matchString;
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml 2009-06-30 16:47:13
UTC (rev 16300)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml 2009-06-30 18:20:02
UTC (rev 16301)
@@ -40,6 +40,12 @@
</attribute>
</customExtension>
+ <component closeTag="true" name="loadBundle">
+ <attribute name="basename">
+ <proposal type="bundleName"/>
+ </attribute>
+ </component>
+
<component name="actionparam">
<attribute name="noEscape">
<proposal type="enumeration">
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml 2009-06-30 16:47:13
UTC (rev 16300)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml 2009-06-30 18:20:02
UTC (rev 16301)
@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tag-lib PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN"
"http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd">
<tag-lib defaultPrefix="f">
+
+ <component closeTag="true" name="loadBundle">
+ <attribute name="basename">
+ <proposal type="bundleName"/>
+ </attribute>
+ </component>
+
<component closeTag="true" name="convertDateTime">
<attribute name="dateStyle">
<proposal type="enumeration">