I am facing h:selectOneMenu validation error which is quite annoying.
From new item list, i can select some of them to shift to another box B. And the error happens at this point, when i select an item to add to box B.
After google around, i found it because the selected items are not in the list (Select One Menu) (according to [this link|http://stackoverflow.com/questions/4566587/jsf-validation-error-value-is-not-valid-for-selectonemenu] .)
Select One Menu must be changed, so that the selected items are not in the list initially. Then how do i resolve this problem? ahh,, the problem happens frequently but not always, perhaps because of the cache
Edited by: CardM on Nov 29, 2012 11:18 PM
Yep, you're doing it wrong. You do it the JSF way or you take a hike. This means you really have to understand how JSF ticks, one of the things that puts people off from using it when they figure out it isn't as easy as mashing some stuff together and staying obliviously ignorant. You can't, you need to really, really, really understand the framework from guts to glory.
Note that the link to Enterprise Javabeans completely escapes me.