on 05-26-2008 3:41 PM
Hi all,
I have a node structure like the following
vaSample (1:1)
-vaInput
I have set the value for vaInput in form using coding like
xfa.datasets.data.dataDescription.vaSample.vaInput.rawValue="Hello";
and when i was able to display the same in the form using the
xfa.host.messageBox(""+xfa.datasets.data.dataDescription.vaSample.vaInput.rawValue);
This displays Hello perfectly.
But when i acces the same in WD Java , i was not able to get the message "Hello"
But the same works well if the input was through a input text field.
My doubt is
"Will we able to get the data from a context if the values for the attributes are set using scripts in form?"
Thanks
Gopal
Hi Gopal,
Yes you will be able to get values in the context that are set using scripts. Check the binding of the fiels and if it is fine then there may be some ActiveX issue.
Do reward points if found helpful.
Regards,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopal,
The description of your problem is not sufficient. You need to provide more details like where is the Text Field (in the WD view or on the PDF form). What are your interactions?
The integration of PDF forms and Web Dynpro does not know if the data value is set via a form field (on the PDF form) or script inside the PDF form.
You have to check the following:
Bind a simple text field to your data node and see if this works (on the PDF form). So that you provide the data value via user input and not via script.
Check if the PDF form is mapped to the web dynpro context as intended
Is there somewhere a submit for the PDF form or on the Web Dynpro view that surrounds the PDF form? This triggers an update of the WD-Conext. Usually not every change on the PDF form triggers an update of the WD context because of performance reasons.
This is one of the reasons why you also usually find a u201Csubmitu201D button on a PDF form/Web Dynpro view.
You need to understand that a server roundtrip is needed to update the Web Dynpro context. Check the design/structure of your Web Dynpro app.
Regards,
Juergen
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.