How to make tablesorter work for GroupedColumns??

Hi all,
I imported the class of TableSorter.java to my project. It automatically picks up my normal columns, they all can be sorted.
but the groupedColumns generated by the drag and drop table node into the design area wont pick up, even i set the property of "onAction" of the column to "Sort"(method) it wont sort the content for me.
how to make it work?
thanks

hi!
you can get lead selection in the action handler then inset your code for currentContextElement.
wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.nodeXXX());
thanks
vishal

Similar Messages

  • How to make setEditable() work for Applet

    I have a program using a flag to make it work both
    in JFrame and JApplet. I have a couple of JTextField
    variables and I use setEditable() to set their attributes.
    When I run it under JFframe, I have no problem to
    edit these JTextField within panels. But when running under
    appletviewer, I can not edit them at all. What could be
    wrong? Thank you.

    You must have added some more code...if you want my help, post the new code or a link to the new code and I or some other ppl can see what might have gone wrong.
    V.V.

  • How to make ProgressBar work for long process with finally download action

    Hi ADF-Experts,
    i wonder if there is a adf-solution to this use case.
    In my case the user clicks a context-menu item to get a report. So a background process will be started to generate the report(in pdf format) and when the generation is finished,
    the user can choose to download the report in the browser built-in popup.
    This all works, but because the generation process could take a long time, i want now to showing a progess bar in clock form with af:progressIndicator to inform the user about the running process.
    public void clickGenerateMenuItem(event) {
    startProgressBar();
    generateReport();
    private void generateReport() {
    doGeneration();
    stopProgressBar();
    downloadReport();
    The problem is that the ProgressBar will never be shown bacause of the call of generateReport()-methode. It is impossible in one request to make two different event (one for download and another for popup show/hide).
    I also tried with af:poll together with af:progressIndicator, the ProgressBar is indeed shown but because of the native Ajax-Poll Request the generated Report can not be downloaded more.
    Any idea how this problem could be answered?
    Thanks in advance.
    Regards
    Peng

    Hi,
    no, you can't make to calls. But you could show an animated gif instead. Have a look at sample 027 on http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html
    Frank

  • How to make code work for previous versions

    Hello, i have written the code below using swing 1.4. I was wondering if anyone could help me by letting me know what to convert so i run run this on a machine with a lower java runtime (ie 1.22)
    What i am trying to do is have a tree with a list of files, and when u click on a node, the tree will expand, and send the node name accross to another frame. Help is most appreciated. Thanks
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.event.TreeSelectionEvent;
    import java.net.*;
    import java.applet.AppletContext;
    import java.util.Enumeration;
    public class SimpleTree extends JApplet  {
    JTree tree = new JTree();
      public void init() {
       new SimpleTree();
      public SimpleTree() {
    /*try {
          UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch(Exception e) {
          System.out.println("Error setting native LAF: " + e);
        Container content = getContentPane();
        Object[] hierarchy =
          {"WebSphere MQ",
            new Object[] { "400","400 Pstuff.htm",
         "400 PStuff.htm",
         "A406 - Pstfdfs.htm"}}
        DefaultMutableTreeNode root = processHierarchy(hierarchy);
        tree = new JTree(root);
        tree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
        tree.addTreeSelectionListener(new TreeSelectionListener() {
        public void valueChanged(TreeSelectionEvent e) {
             DefaultMutableTreeNode node = (DefaultMutableTreeNode)
             tree.getLastSelectedPathComponent();
             String stringname = tree.getLastSelectedPathComponent().toString();
             if (node == null) return;
             if (node.isLeaf()) {
                try {
                           getAppletContext().showDocument(new URL("http://mql3service.hursley.ibm.com/process/"+stringname), "viewer");
                  }catch(Exception f) {System.out.println("" + f); }   
        content.add(new JScrollPane(tree), BorderLayout.CENTER);
        setSize(500, 700);
        setVisible(true);
      public DefaultMutableTreeNode processHierarchy(Object[] hierarchy) {
        DefaultMutableTreeNode node =
          new DefaultMutableTreeNode(hierarchy[0]);
        DefaultMutableTreeNode child;
        for(int i=1; i<hierarchy.length; i++) {
          Object nodeSpecifier = hierarchy;
    if (nodeSpecifier instanceof Object[]) // Ie node with children
    child = processHierarchy((Object[])nodeSpecifier);
    else
    child = new DefaultMutableTreeNode(nodeSpecifier); // Ie Leaf
    node.add(child);
    return(node);
    public void Rupz(String random)
    TreePath path = null;
    TreeNode [] treenode = null ;      
    String strNode = random;
    DefaultMutableTreeNode root = (DefaultMutableTreeNode)tree.getModel().getRoot();
    Enumeration e = root.breadthFirstEnumeration();
    while(e.hasMoreElements())
    DefaultMutableTreeNode dftTmp = (DefaultMutableTreeNode)e.nextElement();
    if(dftTmp.toString().equals(strNode))
         treenode = dftTmp.getPath();
         path = new TreePath(treenode) ;
    try {
    getAppletContext().showDocument(new URL("http://mql3service.hursley.ibm.com/process/"+strNode), "viewer");
         }catch(Exception f) {
         System.out.println("" + f);           
    if(path != null)
         tree.setSelectionPath(path);
    repaint();
    public static void main(String [] args) {
    JFrame f = new JFrame("") ;
    Container contentPane = f.getContentPane();
    contentPane.setLayout(new FlowLayout());
    SimpleTree ta = new SimpleTree() ;
    ta.init() ;
    f.addWindowListener(new ExitListener());
    f.setSize(500,700);
    contentPane.add(ta,BorderLayout.CENTER);
    f.setVisible(true) ;

    hi!
    you can get lead selection in the action handler then inset your code for currentContextElement.
    wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.nodeXXX());
    thanks
    vishal

  • TS2634 I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I have the same problem.
    Two similar discussions:
    https://discussions.apple.com/message/23081658#23081658
    https://discussions.apple.com/message/23281391#23281391
    I have not yet seen any official response to the question: "Is the Apple AV Composite cable fully supported with 30pin connector devices upgraded with iOS7 - specifically ? - eg. iPad 2, iPhone 4, iPhone 4s"
    If it is not currently supported is that then due to a bug / oversight and in that case is it something that will be fixed in the near future?
    Please let us know what feedback you got from asking Apple support.

  • I cannot connect a Sony ILCE6000 camera for wireless downloading. Sony feels I need DLNE? They do not know how to make it work. Can anyone help OS10·9·5

    I cannot connect a Sony ILCE6000 camera for wireless downloading. Sony feels I need DLNE? They do not know how to make it work. Can anyone help OS10·9·5

    I cannot use the software.. so you need to figure out where the problem is..
    But let me suggest.. the Mac is not the issue and likely the info from Sony is also up the creek.. they make PC's after all.
    It is far more likely the camera is having issues with the wireless network.
    Do you know you have a connection to the home network on the camera.. ?? You have an IP address and some internet or local access at least?
    How you will discover those things is by fiddling.. but if you can tell me what wireless AP you are using that will help.

  • I have a application build in labview 8.5 for Windows XP using NI Visa functions to interact with hardware , how to make is work in Windows 7 32 bit and Win 7 64 bit

    I have a application build in Labview 8.5 which wroks fine with Windows XP , this program uses basic read /write functions of NI Visa to communicate with Hardware . This application doesnt work with Windows 7 32 bit/64 and Vista . What changes i need to do to make it work for the said operating system

    srinivas wrote:
    Sorry for confusion ,
    My question is what changes i need to do in code or while making the installer to make the existing program work with other Windows operating system
    You need to make sure the machine have the corresponding NI-VISA installed. Check in the NI software pages for the right version.
    Also make sure that the com port's can be selected when you first start the application. Eg. if you refer to VISA "COM1" on the XP machine It might be "COM2" on the Win7 machine.
    Br,
    /Roger

  • How to make buttons work in Interactive Adobe Forms

    Hi Experts,
    I am new to interactive form. Though i have worked in normal/non-Interactive form, i do not know how to make buttons work in interactive adobe forms using ABAP  (I don't know JAVA). Can any one help me out and walk me through to how to code in ABAP to make buttons work.
    Kind Regards,
    Sharat.

    Please refer to my earlier post ... You will get an idea
    Please refer to the below thread for detail solution
    Sample Interactive form example ?....urgent...
    Cheers
    Satya

  • I have unlocked iphone 5.i tried to use it with tmobile.it shows full network but fails to activate and shows sim invalid.how to make it work?

    i have unlocked iphone 5.i tried to use it with tmobile.it shows full network but fails to activate and shows sim invalid.how to make it work?

    Who was your original carrier; did you call them to ask them to unlock your phone, and are you aware of what their unlock policy is (THey may only unlock for international sims and not US sims

  • How to make MDM work?

    Hi Guy,
    I'm newbie for MDM.I already intalled it on my machine(Window Xp)but dunno how to make it work.
    The installed components are MDM/Syndicator/Import server,Console/Import mgr/Data mgr/Syndicator.
    Do I have to install any component else?And Can you guy give me any guides/documents/Posts how to make it work.Cause I have to demo it next week but right now still blank about it...
    Thanks
    Parinya.

    Hi Jack,
    For Demo Purpose,
    1.Create few master records in R/3 Servers [ MM(Tcode MM01) /Employee(PA40) /Vendor(Xk01) /Customer(XD01) according to your MDM Repository(For Example "Products").]
    2.Extract those master datas from R/3 Servers.
    3. You will get the xml file of master datas.
    4.Open the import manager and import the xml file into  the MDM server.
    5.In Import manager ,you need to map the records[Source Fields(Imported records) VS Destination Fields(MDM repository)].
    6.Once you imported the record ,u can see the records in the MDM Data manager.
       We can Create/edit/Delete those records .
       We can merge the records for consolidation purpose.
       We can perform Data enrichments process   like Validation,Workflow,Assignments..etc.
    7.Once cleaned the Master records,it is ready to distribute to R/3 servers.
    8.Syndicator is used for sending data back to the R/3 servers
       Here also we have to do Mapping against R/3 servers.
       Using XI We can connect the R/3 Servers.
    Hope u will understand this.
    This is very simple example for MDC-MDH Scenario.
    For futher learning on how to create a repository/Enrich the mater datas, go through reference documents in the Service Market place.
    Best Regards
    Devaraj PK

  • How to make this work with Firefox, HELP!

    Downloading for Real-player, after watching the full movie, I click download and it has to reread the movie from the internet. When using explorer, after downloading the movie, it reads it from memory, which makes it a fast download. How to make this work with Firefox, I like not to use Microsoft products, and I really like Firefox 7.0.1!!!! HELP!

    -> click '''Firefox''' button and click '''Options''' (OR File Menu -> Options)
    * Advanced panel -> Network tab
    * place Checkmark on '''Override Automatic Cache Management''' -> under '''Limit Cache''' specify a large size of space
    * Remove Checkmark from '''Tell me when websites asks to store data for offline use'''
    * click OK on Options window
    * Restart Firefox
    Check and tell if ts working.

  • SPA3000 FXO to SPA2000 FXS, how to make it work?

    I'd like to create an environment so I can test the dial plan of SPA3000. But when I dial throughgw0 of SPA3000 while connecting FXO to FXS of SPA2000, from SPA2000 configuration I always get Call 1 State Invalid and Call 1 Tone Reorder. It seems that SPA2000 couldn't recognize the DTMF tone sent by SPA3000. Don't know how to make it work. Please advise. Thanks in advance.

    I have a SPA3102 attached thru the FXO port to the FXS port of a SPA1001.  I don't think there is anything special in the configuration.
    On the PSTN Line Tab I have:
    Preferred Codec: G711u
    Use Pref Codec Only: no
    DTMF Tx Method: AVT
    VoIP-To-PSTN Gateway Enable: Yes
    VoIP Caller Auth Method: none
    Line 1 VoIP Caller DP: none
    PSTN Dialing Delay: 1
    VoIP Answer Delay: 0
    If you are having trouble, for troubleshooting I would run the sip debug trace on the SPA3000.  If the failure is in your line 1 dial plan you won't see anything in the trace.  If the dial plan sends the call to gw0 then you will see the sip invite for the internal call inside the adapter and you should see the FXO port go off hook.  If that looks OK you can run a trace on your SPA2000 to see the result there.  The SPA3000 Info tab will also give you troubleshooting information.  You should see the on-hook and off-hook voltage level of the SPA2000.  You may also see information about the last pstn number dialed.
    On the SPA2000, you would need to have it registered with a voip provider, or else have it set to Make Call Without Reg before it will accept an incoming call from the FXS port.
    Message Edited by hw on 02-02-2009 06:02 PM

  • I talk to Siri asking it to call my friend but Siri cannot call. Pls help to advise how to make it work?

    I talk to Siri asking it to call my friend but Siri cannot call. Pls help to advise how to make it work?

    Hello Sonem,
    I found an article with steps you can take to troubleshoot issues with Siri.  I recommend reviewing the full article, but the section titled "Providing Siri with user information" seems particularly useful for the issue you are experiencing:
    iOS: Troubleshooting Siri
    http://support.apple.com/kb/TS4079
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • When I turn on my Macbook pro retina display i get a black screen and i noticed that the machine gets very hot, any clue how to make it work?

    When I turn on my Macbook pro retina display, a black screen show up while I hear the normal start up sound.  I noticed that the machine gets very hot, any clue how to make it work?

    If the Mac is too hot to touch, take it in for service.
    Apple - Find Locations

  • RdbmsRealm - how to make it work

    I was running the example server. I would like to see if I can delegate the security to an rdbmsRealm. I followed the instruction from the documentation. I created the three tables for security in Oracle 8i Lite in my NT machine. I then startup the example server and created a security realm for my oracle 8i tables. I then selected the cacing realm and selected my oralce 8i Lite realm. However, this does not change the security because the new users that I created are still updated in the filerealm.properties file.
    My understanding is that we should be able to use the oracle realm I just created for the wls realm. As for the caching realm, I thought it's there for performance reasons.
    Could somebody tell me how to make it work? Thanks.

    Hi Susan:
    I followed you instruction and modified the config.xml file to use the rdbmsRealm in that I set up in Oracle 8i Lite. I am using the Oracle 8i Lite driver to talk to the database. I then tried to create new users. From the console, it appears that the users are added successfully. However, the new users do not exit in the oracle 8i lite rdbmsRealm. They do not exist in the filerealm.properties file neither.
    I then tried to use the cloudscape rdbmsRealm. This is achived by the following configuration in the config.xml file:
    <CachingRealm BasicRealm="defaultRDBMSRealmForCloudscape" Name="defaultCachingRealm"/>
    However, the realm initialization failed. Then I checked the definition for the cloudscape rdbmsRealm in the config file and found out that the schemaproperties entried are all chopped off. This is because of the bug you told me earlier.
    I would like to get the cloudscape rdbmsRealm working first and then try to find out why the oracle 8i Lite rdbmsRealm did not work. Could you please send me the schemaproperties entries needed for the cloudscape rdbmsRealm? Thanks.
    Helen
    "Suresh Vallabhaneni" <[email protected]> wrote:
    >
    Hi Helen
    Here is a sample of what you need in the config.xml. Modify to match your environment.
    <Security
    Realm="defaultRealm"
    />
    <Realm
    Name="defaultRealm"
    FileRealm="defaultFileRealm"
    CachingRealm="defaultCachingRealm"
    />
    <CachingRealm
    Name="defaultCachingRealm"
    BasicRealm="defaultRDBMSRealmForOracle"
    />
    SUBSTITUTE THE REQUIRED VALUES FOR THE RDBMS REALM
    <RDBMSRealm
    Name="defaultRDBMSRealmForOracle"
    RealmClassName="examples.security.rdbmsrealm.RDBMSRealm"
    DatabaseDriver="weblogic.jdbc.oci.Driver"
    DatabaseURL="jdbc:weblogic:oracle:yourdatabase"
    DatabaseUserName=""
    DatabasePassword=""
    SchemaProperties=""
    />
    Let me know if you still have a problem.
    thanks
    "Helen Semus" <[email protected]> wrote:
    Hi Suresh:
    Yes, I was selecting the default cacherealm from the console.
    I checked my config.xml for the exampe server. You are right. The schemaProperties attribute values are truncated. I guess I will have to manually modify my config.xml file to get it to work.
    Besides making sure the attributes for the rdbmsRealm element correct, is there anyother element or attribute that I need to set to enable the rdbmsRealm?
    Thanks.
    Helen
    "Suresh Vallabhaneni" <[email protected]> wrote:
    Hi Helen
    Are you trying to select the caching realm through console? There is a release note on this(http://www.weblogic.com/docs60/notes/issues.html#1029973) that selecting the caching realm through console will corrupt the config file. If you're doing otherwise, plz let me know.
    thanks
    "Helen Semus" <[email protected]> wrote:
    I was running the example server. I would like to see if I can delegate the security to an rdbmsRealm. I followed the instruction from the documentation. I created the three tables for security in Oracle 8i Lite in my NT machine. I then startup the example server and created a security realm for my oracle 8i tables. I then selected the cacing realm and selected my oralce 8i Lite realm. However, this does not change the security because the new users that I created are still updated in the filerealm.properties
    file.
    My
    understanding
    is
    that we should be able to use the oracle realm I just created for the wls realm. As for the caching realm, I thought it's there for performance reasons.
    Could somebody tell me how to make it work? Thanks.

Maybe you are looking for