Is there a way to get a handle on Sorted list of a SortableModel

I'm using adf table based on SortableModel. Sorting works fine when i click on a table column which is enabled for sorting.But is it possible to access the sorted list or rows in the bean code.
myTableModel.getWrappedData() only gives the actual list not the sorted ones.
How do i get the handle on sorted list. i'm using 10.1.3
Thanks,
Senthil

Hi,
here's how it should work
for (int i=0; i<sModel.getRowCount(); i++)
sModel.setRowIndex(i);
System.out.println("i:"+i+" data:"+sModel.getRowData());
Frank

Similar Messages

  • Trying to get a handle to an object using CVI_ActiveApp, but it opens a new CVI everytime it runs. Is there a way to get a handle to an object without it opening up a new CVI?

    I'm trying to get a handle to an object using CVI_ActiveApp. It works, but it opens a new CVI application when it is run using the command line. Is it possible to get a handle to an object without a new CVI application opening up?

    Hi,
    In the help documentation for the CVI_ActiveApp function, it states:
    "If the server application is already running, this function may or may not start another copy of the application. This is determined by the server application."
    http://zone.ni.com/reference/en-XX/help/370051P-01/cvi/usermanual/actxappactiveapp/
    I don't believe you have control over whether or not a second instance is started.
    Regards,
    Lindsey W. | Applications Engineer | National Instruments

  • JRE Proliferation -- any way to get a handle on it?

    I'm relatively new to JAVA, and come from a (ugh) mainframe background, so, please, no rocks or stones....
    My old machine at work crashed and I'm breaking in a new laptop, WinXp, installing all the tools needed to get the job done.
    Why does every JAVA tool insist on installing it's own JRE??? In a time period of less than a month, I now have 21 separate copies of JAVA.EXE on my system. Heck, I've just installed one tool suite from a vendor and it installed 4 separate JRE directories!
    Now, I'll admit to installing 2 of them myself to suport a small JAVA project... and I sort of understand software builders/vendors want to ensure their product runs on a fully compatible JRE/JVM... but most times the install process doesn't even bother to check to see if there is a compatible JRE already installed.
    This seems to already be out of control.... and new and improved versions of JAVA will always be coming out.
    Is there a way to get a handle on all this proliferation? A (java) program that works like a version manager? Someone with a big stick offering guidance to developers/vendors?
    thanks for your insight (and letting me vent)

    In my experience, many of the applications that require Java that I use do not install the JRE unless I specify that I have no version of Java installed. It seems that the applications you have installed are different in this regard. So I've never had the problem you describe but I can offer an idea. I don't know if it will work for you.
    In any case, generally speaking, most Java programs that I have worked with like Tomcat, Oxygen and so forth will make use of an environment variable called JAVA_HOME to locate the base directory of the current working java installation, and from there use the JRE. So my thought would be to pick the most recent stable version of Java you have installed installed on the system, and set the JAVA_HOME variable to point to this directory. Then < possibly > you could eliminate the other versions of Java installed on the system. But it very much depends on how these applications are finding Java. It could be the applications are using a hard coded path to the directory, even though from a developer's perspective I think that is nonsense. But I just don't know for sure. So you would want to be cautious about deleting the other versions, maybe disable them by renaming the directories to see if any applications are depending upon it. Then if no errors occur delete the version.
    Just my two cents. Perhaps others will have other ideas.

  • Federal court website gives a .pl document which opens as garbage until we manually change it to .pdf, is there any way to get Firefox to do this automatically?

    I am using a Mac. When downloading a document from the federal court website using Firefox, we get a .pl document which opens as garbage (in TextEdit) until we manually change it to .pdf, which causes it to open just fine (in Preview). It used to work fine, giving a .pdf document every time, but apparently upgrades to Firefox have removed this functionality. As far as I can tell my computer, an iMac running Mac system OS X 10.10.1, does not recognize the .pl format. Is there any way to get Firefox to automatically convert a downloaded file from .pl format to .pdf format? My friend tells me that Google Chrome downloads these documents with no problem. I would prefer to stick with Firefox but I might have to change if every downloaded document is in an unreadable format.
    This is a typical example of what I get when I try to open a .pl document (the pdf version is a one page document using plain English):
    =====
    %PDF-1.5
    %‚„œ”
    2 0 obj
    <</Length1 15628/Length 10121/Filter/FlateDecode>>stream
    xúÌ{i`U∂9∑™∫;kWoYÈtuöK“ÑR@“ F!,Å$ñêÑÑd Ç䆆¢≤)
    ¢Ääƒet\FeûN࣌∆y3"ÈÔ‹Í|Ûæ˜˝˙˛LUNü{œ›Œ=€=∑i

    HI jlawrence1,
    Is it possible to associated the pl file mimetype with an application? [[Applications panel - Set how Firefox handles different types of files]]

  • Is there a way to get ACR to appear in the "Open With" drop down menu?

    Hi,
    Is there a way to get Adobe Camera Raw to appear directly along with CS3 in the Mac's ( OS 10.4.11) "Open With" drop down menu?

    If you installed ACR it in the right place, and are targeting the kind of file that ACR can handle, it should be there.
    I have found that there are certain Tiff Scans that won't open in ACR but if you just Duplicate them in Bridge, and then target the Duplicate, they will then open in ACR.
    At least they do so for me.

  • Is there a way to get the actual XML string when using the JAXP SAX Parser?

    Hi All,
    I am using a JAXP SAX xml parser and am looking for a way to get the actual line of xml that is being parsed from within a content handler.
    Here's my scenario. Consider the following example xml document.
    <formCollection>
       <form name="myForm">
          <text/>
          <selection/>
       </form>
       <form name="anotherForm">
          <text/>
       </form>
    </formCollection>My hope is to validate the entire document and then insert an xml string containing each "form" element (and its sub-elements) into a map for later use. My thought was to create a String as each "form" element is being parsed (begining with the form's startElement event and concatenating until the form's endElement event is reached) and then inserting this string into the map. Is there a way to get the actual line of xml that is being parsed, rather than just the element name and attribute values?

    DrClap wrote:
    YouRang wrote:
    2. The first handler would validate the entire XML document, extract the "type" attribute from each <form> element, and place each <form> element and its sub-elements into the map of Strings, using the "type" attribute as the key. The second handler would take a <form> element and parse it into a Form object for the display. This option was the impetus for my question because it relies on the first handler being able to access the entire <form> element XML String and write it to a map.I don't see why you need the raw data from the XML document here. You should already be abstracting your data into Java classes in the first handler, instead of making the second handler do the parsing all over again.Correct, I am not referring to XForms. In this case, it happens that I am using the XML to generate an SWT ScrolledForm object and, thus, the XML element name happens to be named "form." However, the concept/design problem could apply to any type of object and the XML element could be appropriately renamed.
    My experience with XSLT is limited and I haven't done anything with it for several years. With that said, it seems that it is primarily used for generating web content, which wouldn't apply in this case because this is for a client-server application. I could be off base on this one -- if XSLT applies to much broader translations and would be more appropriate for generating Java objects than my current methodology, I could certainly look into it further.
    I apologize that option two didn't make more sense; it is difficult to explain. Yes, optimally the data should be abstracted into Java classes in the first handler. This is really an elaboration that I failed to specify when explaining option one. The problem is that the user can choose to create any number of "forms" of any type. For instance, let's say that from the File -> New menu there are options for seven different types of forms and each form is used to send completely different data. The user can select form1, select form1 again, select form4, and select form7 (or any other combination) and bring up tabs that display the different forms. The user can then enter data and submit each form separately. When the user selects File -> New -> FormX, a SWT ScrolledForm object that corresponds with FormX must be given to the display. Because SWT ScrolledForm objects do not allow a deep copy, I cannot simply read the XML <form> elements at initialization, parse them into ScrolledForm objects, and pass deep copies of the ScrolledForm objects to the display each time the user clicks File -> New -> FormX. The only simple way I see of getting a new copy of a ScrolledForm object is to reparse the appropriate XML <form> element in order to create one each time the user selects File -> New -> FormX. As such, one handler would need to read the entire XML document and parse the <form> elements into a map (or some other data structure) and another handler would need to parse individual <form> elements into SWT ScrolledForm objects. The first handler would be called at initialization and the second handler would be called each time a user clicked on File -> New -> FormX. Once again, this isn't exactly my favorite implementation... but seems the simplest given that there is no way to do a deep copy of an SWT ScrolledForm object. Hopefully that makes a little more sense. No worries if it doesn't -- I just figured I'd throw this out there and see if anyone had a better idea.

  • Is there any way to get at photos buried in collapsed collection stacks?

    Is there any way to get at photos buried in collapsed collection stacks? (without resorting to keyboard stuffing I mean)

    OK. Kludgy, potential optimisation for that suggestion:
    1) Find the top photo for each stack in that collection
    2) catalog:getAllPhotos() as per John's suggestion
    3) catalog:batchGetRawMetadata for the photos (in batches of ?) gathering uuid, and the collection equivalent of stackPositionInFolder and topOfStackInFolderContainingPhoto
    4) check for intersections between the photos found in step 1) and the top of stack photos identified in 3)
    Don't have LR 5 SDK at hand so I'm assuming there are collection equivalents of the metadata available re folder stacks, and that the batch get metadata call will be quicker than calling a method on every folder in your catalog.
    Stack handling in these SDK functions is, shall we say, sub-optimal.
    Matt

  • Is there any way to get .wav files to play on iOS devices?

    Is there any way to get .wav files to play on iOS devices? I know some apps can play .wav however I was looking to have safari load a suitable player as needed, but it shows a audio file with a line across it... and does not play the file. Any workaround? Thanks,
    Fabio

    Hi James,
    That is very helpful, thanks. However, that ends up presenting two other problems...
    Initially, the original .wav file has to be downloaded somewhere, how does one download a file from Safari to the phone and then open the file with the app? Is there any way to configure iOS to always use an app for a particular file type? How does iOS handle file types? Do you know why safari does not allow add-ons? Can I configure another app as the 'default' browser?
    Once again, thanks for pointing this out.
    Best wishes

  • So Wat to do? Is there any way to get out as a single swf file from captivate.

    Dear friends,
    I am beginner in Adobe Captivate. We have a E-learning
    project. We are using Dockers as our LMS. Previously we were using
    Flash for all. Now we are trying Captivate for better and faster
    results. I have few swf files and i inserted al files in Captivate
    and i published. So instead of getting single output, am getting
    all the swfs, skin swf and html file. Html file is accessing all
    swfs and works. But it is not working in Dockers. Single swf will
    only work in Dockers. So Wat to do? Is there any way to get out as
    a single swf file from captivate. please Help mee.
    Thanks
    Flashlover

    If 'Dockers' cannot handle a .zip file as the content and
    instead
    requires a single, uncompressed content file, then it is not
    SCORM-compliant. The SCORM specification requires the LMS to
    handle a
    'pif' file (most common is .zip) which contains the lesson
    and the
    required manifest file. If Dockers doesn't support that then
    you can't
    do SCORM-compliant content.
    Erik
    loverflash wrote:
    > Dear friends,
    >
    > We are using
    > Dockers as our LMS.
    > So instead of getting single output, am
    > getting all the swfs, skin swf and html file. Html file
    is accessing all swfs
    > and works. But it is not working in Dockers. Single swf
    will only work in
    > Dockers.
    >
    > Thanks
    > Flashlover
    >
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware

  • Is there a way of getting a "schedule view" in iCal on a mac and on iPad in the same way you can get one on iPhone?

    IS there a way to get a schedule view of events on a busy day in iCal on the iPad 2 Air and on the Macbook Pro?  I can get this view on an iPhone.

    I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks) or share some of my personal information (scanned copies of my birth certificate, passport, certificates, photos, etc.) on the web.
    If you put your info into the computer and hand it to another, you have to assume they will copy everything.
    Why are you putting scanned copies of valuable identity information into a computer than can be hacked, stolen, lost or compromised by a dirty tech?
    Have you lost your mind?
    Is there a way of finding out what activity has taken place whilst they've had it in their possession?
    No. The tech would just deny it if he did, or tell the truth which the answer would be "NO" in either case.
    The employer won't ask that sort of questions without solid proof, less they make a enemy of the employee and/or risk being sued for defamation of character.
    It's not like they bother to have a team of people watching over his shoulder that he doesn't stick a USB thumb drive of your data into his pocket to take home.
    I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks)
    If it's iTunes music, it has your personal ID embedded into the song files. Most IT techs know this though.
    I appreciate any advice you guys can offer.
    Too late now, all you can do is not worry about it.
    Take your personal info out of the machine and if you need it, burn cd/dvd copies, a few USB thumb drives, Iron Keys or self encrypting external storage drives with key and/or keypad.

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • Is there a way to get a log of the bluetooth devices my iphone has been connected to?   My Bluetooth car speaker phone was recently stolen from my car and appears to be on Craigslist.

    Is there any way to get a log of the bluetooth devices my Iphone has been connected to?  I recenly had my Bluetooth Jabra stolen from my car and now a simliar one is on Craigslist.  I'd like to give my connection log to the police before I go and see if my Iphone recognizes the device in question.  Any way to get any type of bluetooth device connection log out of my iphone?

    Your contacts should still be on whatever program you sync your iphone to (i.e. Outlook, address book).
    The iphone is not a stand alone device. It is designed to be synced with a computer. If you have not been syncing with a compatible program, then you are out of luck. Your contacts are not included in the back-up because it is meant to be synced with your computer.
    "Although iTunes backs up most of your iPhone and iPod touch settings, downloaded applications, and other information (Contacts, calendars, notes, images in the Camera Roll), your audio, video, and photo content are not included in the backup."
    http://support.apple.com/kb/HT1414

  • In previous versions of i Tunes you could highlight a song in your library and there would be a genious list on the right side of the screen showing songs like the one highlighted in the library. Now I do not get that list. Is there a way to get this back

    In previous versions of i Tunes I could highlight a song in my library and a genious list would show on the right side of the screen listing songs that were like the one highlighted. Now I do not get that list. Is there a way to get that back?

    Hi again Bob,
    I believe I've found the feature you were speaking about now. Information on the "In the Store" feature of iTunes can be found here:
    Apple - iTunes - Inside iTunes - Using In the Store from within your iTunes Library.
    http://www.apple.com/itunes/inside-itunes/2013/01/using-in-the-store-from-within -your-itunes-library.html
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Is there a way to get a version of the Garage Band app that runs on version 5.1.1?  I have an iPad 1 and can't get any higher iOS.  The App store is telling me that Garage Band only runs on iOS 7.

    Is there a way to get a version of the Garage Band app that runs on version 5.1.1?  I have an iPad 1 and can't get any higher iOS.  The App store is telling me that Garage Band only runs on iOS 7.

    Unfortunately the answer is still no.

  • Is there a way to get iCal to put the time of each event on Monthly view without going in and editing each event?

    When I enter a new event on iCal with the time, it leaves the time off of the Monthly view and in order for me to glance at the times of the day's events I have to click on each event or go into the event and edit it again putting the time on, for it to show.  Is there a way to get it to show without doing this?

    Sorry.  Only after posting did I see that this question has been asked already and the answer given.  Please ignore this post.

Maybe you are looking for

  • Used of 362 & 363 Alternative formula for condition base value in Define Procedures (Tcode obyz)

    Dear          what is the  used of 362 & 363 Alternative formula for condition base value in Define Procedures (Tcode obyz)

  • Maven giving "annotations are not supported in -source 1.3" for  @Entity

    I m using maven for spring, hibernate with jpa . When i m running comman "mvn clean install" ,it is giving error in compilation of a bean class which is using jpa annotations.The error is : annotations are not supported in -source 1.3 (use -source 5

  • OutOfMemoryError in Adapter

    Saw the following in our WL server log twice - 5 minutes before and 20 seconds before it crashed. Could this be the cause of the crash? Scanning the newsgroups, I haven't seen this exact error posted before (with the "Adapter" part) Any help is appre

  • ADT command line errors (java throws an exception)

    I'll spare you the frustration of these past 24 hours, needless to say I've read most (if not all) of the threads related to compiling a swf into a ipa.  As it is, I'm very close and can't seem to get it to compile. On a Mac: the CMD line I am runnin

  • UNable to Download Adobe reader files

    I have the free Adobe reader.  Back about four months ago i started having trouble downloading and reading PDF files They would come up as Nitro tabs.  When i cliked on them they would ask how i wanted to download, as pdf, Html, download. No matter w