PageActivationContext issue

2013-08-22 Thread nn kk
Hi, I have the following code: class Page1 { @InjectPage private Page2 page2; ... Object onSuccessFrom...() { ... ListCat catList = new ArrayList... catList.add(cat1); catList.add(cat2); page2.setCatList(catList); return page2; } } class Page2 {

Re: PageActivationContext issue

2013-08-22 Thread Lance Java
I think I had issues trying to use an array / collection as an EventContext item. I think I had to resort to using a comma separated string from memory. On 22 Aug 2013 15:03, nn kk inv...@abv.bg wrote: Hi, I have the following code: class Page1 { @InjectPage private Page2 page2; ...

Re: PageActivationContext issue

2013-08-22 Thread Lance Java
In your case, I think you will be able to fix it by. 1. Remove @PageActivationContext 2. Add onActivate(EventContext ec) 3. Add ListCat onPassivate() On 22 Aug 2013 15:18, Lance Java lance.j...@googlemail.com wrote: I think I had issues trying to use an array / collection as an EventContext