Forcing a RichEditableText focus glow

I am creating some accessibility navigation shortcuts for an application and notice that the RichEditableText component (editable=false) has a glow when tabbing to it but doesn't have a glow when using AS to set the focus to it.
focusManager.setFocus(myRichEditableText);
Is there something I can do with the RichEditableText component to force it to glow when setting focus with the focusManager to mimic the same way it glows when tabbing on to it?
Thanks in advance.
EDIT update:  I was testing using the mouse to press a button, which changes the focus correctly to the RichEditableText component.  The highlight does not occur.  However, When I click the button using the SPACEBAR, the focus changes correctly and the highlight DOES appear!  Which is good news for me.
I would still like to know if it's possible to force the glow when using a mouse though!

RichEditableText checks the editingMode then sets showFocusIndicator on the
FocusManager.

Similar Messages

  • Disabled button getting focus

    My problem is that a disabled button are getting focus, which is bad when the application are operated without a mouse.
    I made this litlte demo to illustrate the problem.
    Try pressing button no.1. This will disable button no.1 and button no.2,
    but why are button no.2 getting focus afterwards?
    * NewJFrame.java
    * Created on 29. september 2005, 16:55
    import javax.swing.*;
    * @author  Peter
    public class NewJFrame extends javax.swing.JFrame {
        /** Creates new form NewJFrame */
        public NewJFrame() {
            initComponents();
            printButtonStatus();
        private void printButtonStatus () {
            printFocus (jButton1);
            printFocus (jButton2);
            printFocus (jButton3);
            printFocus (jButton4);
         * Just debug inf.
        private void printFocus (JButton button) {
            System.out.println ("Button=<" + button.getText () + ">, Enabled=<" + button.isEnabled() + ">, Focus=<" + button.isFocusable() + ">");
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        private void initComponents() {
            jPanel1 = new javax.swing.JPanel();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            jButton3 = new javax.swing.JButton();
            jPanel2 = new javax.swing.JPanel();
            jButton4 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jPanel1.add(jButton1);
            jButton2.setText("jButton2");
            jPanel1.add(jButton2);
            jButton3.setText("jButton3");
            jPanel1.add(jButton3);
            getContentPane().add(jPanel1, java.awt.BorderLayout.NORTH);
            jButton4.setText("jButton1");
            jPanel2.add(jButton4);
            getContentPane().add(jPanel2, java.awt.BorderLayout.CENTER);
            pack();
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            // TODO add your handling code here:       
            jButton1.setEnabled(false);
            jButton2.setEnabled(false);
            jButton3.setEnabled(false);
            printButtonStatus();
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JButton jButton3;
        private javax.swing.JButton jButton4;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        // End of variables declaration
    }

    Very courius.
    I have made a little change in your code.
    1) scenario
    Simply changing .setEnabled(false) invokation, the class works fine.
    so
    jButton2.setEnabled(false);
    jButton3.setEnabled(false);
    jButton1.setEnabled(false);
    2) scenario
    the class works fine also using your .setEnabled(false) order invokations and putting after those:
    FocusManager.getCurrentManager().focusNextComponent();
    I do not know exactly why, I suppose that is there something not properly
    syncronized in events dispaching.
    In my opinion:
    a) setEnabled(false) at last calls for setEnabled(false) of JComponent
    that fires a propertyChange event
    so:
    scenario 1)
    buttons 2 and 3 are disabled before of button1 that has the focus in
    that moment (given by a the mouse click on itself)
    When botton1.setEnabled(false) is performed buttons 2 and 3 are
    just disabled, so focus is got by button4 (that is enabled)
    scenario 2)
    button1 that has the focus (given it by the mouse click) becames
    disabled before that button2 becames disabled too.
    So, probably, when the event of PropertyChanged is fired and processed, button2.setEnabled(false) invokation has not been
    just performed and swings looks for it as a focusable component
    So, using FocusManager.getCurrentManager().focusNextComponent(),
    we force the transer focus on next focusable component.
    This is only a my suppose, looking what happens.
    Regards.
    import javax.swing.*;
    * @author Peter
    public class NewJFrame extends javax.swing.JFrame {
    /** Creates new form NewJFrame */
    public NewJFrame() {
    initComponents();
    private void printButtonStatus () {
    printFocus (jButton1);
    printFocus (jButton2);
    printFocus (jButton3);
    printFocus (jButton4);
    System.out.println("--------------------------------");
    * Just debug inf.
    private void printFocus (JButton button) {
    System.out.println ("Button=<" + button.getText () + ">, Enabled=<" + button.isEnabled() + ">, Focus=<" + button.hasFocus() + ">, Focusable=<" + button.isFocusable() + ">");
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    jPanel1 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jButton3 = new javax.swing.JButton();
    jPanel2 = new javax.swing.JPanel();
    jButton4 = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jButton1.setText("jButton1");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1ActionPerformed(evt);
    jPanel1.add(jButton1);
    jButton2.setText("jButton2");
    jPanel1.add(jButton2);
    jButton3.setText("jButton3");
    jPanel1.add(jButton3);
    getContentPane().add(jPanel1, java.awt.BorderLayout.NORTH);
    jButton4.setText("jButton1");
    jPanel2.add(jButton4);
    getContentPane().add(jPanel2, java.awt.BorderLayout.CENTER);
    pack();
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    // TODO add your handling code here:
    // I have simply change the order
    jButton2.setEnabled(false);
    jButton3.setEnabled(false);
    jButton1.setEnabled(false);
    // with this sentence the class work with original .setEnabled order
    //FocusManager.getCurrentManager().focusNextComponent();
    SwingUtilities.invokeLater(new Runnable()
    public void run()
    printButtonStatus();
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new NewJFrame().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    // End of variables declaration
    }

  • Problem: who has the focus when a comp lost the focus

    I've a JPanel with textfields. When I loose the focus of the textfield I validate the input. So far so good. When I click outside the panel the validation shouldn't be made. But I can't add Listeners to all the other panels, because it should be dynamic. I know in java1.4 there is the possibility to get to know who the owner of the Focus is.
    I use jdk1.3.1.04.
    Thanks.
    christian

    Hi,
    We had same problem.
    Maybe its not the best idea, but its working.
    We made managed bean,which can requery, and focus row on iterator.
    We force to requery the iterator like this:
    FacesContext fc = FacesContext.getCurrentInstance();
    ValueBinding vb =
    fc.getApplication().createValueBinding("#{data." + iteratorName+ "}");
    DCIteratorBinding ib = (DCIteratorBinding)vb.getValue(fc);
    ib.executeQuery();
    Later we force iterator to focus on key on which it was:
    ib.setCurrentRowWithKeyValue(KEY);
    KEY is String and is passed before commit.

  • AS2 ComboBox Hangs Dir when Scaled +200%

    Hi All,
    I have used the AS2 ComboBox component in a AS2 nav screen SWF for Flash Player set in the range of 7 (and tested up to 9).
    The combobox does not have scrolled selections at this time. I am scaling the whole nav screen from a 668x500 up to over double it's size. It starts showing up as an issue at about 200% of size and get worse as it gets larger all the way to full screen.
    The SWF has the pre-made behaviors - 'Flash Cursor' and 'Set Click Modes'.
    Observationally, I see that the focus on the selection is slow. Both of my selections have the focus glow. I notice that the mouse cursor does not change over the dropdown buttons on the combobox.
    When I do select the item, the player checks out. It appears that most times it eventually comes back and finishes the action - a simple goto frame action.
    I was hoping to use the ComboBox component for my non-programming users with this project template I am creating. I don't really want to create a custom, editable component if I can avoid it.
    This template is a temporary solution until I build a new template in AS3.
    Thanks,
    Jim

    Hi,
    use sprite ink property copy
    sprite(1).ink=0 (copy) dont use background transparent ink.

  • 9.3.0.2 Shredded XML Doc not retrieveable

    Hey guys, been making progress, been able to create a schema, get it registered, and upload XML documents can see the documents are being shredded as they show up in an SQL query's, and you can browse to them through HTTP or FTP. Wonderful, but touchy stuff!
    HOWEVER, the shredded documents cannot be retrieved though a browser, SPY, or FTP. It just comes back blank. If I upload documents with the XDBDEMO user, I actually can pull back documents uploaded by XDBDEMO user, with my schema and data. This is really odd. I cannot find a permissions difference in the EMConsole, but this seems to be some sort of permissions issue and I've been ripping the DEMO apart trying to find out what I'm missing.
    My thinking was that it might be the creation of the directories, and those permissions. We ended creating our directories the same as in the demo (no dice). The data in the RESOURCE_VIEW res even seems to compare fine, between a readable and non-readable file.
    I'm not sure what to post here to assist, as the schema and data seem to be working ok.
    Thx

    Mark thanks for the suggestions, but here is what was actually going on. Turns out NOT to be a permission problem (as I first thought), but an issue with the Schema.(I'll attempt to fit in the schema, and sample data in this post at the end) To sum up the symptoms of this issue:
    - Version 9.2.0.3 of the DB
    - Our Schema would register, and the tables are created
    - Xml documents are shredded, and stored
    - SQL query's can be performed to see the data in the tables
    * HOWEVER, the XML file is not retrieveable with Http and FTP, even though visable in the repository.
    After some closer inspection it turns out that our Schmea was not registering as intended, as the Collection Objects were not being created. I'm not sure what the proper method is to code a schema where Collection Elements actually have Values, the demo XML dosen't have elements like this. The following schema line is what was causing all our grief.
    <xs:element name="holdingref" maxOccurs="unbounded" xdb:SQLName="HOLDINGREF" xdb:SQLCollType="XDBXREF_HOLDINGREF_COLL" xdb:SQLType="VARCHAR2">
    Since our 'holdingref' element actually does have a string value, we assigned a SQLType of VARCHAR2 to it, however, the combination of that with the SQLCollType breaks the retrieval and dosen't allow the the creation of the Collection Objects when registering the schema. The following line fixed the problem:
    <xs:element name="holdingref" maxOccurs="unbounded" xdb:SQLName="HOLDINGREF" xdb:SQLCollType="XDBXREF_HOLDINGREF_COLL">
    Re-registering the schema produced the expected results, and the world started spinning again. Enclosed below are the Broken schema, and some sample data.
    SCHEMA:
    <!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
    <xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" xdb:storeVarrayAsTable="true">
         <xs:element name="qrxref" type="qrxrefType" xdb:defaultTable="QRXREF"/>
         <xs:complexType name="qrxrefType" xdb:SQLType="XDBXREF_TYPE">
              <xs:sequence>
                   <xs:element ref="casenumber"/>
                   <xs:element ref="quarterending"/>
                   <xs:element ref="pathid"/>
                   <xs:element name="q2qinfo" type="q2qinfoType" xdb:SQLName="Q2QINFO"/>
                   <xs:element name="intendedalloc" type="intendedallocType" xdb:SQLName="INTENDEDALLOC"/>
                   <xs:element name="securitylist" type="securitylistType" xdb:SQLName="SECURITYLIST"/>
                   <xs:element name="qrkey" type="qrkeyType" xdb:SQLName="QRKEY"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="account" type="xs:string" xdb:SQLName="ACCOUNT" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
         <xs:complexType name="allocationType" xdb:SQLType="XDBXREF_ALLOCATION_TYPE">
              <xs:simpleContent>
                   <xs:extension base="xs:string">
                        <xs:attribute name="code" type="xs:string" use="required"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="assetclassType" xdb:SQLType="XDBXREF_ASSETCLASS_TYPE">
              <xs:sequence>
                   <xs:element name="security" maxOccurs="unbounded" xdb:SQLName="SECURITY" xdb:SQLCollType="XDBXREF_SECURITY_COLL" xdb:SQLType="VARCHAR2">
                        <xs:complexType>
                             <xs:simpleContent>
                                  <xs:extension base="securityType">
                                       <xs:attribute name="rank" type="xs:string" use="required"/>
                                       <xs:attribute name="forced" type="xs:string" use="optional"/>
                                  </xs:extension>
                             </xs:simpleContent>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
              <xs:attribute name="code" type="xs:string" use="required"/>
              <xs:attribute name="quarter" type="xs:string" use="required"/>
         </xs:complexType>
         <xs:complexType name="assetclassnameType" xdb:SQLType="XDBXREF_ASSETCLASSNAME_TYPE">
              <xs:simpleContent>
                   <xs:extension base="xs:string">
                        <xs:attribute name="code" type="xs:string" use="required"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:element name="casenumber" type="xs:integer" xdb:SQLType="INTEGER" xdb:SQLName="CASENUMBER" xdb:defaultTable=""/>
         <xs:element name="pathid" type="xs:string" xdb:SQLName="PATHID" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
         <xs:complexType name="intendedallocType" xdb:SQLType="XDBXREF_INTENDEDALLOC_TYPE">
              <xs:sequence>
                   <xs:element name="allocation" type="allocationType" maxOccurs="unbounded" xdb:SQLType="VARCHAR2" xdb:SQLName="ALLOCATION" xdb:SQLCollType="XDBXREF_ALLOCATION_COLL"/>
                   <xs:element name="holdingref" maxOccurs="unbounded" xdb:SQLName="HOLDINGREF" xdb:SQLCollType="XDBXREF_HOLDINGREF_COLL" xdb:SQLType="VARCHAR2">
                        <xs:complexType>
                             <xs:simpleContent>
                                  <xs:extension base="holdingrefType">
                                       <xs:attribute name="code" type="xs:string" use="optional"/>
                                       <xs:attribute name="id" type="xs:string" use="required"/>
                                       <xs:attribute name="exclude" type="xs:string" use="optional"/>
                                  </xs:extension>
                             </xs:simpleContent>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="fund" type="xs:string" xdb:SQLName="FUND" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
         <xs:complexType name="q2qinfoType" xdb:SQLType="XDBXREF_Q2Q_TYPE">
              <xs:sequence>
                   <xs:element name="assetclass" type="assetclassType" maxOccurs="unbounded" xdb:SQLCollType="XDBXREF_ASSETCLASS_COLL" xdb:SQLName="ASSETCLASS"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="qrkeyType" xdb:SQLType="XDBXREF_QRKEY_TYPE">
              <xs:sequence>
                   <xs:element name="assetclassname" type="assetclassnameType" maxOccurs="unbounded" xdb:SQLName="ASSETCLASSNAME" xdb:SQLCollType="XDBXREF_ASSETCLASSNAME_COLL" xdb:SQLType="VARCHAR2"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="quarterending" type="xs:string" xdb:SQLName="QUARTERENDING" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
         <xs:complexType name="securityType" mixed="true" xdb:SQLType="XDBXREF_SECURITY_TYPE">
              <xs:simpleContent>
                   <xs:extension base="xs:string"/>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="holdingsType" mixed="true" xdb:SQLType="XDBXREF_HOLDINGS_TYPE">
              <xs:sequence>
                   <xs:element ref="value"/>
                   <xs:element ref="fund"/>
                   <xs:element ref="account"/>
              </xs:sequence>
              <xs:attribute name="code" type="xs:string" use="optional"/>
              <xs:attribute name="id" type="xs:string" use="required"/>
         </xs:complexType>
         <xs:complexType name="holdingrefType" mixed="true" xdb:SQLType="XDBXREF_HOLDINGREF_TYPE">
              <xs:simpleContent>
                   <xs:extension base="xs:string"/>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="securitylistType" xdb:SQLType="XDBXREF_SECURITYLIST_TYPE">
              <xs:sequence>
                   <xs:element name="holdings" type="holdingsType" maxOccurs="unbounded" xdb:SQLName="HOLDINGS" xdb:SQLCollType="XDBXREF_HOLDINGS_COLL"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="value" type="xs:decimal" xdb:SQLName="VALUE" xdb:SQLType="DECIMAL" xdb:defaultTable=""/>
    </xs:schema>
    SAMPLE DATA:
    <qrxref xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://achilles:8001/home/MATRIXDB/qrxrefSource/xsd/qrxref.xsd">
         <casenumber>1001</casenumber>
         <quarterending>03/31/2003</quarterending>
         <pathid>SearchRequest/68/Sample1</pathid>
         <q2qinfo>
              <assetclass code="AG" quarter="1st Quarter Ranking- '03">
                   <security rank="1" forced="FUI">FMI Focus Fund</security>
                   <security rank="2">Wasatch:Micro Cap Fund</security>
                   <security rank="3">Kinetics Internet</security>
                   <security rank="4">Bjurman Micro Cap Grth</security>
                   <security rank="5">Quaker Aggressive Grth/A</security>
                   <security rank="6">CGM Focus</security>
                   <security rank="7">Calamos Growth/A</security>
                   <security rank="8">Meridian Value Fund</security>
                   <security rank="9">FBR Small Cap Financial</security>
                   <security rank="10">Mutual Financial Serv/A</security>
                   <security rank="90" forced="MFUI">Money-Market Taxable Avg</security>
              </assetclass>
              <assetclass code="AG" quarter="2nd Quarter Ranking- '03">
                   <security rank="1" forced="FUI">FMI Focus Fund/A</security>
                   <security rank="2">Wasatch:Micro Cap Fund</security>
                   <security rank="3">Kinetics Internet</security>
                   <security rank="4">Bjurman Micro Cap Grth</security>
                   <security rank="5">Quaker Aggressive Grth/A</security>
                   <security rank="6" forced="FUI">FMI Focus Fund/B</security>
                   <security rank="7">Calamos Growth/A</security>
                   <security rank="8">Meridian Value Fund</security>
                   <security rank="9">FBR Small Cap Financial</security>
                   <security rank="10">Mutual Financial Serv/A</security>
                   <security rank="100" forced="MFUI">Money-Market Taxable Avg</security>
              </assetclass>
              <assetclass code="WE" quarter="1st Quarter Ranking- '03">
                   <security rank="1" forced="FUI">Eaton Vance Wrldwd Hlth/A</security>
                   <security rank="2">Matthews Korea</security>
                   <security rank="3">Commonwealth:New Zealand</security>
                   <security rank="4">BlackRock Itl Opp/Svc</security>
                   <security rank="5">Evergreen Asst Alloc/A</security>
                   <security rank="6">First Eagle Overseas/A</security>
                   <security rank="7">First Eagle Glbl Fd/A</security>
                   <security rank="8">MFS Intl New Discovery/A</security>
                   <security rank="9">Merrill Global Sm Cp/A</security>
                   <security rank="10">Mutual European Fund/A</security>
                   <security rank="130" forced="MFUI">Money-Market Taxable Avg</security>
              </assetclass>
              <assetclass code="WE" quarter="2nd Quarter Ranking- '03">
                   <security rank="1" forced="FUI">Eaton Vance Wrldwd Hlth/A</security>
                   <security rank="2">Matthews Korea</security>
                   <security rank="3">Commonwealth:New Zealand</security>
                   <security rank="4">BlackRock Itl Opp/Svc</security>
                   <security rank="5">Evergreen Asst Alloc/A</security>
                   <security rank="6">MFS Intl New Discovery/A</security>
                   <security rank="7">Merrill Global Sm Cp/A</security>
                   <security rank="8">Mutual European Fund/A</security>
                   <security rank="1">First Eagle Overseas/A</security>
                   <security rank="125" forced="MFUI">Money-Market Taxable Avg</security>
                   <security rank="200">First Eagle Glbl Fd/A</security>
              </assetclass>
         </q2qinfo>
         <intendedalloc>
              <allocation code="G">18.52</allocation>
              <allocation code="WE">28.52</allocation>
              <allocation code="SV">5</allocation>
              <allocation code="AG">11.62</allocation>
              <allocation code="GI">36.34</allocation>
              <holdingref code="WE" id="ETHSX">277902813</holdingref>
              <holdingref code="AG" id="FMIOX">302933106</holdingref>
              <holdingref code="GI" id="OAKBX">413838400</holdingref>
              <holdingref code="G" id="OFALX">681383105</holdingref>
              <holdingref code="SV" id="PGA">PGA</holdingref>
              <holdingref code="G" id="LMVTX">524659109</holdingref>
              <holdingref code="GI" id="PQNAX">693389223</holdingref>
              <holdingref code="SV" id="ACR">ACR</holdingref>
              <holdingref exclude="1" code="" id="219350105">219350105</holdingref>
         </intendedalloc>
         <securitylist>
              <holdings code="WE" id="ETHSX">
                   <value>25212.51</value>
                   <fund>Eaton Vance Wrldwd Hlth/A</fund>
                   <account>2098</account>
              </holdings>
              <holdings code="AG" id="FMIOX">
                   <value>1385.77</value>
                   <fund>Fmi Focus Fund</fund>
                   <account>2098</account>
              </holdings>
              <holdings code="GI" id="OAKBX">
                   <value>24992.92</value>
                   <fund>Oakmark Equity & Income</fund>
                   <account>2098</account>
              </holdings>
              <holdings code="G" id="OFALX">
                   <value>23515.96</value>
                   <fund>Olstein Financial Alert/C</fund>
                   <account>2098</account>
              </holdings>
         </securitylist>
         <qrkey>
              <assetclassname code="SV">Stable Value Asset Class</assetclassname>
              <assetclassname code="TB">General Bond Asset Class</assetclassname>
              <assetclassname code="WB">World Bond Asset Class</assetclassname>
              <assetclassname code="WE">World Equity Asset Class</assetclassname>
              <assetclassname code="GEB">General Bond Asset Class</assetclassname>
         </qrkey>
    </qrxref>

  • Using Document form varable results in failed unmarshalling message java.io.eofexception

    Hi,
      I'm on LiveCycle ES 8.2. For PDF submit forms from workspace, I assigned the servername for submit as URL:
    http://adobe1234:8080/workspace-server/submit.
    We are using Document Form variable for this process. The reason is the forms will be digitally signed at each stage and we dont want to loose their signatures if forms go next stage.
    This works perfect when I submit the form.
    Now, we will be moving all the existing instances to new server and I want this URL to be server independent.
    I take off this URL and kept it blank and try to submit from workspace. Nothing happens if I click submit and the form stays at the same place.
    I see the following error in the log file:
    2012-03-29 15:07:17,541 ERROR [org.jgroups.protocols.UDP] failed unmarshalling message
    java.io.EOFException
              at java.io.DataInputStream.readShort(Unknown Source)
              at org.jgroups.Message.readFrom(Message.java:630)
              at org.jgroups.protocols.TP.bufferToMessage(TP.java:973)
              at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:829)
              at org.jgroups.protocols.TP.access$400(TP.java:45)
              at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1296)
              at java.lang.Thread.run(Unknown Source)
    I have to avoid using this URL in the form as I will be moving my system to new domain & DNS and for any existing process instances, if they try to submit the form, that will error out as the URL is pointing to another server.
    Your help is highly appreciated.
    Thanks,
    kc

    I don't think I read your first post thoroughly. I see now you are setting the URL to prevent the form from appearing altered. I don't use digital signatures, but can see the potential problem. My first thought was to put JavaScript in the form to set the URL, but that would likely cause the same problem. I probably can't be of much help with no experience using the digital signatures. Our forms are considered 'Signed' if a logged in user clicks approve. Have you deleted the Form Bridge and readded? There may be differences with the one in ES2.
    I think you are also saying you can't set the URL server side before rendering the form because processes will launch under one domain then get changed later.
    If you were able to use JavaScript to determine which URL to submit to, you could put that code in the Form Bridge code and I would think that would submit. The form is not being altered by the code. This is assuming the code snippet I copied out of the form bridge is really what is called.
    /** Invoke the standard Submit action */
    function submitAction(doc, url, type) {
        if ( BRIDGE_SUBMIT_URL  != null ) url  = BRIDGE_SUBMIT_URL;
        if ( BRIDGE_SUBMIT_TYPE != null ) type = BRIDGE_SUBMIT_TYPE;
        if ( type == null ) type = "PDF";
        if (url != null) {
            setFocus(null);  // force current field focus out in 8.1 + readers (null op in previous versions)
    //      doc.submitForm({cURL: url, bEmpty: true, cSubmitAs: type, cCharset: "utf-8"});   
            doc.submitForm({cURL: url, cSubmitAs: type});   

  • Mouse and Scrollwheel question

    I'm currently working on a project that includes a Flex
    application embedded within a HTML page. There is content above and
    below the application, so there is a vertical scrollbar at all
    times in the browser. Within the application, there is a VBox which
    also has a vertical scrollbar. My issue is that when you scroll up
    or down with your mouse scrollwheel, not only does it scroll the
    VBox's bar but it also scrolls the browser's scrollbar. So if I
    scroll down a lot, the application will disappear from sight.
    Is there a way to force total mouse focus on my application
    on the page so the scroll wheel only affects the application, not
    the entire page?

    I just posted a review on the wireless mouse and keyboard that I have replaced the batteries three times in seven months on the keyboard and twice in the mouse. The batteries I'm using are E-2 Lithiums. This on my iMac that I rarely use. According to the manual, there is an auto power down feature that is supposed to conserve power when not in use and therefore, it is unnecessary to turn off the keyboard. The keyboard only has an "on" button. It turns itself off when not in use. Anyway, I plan on boxing the wireless and selling it and buying the wired version. The wireless feature is nice, but costly. zoz

  • Apps for ADHD

    I apologize in advance if this is the wrong forum. Our daughter was recently diagnosed with Attention Deficit Hyperactivity Disorder. The diagnosing Doctor recommended, amongst other things, brain games to help improve on focus and on process driven disciplines. I would be grateful for any recommendations of iPad apps which we should consider. Thank you.

    I don't know your daughter's age or whether it would be more beneficial/more fun for her to play with verbal, numerical, spatial or other types of flexible thinking games such as brain teasers. That might be something you'll have to discover through experience with different types.
    Speaking for myself and my university students (many of whom are "differently abled" like me) one thing to keep in mind is that one of the "benefits" of ADHD can be the ability to hyperfocus. This has its pros and cons. One can get lost in "the flow" but then real life and real deadlines/responsibilities intrude and time management becomes a real issue.
    I'd accompany the iPad (or any game) use with an old fashioned timer. I use a timer all the time in my studio and in my classroom. It has two equally useful functions: it forces me to focus on tasks I find distasteful (Just 30 minutes! I tell myself) and just as importantly, it forces me to come up for air on tasks I find enthralling by putting an outer limit on them. I have one that can be worn around the neck which is handy and makes it feel like more of a game.

  • How can I force focus from flash to another plugin app in FireFox such as with the e.focus() Java Script command in Internet Explorer

    Can you force focus from a Flash app to another plugin such as Unity3d using a JS command similar to e.focus() which works in Internet explorer. The following code works in IE, but not FireFox? Any solution would be helpful. Is it even possible?
    function hideSWF(){
    e=document.getElementById("flash_content");
    e.style.width = 1 + 'px';
    e.style.height = 1 + 'px';
    e=document.getElementById("u3dobjmsiediv_unity");
    e.focus() ;
    function showSWF() {
    e=document.getElementById("flash_content");
    e.style.width = gameWidth + 'px';
    e.style.height = gameHeight + 'px';
    e.focus() ;
    == This happened ==
    Every time Firefox opened
    == Always existed when switching from Flash app to a different app. ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    No, I am saying that this isn't the forum for help with that. This forum is for Firefox user support, and the helpers in this forum aren't versed in development issues like that - we're volunteers, not Mozilla developers and don't work for Mozilla. You are better off asking about that in a forum where other web site developers do support.

  • How to force focus last focused HTML input element when going back in history with backspace?

    SUMMARY: I am a Firefox user with HTML knowledge. I want to be able to configure Firefox to behave in a special manner when I hit backspace. It's something that Firefox already does, BUT NOT ALWAYS. I don't know why it behaves differently in different situations for no apparent reason. I want to be able to configure firefox to ALWAYS behave in the manner I want to. Read below for the precise description.
    When I fill a FORM in a page, wether POST or GET, and press ENTER, it obviously acts as expected: submits the data and brings me to a new page. When I get to the new page, and I press BACKSPACE, Firefox behaves in sometimes like TYPE 1 and sometimes like TYPE 2 (see below), and I can't predict which one he will choose. I want to be able to configure it to behave ALWAYS like TYPE 2.
    TYPE 1 - Firefox reloads the previous page, as if I just entered it for the first time.
    TYPE 2 - Firefox brings me back to the exact same page view I had before pressing ENTER to submit the FORM.
    2.1 - It doesn't reload the page;
    2.2 - It places the page in the same scrolled position I was before (for example, if I scrolled to the bottom of the page to fill the FORM and press enter, after pressing backspace it brings me to the bottom of the page again;
    2.3 - It automatically focus the HTML input element I last typed (the element that was focused at the very moment I pressed ENTER to submit the FORM).
    So, I want to be able to configure Firefox for it to ALWAYS BEHAVE LIKE TYPE 2 whenever I fill a HTML FORM, press ENTER and press backspace after going to the new page. All three details I gave are important. Remember that I've already experienced TYPE 2 in previous versions of Firefox, I just wish to FORCE IT to behave like that ALWAYS (because for no apparent reason, sometimes it behaves like TYPE 1 instead).
    Please let me know if that's possible, and if not, I would really THANK YOU ALL FOREVER if you add this feature to the next version.

    It's set to true.
    I saw the add on you suggested, but it does not fulfill my needs.
    I like the behavior exactly as I said because, after submitting the form, I want to be able to look something in the new page and quickly get back to the form, change the text I wrote in the input element and submit it again, in a matter of one or two seconds only...
    I was able to do that whenever firefox behaved like TYPE 2 (explained above)...
    Thanks for the reply but didn't solve my problem yet...

  • Forcing JLabel to gain focus - how?

    Hi people,
    how can i force a JLabel to gain focus?
    Already tried overwriting isFocusable() -> did not work.
    Thanks for any help.
    Cheers,
    Mark

    requestFocus() does work. atleast in my sdk it does 1.4.1_01.
    do a requestFocus() and then a System.out.println(jLabel.hasFocus());
    the problem is that there is no way to tell that you have focus (no border, etc.) like buttons. probably in your subclass you will need to implement a focus listener to draw a border around the JLabel whenever it has focus and whenever it loses focus...
    i don't know though as i've never done something like this before.

  • Forcing ComboBox to lose its focus when isPopupVisible()==false

    Hi,
    I'm in a situation where I need to force my comboBox to lose its focus, in a case when user clicks the comboBox to pull down the popup but does not click any value inside the comboBox popup. In such a situation I need to force the comboBox to lose its focus.
    I looked for some method like setFocus in comboBox api, but did not find anything such.
    appreciated..

    import javax.swing.*;
    import javax.swing.table.*;
    public class JTableComboSSCCE extends javax.swing.JFrame {
        JTable table;
        DefaultTableModel model;
        public JTableComboSSCCE() {
            initComponents();
            createTable();
        public void createTable() {
            model = new DefaultTableModel();
            model.addColumn("Name");
            model.addRow(new Object[]{"Julia"});
            model.addRow(new Object[]{"Sara"});
            model.addRow(new Object[]{"David"});
            model.addRow(new Object[]{"Mauricio"});
            model.addRow(new Object[]{"Tina"});
            table = new JTable(model);
            scrollPane.setViewportView(table);
            TableColumn firstColumn = table.getColumnModel().getColumn(0);
            JComboBox comboBox = new JComboBox();
            comboBox.addItem("Snowboarding");
            comboBox.addItem("Teaching high school");
            comboBox.addItem("None");
            firstColumn.setCellEditor(new DefaultCellEditor(comboBox));
        void updateTable() {
            model.removeRow(4);
        private void initComponents() {
            scrollPane = new javax.swing.JScrollPane();
            jButton1 = new javax.swing.JButton();
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosed(java.awt.event.WindowEvent evt) {
                    formWindowClosed(evt);
            jButton1.setText("Update Table");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jLabel1.setText("1- Click the last row, but do not pick any value, then click outside the table");
            jLabel2.setText("2- Click Update Table button, then click any row to edit cell");
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(scrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 670, Short.MAX_VALUE)
                .addGroup(layout.createSequentialGroup()
                    .addGap(21, 21, 21)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 469, Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 52, Short.MAX_VALUE)
                    .addComponent(jButton1)
                    .addGap(29, 29, 29))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addGap(24, 24, 24)
                            .addComponent(jButton1)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                            .addContainerGap(37, Short.MAX_VALUE)
                            .addComponent(jLabel1)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jLabel2)
                    .addGap(15, 15, 15)
                    .addComponent(scrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 214, javax.swing.GroupLayout.PREFERRED_SIZE))
            pack();
        private void formWindowClosed(java.awt.event.WindowEvent evt) {
            this.dispose();
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            updateTable();
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new JTableComboSSCCE().setVisible(true);
        private javax.swing.JButton jButton1;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JScrollPane scrollPane;
    }

  • Why does ff 3.6 force focus on my photoshop cs2 when i minimise ff

    when i run ff 3.6x and photoshop cs2, if i have photoshop minimised then minimise FF, FF forces focus on the minimsed photoshop and causes it not be able to maximise . using 3.5.10 causes no problems but from 3.6 onwards does. 3.5x retains focus on itself when minimsed
    == This happened ==
    Every time Firefox opened
    == with version 3.6 does not occur with 3.5x

    Make sure that Firefox is closed properly to avoid opening a possibly crashed session the next time.
    Use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.
    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    See "Firefox hangs when you quit it":
    *https://support.mozilla.org/kb/Firefox+hangs

  • Forcing Windows focus on a JFrame

    How do I force a JFrame to be displyed on top of everything else on the Windows desktop, i.e., a Java program running in the background needs to "pop-up" an error JFrame arbitrarily on top of anything else that is displayed.

    Ok, this works fine:
        this.addFocusListener(new java.awt.event.FocusListener() {
              public void focusGained(FocusEvent e) {
              public void focusLost(FocusEvent e) {
                  requestFocus();
        });where this is the JFrame to gain the focus.
    Thanks, fstream. ;-)
    But, I've found another problem... When I move the mouse pointer out of the JFrame wich I want to got focus, and this point is over a Component wich have tooltip text(i. e., a table cell), then the focus is setted on the JFrame wich contains this Component.
    Any idea to prevent it?
    Thanks in advance one more time. ;-)

  • Force Webcenter Spaces Page to Refresh on focus

    Hi all,
    We are on WebCenter Spaces PS5. We have a page inside spaces which we want to refresh on focus. We have a document upload portlet on a page which is used to upload a document and then display the list of documents in a result table on that page.
    PROBLEM: We have to manual refresh the page for the newly uploaded document to be displayed on the resultable on the page.
    QUESTION: How can we force the page to refresh on focus?
    Remember this is a webcenter spaces page.
    Thank you....

    You can invoke serverlistener from onFocus client event,
    Pass the control to the backend and use the following code to refresh.
    HttpServletRequest request=(HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
    FacesContext.getCurrentInstance().getExternalContext().redirect( request.getRequestURL());

Maybe you are looking for

  • How to delete Business partners in Business partner master data

    Dear sir, I had  remove some business partners in Business Partner maserdata. but i will remove some business partners one error will come into picture that error is " You cannot remove business partner; linked Sales Quotations exist  [Message 3502-7

  • Exchange rate type from infoobject 0RTYPE

    In my query I need to do currency conversion using the exchange rate type value in the infoobject 0RTYPE of  my infocube. Query  only allows me to use the variable on 0RTYPE but not the value available in the infocube for 0RTYPE. If one of the record

  • How do I get rid of this virus:Trojan=JS/Medfos.A ?

    I use Microsoft Essentials for security. Perhaps it is not the right one? I don't know what to use for security or how to get rid of this miserable virus. Can you help me? ''E-mail removed for privacy -M'' Thanks you in advance for your help, shulami

  • File Sharing With the BEFW11S4 in Vista....

    I have two computer connect to my router on a network, Both computers are running Windows Vista. I am able to see each computer on the network map in the network and sharing center. But when I go to the network folder the computers do not apper at al

  • Best Hardware Server Specs for Wsus to run close to 3000 Clients

    Hello Team, I am currently configuring a Wsus server 2012 for my company. I am looking forward to buy a Dell rack server and would like to take your input on what is the best server specs I could go for. I am intending to use a San-box to store Wsus