Question about the use of SortableModel with ADF Table

12.1.3 jdev

I create a SortableModel containing a list of my QueryRetrieverResultRow object.

QueryRetrieverResultRow object has a map of QueryRetrieverResultColumn object with the key of the QueryRetrieverColumnMetaData object.

I am capable of sortablemodel is displayed correctly.

My problem is the sort by column. I don't know if my sortable model is sortable. I don't know what I should use for sortProperty for my column.

When I click on the up/down arrow on my column, I get this error. "Shipping ID" corresponds to the column label, I clicked.

< 9 October 2014 12:37:12 PM PDT > < WARNING > < oracle.adfinternal.view.faces.context.RichExceptionHandler > < BEA-000000 > < ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase 5 of INVOKE_APPLICATION

javax.el.PropertyNotFoundException: the class 'glog.fusion.common.model.QueryRetrieverResultRow' has no property 'ID expedition ".

at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:723)

at javax.el.BeanELResolver.getValue(BeanELResolver.java:351)

at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

at org.apache.myfaces.trinidad.model.SortableModel.evaluateProperty(SortableModel.java:262)

in org.apache.myfaces.trinidad.model.SortableModel.access$ 100 (SortableModel.java:50)

to org.apache.myfaces.trinidad.model.SortableModel$ Comp.compare (SortableModel.java:558)

to org.apache.myfaces.trinidad.model.SortableModel$ Comp.compare (SortableModel.java:516)

to org.apache.myfaces.trinidad.model.SortableModel$ Inverter.compare (SortableModel.java:630)

at java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)

at java.util.TimSort.sort(TimSort.java:189)

at java.util.TimSort.sort(TimSort.java:173)

at java.util.Arrays.sort(Arrays.java:659)

at java.util.Collections.sort(Collections.java:217)

at org.apache.myfaces.trinidad.model.SortableModel._sort(SortableModel.java:439)

at org.apache.myfaces.trinidad.model.SortableModel.setSortCriteria(SortableModel.java:299)

My jsf code is like that. viewScope.FinderBean.resultModel is a SortableModel.

< af:table var = 'row' varStatus = "rowInd" rowBandingInterval = "0" id = "t3".

value = "#{viewScope.FinderBean.resultModel} '"

rowSelection Binding = "#{viewScope.FinderBean.dynamicSearchResultTable}" = "multiple" "

partialTriggers =': b2 ">"

< af:forEach items = "#{viewScope.FinderBean.searchResultColumnMetaDataList}" = "colMetaData" var "

varStatus = "ind" >

< af:column sortable = "true" sortProperty = "#{colMetaData.label}" = "no style" rowHeader "

"headerText =" #{colMetaData.label} "id =" c# {ind.index} "width =" #{colMetaData.width} "rendering =" #{not colMetaData.adfHidden} ">" "

< af:activeOutputText value = "#{row.searchResultColumns [colMetaData]}" id = "aot1" / > "

< / af:column >

< / af:forEach >

< / af:table >

Thank you.

Michelle

I end up creating my own SortableModel the same class by changing org.apache.myfaces.trinidad.model.SorableModel to implement comparator code to meet my needs.

And in my jsff ManagedBean code, build my own SortableModel and page jsff, sortProperty attribute to use to pass sorting information.

Now, I can click on the arrow to sort the columns up and down.

Tags: Java

Similar Questions

  • Question about the use of foil with HARD drive

    Hi all
    Please can someone tell me what a sheet of aluminum covering the hard drive for laptop for?
    I guessed that it's temperature.
    But some information I found says the opposite.

    "
    My Seagate hard drive hot enough during long extensions CD writing/Back Up...
    Everyone recommends the use
    the foil of Food Grade to dissipiate heat?
    In my experience, things hot wraped in paper Aluminium gets cooled quite quickly... »

    My old man was a problem of partition table, I got a new and reluctant to cover it with a sheet.

    What do you think about this?

    Sombatk

    Hello

    I have replaced several hard drives on some laptops but I have never used any further papers of aluminum and I have no problem with the temperature.
    In my opinion, it is not necessary.
    The cooling modules must be able to manage the temperature of the HARD drive.

  • Question about the use of sharing with several pools of resources

    The design of our environment vSphere has several pools of resources at the root, each series 'Normal' value stocks, and if the resources tab shows that each resource pool '% of the shares' value of 3%.

    However, some resource pools have 50 + VM and others have only 1 or 2.

    Is someone can confirm that this is wrong and that should have a pool of resources with more than VM have a proportionately higher value of action?  This assumes of course that all the resource pools are of same priority (be they makes me wonder why we use pools of resources at all... but that's another issue)

    The reason why I ask is that the 'worst deal allocation' is for memory and CPU is much higher on the pools of resources with multiple virtual machines, so it's obviously something in the algorithm of resource allocation that is aware of the total number of virtual machines in the pools. Resource pools are defined as extensible and I'm assuming that this "worst case allocation" would go down considerably as the cluster approached his ability, but I wanted to check before starting to change things...

    Welcome to the Forums - you are right to worry about this situation - check on http://www.yellow-bricks.com/2010/02/22/the-resource-pool-priority-pie-paradox/ for description - but don't worry Duncan also has a solution - http://www.yellow-bricks.com/2010/02/24/custom-shares-on-a-resource-pools-scripted/

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • A few questions about the use of data and Cliq

    I have the cliq, however I chose to not get 3G (so I bought full fare). So I have a few questions about the phone and the use of 3G / 2 G/Edge:

    1 - is possible to disable completely the 2G / 3 G/Edge? I know you can switch between them, but are anyway just tell the phone to stop using them altogether since I'm not subbed to the service?

    2. when the update takes place, I guess we'll have to reconnect motoblur and etc, but if I don't have 3 G will I have motoblur connection problems after the update? Or he keeps the latest wifi settings so that it would connect to wifi to connect. When I first got my phone it was not a problem b/c I had 3G for the first month.

    I hope that makes sense, thanks!

    To stop all the data, I would like to download an application called APNDroid. He cut them all down. When you log on to blur you have 3G or WIFI doe this without getting a timeout error. During the process of setting up your Blur account, you can press the menu button and set up your wifi to work, this will connect you to Blur and your phone will be connected to the blur. If I were you I would be rethinking to do a data plan since you are really losing out on most of your main features of phones. It's your choice, however.

  • I have a power shot sx HS 40 &amp; need information about the use of filters with this camera? Thank you ~.

    I have a power shot sx 40 & would like information on the use of filters with this device?

    Thank you ~.

    Hi Rainlily,

    You will need the # model Canon adapter filter f-DC67A to use filters on this camera, which costs about $25.00. Bower makes one for about $9.00 available in B & H and Bower products work well with the Canon. This adapter uses 67 mm filters. If you have not yet all filters, I would recommend Hoya or Tiffen filters as they are of high quality at reasonable prices. Do not get the expensive filters because in general they can cause color casts that may be difficult to view the process on. Have fun!

    Steve M.

  • Questions about the export of PDF with India CS5.5

    Hey all,.

    A few questions about the export to PDF of the most recent version of India.

    First of all, I noticed it seems to take much more time to access a PDF file. Any suggestions about how to speed up the process? It took 8 minutes to generate a PDF low resolution (for printing) of a document of 24pp with placed images and vector graphics. Wow, that's a long wait, especially for evidence.

    Second, the background task... If I get it will make this PDF of 8 minutes and then more work on the document, which is exactly in the PDF? Usually, I have save before making a PDF or printing. Thus, the latest version is saved which will be in the PDF?

    (Either incidentally, this ability to work on the doc while generating a PDF file seems kind of weird. Generally, we do a PDF for proofing, or even for printing, when any changes have been made and that everything is "final". Therefore, I see no advantage in being able to work on my document while it is making a PDF file, I am probably once your revisions for the moment. I must say that I like the progress bar that you get when you perform an interactive PDF, as you know that you can not work on the document when it is on the screen...)

    Thank you as always.

    Good, people. Wanted to just follow this and post my results. It turns out that the problem is somewhere in the Illustrator file. I never had the time to guess what work plan was the culprit. Other India files PDF files is transparent and not a lot of time.

    No resolution, unfortunately, just good to know that it is not all India files on my system. Phew!

    THANK YOU for your advice.

  • Question about the use of with Satellite A200-10W USB network card

    Can I possibly use a wireless-G USB network adapt to my Satellite A200-10W [with Wi - Fi Finder]? Pls advise. Thank you.

    Hello

    Why not? Surely, you can use this stick with your machine. Just put em in a USB slot, install the drivers and then let go! :)

    If you have any other questions, then just ask.

    See you soon

  • questions about the depth of Panel with little information in Photoshop

    I was looking at the Info Panel (Windows > Info) in Photoshop CS 6 recently and have a few questions about what I see here.

    1. on the information panel, the RGB values range from 0 to 32768 (15 bits) if I'm using 8-bit or 16-bit.  Why 15 bits?  It is a 2s complement thing?

    2. sometimes I see the CMYK values given as % or 100%.  Sometimes I see the number given with a point of exclamation, i.e. 100!.  I don't know what conditions cause the exclamation points.

    3. If I add a Hue/Saturation layer, the RGB values will display as two numbers, i.e. 32768/32768.

    4. If I'm in 16-bit mode, the info panel displays values of 0 to 32768 as shown above, but if I go to a Committee of color selection, values are between 0 and 255.

    5. my camera has a 14-bit A/D per channel.  If I load a RAW image from this camera in 16-bit mode, photoshop place the 14 bits in the money services businesses?  In 8-bit mode Photoshop just truncates the LSBs?

    I'm not having a problem with this, I just want to understand what is happening.

    Thanks for any idea that you can provide.

    Kevin H.

    Q #1, is 15 bits for faster computations and provide a precise integral environment.

  • Question about the use of secondary indexes in application

    Hi, I'm a newbie to Berkeley DB. We use Berkeley DB for our application that has tables in the following structure.

    Key to value1 value2
    ------- --------- ----------
    1) E_ID-> E_Attr, A_ID - where A_ID is String for example. A_ID = A1; A2; A3
    -where E_ID is unique but for example A1 or A2 may be part of multiple F_VITA say E1, E3, E5 etc.


    So my question is that it is possible to create secondary indexes on individual items of Value2 (e.g., A1, A2 or A3)?


    Another question, lets say we have two tables

    Key to value1 value2
    ------- --------- ----------
    2) X_ID-> X_Attr, E_ID

    E_ID-> E_Attr, A_ID - where A_ID is String for example. A_ID = A1; A2; A3

    In this case, can create us E_ID as a secondary Index but with primary Table-> E_Attr, A_ID E_ID?

    While X_ID given, we can get the chronogram, E_ID-> E_Attr, table allocation A_ID?

    Don't know if its possible.

    Thanks for reading.

    (1) when talking about data & Index, I was referring to READ ONLY BDB with no. UPDATES where you download entire files allows for example on a weekly basis. In this case, I believe that the data will be stored directly in the tree. It will not be stored in the transaction as such logs. This hypothesis is correct?

    # Storage I is nothing other than a transaction log. Read the white paper, that I mentioned.

    (2) and about the Garbage Collection operation, I meant BDB 'Cache éviction' algorithms. Sorry I have not communicated before.

    I use an LRU algorithm. What do you need exactly to know, that you can not get the doc?

    -mark

  • Question about the use of the Satellite Pro A60 fan

    Hello

    I intend to get a Satellite Pro A60 and I was wondering how much the fan turns on.

    Could someone comment if the fan turns on when the machine is totally inactive, and how he lights up when the machine is used for word processing and surfing the web?

    For example, when using normally does the fan turn on 1/10th of the time, or 1/2 time etc.?

    Thanks in advance,
    Pete.

    Hello

    Sorry I can't give you specific information about the cooling fan. A60 is known to me. It's a very nice laptop. Cooling vent is in reverse I am a pretty that there is no background noise.

    If you make the decision to buy it, look at what the capacity of the HARD drive is too high and that the DVD-ROM can burn a lot of different formats (DVD Super Multi drive).

    Have lots of fun with it.

  • Questions about the use of the battery and power on the Satellite L30-134

    Hi all!
    I have again L30-134. The questions are:
    -May this work of his power without battery installed on the computer?
    -a this model to charge the battery in time to work on machine plagged to supply AC circuit?
    Kind regards
    Andrew.

    Hello

    -As you know, if the battery is faulty you can always use your laptop with AC power only. Answer is: YES.
    -Here, I agree with explanation s chain. The battery will be recharged but slower.

  • Confused about the use of accessors with classes.

    With a new assignment thought, it would be appropriate to increase the use of labview OO features. In my case, I'm trying to use a class to contain a bunch of different calculations. The calculations require multiple entries to finish so I built a control to take care of these data. My plan was to build separate methods for each calculation. This will allow to easily add new calculations and considering that many calculations depend on preliminary calculations seem to be an excellent opportunity to learn a new part of labview.

    My problem is to find an elegant way to complete this great control; I believe that I must write accessor vi to allow outside access to the objects. I don't know if there should be one vi for EACH parameter accessor, or if I can access these items in a cluster.

    I can only relate to the use of get / set in .NET and usually I would write one for each variable that I have access to. I'm not sure how to proceed in LabView. Any ideas would be great.

    I enclose a few images. One showing just a sumple calculation and one of my ctl. Still, my main question is what is the best way to populate the items in this list.

    -Chris

    Since there is no such thing in LVOOP as public members of class (and thank God / NOR) you must always provide accessors (getters/setters) to join the data members of the class outside of the classroom.

    Inside the method of class VI, there is no need for them since you can reach directly from the wire with bundle/unbundle (like photos).

    I've implemented a similar class that performs calculations and I chose to use the recursive calls to deal with the problem of some variables must be calculated before the others.

    I'm a member of the VI class called GetCalculatedVariable.vi which takes the name of the variable to calculate input (like typedefed enum).
    Inside of this VI have a structure dealing with a box for each variable that can be calculated.

    The inside of the box, I define the calculation, and if I ever need another variable, I here call GetCalculatedVariable.vi recursively.

    In addition, I also have a CalcBuffer so I don't have to call GetCalculatedVariable.vi more than once for each variable.

    The class also has a GetMeasuredVariable.vi which also uses the recursion in the same way, but works on my measurement files instead.

    The advantage is that my application code gets very clean because it contains only a single Subvi callto obtain and use any calculated variable.

    I also have a GetCalculatedVariables that takes an VariableNames array and returns an array of values.

    I hope this helps...

  • I have questions about the use of Microsoft Windows for computer repair purposes...

    I'm about to start a computer like Geeksquad repair business. If I need to re - install Windows on computers is a specific copy, I need to get Microsoft for use of technician? I want to make sure I'm following all the recommendations of Microsoft.

    Hello

    I suggest you to post your questions in the TechNet Forums for a better answer.

    http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

  • Questions about the use of cards microSD w / the "rocket"

    Let's say I have a microSD card that is loaded with music, and it is already inserted in my rocket, indexed and working properly.  Now, let's say I have connect my rocket to my computer and add music more on the micro SD through the "rocket" card.  Can I do this without any problem?  The "rocket" then need to re-index the entire microSD card?

    How about if I delete music on my microSD card?

    Thank you

    The length of the time it takes to do a refresh is function of the number of entries or data that must be read, not the amount of memory used. Whether you have two 4 GB cards. One is full of videos or movies, maybe 2-3. The other card has 500 music files on it, but only 2 of the 4 GB are met. the card with music files will take much more time to update the "more complete" card with 2 or 3 movies.

    But the class rating is not really come into play in this update. It is based on the speed of writing on the map, and the most recent as the 16 GB only come to class 2. So I wouldn't get all hung up on that.

    To all intent & purpose, class 2 is just as good as a class 6 in these devices. There are many other discussions and no one has yet been able to prove or disprove an advantage of one over the other in use of 'real life' with the music or video files.

    Now maybe if it is used in a digital camera where the images are written to the card and you cannot take another picture until it's over. This could be where class differences are more apparent.

  • questions about the uses of flash cs6 and the code that it exports VS. switch to other tools

    I looked at the overviews on the new version of flash and I did experiment a bit with muse and edge of adobe. I have also heard the announcement Friday 4.1 android devices will run is no longer the flash player. my questions are:

    1 does flash cs6 fuction basically the same design-wise, but when it comes to export the file, the code a combination of html and javascript rather than in a solid swf file as it was currently publishing my work as?

    2 East edge meant to supplement flash? or he will take some of the uses of the flash so edge can publish for flash and mobile devices will remain in the area of desktop applications?

    3. If I created full-flash sites in older versions of flash, can I import in cs6 and make them exported as functional across all devices?

    I guess that, overall, just trying to get an overview here so that I can decide how to move forward and what to focus on.

    Thank you!

    1. Yes. The Toolbox for CreateJS is an additional downloadable extension for Flash CS6. He's going to post html and js files that will provide the animation rather than the swf file that you would normally publish. The success or failure of the version of javascript from your animation is the result of the work within the Toolbox. You are a bit constrained in the use of the timeline in Flash for your animations. If you are only working in Actionscript, then the output will be very disappointing.

    2 edge outputs javascript, css and html for you give an animation. The user interface allows you to design within the limits of what can make the border. You can preview and adjust and adjust your animation work you. Edge is a tool of html5. It can create some animation html5. It is not a replacement for Flash. It's something that you can use to integrate the animation in html instead of Flash.

    The problems and the benefits of each are unique. It is a good substitute to learn javascript, css and HTML 5. If you don't understand the code that is created from each of these tools, you can easily end up with huge, inflated, files which improved. I'm very biased towards really knowing what is happening. If I need to change something, I want to be able to enter the code and make a change, do not add an extra piece of code to work around what was there. I don't use any of the timeline, and so nothing of what I publish using CreateJS. Well, he's going to publish, but nothing happens because there is nothing on the timeline to translate.

    You can download a trial version of Flash CS6 and try to box at tools for yourself. Edge is still in free preview, you can get a copy to http://labs.adobe.com and try to see how it works.

    Also, if you do not use the Greensock Animation with Flash platform, take a look at this. It has recently been extended to ensure similar Javascript for most libraries. http://www.greensock.com/

Maybe you are looking for

  • Decommissioning of Envy 15-j035eo

    Hello I bought the Envy 15-j035eo, didn't know it was Windows 8. For my work I needed windows 7pro. Now I have downgraded to windows 7. It works fine, but I need drivers. Can you help me with this? With respect, Wim Kooijman

  • What are the icons of power control Widget?

    I've had my Motorola Atrix HD LTE for about a week now. I have the power control Widget on my main screen so I can quickly turn on/off wifi, bluetooth, etc. There is an icon on the widget, I don't know what it controls. It is two half circle arrows (

  • HP Pavilion Notebok P: 15-p200 impossible to boot linux after installation of "successful".

    Hello I installed basic OS but I can't get the start menu I get when installing a BIOS system. I turned off safe and also tried start mode inherited without result. How can I choose which operating system to start? Used to be easy with the BIOS. Now

  • How to open the Outlook window in full screen?

    I need to know how to open my email in outlook to full size.  Currently, they open a quarter size and I must maximize their.

  • HP Laserjet M9050 MFP: Scan error Code 30.01.16

    I have a HP Laserjet M9050 MFP Firmware: 51.051.4 The printer was woking fine so far, but played upward... I get an error Scan on the screen 30.01.16 Code, have searched online and this indicates that the scanner ADF need of recalibration. Normally t