Author: vrubezhny
Date: 2009-10-24 14:28:21 -0400 (Sat, 24 Oct 2009)
New Revision: 18289
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java
Log:
JBIDE-5079: CA doesn't work in XHTML editor if there is <a:loadStyle
src="..."/> on the page.
Issue is fixed for trunk
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java 2009-10-24
17:08:18 UTC (rev 18288)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java 2009-10-24
18:28:21 UTC (rev 18289)
@@ -935,7 +935,12 @@
/**
*/
public ICSSModel getModel() {
- ICSSModel model = super.getModel();
+ // Fix for JBIDE-5079 >>>
+ ICSSModel model = null;
+ if (super.isValidAttribute()) {
+ model = super.getModel();
+ }
+ // Fix for JBIDE-5079 <<<
if (model == null) {
model = retrieveModel();
setModel(model);
Show replies by date