Current Position:Home > Pass rich text string from webdynpro java into interactive form

Pass rich text string from webdynpro java into interactive form

Update:11-30Source: network consolidation
Advertisement
Hi, experts:
  I know rich text-related questions have been asked by many other forum member.
  But I still cannot figure out how to display rich text string in the interactive form.
  below code is set rich text string in my webdynpro program.
wdContext.currentDataForPDFElement().setDescription("<html xmlns:xfa=\"http://www.xfa.org/schema/xfa-data/1.0/\" xfa:contentType=\"text/html\"><body><p>20100730 0950</p><h1><strong>test1</strong><br /></h1></body></html>");
or
wdContext.currentDataForPDFElement().setDescription("<p>20100730 0950</p><h1><strong>test1</strong><br /></h1>");
Text field in the interactive form has been assign "Field Format" to "Rich Text", "Data Format" to "XHTML".
I also check XML in the "XML source" tab of interactive form.
<field name="Description" w="152.817mm" minH="25.2984mm" colSpan="3" access="readOnly">
  <ui>
  </ui>
  <font typeface="Myriad Pro"/>
  <bind match="dataRef" ref="$record.Description"/>
  <value>
     <exData contentType="text/html">
        <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="2.4.5277.0"/>
     </exData>
  </value>
</field>
My development tool version is NWDS CE EHP1 SP4, LiveDesigner v 7.1.
What I miss? Any hints would be very appreciated.

The Best Answer

Advertisement
What about these:
Formatting in SO10 texts into the form
Trouble with xhtml text in adobe forms
Prevent HTML escaping in RichText fields
regards Otto
  • Pass rich text string from webdynpro java into interactive form Update:11-30

    Hi, experts:   I know rich text-related questions have been asked by many other forum member.   But I still cannot figure out how to display rich text string in the interactive form.   below code is set rich text string in my webdynpro program. wdCon

  • Pass a table from my webdynpro JAVA application to an RFC in R/3 Update:11-30

    Hi All, I need to Pass a table from my webdynpro JAVA application to an RFC in R/3. How can I do that? Regards SarathHi, Please have a look at this thread, Pass Table as Input to Adaptive RFC Regards, Saravanan KRead other 2 answers

  • Rich Text editor in Webdynpro Update:10-11

    Hi, With the new FormattedTextView in 2004s one will be able to render xhtml compliant rich test in Webdynpro. This however only covers the rednering of rich text. There still does not seem to be a rich text editor control available for webdynpro app

  • Advanced text editing in WebDynpro Java Update:11-30

    Hi, Please let me know how can I add advanced text editing (making text bold or italic or changing the font of text ) in WebDynpro Java? Is it possible to do it in JSP and integrate in WebDynpro using IFRAME? Please advice me. Regards, UmapathiHI Pat

  • How To Color a Text string using Regex (java.util.regex) Update:10-11

    Hello, How can I color a text string using regex class in 1.4?Yes, did you notice it said something about incredibly vague functionality? Let me break it down for you > How can I color a text string Strings do not have color... You can color a compon

  • Passing 2 Text Strings to Applescript Action Update:11-30

    I am trying to make a Automator Workflow that Checks if an RSS Feed has Changed & if there is a change then Tweet the New Update. I have managed to get the URL and Extract the Text from the feed. and limit it to just the very latest 1 Item from the f

  • Webdynpro Java Adobe interactive form error Update:11-30

    Hi All, We are facing following error when we created a test WD application using interacting forms. Please help us to resolve it. application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error. The error is: c

  • Example of passing String Array from java to C using JNI Update:11-30

    hi all i searched net for passing string array from java to C but i dont get anything relevent i have class stu int rollno string name String [] sub i want to pass all as String array from java to C and access it C side1. Code it as though it were be

  • Passing Parameters via Post Method from Webdynpro Java to a web application Update:10-11

    Hello Experts, I want to pass few parameters from a web dynpro application to an external web application. In order to achieve this, I am referring to the below thread: HTTP Post As mentioned in the thread, I am trying to create an additional Suspend

  • Using Rich Text Formatting Tools for Email Message Text Box in  Webdynpro. Update:11-30

    Hi All, I would like to know whether WebDynpro provides a feature of including the Rich Text Formatting Tools (like Font, FontSize, Spell check .....) inside a Text Box. I need to allow the user to format/indent text inside the Email message box, bef