on 04-22-2010 10:09 AM
Hey,
Version 1:
I have a problem with the binding of a drop down list to a table. I found a lot threads arround this, but at one point it doesent work for me.
on a thread i found this instructions from otto:
Follow:
1) in LCD menu - Tools - Options - Data binding - Show dynamic properties - should be TRUE
2) goto drop down Object - Binding - Specify Item values
3) click on the "Specify..." text
4) a dialog box appear with 3 lines
Items: YOURTABLE.DATA[*]
Item text: YOURFIELD
Item value: YOURFIELD
This should work for you. Good luck, Otto
but on step 4. i cant edit one of these fields. They are grey.
If I bind my dropdown listbox to one field of a table, it looks like this:
Items: myBoundedField
Item text: text
Item value: key
I cant bind the dropdown to a table line, only to a specific field.
The property in step 1 is set to true. My Adobe Lifecycle version is 8.0.
Is there another property I forgot? What I'm doing wrong?
Or is Version 2 the better one?
Version 2
In another thread I found another solution, how I fill the drop down list.
There I only have to bind the drop down list to a field. Thr rest happens on the web dynpro.
I implemented the wddonit method like this:
DATA lo_nd_z_iaf_02_1 TYPE REF TO if_wd_context_node.
DATA node_info TYPE REF TO if_wd_context_node_info.
DATA: lt_dd_values type table of WDR_CONTEXT_ATTR_VALUE.
DATA: ls_dd_value type WDR_CONTEXT_ATTR_VALUE.
DATA: lv_str type string.
* navigate from <CONTEXT> to <Z_IAF_02_1> via lead selection
lo_nd_z_iaf_02_1 = wd_context->get_child_node( name = wd_this->wdctx_z_iaf_02 ).
* get node info
CALL METHOD lo_nd_z_iaf_02_1->GET_NODE_INFO
RECEIVING
NODE_INFO = node_info
.
* create value sets
DO 25 TIMES.
lv_str = sy-index.
CONDENSE lv_str NO-GAPS.
ls_dd_value-text = lv_str.
ls_dd_value-value = lv_str.
APPEND ls_dd_value to lt_dd_values.
ENDDO.
* Set Value_sets to node_info
CALL METHOD NODE_INFO->SET_ATTRIBUTE_VALUE_SET
EXPORTING
NAME = 'MY_DD_FIELD'
VALUE_SET = lt_dd_values
.
This works finde, but I'm also interested on the first way provided by otto.
Regards Florian
Hi,
There are some problem with the Drop Down List in ALD 8.0.
Download this patch file from SAP Sevice Market Place and Install this on your machine, this will solve your problem.
We also faced a similar problem, during design time whenever we try to bind a value (Dynamic) the live cycle designer will close. After installing this patch file our issue was solved. May be your issue also solved after installing this patch file.
ALD80P_5-10003706.EXE Adobe LiveCycle Designer 8.0 Patch
Support Package ADOBE LIVECYCLE DESIGNER 8.0 # OS independent
Regards,
Chandran S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for your response.
I had the same problem as you desribe on a copied test formular from SAP.
There I was able to edit the binding an then the live cycle designer closed. This is fixed with the patch.
Now I think I figured out my other problem, I used the drop down of the WebDynproNative elements and not the standard drop down list.
If I use the standard drop down list I can edit the fields.
So, is it right that I have to use the standard one? Whats the differenc between each other?
Regards Florian
Hi,
when I use the standard drop down list an bind it to a table, which I fill with data in the wddoinit method of the web dynpro view, I get an error when loading the application.
WebDynpro Exception: Der Aufruf des ADS schlug fehl: ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200.101).
So the call of the ADS failed.....
Any idea?
If I do not fill the table with data, the web dynpro application starts, but nothing happens when I click on the button/arrow of the drop down list. Should not at least open a empty list?
Thanks and regards
Florian
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.