Find Dialog for JEditorPane

Hi
I've developed the following Find Dialog.
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTextField;
import javax.swing.text.JTextComponent;
public class Find extends JFrame{
     private JTextComponent component;
     private JTextField txtFind = new JTextField(20);
     private JButton btnFind = new JButton("Find");
     public Find(JTextComponent component){
          this.component = component;
          this.setTitle("Find");
          setupLayout();
          pack();
          setVisible(true);
     private void setupLayout(){
          getContentPane().setLayout(new GridLayout(1,2));
          getContentPane().add(txtFind);
          getContentPane().add(btnFind);
          setupListeners();
     private void setupListeners(){
          btnFind.addActionListener(new ActionListener(){
               public void actionPerformed(ActionEvent arg0) {
                    doFind();
     private void doFind(){
          try{
               int start = component.getCaretPosition();
               int found = component.getDocument().getText(0,component.getText().length()).indexOf(txtFind.getText(),start + 1);
               if (found >=0){
                    component.setCaretPosition(found);
                    component.setSelectionStart(found);
                    component.setSelectionEnd(found + txtFind.getText().length());
          catch (Exception e){
               e.printStackTrace();
}This works fine as long as the component which is a JEditorPane doesn't set the Document Type to "text/html".
In short this Find Dialog does not work if the component is a JEditorPane that views an HTML document.
Any ideas why ?
Thanks

Calling getText on JEditorPane with content type set to HTML does not return normal text. You'll need read more on how to use the HTMLEditorKit and HTMLDocument in order find the right methods that return the actual text in the document
ICE

Similar Messages

  • How to execute a search by a click on a custom button (without the find dialog)

    Hello.
    Yesterday I've tried to create a custom search-dialog in a tabbed palette for Adobe Bridge.
    I need this custom dialog in a tabbed palette because I use Bridge as an image-database where I often need to search for keyword-combinations.
    It is not efficient for me to open the find dialog for each search and add a search-criteria for every keyword.
    So I want to create my easy custom search.
    In this custom dialog I have my keyword-list where I can select the keywords I want to search for and the search-option "match all of the keywords" or "match one of them".
    The creation and selection of the keywords and search-option works.
    Now I want to click on a button in my tabbed palette (like clicking "find" in the find dialog), give the data to the Bridge search and execute it. But I don't know how.
    It seems to me that I need the function getBridgeUriForSearch from the ExtensionHandler. But I don't understand how to do this (I didn't create the dialog as an extension) and I think there must be an easier way.
    I use only information which you can insert in the normal find dialog - there are no new or unknown information for the Bridge search. So there must be a way that I can call the Bridge search with this information.
    I would be very happy if somebody could help me...
    Thank's Susi

    Hm looks like I have to give up...
    If the kewyords in the filters would be presented in a hirarchical structure - that would also be ok, but it seems that this is not possible, too.
    I think I will source this search out to a lokal web-script. It won't be so fast as bridge but I think this is the only solution to get the images by selecting keywords in a hirarchical structure...
    I hope Adobe will implement more interfaces for JavaScript to access Bridge in later versions...
    Thank you for your efforts and sorry if I wasted your time.

  • "could not find dialog id" exceptions in rtr

    Pardon my lack of knowledge on this piece of ICM but that is why i am here.  I wish to better understand how a dialog is established between ICM-CVP as I believe that is the dialog id that the below exeception is referencing.
    The environment I'm currently involved in is experiencing a lot of errors like this:
    13:10:08:167 ra-rtr Trace: For message (9) from routing client CVP2_RC (ID 5023) could not find dialog id (376431).
    13:10:08:339 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:08:542 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:08:604 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:08:917 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:09:198 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:09:292 ra-rtr Trace: For message (9) from routing client CVP2_RC (ID 5023) could not find dialog id (376441).
    13:10:09:573 ra-rtr Trace: For message (9) from routing client CUCM4_RC (ID 5015) could not find dialog id (-1).
    13:10:09:776 ra-rtr Trace: For message (9) from routing client CVP5_RC (ID 5020) could not find dialog id (1657301).
    Is the router responsibile for establishing a dialog id w/CVP at the start of each call?  Why are all the the dialog id's from our CallManager Routing Clients NULL or (-1)? 
    Is the dialog id dependent upon the correlation id?  I'm not seeing dialog failures due to correlation id issues.. just lots and lots of cases of routing clients unable to locate their dialog ids
    Could someone provide some context on what/how dialogs are establish, used for, and maybe reasons why they could be lost from a router's perpesctive but somehow the routing client is remembering them?
    This is a CVP comphrensive SIP call flow. ICM version 7.5.10  CVP 7.0(2)
    Thanks!

    Pardon my lack of knowledge on this piece of ICM but that is why i am here.  I wish to better understand how a dialog is established between ICM-CVP as I believe that is the dialog id that the below exeception is referencing.
    The environment I'm currently involved in is experiencing a lot of errors like this:
    13:10:08:167 ra-rtr Trace: For message (9) from routing client CVP2_RC (ID 5023) could not find dialog id (376431).
    13:10:08:339 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:08:542 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:08:604 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:08:917 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:09:198 ra-rtr Trace: For message (9) from routing client CUCM1_RC (ID 5000) could not find dialog id (-1).
    13:10:09:292 ra-rtr Trace: For message (9) from routing client CVP2_RC (ID 5023) could not find dialog id (376441).
    13:10:09:573 ra-rtr Trace: For message (9) from routing client CUCM4_RC (ID 5015) could not find dialog id (-1).
    13:10:09:776 ra-rtr Trace: For message (9) from routing client CVP5_RC (ID 5020) could not find dialog id (1657301).
    Is the router responsibile for establishing a dialog id w/CVP at the start of each call?  Why are all the the dialog id's from our CallManager Routing Clients NULL or (-1)? 
    Is the dialog id dependent upon the correlation id?  I'm not seeing dialog failures due to correlation id issues.. just lots and lots of cases of routing clients unable to locate their dialog ids
    Could someone provide some context on what/how dialogs are establish, used for, and maybe reasons why they could be lost from a router's perpesctive but somehow the routing client is remembering them?
    This is a CVP comphrensive SIP call flow. ICM version 7.5.10  CVP 7.0(2)
    Thanks!

  • How can I get CTRL-F to open the find dialog?

    I am using Firefox V36.0.4 and when I am on the catalog site of mydoitbest.com and I press the CTRL+F to open the find dialog and it doesn't work. I contacted the authors of the site and they said:
    "This is a quirk in Firefox actually, not our site. You need to either click at the top of the browser (in some blank area, like below the address bar) before pressing Ctrl+F or press Ctrl+F twice for the search bar to come up in the lower left corner. We updated our Firefox to your recent version and had the same result. If you click the top of the browser first or press Ctrl+F twice that will bring the search bar up."
    I'm not sure I believe them... This is the only site that has the problem. I have tried Firefox in Safe Mode, it still doesn't work. I believe they are doing something to capture the <CTRL> key because when I press CTRL+Left Mouse Click on a link it should open a the link on a new <TAB>, but instead just opens the link in the same <TAB>.
    Has anybody else reported a problem with Firefox? Any other ideas or any way for me to check the source for the page to see if they are doing something wrong?
    Thanks, Keith

    Hi, thanks for the reply.
    No, that doesn't fix the problem.
    I've done some programming and have been checking out their site. They are trapping the keys so the first time I press <CTRL-F> it puts a lower case "f" in their search box. If I press <CTRL-F> again the search dialog box does open. If I click on their search box first with the mouse, then press <CTRL-F> it works as it should.
    I guess I'll have to live with it, because they don't seem interested in correcting their problem.
    Thanks, Keith

  • Help using find dialog box with JTextArea

    Hi i am using JTextField and getting a file read and then displayed in JTextField. Now i have used a dialog box for finding string within that file displayed in JTextField. I want to make it such that it ignores cases while finding the string and also want to make find next available in Find dialog box.
    My code is: -
    * @author Administrator
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;
    import javax.swing.*;
    public class TextAreaEx extends JPanel implements ActionListener {
    static JFrame fr;
    JButton button1;
    JTextArea tx;
    TextAreaEx()
    super(new BorderLayout());
    tx=new JTextArea();
    FileInputStream fis=null;
    StringBuffer sb=new StringBuffer();
    try{
    fis=new FileInputStream("C:/customers.xml");
    BufferedReader br=new BufferedReader(new InputStreamReader(fis));
    String h="";
    while((h = br.readLine()) != null) {
    sb.append(h + "\n");
    catch(Exception e)
    { e.printStackTrace();}
    tx.setText(sb.toString());
    button1=new JButton("Find");
    button1.addActionListener(this);
    add(button1,BorderLayout.PAGE_START);
    button1.setFocusable(false);
    JScrollPane p1=new JScrollPane(tx);
    add(p1);
    public static void createShow()
    JFrame.setDefaultLookAndFeelDecorated(true);
    fr=new JFrame("My Frame");
    TextAreaEx ob=new TextAreaEx();
    ob.setOpaque(true);
    fr.setContentPane( ob);
    fr.setSize(400,400);
    // fr.pack();
    fr.setVisible(true);
    public static void main(String s[])
    createShow();
    /* (non-Javadoc)
    * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
    public void actionPerformed(ActionEvent e) {
    if(e.getSource()==button1)
    String s=(String)JOptionPane.showInputDialog(fr,"FIND:\n","Find",JOptionPane.INFORMATION_MESSAGE,
    null,null,null);
    System.out.println(s);
    String text=tx.getText();
    int offset=text.indexOf(s);
    System.out.println(offset);
    tx.setFocusable(true );
    tx.select(offset,s.length()+offset );

    Sorry its not JTextField its JTextArea as mentioned in first line of first post.

  • Find dialog: Add criteria button and + buttons are missing.

    I'm trying to use the command-f find to find a file using multiple search criteria. Seems that it would be simple enough. I want to search for files whose "kind" is "image" within a certain "date created" range. Here's the problem. My find dialog only allows me to use ONE criterion. I don't have an "add criteria" button below the "search for items whose" box. I also don't have the + button next to the criteria. So I can select "image" or I can select "date created", but not both.
    I looked at the following article, which should address the topic, but my screen doesn't look like the one in this article.
    http://docs.info.apple.com/article.html?artnum=107005
    Is there a setting I need to change?
    I'm going to try to post a screenshot to my website and put a link here. Can I attach a file to this post instead?
    the following should link to a screenshot of my find dialog box:
    http://www.grantlivingston.com/examples/screenshot.tiff
    Mac G3 Blue&White Mac OS X (10.3.9) 350mhz

    You can check the default color settings:
    * Tools > Options > Content : Fonts & Colors > Colors
    Also make sure that "Allow pages to choose their own colors, instead of my selections above" has a check mark.
    See also:
    * [[Websites look wrong]]
    * [[Website colors are wrong]]

  • Error : Maintenance dialog for ztable is incomplete or not defined

    Hi Gurus
    While maintaining the ztable through SM30 got the following error.
    Maintenance dialog for ztable is incomplete or not defined
    I have to add new enteries in the previously created ztable.
    Please suggest
    Manvir

    Go to SE11, give the table name and click on change. Then Go to utilities--> Table
    maintenance generator.
    In the table maintenance generator screen, we should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually we will create with one
    step. we should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, we find display, Maintain options.
    We can view the table contents by choosing Display and we can create table
    entries by choosing Maintain.

  • Can't find options for printing without color!?

    Any ideas for finding options for black and white printing on an iMac 10.7?  I don't want to waste the color cartridge.

    I've been working on Macs since OS6. Just moved all the way from Tiger to Lion. Seamless aparrt from printing Black and White. I have a few thousand CAD files which I print regularly. They're drawn in various colours on a black screen but obviously when I print them I want them in Black & White. Not Greyscale.
    Previously I've hacked around this using a custom Quartz filter which I can no longer select from the Print dialog. Save in Preview, apply a filter, reopen and print? A few hundred times? Not very helpful.
    I tried setting up an Automator print workflow but it baulks at the printer by sending a Letter format file not the A3 or A4 that's in the original Print Setup dialog.
    Oh - the printer is a Xerox Workcentre 7425.

  • [Error ORABPEL - 10900]... : Can not find definition for element 'process'

    Hi,
    When I try to deploy a bpel process using JDeveloper I'm having the following xml parse error:
    Error(21):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 21 of "file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel", XML parsing failed because file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel<Line 21, Column 63>: XML-24538: (Error) Can not find definition for element 'process'.
    [Potential fix]: Fix the invalid XML.
    I don't understand why... Any idea?

    Ok.
    This is my BPEL code. The sapattern tags are from a program that is generating part of the code. The JDeveloper doesn't show any error, I only get the error when I try to deploy.
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="CriarProjectoSA"
    targetNamespace="http://xmlns.oracle.com/CriarProjectoSA"
    suppressJoinFailure="no"
    xmlns="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns4="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:ns7="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://schemas.oracle.com/xpath/extension"
    xmlns:ns6="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns11="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns9="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns1="http://xmlns.oracle.com/ValidacaoProjectos"
    xmlns:ns3="http://www.nerga.pt" xmlns:ns2="http://tempuri.org/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ns10="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns8="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <!--Generated by Telelogic System Architect on 05/01/2007 11:06:18 by easm-->
    <sapattern>
    <guid>41207640-d934-480f-902a-b3764f3d9c9f</guid>
    </sapattern>
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="ns4:CriarProjectoSA"
    myRole="CriarProjectoSAProvider"/>
    <partnerLink name="NergaIS" partnerLinkType="ns2:ServiceSoap_PL"
    myRole="ServiceSoap_Role" partnerRole="ServiceSoap_Role"/>
    <partnerLink name="ValidacaoProjectos"
    partnerLinkType="ns1:ValidacaoProjectos"
    myRole="ValidacaoProjectosRequester"
    partnerRole="ValidacaoProjectosProvider"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>3111d1af-0b31-4d02-b3fc-73d14ce95405</guid>
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    </sapattern>
    </partnerLinks>
    <variables>
    <variable name="outputVariable"
    messageType="ns4:CriarProjectoSAResponseMessage"/>
    <variable name="inputVariable"
    messageType="ns4:CriarProjectoSARequestMessage"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2503e820-3add-4cd1-bbc5-5cc5fff57090</guid>
    <guid>8bcc3532-46b7-4e88-816f-72ecdaee76ab</guid>
    </sapattern>
    <variable name="invocaVP_initiate_InputVariable"
    messageType="ns1:ValidacaoProjectosRequestMessage"/>
    <variable name="recebeVP_onResult_InputVariable"
    messageType="ns1:ValidacaoProjectosResponseMessage"/>
    <variable name="InvocaAdicionarProjecto_InputVariable"
    messageType="ns2:AdicionarProjectoSoapIn"/>
    <variable name="InvocaAdicionarProjecto_OutputVariable"
    messageType="ns2:AdicionarProjectoSoapOut"/>
    </variables>
    <sequence>
    <receive name="recebeTemplate" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="inputVariable" createInstance="yes">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>68e62379-55ac-48eb-b681-aee8f5a7696d</guid>
    </sapattern>
    </receive>
    <scope variableAccessSerializable="no" name="ValidarExigências"
    joinCondition="False">
    <faultHandlers>
    <catchAll>
    <assign name="assignInvalid">
    <bpelx:append>
    <bpelx:from expression="concat(ns8:getVariableData('inputVariable','payload','/ns3:Template/ns3:Projecto/ns3:Observacoes'), string('Projecto inválido!!'))"/>
    <bpelx:to variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:Observacoes"/>
    </bpelx:append>
    </assign>
    </catchAll>
    </faultHandlers>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <sequence name="ValidarExigências" joinCondition="False">
    <assign name="assignVPIn">
    <copy>
    <from variable="inputVariable" part="payload"/>
    <to variable="invocaVP_initiate_InputVariable" part="payload"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <invoke name="invocaVP" joinCondition="False"
    partnerLink="ValidacaoProjectos" portType="ns1:ValidacaoProjectos"
    operation="initiate"
    inputVariable="invocaVP_initiate_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>f3bc9c04-f4d2-4e96-acc8-7a6c88a8ced5</guid>
    </sapattern>
    </invoke>
    <receive name="recebeVP" joinCondition="False"
    partnerLink="ValidacaoProjectos"
    portType="ns1:ValidacaoProjectosCallback" operation="onResult"
    createInstance="no" variable="recebeVP_onResult_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    <guid>1eba96a8-330a-4e4d-a14b-cdf6641fa614</guid>
    </sapattern>
    </receive>
    <assign name="assignVPOut">
    <copy>
    <from variable="recebeVP_onResult_InputVariable" part="payload"/>
    <to variable="inputVariable" part="payload"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <scope variableAccessSerializable="no" name="AdicionarProjecto"
    joinCondition="False">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <sequence name="InvocarISAdicionarProjecto" joinCondition="False">
    <assign name="assignIS">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:NomeProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:nome"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:TipoProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:tipo"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <invoke name="InvocaAdicionarProjecto" joinCondition="False"
    partnerLink="NergaIS" portType="ns2:ServiceSoap"
    operation="AdicionarProjecto"
    inputVariable="InvocaAdicionarProjecto_InputVariable"
    outputVariable="InvocaAdicionarProjecto_OutputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>76519bd3-c506-4c79-8190-8ff09abdd27d</guid>
    </sapattern>
    </invoke>
    </sequence>
    </scope>
    <assign name="assignOutput">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="devolveProjecto" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="outputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>0dbefef0-3d04-4356-abbc-b291ea40d256</guid>
    </sapattern>
    </reply>
    </sequence>
    </process>

  • .v2.XMLParseException:Can not find definition for element 'descriptor'

    I am getting the following error, while running 'empps.jsp' ...when executing the tutorial given at
    ERROR Details:
    500 Internal Server Error
    javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: Error getting property 'employees' from bean of type jsftoplink.model.EmployeesClient: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.XMLMarshalExceptionException Description: An error occurred unmarshalling the documentInternal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.platform.xml.XMLPlatformExceptionException Description: An error occurred while parsing the document.Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'class-descriptor-type'     at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.java:501)     at emps.jspService(_emps.java:629)
    Pls help me in resolving this issue.

    I am still gettng the same error. The xml file is now
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="" ID="568945">
    <FIRSTNAME>Arnold</FIRSTNAME>
    <LASTNAME>McEriccson</LASTNAME>
    <ADDRESS>
    <LINE1>31, Nomadic Avevnue</LINE1>
    <LINE2>Pasadena Clove</LINE2>
    <CITY>WoolTown, MT</CITY>
    <ZIP>45263</ZIP>
    </ADDRESS>
    <BIRTHDATE>1967-08-13</BIRTHDATE>
    </CUSTOMER>
    The xsd file is:
    <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="FIRSTNAME" type="xs:string"/> <xs:element name="LASTNAME" type="xs:string"/> <xs:element name="ADDRESS"> <xs:complexType>
    <xs:sequence>
    <xs:element name="LINE1" type="xs:string"/> <xs:element name="LINE2" type="xs:string"/> <xs:element name="CITY"/>
    <xs:element name="ZIP" type="xs:int"/> </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="BIRTHDATE" type="xs:date"/> </xs:sequence>
    <xs:attribute name="ID" type="xs:double"/> </xs:complexType>
    </xs:element>
    </xs:schema>
    There seems to be something fairly obvious that i am missing.

  • How to find licence for Hyperion Software

    Hi,
    I want "Essbase Application Manager" for one of my team member but somehow our desktop support team is not able to find this software in their catalog . I think name of the software may be changed.
    I have same software on my desktop but it is inside "Hyperion Solutions" SOftware . Does anyone have any idea on my situatuin.
    Is there any Hyperion product in which I can ""Essbase Application Manager" for my day to day work
    Also I want to find licence for the Hyperion SOLutions software on my desktop. Can anyone tell me how I can find it ?

    What version of Essbase are you running? I think Application Manager was decommissioned in Version 6 (although it might have been Version 7). It was replaced by Essbase Administration Services(EAS). Application Manager does not need a license as it is just an administrative tool for Essbase. For the license number again it depends on the version. Later version do not have a license number, earlier versions do. In some cases you can get it from App Manager by getting server properties and it will show you. In other versions, you would start Essbase in foreground and it will show you the license as it starts. Essbase 7.16, System 9.3.1 and Version 11 do not have licenses that you have to enter.

  • My MacBook Pro stated that it needed to be updated. I clicked yes to restart the computer and update but when it restarted it stays on the gray screen with the apple logo and then pops up, stating "unable to find driver for this platform." What do I do?

    My MacBook Pro stated that it needed to be updated. I clicked yes to restart the computer and update but when it restarted it stays on the gray screen with the apple logo and then pops up, stating "unable to find driver for this platform." What do I do?

    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with networks that require any kind of authentication other than a WPA or WPA2 Personal password.
    When the Mac OS X Utilities screen appears, follow the prompts to reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
    Don't install the Thunderbolt update -- it's defective.

  • HT1444 Have Mac OS v. 10.5.8 and Need i tunes for new iPad. My i tunes says I need quick time 7.5.5. I've searched but don't find it for my Mac which is Panther. Any help will be appreciated.

    Need software download of Quicktime 7.5.5 for itunes for Mac OSv. 10.5.8 so I can use new ipad. Can't find download for it. Any help is gratefully accepted

    OS X 10.5.x is Leopard and not Panther - wrong cat I am afraid!

  • After trying to install update on MacAir error message and then message saying panic (cpu caller 0xffffff800a859241): "Unable to find driver for this platform: \"ACPI\".... I'm worried as all of my work is on my computer and I'm afraid I will lose it all.

    I am totally worried I am going ot lose all my data after trying to install update on MacAir.  Cannot do anything error message saying panic ....."Unablet o find driver for this platform."

    Hi Guys
    No good news I'm afraid. I have been through ALL the system caches and files that were updated at the time of said issue. Reset - rebuild and even gone back to my TimeMachine copy from earlier this AM. Nothing! Can only assume it is something deeper in the /usr or var or private folders.....
    I have cloned the system and core files (/usr, /private) etc etc to an external HD and it still recreates the fault. I am afraid to say I have no more time at the minute to look at so have put my machine back to 2 hours prior via my TimeCapsule.
    I the absense of anyone else or, indeed, Apple fixing in the next 12 hours, will get back onto it from the cloned copy I have kept and see if I can find the offending file/files...
    Sorry I don't have an immedaite solution.

  • TS1702 how do I find apps for the Ipod version 3.1.3 for the Ipod touch in Itunes?! Is there no more apps for the first gen Ipod? I've tried and tried and googled and can't find a single app that will install on this old Ipod. Please help!

    I recently had an Ipod first gen with Ios 3.1.3 fixed and am in need of finding games for my son to play, but I cannot for the life of me find any games or any apps that can be installed on this Ipod! every time I download something and try to install it, Itunes keeps telling me that the app requires a newer Ios! There isn't any new Ios version for this ipod that I can find. Itunes won't install any newer version of Ios, and no new apps can be found that can be installed. Please help me.

    iOSSearch - search the iTunes store for compatible apps.
    Vintapps 3.1.3 - paid app.
    Apple Club - filter apps by iOS version.

Maybe you are looking for

  • Office OneNote 2013 working with OneDrive for Business

    M$ is going to be the death of me. So here's what I have Windows 8.1 Pro with Office 2013 Pro with OneDrive for Business with our own SharePoint 2013 environment running on a tablet.  I open this lovely OneNote Product and all it asks me is to sign i

  • Synchronous Read in File Adapter

    Hi, Could you please explain one example scenario for Synchronous Read in File Adapter? Thanks, kpr

  • Qosmio G30-175: DVD-RAM Drive thinks its a CD drive

    Hello people, me again. My 2 week old Qosmio G30 - 175 has a DVD-RAM drive that now appears in My Computer as a CD-Drive. Consequently (I think) it won't auto play DVD's. I can play them manually through Media Centre or WMP but no option appears in t

  • Update statement takes lot of time . Need help in optimization.

    Hi, I need to update values from table ARPU_2009_2010 to table TST_MICRO_SEG_PREP. Table ARPU_2009_2010 contains around 400000 records. Table TST_MICRO_SEG_PREP contains 374000 customers. I need to update values for each customer in the table TST_MIC

  • How to conditionally forward a request to a Servlet for processing?

    Hi, I am writing a middleware application, where the application receives HTTPRequest from front end, and based on the URL string it will forward the request to one of the servlets which will handle the processing. I need ideas about what is the best