You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by de...@apache.org on 2017/09/16 05:48:15 UTC
[myfaces-tobago] 05/05: TOBAGO-224 ( validation of tree works
incorrect)
This is an automated email from the ASF dual-hosted git repository.
deki pushed a commit to tag tobago-1.0.9
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
commit c7e82d88db46d00129592dd6e1202d4197c8e071
Author: Volker Weber <we...@apache.org>
AuthorDate: Wed Dec 20 15:52:17 2006 +0000
TOBAGO-224 ( validation of tree works incorrect)
---
core/src/main/java/org/apache/myfaces/tobago/component/UITreeOld.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/src/main/java/org/apache/myfaces/tobago/component/UITreeOld.java b/core/src/main/java/org/apache/myfaces/tobago/component/UITreeOld.java
index 5395750..ede46c6 100644
--- a/core/src/main/java/org/apache/myfaces/tobago/component/UITreeOld.java
+++ b/core/src/main/java/org/apache/myfaces/tobago/component/UITreeOld.java
@@ -313,6 +313,7 @@ public class UITreeOld extends javax.faces.component.UIInput implements NamingCo
for (DefaultMutableTreeNode node : selection) {
if (!node.isLeaf()) {
+ setValid(false);
FacesMessage facesMessage = MessageFactory.createFacesMessage(
context, MESSAGE_NOT_LEAF, FacesMessage.SEVERITY_ERROR);
context.addMessage(getClientId(context), facesMessage);
--
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.