Cursor placed in 2nd character position of an HTML page generated thru Web Bean.

I am not sure if others have noticed it but in my HTML page (generated thru EDitCurrentRecord web bean), the cursor is not always placed in the first character position of a text box/text area.
Is there a way that I can ensure that the cursor starts blinking in the first character position always (instead of the 2nd or 3rd character position)?
Thanks in advance!

This is a bug. I don't have a workaround for you. I will fix it in the next release.

Similar Messages

  • When viewing forums the cursor placed over the thread title would let me see the first sentence in the thread, now it is just a small blank box........any ideas?? Thx

    When viewing forums the cursor placed over the thread title would let me see the first sentence in the thread, now it is just a small blank box........any ideas?? Thx

    Yassssss...................that did it............................thank you!!!

  • Character position in non-editable JTextPane

    OK, I was hoping someone could point me in the right direction.
    I have a non-editable JTextPane ( actually a separate class that extends JTextPane ) with a mouse listener on it. I wish to be able to click on it and get a character position.
    Setting/getting a caret position would make this a no-brainer, but an caret position is an onsertion point, no? And since the JTextPane is non-editable, I would not expect to be able to set/get the caret position with a mouse click.
    Also, I suppose it would be relatively easy to get a character position from the x,y co-ordinate if I used a mono-spaced font, but I would rather not use a monospaced font if i can help it.
    So I am at a loss as to how to proceed with this. Any help here would be much appreciated.

    When a text component such as JTextPane is not editable, it still has the notion of a caret position, it's just that the caret is not visible, and modification of the text is forbidden. That's why you can use the arrow keys or page up/down to scroll through a non-editable text component.
    For any JTextComponent, to find the offset into the document the user clicks on, simply use textComponent.viewToModel() in your MouseListener implementation.
    If you have further trouble, post an SSCCE demonstrating your problem.

  • Autosuggest with bind to cfc only displaying every 2nd character

    This seems a bit strange. As I enter text (even slowly) the autosuggest only seems to display after every 2nd character entered.
    You can view the problem at http://karaoke.com.au in the search fields. It occurs in all 3 search entry fields (Disc, Title and Artist) In addition, as you remove characters, the autosuggset doesn't always update either?
    Any autosuggestions anyone?

    Hey Adam,
    Thanks for taking the time to take a look. I'm a bit surprised that you are getting the correct result there? I tested in IE8 and FF3 as well.
    As you type in a title, say, "To all the girls I've loved before" as you type the "T" I'm expecting the autosuggest to start suggesting my top 20 of titles beginning with "T" but, what I see is the little ajax loading spinner and then nothing until after I type in the next 2 characters when all of a sudden, I get the autosuggest. Having got the autosuggest displayed once, when I start deleting characters, I tend to get the expected behaviour as I go back one character at a time. Please note that no matter how slow I go, I still get these symptoms???
    Anyway here's my code for the form:
    <div class="search_element">
        <label for="disc">Disc</label><br />
        <cfinput style="width:60px;height:16px;" name="disc" value="#request.search.songs.disc#" autosuggest="cfc:karaoke.com.auto_suggest.find_disc({cfautosuggestvalue})" autosuggestminlength="1" maxresultsdisplayed="20">
      </div>
      <div class="search_element">
        <label for="disc">Title</label><br />
        <cfinput style="width:130px;height:16px;" name="title" value="#request.search.songs.title#" autosuggest="cfc:karaoke.com.auto_suggest.find_title({cfautosuggestvalue})" autosuggestminlength="1" maxresultsdisplayed="20"></cfinput>
      </div>
      <div class="search_element">
        <label for="disc">Artist</label><br />
        <cfinput style="width:130px;height:16px;" name="artist" value="#request.search.songs.artist#" autosuggest="cfc:karaoke.com.auto_suggest.find_artist({cfautosuggestvalue})" autosuggestminlength="1" maxresultsdisplayed="20"></cfinput>
      </div>
    And here's the CFC:
    <cfcomponent output="true">
            <cffunction name="find_disc" access="remote" returntype="string">
              <cfargument name="search" type="any" required="false" default="">
              <!--- Query discs --->
              <cfquery name="results" datasource="#dsn#" maxrows="20" >
                 select   distinct     discs.disc
                  from        discs
                  where        disc like '#arguments.search#%'
                  order by    disc
              </cfquery>
             <!--- And return it as a List --->
              <cfreturn  valueList(results.disc) >
          </cffunction>
            <cffunction name="find_title" access="remote" returntype="string">
                <cfargument name="search" type="any" required="false" default="">
              <!--- Query discs --->
              <cfquery name="results" datasource="#dsn#" maxrows="20" >
                 select   distinct     discs.title
                  from        discs
                  where        title like '#arguments.search#%'
                  order by    title
              </cfquery>
             <!--- And return it as a List --->
              <cfreturn  valueList(results.title) >
          </cffunction>
            <!--- Lookup used for auto suggest --->
            <cffunction name="find_artist" access="remote" returntype="string">
              <cfargument name="search" type="any" required="false" default="">
              <!--- Query discs --->
              <cfquery name="results" datasource="#dsn#" maxrows="20" >
                 select   distinct     discs.artist
                  from        discs
                  where       artist like '#arguments.search#%'
                  order by    artist
              </cfquery>
             <!--- And return it as a List --->
              <cfreturn  valueList(results.artist) >
          </cffunction>
       </cfcomponent>

  • How to split the string from character position.

    HI ALL,
    I need to split the string like this.
    example:
    String = "HelloWorld"
    mid("HelloWorld", 2, 5);
    it should print   "ello"
    menas mid is functiuon it will split "HelloWorld" from 2nd character to 5th character and prints "ello".
    This one how to do in labview.
    Regards
    Punith

    String Subset is the function you are looking for.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • hr element placed incorrectly on html page

    <HR> element is placed in a row of a grid but it appears above the table on HTML page. JSP code and HTML output is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <jsp:text><![CDATA[
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ]]></jsp:text>
    <f:view>
    <html lang="en-US" xml:lang="en-US">
    <head>
    <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <title>TestPage Title</title>
    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
    </head>
    <body style="-rave-layout: grid">
    <h:form binding="#{TestPage.form1}" id="form1">
    <h: panelGrid binding="#{TestPage.gridPanel1}" id="gridPanel1" style="left: 0px; top: 0px; position: absolute" width="780">
    <h:outputText binding="#{TestPage.outputText1}" id="outputText1" styleClass="page-header" value="Test page"/>
    <hr width="780"/>
    </h: panelGrid>
    </h:form>
    </body>
    </html>
    </f:view>
    </jsp:root>
    HTML output is as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xml:lang="en-US" lang="en-US"><head><meta http-equiv="Cache-Control" content="no-cache"/><meta http-equiv="Pragma" content="no-cache"/><title>TestPage Title</title><link type="text/css" rel="stylesheet" href="resources/stylesheet.css"/></head><body style="-rave-layout: grid"><form id="form1" method="post" action="/homesoncell/faces/TestPage.jsp" enctype="application/x-www-form-urlencoded">
    <hr width="780"/><table id="form1:gridPanel1" style="left: 0px; top: 0px; position: absolute" width="780">
    <tbody>
    <tr>
    <td><span id="form1:outputText1" class="page-header">Test page</span></td>
    </tr>
    </tbody>
    </table>
    <input type="hidden" name="form1" value="form1" /></form></body></html>

    You cannot safely include HTML tags within all JSF components -- and panelGrid is one such component. This is the reason by the way we disabled the HTML palette in the last moment; it's easy to get into trouble in this area.
    The way to include markup is to include a verbatim tag as a child and then the verbatim tag wraps the html you want to include.
    http://java.sun.com/j2ee/javaserverfaces/1.1/docs/tlddocs/f/verbatim.html
    -- Tor
    http://blogs.sun.com/tor

  • Links to named destinations in IFRAME positioning the PDF a page and half past

    I created a PDF file w/ named destinations so that I can allow the Internet user w/ browser and Acrobat Reader plug-in to link to specific sections of the PDF. The zoom is set to Fit Horizontally, and the position is the top of the page in my example PDF. I used Acrobat Pro 8.1 to create the PDF.
    Problem is when trying to load the PDF into an IFRAME, displayed with the named destination using a tag like:
    <a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1000#view=FitH&nameddest=Mission" target="myframe" >Click 1 </a>
    When clicking on the link to the named destination, the .pdf is loaded or reloaded into an IFRAME and the page with the named destination is usually correctly displayed. Only in IE 6,7,8 the pdf will frequently (about 1 out of 4 times) be positioned a page and a half past the named destination.  Clicking to a different link, and then back to the original link will usually reposition the PDF correctly. Chrome and Firefox always position the PDF exactly to the named destination.  I'd like to know how to create the named destination so that it will always be positioned correctly, or to use a different link that will always position correctly.  I'm using Reader 9.1.2
    HTML:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="-1">
    </head>
    <body>
    <p>
    <a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1000#view=FitH&nameddest=Mission" target="myframe" >Click 1 </a> <p>
    <a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1100#view=FitH&nameddest=Highlights" target="myframe">Click 2 </a> <p>
    <a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1200#view=FitH&nameddest=Trustees" target="myframe">Click 3</a> <p>
    <a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1201#view=FitH&nameddest=Statement_of_Op erations" target="myframe">Click 4</a> <p>
    <a href="http://intranet" target="myframe">Click 5</a> <p>
    <iframe name="myframe" width="100%" height="800">
    </iframe>
    </body>
    </html>

    I'm working with Lyle on this, and I have done some additional testing.
    What I found is that the positioning for named destinations seems to work ok with IE8 when the html page and pdf file are located on one of our external web servers (rather than local intranet servers).
    I am wondering if this is due to the latency involved in downloading the file, allowing the DOM to register the plugin?
    I've posted a query at Microsoft's forum, but they are pointing me back to Adobe...saying they cannot know how the plugin handles rendering...even though I responded that it seems to work across the board with Firefox and Chrome.
    Here is my thread in the Microsoft forum.
    Erratic Behavior with PDF named destinations
    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/4f6adaa2-de8f-47d6-b e4b-444edfdd26d7/

  • Is there a Special Character for the number of pages in a document?

    I'm creating a template (in cs6) for a series of documents of variable length, and each document needs to be numbered with the format, "page A of Z." I see the special character for inserting the current page number (A) and I'd like to have the number of pages in the document (Z) added automatically as well. Is there a wildcard, special character, or script that will accomplish this? I'd rather not have to enter the number of pages manually as the value will change as these go through the editing process; I'd prefer to have the numbers update automatically. Has anybody done this before?

    Your first suggestion is the only way to capture the last page of a book that's comprised of independent document files. The last page number text variable works only within a single document.
    Anyone who wants a last page in book text variable badly enough can post a feature request at Wishform.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices    
    Arïel wrote:
    Stop press!
    You can also, much more simply, create a new text variable. There is
    specifically one for "last page number". That's much simpler.
    Type>Text Variables>Define>New, and in the Type dropdown just select
    "last page number".
    ariel

  • 'Position' Button in Table Maintenance Generator

    Hi,
    i am using 'Position' button to navigate to particular entry in the table in table maintenance generator.
    as far as i know this will correctly when we provide 'left part' of key in the pop up provided by position button.
    however in my case where i changed the column positions in the table maintenance generator which includes key fields.
    does it going to affect 'Position' functionality? because position button is not taking me to correct positions now.
    please suggest....

    Did you change the key field order in the table structure in SE11 or did you manipulate the table maintenance screens by changing the key column order?
    In either case, you can regenerate table maintenance by clicking the change button in SE55 and selecting all check boxes. This will correct the issue. However, check if you have any custom events written or modified screens, as those changes will have to be restored after regeneration

  • Caret position in JEditorPane HTML

    Hi everyone,
    I need the position of caret in HTML source on JEditorPane. I
    The value of getCaretPosition() seems not what I wanted. CaretEvent.getDot() gives the same value of getCaretPosition. These methods only gets position on the view.
    Please help! Thanks a lot!

    It's not possible. HTMLParser creates Document's structure (Elements tree) from html text but it has no relation to content.
    Position in source html isn't correct because it may contain unnecesary space between tags or tab chars or \n chars which are ignored.

  • Special Character for in-line previous page reference:

    OS: Windows XP Pro SP2
    Software: IDCS2
    I'm working on a document and I need to make an inline reference to an item two pages back (not a "continued on/from"). This document is used in two different books, and the page numbers change in each book.
    Is there a way I can use an inline special character to reference that changing page number?
    Thanks in advance,
    Ed

    I know it's not really cheating... but it's used in a way I wasn't able to find a reference for. And it's not truly an inline cross reference either, as I had to put this last paragraph with the character in it in a new text-box. But in the final product it will look like it.
    What I was originally looking for was a way to do it in the same story as the rest of my text. But I couldn't, since that story was threaded to a different text box.
    I guess I was looking to reference like an HTML anchor or something? But there wasn't really a built-in way of doing it.
    And there are drawbacks: like you can only do this within the same document (I assume). And in many circumstances, you would have to add a new text box, since many stories would already be threaded.
    I never claimed it was pretty! :) Just that it worked!

  • API for positioning iviews in a page

    Hi all,
    i wud like to know the API for positioning iviews in a page...can any of you help me out regarding this..

    Hi Gayathri
    You have a file named layoutTemplate.jsp in the Page Layout Template. The following tags are part of the layout tag library:
    <b>1. Container
    2. Template
    3. taglib uri</b>
    A layout container represents a column of iViews. You use the <lyt:container> tag to position the layout container in the layoutTemplate.jsp file. When the HTML page is created, the container is rendered as an html <table>, with a row for each iview.
    Hope that answers your query.
    For further details please refer to this link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/72/25143eb7a4445ae10000000a11405a/content.htm
    Warm Regards
    Priya

  • TS1702 Have the game "The Simpson's tapped out" on Ipad and now every time you touch a character, it jumps out, not even generating the money collected, thus having to do this over and over again! Now, look on itunes for the game itself & not there!?! Hel

    Have the game "The Simpson's tapped out" on Ipad and now every time you touch a character, it jumps out, not even generating the money collected, thus having to do this over and over again! Now, look on itunes for the game itself & not there!?! Help!

    I can not find out a way to finish this game.....Is
    there anyone can help me?You can finish the game by calling System.exit(0).
    Have you found a way to start the game?

  • Ipod 2nd gen. On the sync page under capacity what is other?

    ipod 2nd gen. On the sync page under capacity what is other?

    It can be a number of things. Notes, contacts, calendars, album artwork. The opperating system may also be in that list.

  • After installing Windows 8, when I try to use itunes, the cursor only slowly scrolls to the top of the page and the program will not respond.

    After installing Windows 8, when I try to use itunes, the cursor only slowly scrolls to the top of the page and the program will not respond.

    After installing Windows 8, when I try to use itunes, the cursor only slowly scrolls to the top of the page and the program will not respond.

Maybe you are looking for

  • How to restrict the change access in CRM for OLTP orders

    Hi Guru's, Please let me know  how to restrict the change access in CRM for the orders that are created in ECC. The ECC orders will only for display in CRM but not for change, We have  the orders that are  created in ECC, it will flows to CRM and sho

  • Accessing the online web-configuration page

    I own a Linksys-G WRV200 wireless router, and I have tried to access the online configuration page and a page comes up that says 401 Bad Request cannot use wireless interface to access web. Now, I do not have the disk that came with the router but I

  • Waiting in servlet

    My Servlet (actually a JSP) should do the following: 1. process user input 2. make a http-request to a third party server 3. await the response 4. read and process the response 5. send a replay back to the user The problem is step 3, it can take many

  • Time sheet posted in wrong period

    Hi Team, We posted time sheet for the june month but posting date has been selected july 1  insted of june 30th 2011 useing trnasaction code :CATT JOB can some body give me suggestion how to come up with problem like is there any possiblity to revere

  • ESATA & Bios on Elitebook 8530w

    HP Elitebook 8530w (GW680AV) Windows 7 Ult 64bit OS installed on 2 x internal drives via Raid0  I'm having a very frustrating time with eSATA! 1st off I hadthe built in eSATA interfcae working well with a single eSATA external drive, I often find it