This content has been marked as final.
Show 2 replies
-
1. Re: rich:tree selection while validation error
gensys Jun 23, 2010 3:43 AM (in response to gensys)Hi,
I have sloved the problem. I'm using JS event onselected of the <rich:tree> like this:
onselected="{if(#{treeBean.valid}==false){return false;}};"
The code in the bean is:
public boolean isValid()
{
FacesContext context = FacesContext.getCurrentInstance();
boolean res = !context.getMessages().hasNext();
return res;
}I hope this will help somebody else. Cheers!
-
2. Re: rich:tree selection while validation error
ahahne Apr 2, 2012 6:55 AM (in response to gensys)Hey Gen Sys,
in which RichFaces version did the described workaround solve your problem? I tried the same approach with RF 3.3.3-Final without success. And there is an open ticket related to this topic: https://issues.jboss.org/browse/RF-6732.
Kind regards
Andreas