-
1. Re: rich:suggestion box randomly [ or some times] sets null value onselect event
michpetrov Apr 15, 2015 12:00 PM (in response to dakbhavesh)Are all those properties really bound to myActionBean? Because that doesn't look like it should work.
I'm guessing the <c:choose> is the problem. can't you just use @rendered or @disabled instead?
-
2. Re: rich:suggestion box randomly [ or some times] sets null value onselect event
dakbhavesh Apr 16, 2015 4:47 AM (in response to michpetrov)Hey Mike, Yes, those properties are bound to myActionBean and they are shown properly when suggested entities shows up. Tried after removing but still issue persists. With more investigation I found that there are couple of richface pollers which are triggered ever 200 milli seconds. Any possiblity that can cause an issue? I suspect there is race between onchange and onselect events but its just a wild guess. I saw some unresolved rejected issues on Richfaces 3.3.1. Anyworkaround will also do. I can't upgrade library as to support older IE. https://issues.jboss.org/browse/RF-7527 https://issues.jboss.org/browse/RF-7610
-
3. Re: rich:suggestion box randomly [ or some times] sets null value onselect event
michpetrov Apr 16, 2015 5:55 AM (in response to dakbhavesh)Unfortunately I don't know enough about RichFaces 3 to guess what's happening or to offer a workaround.
You've got <f:setPropertyActionListener value="#{myActionBean}" target="#{myActionBean.tempEntity}" /> i.e. you're setting a bean to a property of itself, that doesn't look right, but if it works it works, I guess.
-
4. Re: rich:suggestion box randomly [ or some times] sets null value onselect event
dakbhavesh Apr 16, 2015 6:24 AM (in response to michpetrov)Sorry for the cofusing code. Actually, Due to compliance I have renamed var="myActionBean" So actually in code looks something like below for clarity, suggestionAction="#{myActionBean.suggestEntities}" var="myBean" for="txtBox"