Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjechoi2006-06-22 21:22:34 -0400
committerjechoi2006-06-22 21:22:34 -0400
commit6a10dbc011be59647cd34aed7cc2b79f9a8d679d (patch)
tree8c39e525558bfd4bf44e12622e0cf2860a17eb6b
parent4236c89f746d2dfce8ac735b4eefbc778973a821 (diff)
downloadwebtools.jsf-6a10dbc011be59647cd34aed7cc2b79f9a8d679d.tar.gz
webtools.jsf-6a10dbc011be59647cd34aed7cc2b79f9a8d679d.tar.xz
webtools.jsf-6a10dbc011be59647cd34aed7cc2b79f9a8d679d.zip
bug fix 148071: From-Outcome browser from Link property sheet always displays empty list
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/properties/ActionOutcomeSelectionDialog.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/properties/ActionOutcomeSelectionDialog.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/properties/ActionOutcomeSelectionDialog.java
index c8cee09e2..a2acbe9a5 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/properties/ActionOutcomeSelectionDialog.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/properties/ActionOutcomeSelectionDialog.java
@@ -342,8 +342,10 @@ public class ActionOutcomeSelectionDialog extends Dialog {
if (expressionString == null || expressionString.length() == 0)
return true;
- return expressionString.startsWith(JSF_EL_LEFT_BRACE)
- && expressionString.endsWith(JSF_EL_RIGHT_BRACE);
+ return (expressionString.startsWith(JSF_EL_LEFT_BRACE) && expressionString
+ .endsWith(JSF_EL_RIGHT_BRACE))
+ || (!expressionString.startsWith(JSF_EL_LEFT_BRACE) && !expressionString
+ .endsWith(JSF_EL_RIGHT_BRACE));
}
/**

Back to the top