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

long night


well I spent most of the night looking for a odd bug in my latest project.

I'm building an extranet for an organization that is in great need of consolidating their many manual systems/processes into a single place so they can grow internationally.

I'm at the last mile for the main components that will in no dought change their current ways for the better.

wouldn't you know it, i've hit a crazy seam bug that does no populate an object with the value it is receiving from a h:selectOneMenu. The odd part is that I'm able to use this in other places. So now I'm loooking throught the code to see why I'm having this issue.



Posted with LifeCast