Skip to Content
author's profile photo Former Member
Former Member

JavaScript set value

Dear all,

suppose i have a webdynpro with a adobe form in the view. In my web dynpro context i have a node PdfData with an attribute SubmitContext.

When i push a submit button in the form (there are multiple), i want to set the value of SubmitContext through scripting. I was able to do this via the line:

xfa.form.PdfData.SubmitContext.rawValue = "SUBMITONE";

This is setting the value of inputfield that is bound to attribute SubmitContext of my data node. This means i have to put an invisible inputfield on my layout. Is it also possible directly set the value of the data attribute? I thought i was possible through the line: = "SUBMITONE" , but this doesnt seem to do anything.

Any help will be appreciated. This is the xml part of the datasets in, automatically generated by netweaver developer studio, the PdfData node is bound to my adobe elment in my webdynpro view.

<xfa:datasets xmlns:xfa="">
   <xfa:data xfa:dataNode="dataGroup"/>
   <dd:dataDescription xmlns:dd="" dd:name="PdfData">
      <PdfData dd:minOccur="0" SubmitContext="" xfa:dataNode="dataGroup" xmlns=""/>

kind regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 09:05 AM

    Ok, i found the solution, apparantly you can set the value directly with the following line: = "SUBMITONE";

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.