on 05-27-2009 11:45 AM
Hi,
I am trying to make my first dynamic form in NWDS as a part of web dynpro and I use Table and 2 buttons. One button to add a row and one to remove row from table. What settings/properties should have a table, buttons and this form because now when I press buttons nothing happens. I have wrote a JaveScript for buttons (from adobe help), in PDF Preview view there are no errors but nothing works. Any ideas, tutorials, solutions, anything what might be wrong or what is not set yet?
Hi Pavel,
i have found a solution on the help of Adobe Live Cycle Designer at self. Search for dynamic table with button there is a example and a good explanation how it works.
For add a new row this works fine:
TABLE.ROW.instanceManager.addInstance(1);
TABLE is the name of the Table form. ROW is the form where you would add the row.
If you want remove a line so this code works:
TABLE.ROW.instanceManager.removeInstance(TABLE.ROW.index);
The Button to remove the line muss be in ROW form
i hope it helps you
regard
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made my form using this help step by step and buttons are still not working. Maybe JavaScript is blocked somewhere but I have no idea where to look for this lock. It is also strange that when I'm writing script i get help list Tabel.->Row.->instanceManager. -> and here is no add/removeInstance function availabe on the list. Is this normal?
Hi Pawel,
please check this[Video|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/927d8c3c-0a01-0010-57b4-e89f505e2bff]
regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.