Hi @ all!
I'm trying to create a small portal application consisting of more than one JSPDyn Page.
At the moment I have:
- 2 JSPDynPages
- 2 .jsp files
- 1 Bean for communication
Under certain conditions (successful login) I want to call another (second) JSPDynPage. But I don't know how...
with:
this.setJspName("CFR_logon.jsp");
I get to the next .jsp file. But this file wants to use
EventHandlerMethods of the first JSPDynPage. It does not
search the method in the second JSPDynPage...
Thank you! Regards, Christian
Hi,
with this.setJspName("CFR_logon.jsp"); You just dispatch to another JSP staying on the same Dynpage. If You want to change to another Dynpage You have to call another iView (means You have to declare Your Dynpage as iView).
Another possibility could be to call the other Dynpage from the PageProcessorComponent:
public DynPage getPage() { // Has to be overridden
return new DynPageOne();
// Calls the DynPage and returns its value as DynPageOne
}
here You can sty on the same iView
Walter
Hi waltair,
I am using jspdynpage(application scope) and stored all the values in bean.i have 3 iView page.i passed some values from iview1
->2
-->3. if i am not doing anything for more than 5 mins in my 3rd iView page and again go back to iView page 2 i lost alost all my bean values.so i am getting null pointer exception(portal runtime error).
if i play around continously in all 3 iViews , i didnt get any error.
is there any reason my bean lost data?
regds,
Anto.
Add a comment