Author: vyemialyanchyk
Date: 2007-12-14 07:31:45 -0500 (Fri, 14 Dec 2007)
New Revision: 5297
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-788
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java 2007-12-14
12:03:37 UTC (rev 5296)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java 2007-12-14
12:31:45 UTC (rev 5297)
@@ -616,14 +616,9 @@
}
public VpeTaglibManager getTaglibManager() {
- if (visualEditor != null) {
- IVisualController controller = visualEditor.getController();
- if (controller != null) {
- IVisualContext context = controller.getPageContext();
- if (context != null) {
- return context;
- }
- }
+ sourceEditor.getPageContext();
+ if (null != sourceEditor) {
+ return sourceEditor.getPageContext();
}
return null;
}