cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a session concept in web dynpro java similar to Java??

Former Member
0 Kudos

Hi,

I am new to Web dynpro Java. I need a solution for the following scenario.

I have 3 Views (each an adobe Form) in a web dynpro component.

I have to capture the user entered values in View1 and View2 (PDFs) and display them in VIew 3 (another PDF)

I am able to capture the values in the recent view. (view2) but the values from the view1(Context elements ) are cleared.

Can I hold or store the values from the first view like we do in java using session variables??

Also, if there is any other way out, please let me know.

Version:

NWDS 7.0.1

SAP Netweaver SP12

Adobe Designer - 7.0.1

Thanks in Advance.

Vasu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I don't see the problem. Just store the user input in the component controller context, then you can access it from any view.

Armin

Former Member
0 Kudos

Hi Armin,

I did save the values in controller context. When I try to access the values in a different view, it ends up in null pointer exception as the context variable is null.

I am using a context variable of type ArrayList in the custom controller. Is that a problem?

Thank you,

vasu

Former Member
0 Kudos

No, that's no problem. Can you please post your context structure and how you mapped the view contexts to the component context?

Armin

Former Member
0 Kudos

Hi Armin,

You are right. I did few mistakes. Its working now. Thanks for the help

Thank you,

Vasu