[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Gavin King
gavin.king at jboss.com
Sun Oct 22 19:02:00 EDT 2006
User: gavin
Date: 06/10/22 19:02:00
Modified: src/main/org/jboss/seam/core Pages.java
Log:
fix for test harness
Revision Changes Path
1.34 +8 -4 jboss-seam/src/main/org/jboss/seam/core/Pages.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Pages.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Pages.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- Pages.java 22 Oct 2006 01:47:11 -0000 1.33
+++ Pages.java 22 Oct 2006 23:02:00 -0000 1.34
@@ -200,12 +200,16 @@
private Page getPage(String viewId)
{
- Page result = pagesByViewId.get(viewId);
+ Page result = null;
+ if (viewId!=null)
+ {
+ result = pagesByViewId.get(viewId);
if (result==null)
{
//workaround for what I believe is a bug in the JSF RI
result = pagesByViewId.get( replaceExtension(viewId) );
}
+ }
return result==null ? new Page(viewId) : result;
}
More information about the jboss-cvs-commits
mailing list