on 11-24-2010 1:23 PM
Hi Community
how can I solve this issue:
I have a Web Dynpro View with a button. Clicking this button generates a Adobe form and displays it.
So long everything's fine.
Here's my problem:
There are 4 different case sensitive forms in dependence of the user's selection. How can I solve this?
The form is assigned to the view via layout, so do I have to create 4 views,related to the amount of forms? And additionally the pdf's are displayed in dialog windows, so do I have to create 4 windows additionally where I have to embed a view for each of them?
Is there any other way to solve it? It looks for me like a not very nice solution.
Thanks in advance,
Tan
Hi Tan,
Solutions that i am proposing may not be the best solution but you need to take a call on the best one:
Solution 1 :
1. Try Creating only one view and one window for pop up ( in addition to your existing view with button )
2. in the view add an interactive form and bind it to one of the form.
3. in WDDOMODIFYVIEW method , depending on the situation try to change the mapping to this interactive form
4. This embedded view in the pop up window is always called, only based on the conditions the adobe forms changes.
Solution 2:
1. in your view add 4 Interactive forms , bind them to different nodes as per its mapping requirement
2. create 4 Visibility context attributes , bind them with each of the forms
3. depending on the condition , hide or make visible the adobe forms.
4. show this view in the pop up window.
My suggestion would be to go with Solution 2 , since it does not involve dynamic modifications at runtime.
Regards,
Ashish Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That sound good, thank you.
So I have to create context attributes, used as flags. In case of condition X the corresponding flag is set or not. Point 2 and 3, can I realize this by web dynpro property enabled or do you mean visibility? If you mean visibility, how can I influence that property out of the implementation?
Thank you so long,
Tan
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.