Skip to Content
avatar image
Former Member

Interactive form in WD4A - dynamic table - adding rows

Hi,

I have a problem with dynamic table in WD4A. User can add row to table by clicking a button on form, but added rows are not transfered to mapped context node in my web dynpro application. I have made a lot of searches on SDN and I have found a lots of threads, but no answer.

Maybe this should be a way:

https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9121. [original link is broken] [original link is broken] [original link is broken] - Read adobe data manually and create context element manualy too.. But I think this should be a part of webdynpro/interactive forms framework.

Thanks for any answer!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 07, 2009 at 11:36 AM

    >But I think this should be a part of webdynpro/interactive forms framework.

    I'm sorrry, but that simply isn't the case. You can't create new elements from within the form itself. You have to trigger the event back on the server and add the context element there first.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Jiri,

      You can take a context attribute (string) in your form context, and for your buttons in the form, in click event set the value. like

      STATUS.rawValue = "1";

      And in your submit event read this context attribute and you can use CASE like when 1 , when 2 etc and you can execute your code accordingly.

      it should solve your problem.

      Regards,

      Ravi.D