Saturday, August 16, 2008

Friday, August 15, 2008

Thursday, August 14, 2008

fixed.

well I've been working on this drop down issue for the last couple of days and finally I found my issue of "value is not valid".

I've been reading other blogs and fourms and what I was hearing is that the best way is to:

1) use a converter (yes I created one)
2).implement equals to check against the pk (yes I did this too)

frustrated I tried to change out the version of richface, thinking it couldn't be my code. I tried to change the h:selectOneMenu to rich:comboBox but ran into other issues.

well in the end it was the fact that the dropdown was to show a list if active users and when it was doing the equal, seam ran the xxxzList but ofcourse didn't pass anything into the restriction. , but the default query returned de-active users(doh I didn't know that). so it would check against a list of users that it(what was selected) wasn't in and therefor would cause "value is not valid"


I always would say that coding is the east part, but debugging was the hard one (I.e. you spend more in a debugger)

anyway going to get some sleep tonight.



Posted with LifeCast

not much sleep



Posted with LifeCast