Wrong behaviour in link generated by HTML editor

Hi all,
anybody knows if there is some bug in HTML editor used in XML Form Builder projects?
We are facing the following problem:
1) we create a link by filling the html editor area in a news XML edit form
2) save and publish the news
3) in rendering of the news the link doesn't respect the CSS class used for links (e.g. the link is a standard link, blue and underline)
Is it a standard behaviour or not?
Thanks
Marta

Hi all,
anybody knows if there is some bug in HTML editor used in XML Form Builder projects?
We are facing the following problem:
1) we create a link by filling the html editor area in a news XML edit form
2) save and publish the news
3) in rendering of the news the link doesn't respect the CSS class used for links (e.g. the link is a standard link, blue and underline)
Is it a standard behaviour or not?
Thanks
Marta

Similar Messages

  • Creating a dynamic content link in Eloqua HTML editor

    I'm using dynamic content to populate a link on an HTML landing page. I drag and drop the dynamic content, and the following code shows up:
    <a href="<span title="Dynamic Content - Member Station Donation Page URL" elqid="18" elqtype="DynamicContent" class="remove-absolute" style="display: block"><span class="eloquaemail" style="-moz-user-select: all; -webkit-user-modify: read-only" unselectable="on">Member_Station_Donation_Page_URL1</span></span>">
    But when I save the page, the editor changes the HTML to this:
    <a href="<span title=" dynamic="" content="" member="" station="" donation="" page="" url"="" elqid="18" elqtype="DynamicContent" class="remove-absolute" style="display: block"><span class="eloquaemail" style="-moz-user-select: all; -webkit-user-modify: read-only" unselectable="on">Member_Station_Donation_Page_URL1</span>">
    which breaks the link. How can I format the dynamic content so the Eqolua editor doesn't screw it up?

    Hi Cootis,
    You can simply take one conatiner and create the textInput dynamically at runtime in ActionScript. Check the sample simplest  code below..
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
      <![CDATA[
         private var arrayCollectionList:Array = new Array();
         private function addTextInputToForm() : void
           var textInput:TextInput = new TextInput();
           textInput.width = 250;
           textInput.height = 25;
           boxContainer.addChild(textInput);
      ]]>
    </mx:Script>
    <mx:VBox verticalGap="5" horizontalCenter="0">
      <mx:VBox id="boxContainer" verticalGap="5">
       <mx:TextInput id="txtInput" width="250" height="25" /> 
      </mx:VBox>
      <mx:LinkButton id="lnkButton" label="Add Another Item" width="250" click="addTextInputToForm();" />
    </mx:VBox>
    </mx:Application>
    Thanks,
    Bhasker

  • Implementing HTML Editor in Dynpro

    Hi,
      How to implement the HTML Editor in Dynpro ?
    Regards
    Prasath

    Check the following threads it clearly explained for ur question,it will be very usefull
    HTML Editor in WebDynpro
    Is there a way to embed an html editor in a webdynpro application?
    Re: Rich Text editor in Webdynpro
    it's possible
    u do this way
    Give the source of text edit as context variable of binary type
    In the DoInit() method write the code
    IWDAttributeInfo attr = wdContext.getNodeInfo().getAttribute("Data");
    type = attr.getModifiableSimpleType();
    ISimpleTypeModifiable type;
    defined as a global variable. and u Insert a Iframe and set the source as a context variable Source (String type). andInsert a button with text as Display and create an action as OnActionDisplay(). In that action write the code
    wdContext.currentContextElement.setSource(type.format(wdContext.currentContextElement().getData()));
    u see this thread also, this is helpful to u
    Re: WebDynPro and HTML...
    Check the following link for help
    HTML Editor in WebDynpro
    I would sujjest you to go for JSPDYN Pages where in you have been provided with HTML editor.
    Please check my Blog below for more information
    /people/anil.dichpally/blog/2007/04/25/jsp-dyn-pages-with-an-example
    Using a Iframe UI u can give the source as the path to this html file(the javascript code). But everytime a event occurs the content i the IFrame UI gets refreshed.
    If u have to just display a content in Iframe UI its fine. If u r planning to navigate inside it ..it wont work out .
    You can fire a exit plug to the javscript code if its the last step in ur application or u can fork a process and create a external window with this url.
    Please give me reward points...

  • A (sort of) random link generator html question...

    Hello everyone,
    Thank you in advanced for taking the time to read this.
    I have a site in which I have made ten or so pages with different content on each one. I want to create a link on a main page that will take the user to a different one of those pages each time they click a button. A "random" link generator of sorts, only the "random" is my 10 pages of content.
    Is anyone aware of the html that will do this? I am just savvy enough to understand the basics, and any help is greatly appreciated.
    Tyler

    warnerja wrote:
    BigDaddyLoveHandles wrote:
    warnerja wrote:
    CTRL-D
    NAK
    Good old 0x15?
    ACK
    EOT

  • HTML Editor

    Well, Howard Kistler has certainly already signed with an editor to sell its HTML Editor Applet. So instead of being parasites and begging for code, why not spit in our hands and code it by ourselves ?
    I've made some tries yesterday for a HTML editor application. So far, there is an appli where one can edit text, and set it bold or italic with a menu. One can also dump the HTML code to stdout.
    Here is the code, it's very simple, and after that I'll have some questions for you.
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class Bla extends JFrame {
        JEditorPane jep;
        Hashtable actions;
        private Action getActionByName(String name) {
            return (Action)(actions.get(name));
        public Bla() {
            jep = new JEditorPane();
            jep.setContentType ("text/html");
            // shouldn't insert HTML test not done with a JEditorPane
            // jep.setText ("This is a <b>test</b> !!");
            // store and display available actions for this Editor Kit
            actions = new Hashtable();
            Action[] actionsArray = jep.getEditorKit().getActions();
            for (int i = 0; i < actionsArray.length; i++) {
                Action a = actionsArray;
    actions.put(a.getValue(Action.NAME), a);
    System.out.println (a.getValue(Action.NAME) + " = " + a);
    System.out.println ("TEST : " + HTMLEditorKit.BOLD_ACTION); // --> "html-bold-action" !!
    // builds menu bar
    JMenuBar jmb = new JMenuBar();
    setJMenuBar (jmb);
    JMenu jm = new JMenu("commands");
    jmb.add (jm);
    jm.add (getActionByName ("font-bold"));
    jm.add (getActionByName ("font-italic"));
    JMenuItem out = new JMenuItem("output text");
    jm.add (out);
    out.addActionListener (new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    System.out.println ("CONTENT : " + jep.getText ());
    // insert editor to a scroller and add all that to our frame
    JScrollPane scroller = new JScrollPane();
         JViewport port = scroller.getViewport();
         port.add(jep);
    getContentPane().add (scroller, BorderLayout.CENTER);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    pack();
    setSize (400, 400);
    show ();
    public static void main (String args[]) {
    new Bla();
    Questions :
    1) When we display HTMLEditorKit.BOLD_ACTION, the result is "html-action-bold" but this action does not exist in the action list that we got from the EditorPane ! Is it a bug or just something I didn't understand ?
    2) Is it a comprehensive list of all available actions on an EditorPane ?
    3) If you try to set the HTML text by yourself, the Editor won't like it unless it is perfectly structured (usage of <p>, by example). Strange behaviour and bugs will occur if you try it.
    4) When the HTML content is sent back, it is enclosed in <html><head></head><body>...</body></html>. What part of the architecure generates this code and how to get rid of it (not by String manipulations, of course).
    Thanks for your help. And see you soon for the next version !
    Matthieu

    I use TextWrangler and I think it rocks - it is completely free, very fast and just nice to use in general. The URL to download is:
    http://www.barebones.com/products/textwrangler/download.shtml
    Martin Bradford-Gago
    Apple Newbie Blog: http://aurora7795.blogspot.com
    MacBook, Intel Mac Mini, iMac G3   Mac OS X (10.4.8)   Using Parallels Desktop to connect to Windows XP

  • APEX - Textarea with HTML Editor.

    All,
    I am working with Application Express Version 2.2.1.00.04
    I have the following problem:
    I have an item "Textarea with HTML Editor" which I am inserting
    information CLOB in a table.
    This data is consulted by a Region Report of APEX which has a Link that
    will be a popup. Inside the report, I use wwv_flow_utilities.URLENCODE
    (here the column is a CLOB) where it gives me the error "ORA-06502:
    PL/SQL: numeric or value error: character string buffer too small".
    I started to investigate which might be the problem and saw that the
    item "Textarea with HTML Editor" usually inserts special characters.
    I show an example of the special character that inserts and which is the
    error.
    SELECT wwv_flow_utilities.URLENCODE(' ')
    FROM dual;
    This character, which is like a space in target, is bringing problems to
    be able to execute the report.
    A provisional solution to solve this problem is to put a REPLACE into
    the Query.
    Has anyone this problem.???? Do you know why this character can be
    inserted??????
    Thx..

    Thanks Dimitri!
    I'm trying to find this place in the application but I don't have enough privileges. Here, we are working with Application Express 2.2.1 and we have to upgrade to 3.1.1.
    In order to improve the behaviour of HTML Editor Standard, I think we should integrate FCK to our application, do you know about any step by step explanation to achieve this? Because I was searching this information in the forums, but I can't find anything. Please, any information you can share with me will be very helpful
    Thanks again!

  • KM HTML Editor Toolbar

    Hi All
    I have some missing icons from the Dev portal HTML Editor toolbar and wondered if anyone could help me identify where the problem lies.
    I go to Content Administration --> Km Content, then I navigate in to the documents folder and click from the menu Folder --> New --> HTML File and the screen changes to the 'New HTML Document' screen. This all works as I expect but on our Dev portal the toolbar above the HTML Editor only contains B I and U.
    On our QA and Training portals this toolbar contains many useful icons.
    I have done a lot of searches but I have been unable to find a solution.
    Does anyone know whats wrong or needs changing on our Dev portal ?

    I figured it out myself, under System Administration - System Configuration - Knowledge Management - Content Management
    Utilities - Editing - HTML Editing
    There are these options:
    Always Use Secure HTML Editor
    Allow Only Basic Formatting
    Allow Links
    Activate Clipboard Buttons
    Allow Preview
    Allow Indenting
    Allow Tables
    Allow Bullets and Numbering
    Allow Images
    Allow Text Size and Font Settings
    Allow Color Settings
    On Dev we had all options ticked so for us that meant 'Allow Only Basic Formatting' was giving limited icons on the HTML Editor toolbar. It is worth noting that if 'Always Use Secure HTML Editor' is not ticked then the other options dont do anything, it is all based around this first option.

  • Html editor standart (read only)

    Hi,
    i thought that Read only section in Html editor standart is to generate that editor in read only state, but when i add some condition it displays only html source, without condition works fine ...
    I am quite new in Apex, could it be done? mayby i am setting something wrong or more settings to be done
    Thanks
    David

    David,
    Thanks for being patient. I'll get it eventually... ;)
    The readonly condition of an item is taken into account PRIOR to rendering the page and should be used when you don not want to make an item editable after the page is rendered. As you've found in the case of some items, it means not rendering the item as you might normally expect to see it. A simple example is a text which is usually displayed as such - an input item of type "text". However, when the readonly condition evaluates to true, the input of type "text" is replaced with an input of type "hidden" and an additional span is added to display the value.
    If you wish to toggle an item's readonly property with the page having been rendered, then custom JavaScript code must be used.
    Sorry if I'm still off. Let me know...
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Run script in HTML editor in WebView WP8.1

    I am developing an app in which I need to give HTML editing facility to the user. So I tried different HTML editors but finally TinyMCE was able to show controls for editing. But I am not able to set the contents of Editor. It gives Exception Exception
    from HRESULT: 0x80020101. And I tried all different solutions but could not figure it out. Here is link to my project
        string tinyMice = "<script type='text/javascript'> function myfun() {tinymce.execCommand('mceInsertContent', false, getQueryStrings());}myfun()</script>";
                        await System.Threading.Tasks.Task.Delay(TimeSpan.FromSeconds(1));
                        await webview_demo.InvokeScriptAsync("eval", new string[] { tinyMice });
    Can somebody help?

    hey,
    I am not sure what you exactly want to do but I took a look at the project you uploaded.
    First of all, you better use the NavigationCompleted or
    FrameNavigationCompleted event for executing onload functions.
    I have no idea about the tinymce js plugin but here is what I did to create a similar scenario.
    1) First, create a js function in the removeformat.html to return a string (replacing your getQueryStrings functions)
    function returnMessageValue() {
    return "Hello JS World";
    2) then create a script notify event handler and wire it up to the page so we can get alerts from the html page loaded.
    In NavigationCompleted event:
    string result = await this.webview_demo.InvokeScriptAsync("eval", new string[] { "window.alert = function (AlertMessage) {window.external.notify(AlertMessage)}" });
    this will notify the webview about window.alert's. So we subscribe to the Script notify event:
    webview_demo.ScriptNotify += (sender, args) =>
    MessageDialog m = new MessageDialog(args.Value);
    m.ShowAsync();
    and finally the code execution for our function:
    await webview_demo.InvokeScriptAsync("eval", new[] { "window.alert(returnMessageValue())" });
    // await webview_demo.InvokeScriptAsync("eval",
    // new[] { "tinymce.execCommand(\"mceInsertContent\", false, getQueryStrings())" });
    result:
    hope it helps
    Can Bilgin
    Blog
    Samples CompuSight

  • Word Wrap functionality in HTML Editor

    Hi,
    Is their any configuration to enable the word wrap functionality in HTML Editor.
    Best Regards,
    Ajay

    Hi Priyaranjan,
    you need to use modules for that. The below link explains step by step a sample for word wrapping in an analysis item.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f7d724-c0f0-2d10-828f-be249d59b5c3?QuickLink=index&…
    Regards
    Yasemin...

  • How to create an HTML editor on Apex with the buttons for editing?

    Hi,
    I would like to have an online editor similar to the one I am using to post this thread with a bold, itallic and links button.
    I see there are HTML editor items, however it doesn't have the bold, font buttons when I create the page?
    Below are from the HELP section.
    HTML Editor Standard - Provides more editing functionality, such as font, format and color, than HTML Editor Minimal.
    Text Area with HTML Editor - Provides basic text formatting controls. Note that these controls may not work in all Web browsers.
    Thanks.
    Edited by: Samantha on Oct 21, 2011 2:12 PM

    Hi,
    Thanks. I went to the item area and did not see it after selecting 'Text area'
    Only these items which do not have the cool editing features.
    Textarea
    Textarea (auto-height)
    Textarea with Character Counter
    Textarea with Character Counter & Spellcheck
    Textarea with Spell Checker
    HTML Editor Minimal
    HTML Editor Standard
    Textarea with HTML Editor (deprecated)

  • How could I edit correctly my bullets in my html editor

    I try to manage bullets in a simple HTML Editor.
    To do that, I used two differents methods but they both failed.
    When I look at the generated source code, my tags correcty exist but in the HTMLDocument, I can't see the text well formatted.
    Is anybody could help me?
    Thanks a lot
    Here is the two methods I chose:
    The first one was:
    MutableAttributeSet attr = new SimpleAttributeSet();
    attr.addAttribute(StyleConstants.NameAttribute, style);
    int xStart = m_HTMLEditor.getSelectionStart();
    int xFinish = m_HTMLEditor.getSelectionEnd();
    m_doc.setParagraphAttributes(xStart, xFinish - xStart, attr, false);
    And the second one was:
    try{
         MutableAttributeSet attr = new SimpleAttributeSet();
         attr.addAttribute(StyleConstants.NameAttribute, HTML.Tag.LI);
         m_doc.insertString(m_HTMLEditor.getSelectionStart(), m_HTMLEditor.getSelectedText(), attr);
    catch(Exception ex) {                         IdeMessageManagerAccess.printMessage(IdeMessageType.INFORMATION, "An exception occured during the inserting bullet");
    }

    Hi,
    implementing list formatting for HTMLDocuments is complex. To format an arbirtrary text portion as list, <ul> or <ol> and <li> tags have to be added to respective text.
    As one can not predict if a selected text portion has already list formatting or contains a mixture of list and plain text formatting, there are a lot of cases to implement.
    My proposal is to just copy a working implementation as it is present in application SimplyHTML at http://www.lightdev.com/template.php4?id=3
    Ulrich

  • Firefox doesn't display my html properly (Like it is looking like on my editor). Explorer displays the page like my html editor.

    Hello,
    I develop my web site with a html editor. When I use preview, everything is fine. If I use Explorer, everything is fine also but if I use Firefox to display the page, the images and text are not where they should be.

    If you use MS software to generate page code then make sure that you disable VML (MS Office) code in the web authoring settings. Otherwise only IE will be able to display that website properly.
    You can see VML as green comments in the View > Page Source.
    See http://en.wikipedia.org/wiki/Vector_Markup_Language

  • Printing the data in "Textarea with HTML editor" item in APEX as pdf

    Hello,
    I have a requirement which goes like this.
    The user enters data in the HTML editor in APEX. All the tools available in the HTML toolbar will be used (eg. bulleted points, tables etc.). This data is stored in a single cell in the database. This data needs to be generated as a pdf for printing. We have Apache FOP installed as well.
    When I try to create a report region with this data and export it as pdf, the html tags are not considered. For eg. the table in the HTML editor doesn't appear as a table in the pdf, only the text appears.
    Let me know if such a transformation is possible. Also, can any other tool perform this??
    Note: The data in the HTML editor may not be in a fixed template. Whatever is entered there has to be converted.
    Thanks in advance !!

    The strip HTML attribute is set to "No" already. If you understood clearly, I need to convert the entire data in a HTML editor item to pdf. The data is stored in a single cell as HTML tags in the database. The data may inturn contain HTML tables as well. These HTML tables are not captured in the pdf, only the text within the tables are displayed.

  • Xml Form Builder HTML Editor

    Hi All,
    In my xml form builder application, i have to insert an image inside the UI "HTML Editor". But there is no option called as "insert image from km" into the HTML Editor? How can i have that option called "Insert Image From KM" ?
    I tried "configuration of the HTML editor" in
    Knowledge Management  Content Management  Utilities  Editing  HTML Editing.
    I enabled the option "Allow Images". Then too it is not reflecting in HTML Editor UI.
    What else can be done for getting that property on HTML Editor UI?
    Thanx and Regards,
    Divya

    Hi,
    My understanding is that the standard HTML editor control from SAP is quite limited. You can copy and paste an image into it (but the image has to already be in KM) - it has no nice control for selecting or positioning the image....
    Some options:
    1. There are options like TinyMCE which I belive can be used in place of the standard HTML editor control.
    2. If the structure of the content on you page is fixed then you could add images into the form as images that the user would provide links for - but this is not as free form as you would maybe like.
    Hope this helps,
    Simon

Maybe you are looking for

  • Pricing doc. does not exist in CRM Sales Doc Creation

    Hello gurus I am new to Sales within CRM and recently have set up the IPC. The IPC communicates with the CRM Server without any issues.  I have download all data required in the IPC. When I create a new sales order in CRM all is ok apart from the con

  • Compile error "input line is too long" when using useLegacyAOT

    I'm using FlashBuilder 4.7 and the release of AIR 4 on Windows 7 to package for iOS...As soon as I include 3 or more ANEs I can no longer compile to iOS (and also use the new "useLegacyAOT no" command).  When I try I get an error "The input line is t

  • How do i find out what type of pgm i need to view a video?

    sometimes i cannot watch some videos..how do i find the program to let me view them?

  • How to sort video, music,photos in different dire...

    hello my friends, how correctly to sort videos, mp3, photos in different directories? for example if i take a picture in appears in gallery --> image@videos, all music clips there as well..but it should be in gallery--> sound clips. all other videos

  • Help with Nokia 6234

    Hi, Hopefully someone can help me with this question. My workplace has recently upgraded our work phone to Nokia 6630's - beacuse they have a Symbian OS. My personal take on the 6630 is that the menu system and keys aren't very intuitive, its big and