This content has been marked as final.
Show 3 replies
-
1. Re: AJAX Calls give
birwin Nov 28, 2007 11:48 AM (in response to birwin)OOPS! The title should have read:
AJAX calls give value is not valid error. -
2. Re: AJAX Calls give
damianharvey Nov 28, 2007 12:19 PM (in response to birwin)Try making payrollExport conversation scoped eg
@Name("payrollExport") @Scope(ScopeType.CONVERSATION)
and then ensuring that you start a conversation via pages.xml <begin-conversation> (or similar)
Cheers,
Damian. -
3. Re: AJAX Calls give
birwin Nov 28, 2007 2:09 PM (in response to birwin)Thanks for the input. PayrollExport was scoped session.
I did find the problem, however. It was a coding problem. In my "refreshEmployees" method I was changing the list of Clients based on a checkbox (Not displayed in this post - My Bad!).
Because I was not refreshing the client drop-down in my AJAX call, I did not notice the list of clients had changed. Since the selected client now was no longer a member of the list of clients, this exception was thrown on the next AJAX call.