Advanced text editing in WebDynpro Java

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,
Umapathi

HI Patana,
In web Dynpro Java, You can make the text bold but italic and changing the font of text is not possible.
You can use iframe to do it. but its use is not recommended by SAP.
It is a depreceted feature of web dynpro.
reagrds,
Sarbjeet

Similar Messages

  • How to edit a webdynpro JAVA application of ESS portal

    Hi,
    I have to work on a webdynpor JAVA app configurged in ESS portal,the app shows the salary slip of the employees,but don't have logo in it,so i am suppose to put logo there,but not able to understand how to start work on it.
    i have fair idea of Webdynpro ABAP,but not able to undertand what to do in this case,also have to show few more text fields on its smartform/adobe form too,not even sure,the form which is generating in salry slip is based on smartfoms/adobe forms.
    pls advice...
    regds
    vipin

    Dear Vipin,
    What I will suggest you is to first find out the component  name,
    then from the component  find out the Model (RFC) which is used, I believe that HR forms or SAP Script is used to display the
    PDF, and if this is the case then it should be changed by your ABAPer.
    You can find the component name from the Iview Property "Application Namespace" (I hope you can find the iview),
    Now go to  Content Administration>>Web Dynpro >>Deployed Content. Here you can find your Model, Now you can go to R3. Type T-CODE se37, here type the name of your model,now you can see whether its a SMART FORM, HR FORM, SAP SCRIPT or ADOBE FORM(SPF).  In case its none, then definately It would be a interactive form UI in your webdynpro Application.
    Now when you have got the name of the Component, you can make your changes.
    Hope it helps.
    Warm Regards
    Upendra Agrawal

  • Pass rich text string from webdynpro java into interactive form

    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.

    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

  • Howtomake part of text as bold or differnt color text edit-webdynpro abap

    Hi
    How to make part of text as bold or differnt color in text edit-webdynpro abap.
    If we can make it bold then it is ok....or else atleast we have make it into some other color of part of text.
    Note:
    I tried with class char utilities and able to solve the issues like new line and carriage return....but could
    not make this bold or different color.
    Also when I use formatedtextview, I can able to solve this bold issue but I cannot solve this newline or carriage return issue...?
    Can any one help on this ?
    Thanks in advance
    regards,
    Pons

    You have to use the FormattedText UI elements for such a thing.  That is their purpose. 
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3b/219141c1d0ae5fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm
    Supported Tags:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/08/5696420cc2c56ae10000000a155106/frameset.htm
    What kind of problem did you have with the Formatted Text?  Line breaks?  Did you try using the br tag?

  • How to retain the text in "text edit" element of abap webdynpro

    Hi all,
    I have a requirement where i need to preserve the text in the "case" user has entered.As of now it automatically gets converted into upper case.
    eg:user enters "Hello World"
    it is getting saved as "HELLO WORLD".I don want this case conversion to happen.
    Kindly respond.
    PS:Suitable points will be rewarded for helpful answers.

    Hi,
    ur text edit is binded to some context attribute  and attribute has some data type ,
    u can save the data as lower case means the upper case conversion will  not be done by checking the lower case property of domain.
    create a domain with the data type u want , in the defination tab set the check box lower case . and then create a data element using this domain and use it ...
    Regards
    yashpal

  • Need help in embedding a link to url within a text edit

    Hi,
       We need to embed a LinkToURL within a textedit in a webdynpro view. We are extracting content from KM and displaying the content in the text edit. Immediately after the extracted content is displayed in the textedit, we need to embed a LinkToURL, which when clicked opens a new window and displays content extracted from a different file. 
    Could anybody help out in achieving this?
    Thanks much in advance,
    Sunitha.S

    There is no way to embed rich text neither in TextEdit nor in TextView UI controls.
    You may display such content using IFrame (easy way) or parse content yourself and create UI controls dynamically (extremely hard)
    VS

  • Accessing SAP DB(Oracle/Max DB) without using RFC in webdynpro java

    Dear Friends,
    I'm developing an application in Adobe interactive Forms using webdynpro java. To retrive the data from R/3 generally we use RFC / BAPI's.
    But i dont want to use RFC / BAPI's which is written in ABAP.
    I want to write one RFC /BAPI using java to store  / retreive the data from R/3. or how to access the data / store the data using JAVA from R/3.
    Can any one guide me on the same.
    Thanks in Advance.
    Regards,
    Gowripathirao.
    Edited by: Gowripathirao on Nov 30, 2009 7:58 AM

    don't do that ( I always wanted to write this since joining SDN )
    If you want to access database tables in general, check the EJB3 tutorial in SAP Help
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/f72761af4020fde10000000a1553f6/frameset.htm

  • MSS ECM - how to retrieve custom OADP column in Webdynpro java application

    Great day to all,
    We have created custom OADP column for MSS ECM planning in SPRO.
    In Portal, ECM Plan Table, the column is visible. User enters values into that and toggles the tabstrip.
    Before submitting, i need to capture that value in Webdynpro java.
    My Question is,
    How can i make use of that column in my ECM Application using webdynpro java??
    or how can i retrieve the custom OADP columns in webdynpro java with out using RFC??
    Need ur great help... thanks alot in advance...
    Thanks
    Malla

    In OADP ,there are two types of columns , functional column which cannot be edited in web dynpro java application and another type is application column which can be edited in application and the value of this column is handled in application using rfc enabled function module. MSS ECM comes with certain application column whose values are handled in MSS-ECM application . If you are trying to add custom application column you will have to handle that column value in your Z function module and also at OADP level you should not configure supply function for that column.
    In order to call custom Z function module to handle custom application column I would suggest to create a seperate Software component and development component  and in that handle the logic for calling Z Function module. Also you will have to define the usage of custom Development component in the MES-ECM standard component.

  • (Webdynpro Java)Business Graphics -  Speedometer Color settings

    Hi All,
    I want to implement Speedometer for a Webdynpro(Java) application which should show one value dial(Arrow) and one limit dial.  Limit dial Arrow should be in red color and the Speedometer area after the limit dial area should be in red.    I don't know how to configure this.  Can somebody help me.  
    Thanks in advance.
    Regards
    Lakshmi
    Edited by: lakshminarayanan  j on Sep 22, 2008 7:24 PM

    When you right click on the graphics element and select edit, it should open the properties editor.
    Where in you can set most of the properties.
    I guess you can accomplish your task there.
    If it doesn't satisfy your requirement, then there is a way of setting the xml file which is more tidious.
    If option 1 doesn't work, lemme know, I'll tell you how to set the xml.
    -Aarthi

  • Prevent text edition in some lines

    Hi people,
    I need to prevent text edition in some areas, like the NetBeans IDE generated code (for the visuals).
    I think I must handle the user input and check if that line is avaible for edition.
    How can I write this code?.
    Thanks in advance.

    Hi,
    Please check the following URL for some functions that will help you achieve what you want. Also note however that the task of identifying which lines to restrict user input from and the actual restricting of user input would be left to you.
    http://forum.java.sun.com/thread.jspa?threadID=608220
    Hope this helps.
    cheers,
    vidyut

  • Using clipboard in webdynpro java 730

    Hi Experts,
    i have a textedit which contains a text. Now I want to put it onto the clipboard.
    How can I achieve this in WebDynpro Java 730? Please post me sample code.
    Thanks
    guest000

    Hello Robin!
    After checking in httpwatch, my Text edit is OPGD.MyAppCompView.TextEdit
    ...<tr><td ct="GLC" lsdata="{}" id="" class="" valign="BASELINE"><textarea class="urScrl urTedWhl lsNoResize urTedWhlEnbl" tabindex="0" ti="0" rows="5" cols="40" wrap="soft" id="OPGD.MyAppCompView.TextEdit" ct="TE" lsdata="" lsevents=",Change:{'urEventName':'TEXTEDITONCHANGE'}}" style="ime-mode:disabled;height:225px;width:500px;">----...
    On this forum I can see some workaround using LinkToURL, but I would like to try WebWidget (especially because it is told there not to use this workaround, but after some research afaik WebWidget is exactly to use jscript and html), see this:
    Accessing Clipboard
    Here a similar hint is mentioned like
    javascript:document.getElementById("KFHO.SomeView.InputField1").setAttribute("value",clipboardData.getData("Text"));
    I don't know how exactly to use the WebWidget. Can you please give me some more hints? I would like to execute this "copy to clipboard" action once I click on a button.
    Thank you very much I appreciate your help!

  • Expand Text Box? "Advanced" text options not hidden?

    The title text box/editor is very small in the 10.2 update.  It's just big enough for 2 lines of text.  I find it fairly inconvenient to have it so small (I am referring to the text box in the inspector).  I'm guessing there is no way to expand this to fit more lines of text in, but if anyone knows how that'd be sweet! Otherwise I'm just crossing my fingers it gets a quick update since I'm using it every day for work.
    Also, the "advanced" tab always being collapsed in the basic text editing tools is annoying, too.  I use this every time I make a title(which I'm making two videos a day, so it's a little more tedious now after the update).  Personally, for a professional program I would consider the options in the "advanced" section to actually be basic and fairly necessary...based on how I use it, so maybe I'm not a normal case.
    Nothing is broken, just less convenient...
    Thanks y'all!

    That is a wonderful idea if I could find where to do that (maybe another feedback will be to make finding the feedback area easier (: ). Where can I find the feedback area?  Thanks for the quick reply as well!

  • How can labview update the string control (text-edit box) after we have pressed the carriage return key on the keyboard during text-editing within that box?

    Dear readers,
    I have been trying to work out how to get labview to detect the event when a 'string' control has been modified, where the user has finished editing the string either by 1) pressing the enter key on the keyboard, or by 2) taking the focus away from the string control again. For example.. if I use the mouse to click on the string control and then I type 1234 into the box, I would like to have a routine that does something once the user hits the Enter key of the keyboard, or when the user takes the focus away from the string control again by clicking on something else. I would like the routine to respond even when the user didn't change anything in the text box (such as when we mouse-click on the edit box to go into edit mode, and then mouse-click on something else to remove the focus with no changes to the contents in edit-box).
    The purpose of my routine is to have a edit-box for a user to change for example the centre-frequency of a vector network analyser, so that the centre-frequency of the network analyser can change once the user finishes entering a new value in the text-edit box by hitting Enter key after the number is keyed in. Even if the user has clicked on the edit box, but changes their mind by mouse-clicking on something else to remove focus from the edit box, I would still like labview to detect the event when the control loses focus, so that the centre frequency can be updated anyway (to the same value that was already in the edit box).
    So far, I've tried set the string control option to 'limit to single line', so that I can try to scan for a carriage return .. '\n' ... pattern in the string. Unfortunately this doesn't work because labview doesn't seem to attach the '\n' to the end of that single line.
    Could someone please suggest ways to set a flag when a user hits Enter during text-edit mode of a string control, or when focus has been removed from the string control?
    While I've only described my problem for controlling a single control parameter on the gpib device, I'd like to make this feature work so that I can do the same kind of thing with other control parameters as well.
    Thanks so much in advance.
    Kenny

    Hi Kenny,
    instead of using the event structure, you can directly achieve to what you want by the KeyFocus property of the string control.
    - Enable Limit to single line option
    - Create the property KeyFocus in read mode and connect an indicator
    Each time you click on the string to modify it KeyFocus is True; when you click away or hit Enter KeyFocus is False.
    You can toggle your settings when KeyFocus changes from True to False.
    Alberto

  • How to add table in SAP Non interactive forms in webdynpro java

    Hi Experts,
    I have a requirement in webdynpro java.I have a print button.On clicking print button a pdf will be opened.
    This pdf will have data from the webdynpro view.I want to know how to add table in the adobe pdf.The webdynpro view will have many rows of table(rows will keep changing as per the size of the data output).How to send this data to adobe.How do we bind the node to the table in the adobe.How to automatically
    Please suggest.
    Thanks,
    Rajani
    Edited by: Rajani Nandagiri on Dec 26, 2008 8:58 AM

    Rajani,
    Take a look at below links, it will help you.
    [Handling Dynamic Length Tables in Adobe Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669]
    [Integrate tables & Images in Adobe Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/dynamic%20non-interactive%20pdf%20form.pdf]
    [How to Handle Table Input and Output|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf]
    [How Tou2026deal with Table input and display in Interactive Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0]
    Chintan

  • How to print the content of a text edit ?

    Hi to all,
    I have a view with a text edit and I want to print its content. I created a button and I want to print text edit content pressing this button. How can I do? Which java code I have to insert in that button?
    thanks a lot,
    Antonio

    Antonio,
    Sadly, there is no way to do it directly. Even in plain HTML application it is impossible to print text of UI control (<textarea> in this case).
    So you have to open new browser window containing entered text and let user print text himself. Or invoke window.print() on document load event.
    VS

Maybe you are looking for

  • Issue in Turkey DME payment file

    Hello Gurus, We have an issue in F110 payment file. We have configured DMEE for "GARANTI BANK" for Turkey country.  we have encountered an issue while creating payment file in F110.  System is not considering into the payment file if a vendor is havi

  • Embed video into iweb page

    Is there any way to embed video into my iWeb page without making an external HTML file? Thanks.

  • How can I perform my native language, not English

    On an update my native language has gone off, now the menu-bar is only in English but I want my native language back

  • Hierarchy entire time dep

    i know how to create a hierarchy in the flat file.also i know the time dept hierarchy. how to create a entire time dep hierarchy . give me some flat file with scenario.

  • ECATT customer change

    Hi, I am trying to update a field in the customer master using e-catt. The field is not available for mass update in [MASS] so i have to use ecatt (if i cannot do this then i'll think of LSMW or BDC's). I created a script by recording XD02 and then c