Multiple Column sort Pop Up not opening using af:PanelCollection

Hi guys,
I have a table in which i want to sort on the basis of Multiple Columns.For that I have used af:PanelCollection but when in menus my advance sort Pop Up is Not opening.I am using jdeveloper 11.1.1.6.
<af:panelCollection id="pc1" styleClass="AFStretchWidth"
partialTriggers="t1">
<f:facet name="menus"/>
<f:facet name="toolbar"/>
<f:facet name="statusbar"/>
<af:table value="#{bindings.xx_sw_vwVO.collectionModel}"
var="row" rows="#{bindings.xx_sw_vwVO.rangeSize}"
emptyText="#{bindings.xx_sw_vwVO.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.xx_sw_vwVO.rangeSize}"
rowBandingInterval="0"
width="100%"
selectionListener="#{bindings.xx_sw_vwVO.collectionModel.makeCurrent}"
inlineStyle="height:350;"
rowSelection="single" id="t1"
partialTriggers="::cb1 ::sor1"
contentDelivery="immediate" immediate="true"
autoHeightRows="30" columnSelection="multiple">
<af:clientListener method="sskuRowSelection" type="click"/>
     <af:serverListener type="sskuRowSelectEvent"
method="#{DataworkbenchBN.sskurowselect}"/>
<af:column sortProperty="SskuId" sortable="true"
headerText="#{bindings.xx_sw_vwVO.hints.SskuId.label}"
id="c33">
<af:inputText value="#{row.bindings.SskuId.inputValue}"
label="#{bindings.xx_sw_vwVO.hints.SskuId.label}"
required="#{bindings.xx_sw_vwVO.hints.SskuId.mandatory}"
columns="#{bindings.xx_sw_vwVO.hints.SskuId.displayWidth}"
maximumLength="#{bindings.xx_sw_vwVO.hints.SskuId.precision}"
shortDesc="#{bindings.xx_sw_vwVO.hints.SskuId.tooltip}"
id="it17">
<f:validator binding="#{row.bindings.SskuId.validator}"/>
</af:inputText>
</af:column>

ADF -- panelCollection multiple column sort
~Abhijit

Similar Messages

  • Multiple column sorting in JTable

    There is way to release multiple column sorting in JTable.
    ADF/SWing, Jdev 10.1.3

    I do not know that there is, but it would be really nice!
    regards,
    mario udina

  • Multiple column  sorting on JTable data

    if any body can please send an example code how multiple column sorting can be done on table data.
    condition:- one column should sort in ascending order another column in descending order.
    am completly out of ideas it's urgent any help is greatly appritiated
    Thank's in advance
    sri

    I think the crosspost is because the OP was advised to post it in the Swing forum instead (it would've been nice to see the original post closed as well, though). Anyway...
    Have you got your table sorting using one column? If so, how have you achieved that (eg, are you using Java 6)?
    All you're after is a stable sorting algorithm so that any elements that are the same in the new sorting scheme stay in the same position relative to each other. Then you can just sort by "Column B" then "Column A" to achieve multiple column sorting. I believe that Collections.sort is stable and therefore any sorting approach based on that should be easily modifiable to do what you want.
    Hope this helps.

  • Pages app unexpectedly quit whilst I was in the middle of a document. I can now not open it AT ALL. I find it's not just that particular document that won't open, but any of my Pages docs will not open using the current version of Pages. Any help?

    Pages app unexpectedly quit whilst I was in the middle of a document. I can now not open it AT ALL. I find it's not just that particular document that won't open, but any of my Pages docs will not open using the current version of Pages. The reports of the app unexpectedly closing each time, automatically went to Apple, but I am not sure what happens with them then. Does anyone know how to help me with this? We live in a very isolated region so rely on internet help. Thanks

    I also managed to read a few other discussions about Pages and files not being able to open. I actually went to the last back-up and restored the computer from that and everything seemed to work ok again, which is great!...advice from another discussion I think you may have been involved in PeterB. Thanks for the advice...also this advice, as I will make a note of trying to open using the Shift key if it happens again and see what happens...might be an easier first option than restoring from a back-up. Thans heaps for the help!
    I was interested to read some of the other discussions where it was stated that Pages '09 seems to be a better option to use. I have both installed, so I will lkeep this in mind. Thanks heaps!

  • Lightroom 5.4 does not open, using windows 7

    lightroom 5.4 does not open, using windows 7. I downloaded the trail and it does not open. I want to buy it, but i am afraid it will not work. I do not get an error code or anything it just will not open.

    Thanks but none of the options in that KB fix the problem.
    The "Exit Code" was 3 rather than "0" and so it doesn't look like the patch will install.  In terms of the third option, I mentioned in my original message that I cannot "Deactivate" my other CS6 programs because that option is grayed out in those programs.  But those programs work just fine (other than Acrobat Pro X) and so I think there may be a bigger problem with all of my Adobe products.

  • Using 10.6.8, internet pdf documents not opening using Adobe Reader; how is this corrected?

    Using 10.6.8, internet pdf documents not opening using Adobe Reader; how is this corrected?  I've tried changing "sharing and permissions" to "read and write" as suggested on other help sites, but this did not correct the problem.

    I had the same problem---contacted Adobe and their service rep helped me by
    A.   Deleting  Adobe Reader from my iMac's Applications in Finder
    B.   Downloading Google Chrome browser and then
    C.   Downloading the latest Adobe Reader for Mac 10.6.8 in Google Chrome--it works
    Adobe acknowledges problem with the latest Snow Leopard update 10.6.8 and with this work around, I can open PDF's using the Google Chrome Browser.
    Is this the ideal solution---NO.  Safari is my main browser. I now have to use a separate browser for PDF's.
    Am I happy to be able to open PDF's---YES
    You can't believe the time I spent to solve this problem before calling Adobe for help. My Apple Care policy expired a month ago . As I use Photoshop Elements, I was not charged by Adobe for their help on the telephone.

  • Itunes will not open using os x

    itunes will not open using os x

    You need to turn the computer on.
    Seriously, You have told us absolutely nothing about the computer model, version of Mac OSX, version of iTunes, what you have installed recently, or anything else for that matter.

  • CQ1050FR desk top DVD drive would not open, used paper clip as advised in help now won't close

     would not open, used paper clip as advised in help now won't close, error message

    OK, I decided to upgrade to Mavericks. 1st I checked to see if Parallels 8 woudl work w it. It said yes, but upgrade parallels 8 1st so I did that (& then realized I should update virus def & run Windows updates also. Don't use it very much  180 days ago it said).
    Then saw some reports of mail not working so well so decided to clean out a lot of un-needed emails on my Mac. Also ran updates to Mountain Lion.
    Then closed everything & shut down. Left it off for a few min to clear out any left over electronic garbage & rebooted. Opened App store & clicked the Mavericks free download. Almost immediated it gave me error message & suggested doing it from the Purchased section.
    Ok, I tried downloading it there. 2-3 times got same almost immediate error message.
    Then, I think it was after disconnecting external HD & printer I tried again & it was looking good w download. It was fluctuating between 40-45 min time remaining & showing almost 500 mb downloaded when I got the error message again.
    btw, I also got an error message when running Windows update. There was an unknown error code when I tried updating Service Pack 1 (which it showed I needed, although I'm thinking that is kind of strange since I've had Windows 7 on a MacBookPro since shortly after I bought the original MacBookPro in April 2010. (Spilled water on it last May & Apple store said it would need expensive repair so bought this replacement that they used my Time Machine backups to install everything on. This was right as I was getting ready to move & I haven't yet found the old one to see if maybe it would work. It should be in one of my boxes).
    So, if it is having this much trouble just getting it installed I'm kind of afraid to go ahead. Wondering why some report it works fine & a lot of others saying no.
    I very frustrated since I just want to be able to have the functionality I had to be able to sync Numbers between my iPad & my Mac.

  • Multiple column sorting.

    How does one sort multiple columns( date, String, time etc...). I want to sort by date where two dates can be alike as well. I could use HashMap for that reason.
    Please help.
    Thanks in advance.

    Hi,
    A demo of the comparator class is given below. I've tried to put it into the table class.
    import java.util.*;
    import javax.swing.*;
    import java.awt.BorderLayout;
    import java.awt.event.*;
    import javax.swing.table.*;
    import javax.swing.event.*;
    class MultipleColumnSortTest
         MultipleColumnSortTest()
              JFrame frame = new JFrame("MultipleColumnSortTest");
              frame.setBounds(10,10,750,550);
              Vector fieldNames = new Vector();
              fieldNames.add("Dates");
              fieldNames.add("Strings");
              Vector dataVector = new Vector();
              for(int i = 0; i < 5; ++ i)
                   Vector row = new Vector();
                   row.add(new Date());
                   row.add("abc" + i%2);
                   dataVector.add(row);
              final SortableDataVector tableModel = new SortableDataVector(dataVector,fieldNames);
              int [] sortIndices = new int[2];
              sortIndices [0] = 0 ;
              sortIndices [1] = 1 ;
              tableModel.setSortPriority(sortIndices);
              JTable table = new JTable(tableModel);
              JScrollPane scrollpane = new JScrollPane(table);
              frame.getContentPane().add(scrollpane);
              JButton button = new JButton("Sort Data");
              frame.getContentPane().add(button,BorderLayout.SOUTH);
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        tableModel.setAscendingOrder(!tableModel.isAscendingOrder());
                        tableModel.sort();
              frame.setVisible(true);
         public static void main(String [] args)
              MultipleColumnSortTest appln = new MultipleColumnSortTest();
    class SortableDataVector extends DefaultTableModel implements Comparator
         private int [] indices;
         private boolean isAscendingOrder;
         public SortableDataVector(Vector dataVector, Vector fieldNames)
              super(dataVector,fieldNames);
              setAscendingOrder(true);
         public void setAscendingOrder(boolean b)
              isAscendingOrder = b;
         public boolean isAscendingOrder()
              return isAscendingOrder;
         public void setSortPriority(int [] indices)
              this.indices = indices;
         public int compare(Object o1,Object o2)
              int comparisonResult = compareAscending(o1,o2);
              if(!isAscendingOrder)
                   if(comparisonResult < 0)
                        comparisonResult = 1;
                   else if (comparisonResult > 0)
                        comparisonResult = -1;               
              return comparisonResult;
         private int compareAscending(Object o1, Object o2)
              int comparisonResult = 0;
              if((o1 == null)&&(o2 != null))
                   comparisonResult = -1;
              else if((o1 != null)&&(o2 == null))
                   comparisonResult = 1;
              else if((o1 != null)&&(o2 != null))
                   List firstRow = (List)o1;
                   List secondRow = (List)o2;
                   for(int i = 0; ((i < indices.length)&&(comparisonResult == 0)); ++i)
                        if(indices[i] < firstRow.size())
                             comparisonResult =
                                  DatatypeSensitiveComparator.compare(
                                       firstRow.get(indices),
                                       secondRow.get(indices[i]));
              return comparisonResult;
         public boolean equals(Object obj)
              if(obj == null)
                   return false;
              return this.equals(obj);
         public void sort()
              if((indices != null)&&(indices.length > 0))
                   Collections.sort(dataVector,this);
                   fireTableChanged(new TableModelEvent(this));
    class DatatypeSensitiveComparator
         public static int compare(Object firstValue, Object secondValue)
              int comparisonResult = 0;
              if((firstValue != null)&&(secondValue == null))
                   comparisonResult = 1;
              else if((firstValue == null)&&(secondValue != null))
                   comparisonResult = -1;
              else if((firstValue != null)&&(secondValue != null))
                   Class clazz = firstValue.getClass();
                   if(!clazz.equals(secondValue.getClass()))
                        throw new IllegalArgumentException("Class are not the same ->"
                             + clazz.getName() + ":" +
                             secondValue.getClass().getName());
                   if(clazz.equals(String.class))
                        comparisonResult = ((String)firstValue)
                             .compareTo(((String)secondValue));
                   else if(clazz.equals(Date.class))
                        comparisonResult = ((Date)firstValue)
                             .compareTo(((Date)secondValue));
              return comparisonResult;

  • Acrobat X Pro will does not open using Windows 7

    My Acrobat X Pro stopped working today.  I'm using the same Windows 7 PC with the same software that I've had for over a year. My version of Acrobat X Pro came with my purchase of Adobe Creative Suite 6 Design & Web Premium. Since this problem started earlier today, I've:
    1. Conducted a system restore on my PC back to last week when it was working fine and yet it still does not launch
    2. I used Window's programs & features "repair" option and that has not helped
    3. I started up my PC in safe mode and that did not help. I've rebooted multiple times and that has not helped
    One solution I found online says to deactivate another CS6 program like Photoshop but when I open any of those programs, the "Deactivate" option is grayed out as not available.  And yet these other Adobe programs launch and work just fine. 

    Thanks but none of the options in that KB fix the problem.
    The "Exit Code" was 3 rather than "0" and so it doesn't look like the patch will install.  In terms of the third option, I mentioned in my original message that I cannot "Deactivate" my other CS6 programs because that option is grayed out in those programs.  But those programs work just fine (other than Acrobat Pro X) and so I think there may be a bigger problem with all of my Adobe products.

  • Multiple Column Sorting in iTunes

    I have seen many conversations around the edges of this, but no answers.  I am curious if it is possible to configure a custom sort in iTunes involving multiple columns. 
    Here is what I would like to end up with - Artist; Sort Show (where I have stored the release date); Album; Disk Number; Track Number.  Seeing my albums in chronological order is the way I always sorted physical albums, I would like to store my virtual ones the same way.  iTunes allows me to use Album by Artist and then sort by Sort Show, but this then displays the tracks in alphabetic order by name! 
    Identifying multiple sort columns (as in Excel) would be ideal.  Thanks for any help you can provide.
    Dave

    It is a database internally, and there are some multivalued sorts, but as users we don't get to specify custom sort orders. Album by Artist is more properly Album by Album Artist and in pseudo-SQL it would go something like this.
    SELECT * FROM Selection ORDER BY SortAlbumArtist, SortAlbum, Disc# , Track#
    Where there is no SortAlbumArtist it is inferred from the first non-empty value of AlbumArtist, SortArtist or Artist.
    Where there is no SortAlbum it is inferred from Album.
    The Disc# & Track# sorts place empties last.
    Presumably the designers think they've included useful options and adding nested sorting features would be too complicated, but you can make suggestions via iTunes Feedback.
    tt2

  • Af:table column sort icon does not appear

    Hi,
    if I use the declarative way to handle column sorting the tablecolumn gets a icon which indicates sorting.
    For one column I have to set the sorting programmatically by using CoreTable's setSortCriteria method .
    In this case the sort icon doesn't appear!? Is that right?
    regards, Florian

    thanks Frank!
    It's not a question of enable/disable the sorting feature of the table column.
    It's about the requirement to sort the column like in this sql statement:
    select c1 || c2 || c3 as c123
    from myTable
    order by c1, c2, c3 asc;
    The column is sortable by default (column data is concatenated like in c123).
    I use following code in the SortListenerMethod to enable the sorting for the requirement above:
    CoreTable ct = this.getMyTable();
    List<SortCriterion> critlist = new ArrayList<SortCriterion>();
    boolean sortOrderAsc = true;
    critlist.add(new SortCriterion("c1", sortOrderAsc));
    critlist.add(new SortCriterion("c2", sortOrderAsc));
    critlist.add(new SortCriterion("c3", sortOrderAsc));
    ct.setSortCriteria(critlist);
    using this always prevent the sortIcon from showing.
    On the other hand my sortIcon comes up using the declarative way.
    Or is there a way to accomplish the sorting above by using other ways?

  • I can not click certain tabs on my Etsy page & they will not open using Firefox, but I am able to open these tabs on Etsy when using Internet Explorer

    When I am signed onto Etsy, there are certain tabs on the top of the page that I can not click open when using firefox, but when I use Internet Explorer, I am able to click open these tabs. The following tabs on my etsy page will not open: Your Shop, Your Account, Help, & Sign Out
    Other tabs on the same page will let me click them open, such as:
    Buy, Sell, Community, Blog, Mobile, when using Firefox & Internet Explorer

    Both the Yahoo! Toolbar extension and the Babylon extension have been reported to cause an issue like that. Disable or uninstall those add-ons.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Most recent version already installed.....but can not open & use NM

    I recently installed nM on my lap top so I can make the new printer print wirelessly...the desk top computer needs to have NM installed too. I downloaded it & then clicked "install" it tells me it is already installed....but will not open or start ordo anything.... any advice?
    THX both machines are using XP. The desktop computer is connected to the router & the printer... the laptop can not find the printer... that is why I am trying NM... have used in the past & never a problem....

    Try these following steps:
    •open the C Drive
    •open program files
    •open Pure Networks folder
    •open support folder
    •double-click on serveme application
    •right click on the Network Magic icon (w/c is found on the system tray) and select Stop NmService, once you have done this the ServeMe icon will turn red
    •right-click on the Network Magic icon on the system tray and select Delete NetworkLib.xml
    •right click on the same icon again and select “Force First Run”
    •repeat all the steps above for all computers connected to the network
    •restart all your computers connected to the network; this will restart the Network Magic service

  • 3.1 Multiple column sorts.

    I have a report which I would like to have multiple columns that default in an ascending sort sequence order.
    Example:
    Column 1 will be sort sequence 2.
    Column 2 will be sort sequence 3.
    Column 3 will be sort sequence 1.
    This was working in 3.0 and now the report only acknowledges the sort sequence of number 1.

    Did you ever get this working again? We'd like to implement something similar - allowing the user to pick a couple of different sort criteria options... How did you implement this in 3.0?
    Thanks,
    Yvette

Maybe you are looking for

  • JNDI Context Retrieval in EJB 3.0

    I have a doubt about JNDI context retrieval in EJB 3.0. I know that when I call a bean from another bean I can use this line: InitialContext ctx=new InitialContext(); But I'd like to know whether in a Client I am obliged to pass this parameter: Initi

  • Download file in struts - File save dialog not showing up

    Hi, The issue i have is - the file save dialog box which should be displayed on file download is not showing up. I have a DAO being called from the Action form SaveDocumentAction which extends DispatchAction and has a download(mapping, request, respo

  • Buffer table not update

    Hello all, I tried to create  a Scart for a category id meant for Classic scenario but I get an error that "Buffer Table not update " and it is resulting in a ABAP Dump.However, for the Categoryid for Ext. Classic Scenario it is working fine. I tried

  • Illustrator CS Question -- don't laugh!

    Hi Everyone! Yea, I know I'm behind the times on my home iMac*. Someday, I will upgrade. Meanwhile I have a pressing dilemma! My question: Every now and then, I hit a button that I shouldn't have... and apparently, I've done it again. Now when I draw

  • Photo booth and iPhoto

    Can I import photos from photo booth to make a slideshow onto iPhoto and if so how do I do this?