Hi Everyone,
(Apologies for the use of images but it was the easiest way to get things in)
Just wanted to see if you have any advice for a problem I have with exposing my custom Java objects using the JBDS IDE:-
I’ll start with the error...
I thought maybe I am not instantiating the optionalReviews collection correctly, and switched to kcontext.setVariable(“optionalReviews”, optionalReviews); but the error remains and I get a further error of “optionalReviews is defined twice”.
Thanks, Kris,
I changed return review.getType() to return ((Review) review).getType() and it cleared the issue.