No Method onSort and no actionBinding sort found

I built UIX page that contains a sortable read-only table. When I access it with my browser by name untitled.uix, then I can sort the table without any problems, but when I access it by Struts action untitled.do, then sort commands still work, but I get the following errors in my application errorlog:
No Method onSort and no actionBinding sort found
What can be the reason for this?
Mihkel Nõges

Your query is currect if table name and attribute name are currect.
Can you write what type of error is comming?

Similar Messages

  • Method onSort()

    Hi all !!!
    I ve a read only table sortable.
    I ve created a method onSort() with this code :
    +public void onSort(SortEvent sortEvent) {+
    List sortList = sortEvent.getSortCriteria();
    SortCriterion sc = (SortCriterion)sortList.get(0);
    boolean order = sc.isAscending();
    String property = sc.getProperty();
    +}+
    So now when I press the triangles in the column headers I can catch the information about the column sorted and in which order.
    My problem is that I want to avoid the sorting of the column, i.e.I want to have only the information about column and order.
    Any tips ?
    Thanks in advance

    Not tried, but what if you call
    edit: snipped out the reference to renderResponse() as upon further consideration, I thought that was a bad idea
    FacesContext.getCurrentInstance().responseComplete();

  • Current server is the coordinator and transaction is not found

    Hi,
    We're using Weblogic 8.1 SP3. We have a single weblogic domain and 2 clusters in it. EAR1 is deployed in cluster 1 and EAR2 is deployed in cluster 2. EAR2 is compiled and created using j2ee.jar and not weblogic.jar.
    We have a MessageDrivenBean which is CMT / Required in EAR1 calls a BMT Stateless Session Bean in EAR2.
    A new transaction is begun in the BMT SB method and commit or rollback is called based on exception. A RuntimeException is thrown back to the MDB in case the transaction is rolled back in Bean Managed SB.
    Sometimes from the Bean Managed SB the following exception is thrown:
    javax.transaction.TransactionRolledbackException: Current server is the coordinator and transaction is not found. It was probably rolled back and forgotten already.
         at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
         at com.oakgrovesystems.reactor.frontDesk.EJBFrontDeskBean_1gq9kv_EOImpl_813_WLStub.handleRequest(Unknown Source)
         at com.oakgrovesystems.reactor.requests.ReactorRequest.send(ReactorRequest.java:212)
         at com.oakgrovesystems.reactor.client.EJBReactorProxy.sendRequest(EJBReactorProxy.java:44)
         at com.oakgrovesystems.reactor.client.AbstractReactorProxy.handleRequest(AbstractReactorProxy.java:52)
         at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at tavant.bpm.client.proxy.DynamicFailoverReactorProxy.invoke(DynamicFailoverReactorProxy.java:84)
         at $Proxy11.handleRequest(Unknown Source)
         at tavant.bpm.client.ProcessHome.handleRequest(ProcessHome.java:298)
         at tavant.bpm.client.ProcessHome.startProcess(ProcessHome.java:87)
         at tavant.bpm.client.processor.CreateWorkflowInstance.startProcess(CreateWorkflowInstance.java:70)
         at tavant.bpm.client.processor.CreateWorkflowInstance.invoke(CreateWorkflowInstance.java:51)
         at tavant.bpm.ejb.AsynchronousProcessorMessageBean.onMessage(AsynchronousProcessorMessageBean.java:58)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:370)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:262)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2678)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    This is not consistently reproducible though it happens when server is heavily loaded. When this exception occurs, the transaction in the BMT Session Bean is actually getting committed! The message gets redelivered from the MDB.
    What could be the problem?
    Regards
    Sandhya

    I'm seeing a similiar problem on our servers recently and thought I would add my problem as well. We are using Weblogic 8.1; don't know which SP is in production. We have an EAR file with an SB EJB that puts messages in a queue. The EAR is deployed in a cluster along with the queues. The errors below occurred in 3 of the 4 WLS instances in our cluster. This happened during a peak period and lasted for several seconds in Production.
    ###<Jul 1, 2005 11:18:12 AM EDT> <Warning> <RMI> <exsdxtxeax1x.prod.xxxx.xxx> <ems-04> <ExecuteThread: '12' for queue: 'web
    logic.kernel.Default'> <<WLS Kernel>> <> <BEA-080006> <Failed to associate the transaction context with the response while marshall
    ing an exception to the client:
    javax.transaction.TransactionRolledbackException: Current server is the coordinator and transaction is not found. It was probably
    rolled back and forgotten already..
    javax.transaction.TransactionRolledbackException: Current server is the coordinator and transaction is not found. It was probably
    rolled back and forgotten already.
    at weblogic.transaction.internal.TransactionManagerImpl.sendResponse(Ljava.lang.Object;)Ljava.lang.Object;(TransactionManag
    erImpl.java:1438)
    at weblogic.rmi.internal.BasicServerRef.associateTxContext(Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundRespo
    nse;)V(BasicServerRef.java:490)
    at weblogic.rmi.internal.BasicServerRef.postInvoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lweblogic.rmi.sp
    i.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Throwable;)V(Optimized Method)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.InboundRequest;)V(Optimized Method)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.ExecuteThread;)V(Optimized Method)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    >

  • No repeated values and in ascendant sort

    Hi all,
    I'm trying to put this:
    SELECT DISTINCT month FROM Concert ORDER BY month ASC;
    (no repeated values and in ascendant sort) into EJB-QL. This is what I've worked out:
    SELECT DISTINCT OBJECT(o)
    FROM Concert AS o
    ORDER BY o.month ASC
    (month is a field in the bean )
    But this (and several tries later) doesn't work.
    What's wrong with it??
    The query is for a findAll method -without- input parameters which returns a collection, is here the error??? If so, how can I solve it?
    I'm totally lost and frustrated, I'd really appreciate some light
    Thanks a lot in advance

    Your query is currect if table name and attribute name are currect.
    Can you write what type of error is comming?

  • How do i Call an a method on and object that is a parameter

    I have thee code as below.
    I want to call the method setValue and set the value and pass it a String. i want it called on the jobject param1.
    What do i need to call todo that given the below code.
    JNIEXPORT jobject JNICALL
    Java_PassObjectAndDoSomething_nativeMethod(JNIEnv *env, jobject obj, jobject param1) {
        jstring jstr;
        jclass cls2 = (*env)->GetObjectClass(env, param1);
        jmethodID mid3 = (*env)->GetMethodID(env, cls2, "setValue", "(Ljava/lang/String;)V");
        if (mid3 == NULL) {
            return NULL;
        jstr = (*env)->NewStringUTF(env, "My brand new JString");
        if (jstr == NULL) {
             return NULL;
        /*This causes errors when called*/
        (*env)->CallObjectMethod(*env, param1, mid3, jstr);
        return param1;
    }

    daniel_p wrote:
    /*This causes errors when called*/Presumably you mean a system exception and not java exception of some sort.
    (*env)->CallObjectMethod(*env, param1, mid3, jstr);Why is the asterisk in front of the env parameter in CallObjectMethod()?
    return param1;Since you passed that in it is obviously pointless to return it. But that has nothing to do with your problem.

  • Error(23,19): method getName(java.lang.String) not found in class javax.swi

    Hi , when i try to run my program, i keep getting the error msg:
    Error(23,19): method getName(java.lang.String) not found in class javax.swing.JTextField
    I have checked the java API and it inherits from the awt.Component class and should be accessible via the jtextfield.
    I have tried the following:
    trying to initailise the JTextField at the start.
    Using getName works if i use it within the loop after setting the name.
    Does anybody know what i am doing wrong please?
    public class clsMember extends JPanel implements ActionListener {
        private JButton jbtnLog;
        private String surname;
        private JTextField txtItem;
        public clsMember() {
            super(new SpringLayout());
            makeInterface();
            surname = txtItem.getName("Surname").toString();
    private void makeInterface() {
         //code omitted
               for (int i = 0; i < numpairs; i++) {
                JLabel l = new JLabel(strLabels, JLabel.LEADING);
    this.add(l);
    //if the array item is salutation create a combobox
    if (strLabels[i] == "Salutation") {
    jcomSalutation = new JComboBox(strSalutation);
    jcomSalutation.setSelectedIndex(0);
    this.add(jcomSalutation);
    } else {
    txtItem = new JTextField(10);
    l.setLabelFor(txtItem);
    txtItem.setName(strLabels[i].replaceAll(" ", "")); //this is where the label is set and if i do a system.out it shows fine. getName works here too.
    this.add(txtItem);
    //code omitted

    If i have a loop that creates the jtextfields such as
                    txtItem = new JTextField(10);
                    l.setLabelFor(txtItem);
                    txtItem.setName(strLabels.replaceAll(" ", ""));
    this.add(txtItem);How is it then possible to assign to a string the value of a *specific jtextfield*. Lets say that one of these JTextfields has the name surname.
    How is it possible for me to writeString surname = surnamejtextfield.getText();                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Can't compile any JSP : method handlePageException(...) not found

    Hello,
    I installed JDev 9.0.3 yesterday, it did compile my JSP pages, but today it won't, even after reinstalling it.
    I get the following error messages for every page :
    Error: method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
    Error(16,45): method doAfterBody not found in class org.apache.struts.taglib.template.InsertTag
    Error(16,93): variable EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Does anyone know what this could mean ? I have added all libraries in the project's "library" tag, to no avail.
    Thanks.
    P.

    Lynn -
    I tried making a new page with JDev's wizard : File -> New -> Web Tier -> JSP -> JSP Page. This minimal page contains only a "hello world" message, and has got no taglib. I still get :
    Error: method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
    when I compile it.
    j2ee.jar is in Path and libraries ; my libraries are "JDev Runtime, JSP Runtime, Oracle XML Parser v2" and a bunch of our libraries.
    Any ideas ?
    Thanks.

  • At odd times I will get a second instance of Firefox startup. I have run avast av, spybot, malwarebytes, both in normal and safe mode and nothing has been found, any ideas?

    at odd times I will get a second instance of Firefox startup. I have run avast av, spybot, malwarebytes, both in normal and safe mode and nothing has been found, any ideas?

    That second one sounds like malware.
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • I upgraded to Lion, Excel won't open, and what is "Solver" found in the "Launchpad"?

    I upgraded to Lion last night, I have Mac OX X 10.7.1 and all other Microsoft Office products (Word & PowerPoint) work just fine, but within the "Launchpad" of Lion, there is an icon called "Solver).  When I click on it, the Excel - icon opens up but the program does NOT, and something called "Solver" (found in the Launchpad) also opens up but immediately shuts down, showing an error.  WTH???

    Hello jburrett,
    From what you are describing it sounds like iTunes thinks the files are there, but they are missing or have been relocated. Use this article to locate the files.
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/ts1408
    You also have the option of deleting the entries you see in iTunes, and re downloading them using:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/ht2519
    All the very best,
    Sterling

  • My iphone's memory is near capacity from photo albums sync'ed with my mac and I haven't found out how to delete select albums without wiping the iphone.  Any suggestions??

    my iphone's memory is near capacity from photo albums sync'ed with my mac and I haven't found out how to delete select albums to free up memory without wiping the iphone.  Any suggestions??

    You do the opposite of how you got them on your phone, you unsync the pics using iTunes.

  • When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?

    When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?  Thanks

    sandrafromsilver spring wrote:
    When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?  Thanks
    Go to the following link:
    http://jaxov.com/2010/11/how-to-enable-airprint-service-on-mac-os-x-10-6-5/

  • Individual emails are deleted without my interference, and no longer be found

    Individual emails are deleted without my interference, and no longer be found. In one case I could restore the email with time-machine, in the other case there is no time machine backup for that time stamp.
    How can this happen ? Is there a hadware problem or a virus ?
    manny thanks
    Ole

    You don't need to get your domain name registrar to do this - you should easily be able to do it yourself.
    Firstly, ensure that your domain name is entered into the Personal Domain name setting of your MobileMe account.
    Go to your domain name registrar and then set up CNAME forwarding if they provide this and forward your domain name to web.me.com - this is all you need do - you don't need to fiddle with nameservers or anything else like that.
    If they don't provide CNAME forwarding then you can use web forwarding instead.

  • I have a Seagate Freeagent 1TB external drive that ejects it's self in the middle of the time machine backup, then disappears and can't be found unless I turn it off and back on again

    I have a Seagate Freeagent 1TB external drive that ejects it's self in the middle of the time machine backup, then disappears and can't be found unless I turn it off and back on again. Any ideas?

    Hmmm.. sorry to jump in but...
    I Wish I had seen this before I got mine.
    Mine has been doing this auto eject stuff too.
    I think I just plugged it in and TM let me select it but is it possible
    I should have reformatted it with DU first, like with all the WD drive problems ?
    Is it too late for that ?
    Or just try to return it or get rid of it ?
    TIA

  • Windows 7 and 8 are sorting Arabic Characters wrong

    The Arabic character A is comming on many differient shapes
    A without hamza
    A with hamza on top
    A with hamza under
    A with hamza on waw
    A with hamza on nabra
    A with hamza on alef mqsoora
    A With madda
    But all of them are considered as "A" and always on top of the sort on windows XP
    Lately - on windows 7 and 8 the sort is not right -
    hamza on waw is considered as waw
    hamza on nabra is considered as yaa
    So, names like Loay   and    We-aam are  sorted badely
    I have more than one million names to be sorted
    The following is win Xp correct sort
    لؤي
    لئي
    لبي
    ليي
    The following is win7 and 8 wrong sort
    لبي
    لؤي
    ليي
    لئي
    Both sort are done on excell 2007
    Is there a solution

    Many thanks for your comment
    Sory I thought this is for project application
    This sort problem I noticed during developping a VB project.
    This project is for more than 1,000,000 votes.
    On win7 and 8, when Listbox.sort property equals SORT  then sort problem appears
    On win Xp, when Listbox.sort property equals SORT sorting is ok
    Is (VB project) a (project application)
    Should I move it or keep it here?

  • My files in numbers spreadsheet disappeared from my mac and can´t be found in iCloud

    My files in numbers spreadsheet disappeared from my mac and can´t be found in iCloud

    I have similar problem. I updated Numbers. I cannnot see actual documents in iPhone and open it in iCloud. I can find them only in iPad.

Maybe you are looking for