Html editor -problems

I am trying to indent the list items.
I want to have the code for how to indent the list items so that i can make indentation of n level.
My idea is to have some functionality like list in ms word.
any help is appreciated.

This is related to java codes because to render html code , I prepare it first in my java code.
This is done by HTMLDocument class and HTMLEditorKit class.
You see i am trying for WYSIWYG editor with java applet

Similar Messages

  • Html editor turkish character problem

    There is a problem in jdeveloper 10.1.3 html editor on computers with regional settings set to Turkish. In Turkish, uppercase version of "i" is "İ" (I with a dot at the top) and lowercase version of "I" is "ı". This causes a problem with html tags containing i. If you write "div" jdeveloper doesn't recognize the tag. There is no problem if you write "DIV"
    I think html editor converts every tag to uppercase (according to regional setting) in the background and then validates, so "div" becomes "DİV" and it doesn't recognise. To fix this bug, editor must ignore language settings for tags if it converts to uppercase.

    We had our share of the four Turkish "i"s. Wouldn't it be easier to just get rid of two of them? :o)
    But we had problems in our application and not in the IDE.
    If no default locale is specified, then the JVM uses the host's. So maybe it would help to specify a different locale in bin\jdev.conf by adding VM options -Duser.country and -Duser.language. What happens when you add these settings and specify "US" and "en" for example. Does that help?
    Sascha

  • Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor

    Dear All,
    I am frequently getting following error message on aspx pages on my SharePoint 2007 environment
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer.
    If the problem persists, contact your Web server administrator.
    Upon refreshing and restarting the browser several times, this error message temporarily gone and everything becomes fine. But after some time same error message starts appearing again. Also I have noticed that this error message also appears
    while working with SharePoint Designer 2007.Any clues how to resolve this issue ? 
    Any help in this regard will be greatly appreciated.
    Muhammad Tariq khan

    Hi All,
    As I regenerated the problem (Unable to display this Web Part... ) from the faulty
    user. I experience following error message in the ULS logs...
    Error while executing web part: System.Data.SqlClient.SqlException: Invalid object name 't5_sco'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
    exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     at System.Data.SqlClient.SqlDataReader.get_MetaData()    
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior,
    Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
    behavior)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean& bSucceed)    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback,
    ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter
    pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
    at Microsoft.SharePoint.WebControls.SPDataSourceView.ConvertToIEnumerableWrappers(SPBaseCollection items, Int32 firstRow, Int32 rowCount, String[] fieldList)     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments
    selectArguments)     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
    at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator(IDataSource datasource, Boolean originalData)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
    viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform()
    What does this error message mean ?
    Muhammad Tariq khan

  • Safari problem with visual HTML editor

    Hey all,
    I have an error when trying to make an auction on a big portal. Safari doesn't have built-in visual HTML editor.
    http://img403.imageshack.us/i/domerror.tif/
    Any suggestions?
    Message was edited by: moksienciuk

    HI,
    I think you'd have better luck for answers by contacting the site support area.
    You could try using the Firefox for Mac browser instead.
    http://www.apple.com/downloads/macosx/internet_utilities/mozillafirefox.html
    Always good to have a back up browser regardless and it might be more user friendly for that particular site.
    Carolyn

  • Problem with HTML Editor box in XML Form

    Hi all,
    I am using a HTML editor box in one of the XML form template. When I parse the data from HTML editor and apply my own style sheet and display in JSP page, it has no effect on it. Instead the style set by HTML editor box is being applied. Is there any way to override the style applied by HTML editor ?
    For example,
    Suppose  user enters "Hello" in HTML Editor box and saves the xml form.
    Then when I parse this data and apply my style sheet like
    <style="font-family:arial; font-size:12"><%= datafromXMLform() %>
    I should get "Hello" in arial font with size 12, instead I am getting size=1 because of style applied by html editor.
    Is there anyway to remove/override this style?
    Thanks in advance,
    Sandesh
    Edited by: sandesh kumbhar on Oct 27, 2008 4:12 PM

    Got it !!!
    In the property section of html editor in form builder , set the style as none/empty instead of standard.
    Sandesh

  • Line space problem in HTML editor

    Hi,
    In HTML editor , when press ENTER the cursor doesnt go to the exact next line , but it leaves 1 line behind each time.
    What can we do so that it wont leave 1 line behind ??

    Vaibss,
    What do you mean by
    it leaves 1 line behindHave you tried a shift + enter?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Creating a small HTML-Editor using JEditorPane

    Hello! I'm trying to create a small HTML-Editor. Via this editor users shall be capable to create formatted text (bold, italic, underlined, different sizes, different fonts, different colors). Furthermore, if the user pushes the enter-button a new line-break (<br>) shall be inserted. Basically my editor is working but with some big problems:
    1. When I create an instance of my editor, I initialize it with some html-code.
    this.m_EditorPane.setText("<html><head></head><body></body></html>"); Without this initialization between the <body> and </body> <p> and </p> will be inserted, what I don't want. But if I push now the enter-button at the beginning, <br>-tag will not be inserted in the <body>-area but in the <head>-area.
    2. Styling text is working really good, but when I insert a line-break (via enter-button), the <br>-tag is inserted after the (e.g.) closing bold-tag (</b>). So, in the next line, this style-property must be reselected.
    Can anybody help me to change this behavior?
    Kind regards, Stefan
    P.S. The way I insert the <br>-tag:
    JEditorPane editor = getEditor(ae);
    HTMLDocument doc = getHTMLDocument(editor);
    HTMLEditorKit kit = getHTMLEditorKit(editor);
    editor.replaceSelection("");
    int offset = editor.getCaretPosition();
    kit.insertHTML(doc, offset, "<br>", 0, 0, HTML.Tag.BR);
    editor.getCaret().setDot(editor.getCaretPosition());P.P.S. Sorry for my bad english :-/

    Hello! I'm trying to create a small HTML-Editor. Via this editor users shall be capable to create formatted text (bold, italic, underlined, different sizes, different fonts, different colors). Furthermore, if the user pushes the enter-button a new line-break (<br>) shall be inserted. Basically my editor is working but with some big problems:
    1. When I create an instance of my editor, I initialize it with some html-code.
    this.m_EditorPane.setText("<html><head></head><body></body></html>"); Without this initialization between the <body> and </body> <p> and </p> will be inserted, what I don't want. But if I push now the enter-button at the beginning, <br>-tag will not be inserted in the <body>-area but in the <head>-area.
    2. Styling text is working really good, but when I insert a line-break (via enter-button), the <br>-tag is inserted after the (e.g.) closing bold-tag (</b>). So, in the next line, this style-property must be reselected.
    Can anybody help me to change this behavior?
    Kind regards, Stefan
    P.S. The way I insert the <br>-tag:
    JEditorPane editor = getEditor(ae);
    HTMLDocument doc = getHTMLDocument(editor);
    HTMLEditorKit kit = getHTMLEditorKit(editor);
    editor.replaceSelection("");
    int offset = editor.getCaretPosition();
    kit.insertHTML(doc, offset, "<br>", 0, 0, HTML.Tag.BR);
    editor.getCaret().setDot(editor.getCaretPosition());P.P.S. Sorry for my bad english :-/

  • 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

  • How can I use javascript in a Text Area with HTML editor??

    My question is... how can I use javascript in Text Area with HTML editor??
    I can use javascript functions that change the content of Text Areas but i can´t if i try in text area with html editor....
    I need to limit number of characters in a text area with html editor and i can´t.
    could anybody help me please?

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

  • HTML Editor (FCKEditor) broken in Safari (APEX 3.0)?

    Hi folks,
    When using Safari (3.1.1), FCKEditor does not load for me on page items of type HTML Editor). (It's fine using IE and FF). Safari reports:
    Value undefined (result of expression func) is not object.
    .../i/javascript/htmldb_html_elements.js (line 484)Searching the forum I found this reference:
    AJAX result length > 32000
    In his post there, Dan identifies what may be the problem:
    "correct way to handle this is by using the FCKeditor_OnComplete function instead of an onload call. The function takes one parameter, the FCK Editor instance on the page, which in ApEx seems to have been made 'oFCKeditor';"
    ... but I'm still short of a fix.
    Since FCKEditor is now bundled into APEX, I'd hope that APEX would successfully invoke it on all major browsers.
    Does anybody (Apex team?) know a fix?
    Has this been fixed at 3.1?
    Thanks
    john

    Hello,
    Has this been fixed at 3.1?Yes
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Can't get FCKeditorAPI to load to validate HTML Editor contents

    I have an HTML Editor item on my page and wanted to quickly check the length of the text in the editor before submitting the page. It should be possible to get the contents of the HTML Editor using the FCKeditorAPI, but I can't get it to load. I'm doing this by putting basically this in the HTML header:
    <script type="text/javascript">
    function checkLength() {
    var oEditor = FCKeditorAPI.GetInstance('MY_EDITOR');
    alert(oEditor.GetXHTML.length);
    </script>
    Then calling the function when the Save button is clicked. I'm only geting "FCKeditorAPI is not defined" errors, however.

    Hi,
    I have the same problem, because I want to check the number of characters in the editor field before the values are stored.
    And when I tried to get the value of the fckeditor field with document.getElementById(XXX).value; I don`t get the actual value.
    So I have to get the value through the instance of the fckeditor.
    Thanks for your help,
    Tim

  • Html Editor in XML Form builder

    Hi,
       I have created a FAQ in XML Form Builder and I am using html Editor in the form. I need to give link to some selected text by using "web link for selection" option form the html Editor and I tried but in the iview the text does not appear as link.
    can any one help me what is a problem? or it is bug in Html editor.
    regards
    Yasir Noman

    hi Yasir
    The project you created appear in the KM folder  ( /etc/xmlforms)or the folder based on your settings. You can open the form you created in the km and can check whether the link command is there in the file.You can edit it directly from here to correct the error.
    Regards
    geogi

  • Use of javascript and textarea with HTML editor

    Hi all,
    I have been trying to use some onchange javascript in the HTML Form Element Attributes of an item which is a textarea with an HTML Editor. It just seems to ignore the code. When you "view source" the code does not seem to be there.
    What I am attempting to do is described in thread: detecting changes to items prior to submitting page
    i.e. to warn a user that if they leave the page without saving they will lose their changes. It works fine with most of the other items on the page i.e. text boxes, select lists but not the textarea with html editor.
    Is there somewhere else I should be putting my js for items of this type? I have spent some time looking through the forum posts but cannot find an answer so far.
    Thanks,
    Brian

    I'm having the same problem.
    Would like to use the onChange event in a textarea with html editor.
    This works in Firefox (where I don't get the html editor but only a textarea) but doesn't seem to work in IE.
    Is there another way of detecting the user has changed the text in the html editor?
    Thanks,
    Pieter

  • HTML Editor in 9.0.2

    Does anyone know if the HTML editor can be attached to custom text attributes. It would be great if all text attributes could use the new HTML editor during content entry.
    Thanks in Advance,
    -Scot

    Hi
    The changing of relative to absolute is the one that bothers me. I think it also added line breaks, which caused problems with gaps appearing between images.
    The other one I remember is adding <tbody> tags to a table.
    I would prefer it if one could prevent the editor from making any changes in the HTML whatsoever. As an option maybe.
    Is it possible to create a simple HTML item as a shared component that one could drop into any page?
    Regards
    Harry
    What changes are you seeing?
    I know that the editor converts relative links to absolute links (a bug has been logged for this and the issue is mentioned in the release notes).

  • 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!

Maybe you are looking for

  • What documentation do I need to set up a second file server?

    I have a 10.4 server that used to be my OD master...  but I'm setting up a new Mac Pro to be the master (running 10.6) but would like the old 10.4 server to handle some of the network software.  I don't mind doing a bit of reading to set this up, but

  • Help in Shell Script

    Hi , I need to find a strin inside a file I googled this, to write afeter sqlplus -s etc #while IFS=$(echo '\012\001') read LINE ; # do # case ${LINE} in ORA-*|SP2-*) ord.extractor_porven.sh # echo " JUSTO Dentro del error ORACLE se ha producido" # *

  • Safari 3.1.2 keeps quitting unexpectedly

    I recently reinstalled OS X 10.4.11 and Safari started quitting on me (it had never done so before). I then upgraded to Safari 3.1.2 to fix the problem and it has continued to keep quitting unexpectedly. I tried to keep track of when Safari was quitt

  • Disk Utility doesn't recognise inserted DVD-R DL

    I upgraded to Leopard from Tiger a few week ago and Disk Utility has been working fine for a while. I bought a few blank DVD-R DL disks with 8.5Gig storage capacities, but, when inserted, Disk Utility doesn't show them in the top of the pane on the l

  • Filenames not showing up

    Hello all, We are still on EP 5 SP5 with KM 5, and we just recently upgraded our dev environment to CM 5.0.5.3 with hotfix 17. For some reason, the files in the KM Admin page (Admin Explorer, com.sapportals.km.AdminExplorer) do not have filenames any