[ADF 11.1.1.4.0] How to know selected the number of lines without writing a bean

How to know the number of lines selected in ADF Table with EL Expression. We have estimatedRowCount (which gives the number of rows in the table) but I use cases where I want to activate a button (lets say 'Show' button) only when the selected row counts is '1' (not less or more) without writing ManagedBean.

You can follow my previous suggestion with a little change in the EL IE, without backing bean comes directly set table in the backingBeanScope instance.

For example.
#{! (backingBeanScope.t1.selectedRowKeys.size eq 1)} (notice no backing_table)

and bind the table binding property #{backingBeanScope.t1}

With the above code, there is no need to have a bean reinforcement or all java code, table instance will be called directly from backingBeanScope

Sample:


.
.


   

Jean Lou

Tags: Java

Similar Questions

  • How Oracle 'row_limiting_clause' for the number of lines. percent for HUNDRED lines works in Oracle 12 c?

    Platform: Windows 7 x 64 database: Oracle Database Enterprise Edition Release 12.1.0.2.0 12 c - 64 bit.

    How row_limiting_clause Oracle to rowcount. percent for HUNDRED lines works in Oracle 12 c?

    Row_limiting_clause Oracle is acting funny. In the code below, the 'fetch_test' table has 10 rows

    Case 1 When using row_limiting_clause with first extract 0.5 lines only I get, no line selected

    Case 2 When use the row_limiting_clause with the first rows only 5 percent clause I get,1 row as output.

    This means case 1! = 2 cases [0.5! = 0.5 (5 percent of 10 lines)]

    SQL > select * from fetch_test;

    COL1 COL2

    ---- ----

    1A

    2B

    3 C

    4 D

    5 E

    6 F

    8: 00

    5%

    : j

    10 J

    10 selected lines.

    case 1:

    SQL > select col1 from fetch_test

    2 first extract 0.5 lines only;

    no selected line

    case 2:

    SQL > select col1 from fetch_test

    2 extract the first rows of 5 percent;

    COL1

    ----

    1

    1 selected line

    What Oracle Documentation has to say,

    https://docs.Oracle.com/database/121/SQLRF/statements_10002.htm

    If the number of lines has a fraction, then the fractional part is truncated. If the number of rows is NULL, 0 rows are then returned.

    This explains the case 1, but I can't find any possible explanation in case 2 in my example above. and there is no mention on percentage clause in the Oracle Documentation.

    Already asked on stack - overflow.but I got the answer regarding "assumes percent Gets the cycle of 5% to 10%.

    No idea why Oracle doing what they do on the documentation!  I hope that now you have the answer: a rest (when you use percent in the line limiter) will ALWAYS return a number integer, rounded upward.

  • Is it possible to change the number of lines to display in the query of the adf?

    Hello

    is it possible to change the number of lines that appear in a query of the adf that is similar to a form of the adf?

    I need about 5 lines per column rather than display all the fields in a single column to display? Thank you.

    Hello

    What do you mean that it didn't work? Attributes of how you have in the Panel of the query? Maybe you have fewer number than the combination or lines and the properties of the argument maxColumns attributes.

    Try again with

    and see if you are able to get everything under a single column. If you get, play with these two properties to get the desired result.

    Arun-

  • How can I determine the number of contacts that I have

    How can I determine the number of contacts that I currently have on my iphone

    I don't know of a way on the iPhone, but if you have a Mac, you can go to the Contacts (platform) app and scroll to the bottom where you will find the total.

    Same for iCloud.com on your browser, go to the app, scroll down.

  • How can I find the number of pixels is in my photos of the ipad? I sell on ebay and they have new requirements for the photos. 500 pixels on the longest side. Is it possible to increase the pixels on already took pictures?

    How can I find the number of pixels is in my photos of the ipad? I sell on ebay and they have new requirements for the photos. 500 pixels on the longest side. Is it possible to increase the pixels on already took pictures?

    See if this application works for you > https://itunes.apple.com/us/app/image-size/id670766542?mt=8

  • I have an iPhone 6 and use Verizon as my server. How can I increase the number of rings until it goes to voicemail?

    I have an iPhone 6 and use Verizon as my server. How can I increase the number of rings until it go to voicemail?

    You can not. There is no adjustment to make on a phone. In fact, it is not based on the number of rings, it is a problem of synchronization based on the parameters of the call. You can contact Verizon to see if they can increase at that time here, but even if they can, it won't be much, only a few seconds if they do at all.

  • How do you find the number on a mid 2009 MacBook AIR

    How do you find the number on a mid 2009 MacBook AIR

    Serial number? Model number?

    https://support.Apple.com/en-us/HT201665

    https://support.Apple.com/en-us/HT201300

  • How to wake up the iphone 6 sec without pressing any button

    How to wake up the iphone 6 sec without pressing any button, which will help you maintain your buttons on the iPhone. Please let me know if you have any ideas on this subject. Thanks in advance.

    You do not have.

  • How can I limit the number libraries which is to find Photos

    How can I limit the number libraries which is to find pictures?

    I have about 10 libraries I've migrated opening today.

    I followed the advice I got from leonie, (level 10) below.

    Photos will create a new library of Photos in your iPhoto library.  The new library will be named as the iPhoto, with the extension ".photoslibrary" library and your original library will have a new file name extension ".migratedphotolibrary".  Rename the resulting ".photolibrary", so you will always be able to open in Aperture. The icons of libraries will change also. New photo library will display an icon of 'fan photos' with the flower of the Rainbow.


    So, I have now two files in my folder "Images".   One is called "Photo library" (these are ALL of .photoslibrary) the other is 'BACKUP ONLY iPhoto libraries' (these are ALL of .photolibrary).

    When I hold down the option key and start the Photos is to find all the libraries of two files above. How can I say Photos don't not to look in the old folder "iPhoto library"?

    This isn't a feature of Photos

    You can request that Apple itself - http://www.apple.com/feedback/photos.html - but not, it is not an option

    LN

  • I changed my phone number, but I can't update the 'ACCESSIBLE AT' number on my Apple ID account Please can someone explain how I can change the number of 'ACCESSIBLE AT', to update my account with my new number?   Thank you.

    I changed my phone number, but I can't update the 'ACCESSIBLE AT' number on my Apple ID account Please can someone explain how I can change the number of 'ACCESSIBLE AT', to update my account with my new number?

    Thank you.

    Try going into settings > FaceTime and turn off FaceTime. Then go to Messages and turn off iMessage.

    Turn off your phone and then new.

    RETURN to FaceTime and turn it on again, even with iMessage. He has to try to reactivate and your new number should appear (you can see this more down in the addresses to send & receive). You may need to log into your Apple ID for this operation.

  • How do you control the number of cycles showed on the chart

    How do you control the number of cycles showed on the chart?  I selected a graph of scanning, and I do not see the bar vertical chart when the program runs.  This is probably because I don't see the whole cycle of the periodic signal I try to display.  I need to set the graph to display several cycles.  Any help will be greatly appreciated.

    Right-click in the list and set the required number of points in the history buffer (right-click... length of the graphic history...). Then set the x axis not autoscale and cover your historical range complete.

  • How can I learn the number of copies that were printed on my HP 8600 printer?

    How can I learn the number of copies that were printed on my printer HP 8600 (model CN578A)?

    I would like to see how many copies I'm actually contained in the inkjet cartridges - especially the less filled 'starter' cartridges that came with my new printer.

    Hi timeoffbob,

    Welcome to the HP Forums! I see that you're wondering, how do I know the number of copies that were printed on your HP Officejet pro 8600. I'm happy to help you!

    Please take a look at printing a status report. On the report, it will be number of printed pages. Printing a Test Page.

    Hope that answers your question and have a nice day!

  • How can I control the number of clients connecting to one or more access points?

    Hi guys,.

    I am using several access points LWAPP/CAPWAP (1010, 1131, 1142) connected to the 4400 series wlan controllers (OS Version 4.2 and 7.0).

    Regarding the client connection to access points, I have several questions:

    1. extent to which clients can connect to an access point (maximum possible vs recommended)?

    2. can I limit the maximum number of clients connecting to the access point in the gui controller? I found how to configure thresholds for sending traps when a number of clients connected to an access point is reached.

    3 How can I balance the number of customers between two adjacent ap, who use the same SSID?

    Best regards

    Thorsten

    Hello

    1. extent to which clients can connect to an access point (maximum possible vs recommended)?

    YEARS-

    Here is the link for possible Maximum...

    http://www.cisco.com/en/US/docs/wireless/controller/7.0/configuration/guide/
    c70ccfg.html#wp1085099

    Recommended , Not more than 20 clients per AP.

    2. can I limit the maximum number of clients connecting to the access point in the gui controller? I found how to configure thresholds for sending traps when a number of clients connected to an access point is reached.

    YEARS - here's the software bug that we had raised with the development team of thre...

    http://Tools.Cisco.com/support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtj94508

    Symptom:

    There should be a way to limit the number of wireless clients that can associate to a lightweight AP.

    Conditions:

    Workaround:

    3 How can I balance the number of customers between two adjacent ap, who use the same SSID?

    YEARS - you can configure the feature aggressive load balancing across the WLC, it can help...

    Let me know if that answers your question...

    Concerning
    Surendra
    ====
    Please do not forget to note positions that answered your question and mark as answer or was useful

  • How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    I have only:
    D: / images (where are necessary + not need files)
    -a list with only the necessary files
    -a list with new names for the files needed
    Thank you.

    Hi Pustiu,

    Thanks for posting in the Microsoft Community.

    You want to know how to select the files in a folder using a list with the files you want and after that rename only the files using another list with desired new names.

    I would have you post your query in the TechNet forums because it caters to an audience of it professionals.

    Your query will be better addressed there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

    We know if you need help. We will be happy to help you. We, at tender Microsoft to excellence.

    Thank you.

  • How can I track the number of pages that have been printed?

    How can I track the number of pages that have been printed?

    I have a HP Officejet Pro 8500 has more and I'm ptinting since a Mac Pro OS10.7.3 running.

    From the home screen, press the right arrow, and then select Setup.

    Touch of the reports, and then select Printer Status Report.

Maybe you are looking for