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 List onPassivate() On 22 Aug 2013 15:18, "Lance Java" wrote: > > I think I had issues trying to use an array / collection as an EventContext item. I think I had to reso

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" wrote: > Hi, > I have the following code: > class Page1 { > > @InjectPage > private Page2 page2; > ... > >

PageActivationContext issue

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