on 08-04-2008 9:48 AM
Hi,
I want to change row background color, after I change another input field.
The input field is Date/Time Field.
I write following JavaScript in the exit event of the field.
XXTable.RowX.fillColor = "200, 200, 200";
But this does not work.
I write the following JavaScript at docReady event in the Cell in the RowY.
RowY.fillColor = "200, 200, 200";
It works well. So I look the gray row at first.
What's the difference between these? What's wrong?
Please teach me.
Regards,
Hiromitsu
Hi Hiromitsu,
Use the following JavaScript Code:
Table1.RowX.border.fill.color.value = "200,200,200";
Note: To manipulate the background color of objects at runtime, you must save your form as a dynamic PDF.
hope this helps,
harman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harman,
I changed the logic that you tell, but nothing is changed.
I wrote following logic after "XXTable.RowX.border.fill.color.value".
XXTable.RowX.Cell2.fillColor = "255, 0,0";
Cell2 is a TextField. Only Cell2 turned red.
What is the "dynamic PDF"?
Isn't my pdf dynamic PDF?
Where is the configuration?
Regards,
Hiromitsu
Hi,
In your Adobe lifecycle Designer, open your form,
Goto, File --> Form Properties,
Goto the Defaults tab,
Select "Dynamic PDF" for the XDP Preview Format:
Click OK.
This setting will now allow dynamicity in your Form, when you view it in PDF Preview tab.
This will solve your problem.
Regards,
Arafat
Hi Arafat,
I can't find "Dynamic PDF" in the Preview Type.
It shows "Interactive Form" or "Print Form".(Adobe LiveCycle Designer 6.0)
I use interactive forms for parts of WebDynpro, so interactive forms are executed by WebDynpro in the Developer Studio.
In this case, how can I change the property?
Regards,
Hiromitsu
Hi Thoshin,
I also use Adobe Designer 7.1.
I configured "Show Dynamic Properties" to "On" in the Tools > Options > Data Binding > Dynamic Properties.
I preview in the Adobe Designer 7.1, it worked well!(I watched for the first time)
I did the same configuration in the DeveloperStudio,
but in the DeveloperStudio preview, it didn't work.
In my local PC's Acrobat Reader is 7.1.0.
What do I configure to work in the WebDynpro?
Regards,
Hiromitsu
Hi
"I can't find "Dynamic PDF" in the Preview Type.
It shows "Interactive Form" or "Print Form".(Adobe LiveCycle Designer 6.0)"
This setting should be "Interactive form" on the developer studio and below that you will see an option "XDP Preview Type". This should be Dynamic PDF.
Also make sure that your developer studio is picking up the right version of the lifecycle designer ie 7.1. Goto the help menu in the designer in the developer studio. Select "About...". If it is picking up the version 6 then i sugest that you uninstall version 6.
Regards
Thashin
Hi Thashin,
I selected "Interactive form" in the Preview Type.
And I selected "Acrobat 7.0.5 Dynamic PDF" in the XDP Preview Format.
I checked the designer version in the developer studio, it's "About Adobe LiveCycle Designer 7.1".
Is this a bug of SAP Developer Studio? Otherwise using Adobe Reader 7.1.0 is wrong?
Regards,
Hiromitsu
Hello Hiromitsu,
In WebDynpro-Java, to make the form dynamic try to write the code in the wdDoModifyView() method of your view where you create the child as Interactive Form
- Then deploy your application, and test it:
IWDInteractiveForm iForm1 = (IWDInteractiveForm) view.getElement("<name of your form here");
iForm1.setDynamicPDF(true);
Regards,
Harman
Hi
Try placing the code in the Validate event of the date/time field.
Thanks
Thashin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.