Author: scabanovich
Date: 2007-09-18 05:43:05 -0400 (Tue, 18 Sep 2007)
New Revision: 3675
Modified:
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/page/IPathSourceImpl.java
Log:
JBIDE-908
Modified:
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/page/IPathSourceImpl.java
===================================================================
---
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/page/IPathSourceImpl.java 2007-09-18
09:41:47 UTC (rev 3674)
+++
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/page/IPathSourceImpl.java 2007-09-18
09:43:05 UTC (rev 3675)
@@ -37,6 +37,7 @@
if(isPage) object = StrutsProcessStructureHelper.instance.getPhysicalPage(object);
XModel model = object.getModel();
String bp = context.getBrowserPrefix(model);
+ if(bp == null) return null;
String path = (isRoot) ? "/"
: (isForward) ? getCompleteForwardPath(object)
: (isAction) ? getCompleteActionPath(object)
Show replies by date