Get the value of the record in the table and set the Disabled property...

Hello! I have the table in my JSPX page. I search for records and that you press one of the files with a right click, see: http://my.jetscreenshot.com/2677/20120203-fas1-30kb
I put property disabled like that of my commandMenuItem:
#{row.GenResGrupa != 'true'}
But as you can see in my photo above, the disabled property do not work. Where I am wrong with my code:
 <af:commandMenuItem text="#{sampleBundle.pases}"
                                              id="commandMenuItem1"
                                              action="adfMenu_pasesDati"
                                              actionListener="#{bindings.setCurrentRowWithKeyValue.execute}"
                                              disabled="#{row.GenResGrupa != 'true'}"/> 
Please correct me! If you need further information, please let me know.

Best regards, Debuger!

Dear Debuger,

Add in your pageDef:





And in your jspx:
Disabled = ' #{bindings. " GenResGrupa.inputValue! = 'true'} '.

NOTE: no disabled = "#{row.bindings.GenResGrupa.inputValue! = 'true'} '"

Tags: Java

Similar Questions

  • How centering the legend and set its display property to block in Dreamweaver cc?

    I am a newbie to Dreamweaver and articles http://www.Adobe.com/content/dotcom/en/DevNet/Dreamweaver/article-index.html by David powers has been very useful for me.

    I followed all the instructions which he describes and wow, I am happy with myself. However, at the present time, I am on article: http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt3.html, but I'm stuck on the subtopic:

    Hair images with captions.

    Up to now, my question is: How do I Center the legend and set its display property to block in Dreamweaver cc?

    Please forgive me if this question seems so childish!

    Thank you for your assistance expected!

    Sincerely,

    Newbie

    If you look in the css file over to the figcaption css selector you will see:

    figcaption {}

    display: block;

    text-align: center;

    make-weight: bold;

    do-size: 14px;

    }

    As I don't use DW css Panel, I can't tell you how to do that through that, BUT doing it manually just open the file main.css figcaption roller and the type it as shown above.

  • How to get the XML property

    I have xml like this (generated by the Web service):

    
    A
    B
    
    

    How can I get the id value in the listview.

    Thank you

    Hi Wibi_okezone,

    It is called attribute.

    You can got id as shown below

    QDomElement e2 = nodeList.at(iDx).toElement();
    map["id"] = e2.attribute("id").toAscii();
    

    --------------------------------------------------------------------------------------------------------------------------------------------

    feel free to press the button like on the right side to thank the user who has helped you.

  • Problems with slot-shaped table and set the values of column

    Hello

    I have a problem with a tabular presentation.

    I have two tables

    P_detail and table v_master

    columns of v_master:
    v_id
    v_Name
    v_info

    columns of p_detail:
    P_ID
    p_master_fk
    p_name
    p_info

    I want to have a tabular presentation where I can store permanent data retail values. That's why I want to keep the default main column join the detail columns.
    In SQL, I can do this with an outer join:

    SELECT m.v_name, d.p_master_fk, d.p_name, d.p_info
    OF v_master, p_detail
    WHERE v_id = p_master_fk (+)

    I get the lines that exist for the master data and can add values for the columns of detail. I removed the "add lines" because that makes no sense, because the amount lines are already offered at the opening of the tabular presentation.

    Now, I want to get/save the v_id (main table) in the p_master_fk column value

    How can I do this?

    Thank you and best regards,
    Matthias

    Hello

    One approach is to use a database instead trigger. If you define a database view using the query:

    SELECT m.v_id, m.v_name, d.p_id, d.p_master_fk, d.p_name, d.p_info
    OF v_master m, p_detail d
    WHERE v_id = p_master_fk (+)

    Then, create a trigger on the view that will insert in the detail table if d.p_id is null and update the secondary table if d.p_id is not null instead.

    The Apex tabular form is then based on the view (with identifiers like hidden columns) and all treatments multirow Apex should work without modification.

    Rod West

  • Get the page property top of page on the navigation stack

    Hello world

    I have a navigation stack, and I push pages top (sometimes even several times the same page, just with a different content)

    The pages are custom pages

    Now I have the problem that I need to get a specific page in the foreground property, and the property must be referenced from the navigation pane

    so my code that looks like this:

    //****************
    //***CustomPage.qml
    //********
    import bb.cascades 1.2
    Page {
        property variant titleLabel
    
        Container {}
    }
    
    ///This code is in my navigation pane, in a function
    
    var top = navigationPane.top; //top is a custom page, CustomPage
    
    //how to reference top.titleLabel ?
    

    I can't put it, I can't get it. I guess it's because the top is an unknown class . How can I do?

    Ah, the joys of debugging :/

    Found the solution for my problem: restarted Momentics, restarted my debugging device, now it works as expected (and it costs my 3 hours of my life)

    Sorry for the inconvenience

  • I don't get the 'clear' property

    I use it, but I don't really understand...

    For example in an id #header. I'll have a floating left logo and navigation floating to the right. I will use a ' clear: both ' in #header if the logo and navigation don't collide or be under the other. It works, but how? Please help me understand this...

    If you have columns (left + right) div and footer div

    Property float are applied to your columns and if you apply a clear both to your footer, it will not allow anything to float left or right (both) to float next to it. This is the main reason why the float property exist.

    It is not a margin or a block. It is just to restore document normal flow of floating elements.

    Second, we can force an element to contain floats (photo for example).

    The best way to understand how it works, is to play with div boxes in a simple XHTML document to see how the elements react with each other.

  • Control a record into a table and then perform action

    Hello

    My requirement is to check the value of a record variable in a table. Run a set of measures if it exists and some other game instruction if it does not exist.

    The approach below gives the error:

    IF r_emp. Employee_Code NOT IN (SELECT Emp_code FROM v_old_employee) THEN

    -some actions

    ON THE OTHER

    -some actions

    END IF;

    Guide of nicely with the right approach to achieve this.

    Hello

    Here's one way:

    SELECT COUNT (*)
    IN num_found
    OF v_old_employee
    WHERE emp_code = r_emp.employee_code
    AND ROWNUM = 1;

    IF num_found > 0
    THEN
    ... - This section is made when the value is already in the table
    ON THE OTHER
    ... - This section is made when the value is not in the table
    END IF;

    The problem with your original code is that an IN subquery is exactly that: a SUB- query.  It can be used as part of a larger SQL statement only, and not as an autonomous PL/SQL operation

  • Get the Block property

    Hi all

    You know, how I would get to know if a block of data is in the database or not during execution.

    I searched on Get_Block_Property but there is no any parameter that indicates the block database is set to Yes or no.

    waiting for your quick return.

    Concerning

    Hello

    Test the property of block DML data target name. If the block is based on a table or a view, it returns the name of the table/view.

    tb_name := Get_Block_Property( 'the_block', DML_DATA_TARGET_NAME );
    

    François

  • How to get the file property

    I need to take action once a file has been modified.

    I donot want the contents of the file to vote all the time. I can't verify ownership of the file modification time.

    Can I know how to do. Thank you.

    If you don't want to make the ballot, then you need to use a reminder. How to do this depends on which operating system you are running, which is...?

    For example, on Windows, you can try to use the Windows API, as FindFirstChangeNotification (good luck with that). You can also use the .NET FileSystemWatcher class. Examples are provided with LabVIEW to show you how to make reminders for .NET. Something like this:

  • Update stmt take several hours to get updated about half million records in a Table

    Hello

    Target WC_PROCUREMENT_FS table contains about 1.3 million records and under post ETL to update stmt take several hours to update the table. I think that 3rd stmt with XX_PROCUREMENT_BI package with the function 'GET_EXCHANGE_RATE' is time consuming. Please suggest if there is a way to improve performance.

    UPDATE WC_PROCUREMENT_FS OP

    The VALUE of OP. RELEASE_AMT_FN_CCY = (SELECT SUM (OP1. PO_AMOUNT_FN_CCY) OF WC_PROCUREMENT_FS OP1

    WHERE OP1. SUBJECT_CODE IN ("PO")

    AND OP1. TYPE NO ('CONTRACT', 'COVER')

    AND OP1. TRANSACTION_LINE! = "NA".

    AND OP1. PO_REFERENCE_NO = OP. TRANSACTION_NO)

    Op. RELEASE_AMT_GBL_CCY = (SELECT SUM (OP1. PO_AMOUNT_GBL_CCY) OF WC_PROCUREMENT_FS OP1

    WHERE OP1. SUBJECT_CODE IN ("PO")

    AND OP1. TYPE NO ('CONTRACT', 'COVER')

    AND OP1. TRANSACTION_LINE! = "NA".

    AND OP1. PO_REFERENCE_NO = OP. TRANSACTION_NO)

    Op. RELEASE_AMT_TRN_CCY = (SELECT SUM (ROUND (DECODE (OP. TRN_CCY, OP1. TRN_CCY, OP1. PO_AMOUNT_TRN_CCY, OP1. PO_AMOUNT_FN_CCY * nvl

    (XX_PROCUREMENT_BI. GET_EXCHANGE_RATE (OP1. FN_CCY, OP. ((TRN_CCY, 'Corporate', OP.GL_DATE), 1)), 2))

    OF WC_PROCUREMENT_FS OP1

    WHERE OP1. SUBJECT_CODE IN ("PO")

    AND OP1. TYPE NO ('CONTRACT', 'COVER')

    AND OP1. TRANSACTION_LINE! = "NA".

    AND OP1. PO_REFERENCE_NO = OP. TRANSACTION_NO)

    WHERE OP. SUBJECT_CODE IN ("PO")

    AND OP. TYPE ('CONTRACT', 'COVER')

    AND OP. TRANSACTION_LINE = "NA";


    Thank you for your help.

    Thank you

    Jay.

    Hi Jay,.

    Try this.

    MERGE IN wc_procurement_fs op

    USING (SELECT op1.po_reference_no, SUM (op1.po_amount_fn_ccy) c1,

    SUM (op1.po_amount_gbl_ccy) c2,

    SUM

    (ROUND

    (DECODE

    (op.trn_ccy,

    OP1.trn_ccy, op1.po_amount_trn_ccy,

    OP1.po_amount_fn_ccy

    * NVL

    (xx_procurement_bi.get_exchange_rate

    (op1.fn_ccy,

    op.trn_ccy,

    "Corporate."

    op.gl_date

    ),

    1

    )

    ),

    2

    )

    ) c3

    OF wc_procurement_fs op1

    WHERE op1.subject_code IN ("PO")

    AND op1. TYPE NO ('CONTRACT', 'COVER')

    AND op1.transaction_line! = "NA".

    GROUP BY op1.po_reference_no) CBC

    WE (op1.po_reference_no = op.transaction_no)

    WHEN MATCHED THEN

    UPDATE

    SET op.release_amt_fn_ccy = src.c1, op.release_amt_gbl_ccy = src.c2,

    op.release_amt_trn_ccy = src.c3

    ;

  • Deleting records from a table and trying to retrieve those

    Hello
    is it possible to recover the table deleted after validation of the track file, if so how? Once again I have to synchronize back to the database once the table is retrieved.

    Reverse GoldenGate utility.

    details on this forum.
    Reverse GoldenGate utility
    Golden Gate can be a lever to make point in time recovery for MySql?

  • Error: ORA-16757: failed to get the value of this property

    Hi all
    I have an error:
    DGMGRL > see the database dbname_stb LogXptStatus;
    Error: ORA-16757: failed to get the value of this property
    I check:
    DGMGRL > see the configuration;

    Configuration - dbname_dg

    Protection mode: MaxPerformance
    Databases:
    dbname_pr - primary database
    dbname_stb - physical of the standby database

    Fast-Start Failover: DISABLED

    The configuration status:
    SUCCESS

    drcdbname_stb.log:
    RSM0: Received the request the property Get: rid = 0 x 01010000, pid = 54
    2012-10-17 15:21:14.702 of database Resource: get the LogXptStatus property
    RSM 15:21:14.702 2012-10-17 error: trying to interview a 'LogXptStatus' primary type property on a standby database resource.
    2012 10-17 error 15:21:14.702 database resource GetProperty (16501,16757)

    I don't understand this error?
    Thank you all.

    Take a look on this

    Re: ORA-00254 | Trouble with dataguard

  • How to get the value of a component within a Repeater using the identifier of the component?

    Hello I am on a Repeater with a httpservice as dataprovider.

    in this relay, I have a < mx:Panel > that contains a < mx:Text > < mx:ButtonBar > and < mx:HSlider >.

    I need to get the text property of the text element and the value of the HSlider when changed the slider value. (using the "change =... ("my HSlider property).

    How to do what I need to know what Panel, HSlider, and whose text has been activated by the change of cursor?

    Thanks for your help

    This could help you.

    
    
    
    
      
        
       
    
      
          
          
      
    
    
  • Get the number of inserted records

    Hello

    I am moving from 6.1 to 8.0 and have found a query that runs in 6.1, but not in 8.0, and I wonder if there is a solution for this.

    What I do is to insert multiple records in a table and using @@rowcount to see the number of inserted records, this code has worked at 6.1 but the 'qry' variable is not defined in 8.0. Any help would be appreciated, thanks.

    You must use SET NOCOUNT to remove the number of records returned by the insert statement

    SET NOCOUNT ON
    INSERT INTO emp
    SELECT, l_name
    Candidates
    WHEN hiring = 1

    SELECT @@rowcount AS NumberOfRecords
    SET NOCOUNT OFF

  • AF:table - change disabled property of input text according to the value of the attribute line

    Hello

    I use Jdev 12.1.2.

    I have a table with the number of lines.  Each line has a FutureCode attribute and other attribute FutureComments.  I want to make sure FutureComments is disabled unless the FutureCode of this line is is 'OTHER '.

    I tried to go to the text of the FutureComments component in the table and setting the property to the expression for disabled:

    #{row.bindings.FutureCode.inputValue == 'OTHER'? false: true}

    But it does not work.  I messed around with the parameters in the table (distribution of content, immediate change), but I did not get a configuration so that it can work.

    A little more information, the text input component are always disabled.  I also tried using the expression evaluator in the debugger to check the value of my #{row.bindings.FutureCode.inputValue}, but it is null, no doubt because he does not know what line I'm talking about.

    Any idea on this?  Thank you.

    Hello

    There the lov on future code?

    will not have operator you used? Try

    #{row.bindings.FutureCode.inputValue! = 'OTHER'}

    If this does not work

    Try

    #{row.bindings.FutureCode. attributeValue ! = 'OTHER'}


    Thank you

Maybe you are looking for

  • Only 30 seconds to send files to computer because I activate bluetooth

    Can I send files to my computer, but just as soon as I turn on my bluetooth stack. I have the latest version of Toshiba and a Tecra 9100. If I turn on my bluetooth stack I must be quick at sending the files on my computer to my mobile. Within 30secs

  • Label and legend chart Question

    I must be missing something because I can't the small white boarder to disappear from the gauge label and the legend.  I tried each property node option - except apparently the right pair.  Can someone help get rid of the white border around 'PERCENT

  • Exception Index clustered to the rule

    Through my research, the ideal cluster index must be a column narrow and unique.  We are currently on SQL Server 2012 and have a configuration database for merge replication.   I am trying to add a new table, StoreOPenDocuments, to our database.  I'm

  • Pls help, flashing gone bad :(

    Could someone help me, I tried to Flash my phone & something has gone wrong. Downloaded the firmware french & Flashtool To be precise, I have connected my laptop by usb by pressing vol-, the green light appeared & it showed that my phone is connected

  • Multiple display (cloned monitor) and THE screen is pink.

    I'll try to clone my desktop on another monitor and my normal computer screen is the right color but the other monitor is ROSE! I checked the connection, and it is secure, ideas please? Appreciated :)