on 07-18-2007 7:18 AM
As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
1.Text getting wrapped and repeated from the first line :
Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
For eg:
If I have 4 lines in a text field that is at the end of the page
1111111111111111111111
2222222222222222222222
3333333333333333333333
4444444444444444444444
and the page holds space for only two lines it prints the lines
1111111111111111111111
2222222222222222222222
in the first page and then proceeds to the next page and prints
1111111111111111111111
2222222222222222222222
rather than printing
3333333333333333333333
4444444444444444444444
2.No way to hide a page at runtime:
It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
Any pointers on this????????
Helpful answers will be suitably rewarded with points!!!!
hi,
<b>you can very well make the interactive form disapper at runtime.</b>
<u><b>MANUALLY</b></u>
if you set...
layout -> interactive form -> properties -> visible = "none"
<u><b>AT RUNTIME</b></u>
if you set property of the interactive form visible = "none"
ur form will disappear.
the good thing is that you can access the properties of the form at runtime.
just change the property visible = "none" by coding at runtime on button click event.
regards,
-amol gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
why dont you move your Textbox to the new page...
so that the whole of it goes to the next page.
regards,
-amol gupta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Tahzeeb,
<b>create a context attribute <xyz></b>
<b>goto <xyz> -> Properties -> type...</b>
click on the 3 dots "..."
you will get "Type selection"...
choose
Dictionaries -> Local Dictionary - > com.sap.ide.webdynpro.uielementdefinitions
-> visibility.... click "OK"
<b>GOTO ur </b>
interactive form ->properties->visible
click on "..." and bind it to Context attribute <xyz>
<b>whenever you want it the uielement to disappear</b>
wdContext.currentContextElement().setXyz(WDVisibility.NONE);
<b>whenever you want it the uielement to appear</b>
wdContext.currentContextElement().setXyz(WDVisibility.VISIBLE);
hope this helps.
regards,
-amol gupta
Message was edited by:
amol gupta
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 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.