on 04-06-2010 8:12 AM
Hi Experts,
I am using Webdynpro for Java for developing adobe forms.
In adobe form, i have to provide one box, where the user can select multiple values. I have few queries for this.
1. Can I use ListBox UI for this? Or something else?
2. In adobe Library list, List Box is not available in Webdynpro native tab. I can see List box in other two tabs. One in Standard tab and other in Custom tab. Which one should I use for this. Or I have to just drag the context variable from Data View and change the field type to List Box?
3. I have to populate values from a fuction module. I know how to execute and get the values from an RFM. I want to know, how will be the context structure for list box and it's mapping with ListBox UI and how can i populate the values from RFM node to this List Box.
Any help will be highly appreciated.
Thanks,
Fahad Hamsa
Thank you for sharing. My respect, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
My issue is resolved. I wil explain, what I did, so that someone may find it useful.
1. I had dragged one ListBox UI from Standard Library
2. Created Node structure for this ListBox as follows
AddressNode (RootNode for Form: Cardinality-1:N)
->ListBoxNode (The node for ListBox with caridnality- 0:N) with attributes Key and Value
3. Do the mapping of List Box to the node created. For that, follow the steps below.
Click on ListBox. Go to Object->Binding. Click on Specify Item Values(Green Link).
In Items field, enter $record.ListBoxNode[*]
In Item Text field, enter Key
In Item Value field, enter Value
4. Populate the values in the node bound to List Box as follows.
IPrivate<View>.IListBoxNodeNode lbNode = wdContext.nodeListBoxNode();
for(int i=0;i<5;i++)//Putting 5 values in the list box node
{
IPrivateTestCompView.IListBoxNodeElement lbEl = lbNode.createListBoxNodeElement();
lbNode.addElement(lbEl);
lbEl.setKey("Key"(i1));
lbEl.setValue("Value"(i1));
}
Hope this will be helpful for some one.
If anyone face issue in this, please let me know. I can share the sample project
I m really worried, as i did not get any response for my query from such a popular forum
It may be because my question is not clear.
Thanks guys.
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am able to populate the value from RFC in my value node and I have binded the value with drop down list. However when I run the application and drop down in the adobe interactive form is inactive but I can see that the value is populated in the dropdown, the first value is displayed, any clue ?
Best,
Vinit Pugaliya
Hi,
Can anyone help on this please..
Thanks
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.