Author: scabanovich
Date: 2007-09-18 05:44:30 -0400 (Tue, 18 Sep 2007)
New Revision: 3676
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/run/IPathSourceImpl.java
Log:
JBIDE-908
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/run/IPathSourceImpl.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/run/IPathSourceImpl.java 2007-09-18
09:43:05 UTC (rev 3675)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/run/IPathSourceImpl.java 2007-09-18
09:44:30 UTC (rev 3676)
@@ -35,6 +35,7 @@
String f = getPath(object);
if(f == null) return null;
String bp = context.getBrowserPrefix(model);
+ if(bp == null) return null;
String path = JSFWebProject.getInstance(model).getUrlPattern().getJSFUrl(f);
String url = (path == null) ? null
: (bp.endsWith("/") && path.startsWith("/"))