How to hide a multiple selection of the TableRegion element dynamically

Hi all

I have a requirement to hide the column multipleselection area of table dynamically. Based on the id liability multipleselection column must be disabled or hide.

I gave the following code to set the fake rendered property.

OATableBean tabBean = (OATableBean) webBean.findIndexedChildRecursive ("SearchTable");
Salt of OAMultipleSelectionBean = (OAMultipleSelectionBean) tabBean.getTableSelection ();

sel.setRendered (false);

But it's not working. Someone help me in this.

Thank you and best regards,

Myvizhi

Hello

Try using the code below:

(I found this on the blog of Mukul

Oracle of Mukul technology blog: dynamically change multiselect for single select statement in table of the OAF)

Hide Multiple selection

OAAdvancedTableBean tabBean = (OAAdvancedTableBean) webBean.findIndexedChildRecursive ("[table item id]");

Given that multiple selection is at the end, get the total-1 to remove

int count = tabBean.getIndexedChildCount (pageContext.getRenderingContext ());

System.out.println ("number of children" + count);

tabBean.removeIndexedChild(count-1);

Sushant-

Tags: Oracle Applications

Similar Questions

  • 4655 HP Office Jet: How can I fax multiple pages using the hp officejet 4500 desktop computer

    How can I fax multiple pages using the hp officejet 4500 desktop that you just bought

    can you please email me at [removed personal information]

  • How do send you multiple attachments from the mobile application?

    How do send you multiple attachments with the mobile app? I guess you don't have, yet?

    Hi Mike,.

    Thank you for your response. The steps I provided in my previous post are for Android not iOS. This functionality is not there for iOS.

    Thank you

    Abhishek

  • How to pass an xml CDATA in the string element when OSB call a webservice?

    How to pass an xml CDATA in the string element when OSB call a webservice?

    I have a business service (biz) this route to exploitation of a Web service.

    An example of this legacy Web service request:
    < soapenv:Envelope xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/' xmlns: ex = "example" >
    < soapenv:Header / >
    < soapenv:Body >
    < ex: run >
    < ex: arg > <! [CDATA [< searchCustomerByDocumentNumber >
    < documentNumber > 12345678909 < / documentNumber >
    [[< / searchCustomerByDocumentNumber >]] > < / ex: arg >
    < / ex: run >
    < / soapenv:Body >
    < / soapenv:Envelope >

    type ex: arg is a string.

    How to pass this structure CDATA webservice in OSB?

    Steps to resolve this problem:
    1 create an XML schema. For example:


    elementFormDefault = "unqualified" >


              
                   
                        
                             
                             

                        

                        
                             
                        

                   

         

         

         
         

    With this XSD, XML can be generating:


    documentNumber

    2 create an XQuery query to create a ComplexType searchCustomerByDocumentNumber. For example:
    (: pragma bea: element global-element-return = "searchCustomerByDocumentNumber" location = "searchCustomerByDocumentNumber.xsd" ::))

    declare namespace xf = "http://tempuri.org/NovoSia/CreateSearchCustomerByDocumentNumber/";

    declare function xf:CreateSearchCustomerByDocumentNumber($documentNumber_as_xs:string)
    as {(searchCustomerByDocumentNumber)}

    {$documentNumber}

    };

    declare the variable $documentNumber as XS: String external;

    XF:CreateSearchCustomerByDocumentNumber ($documentNumber)

    3. in your step in proxy pipeline add to assign the created the XQuery function call from the number of the document of your payload.
    Assign to a variable (for example: called searchCustomerByDocumentNumberRequest)

    4. create an another Transformation of XQuery (XQ) to create a request to the existing Web service. For example:
    {fn - bea: serialize ($searchCustomerByDocumentNumberRequest)}

    For more information about xquery Serialize function:
    41.2.6 fn - bea: serialize()
    You can use the fn - bea: serialize() function if you need to represent an XML document as a string instead of as an XML element. For example, you can share an XML document through an EJB interface and the EJB method takes the string as an argument. The function has the following signature:

    FN - bea: serialize($input as item()) as xs: string

    Source: http://docs.oracle.com/cd/E14571_01/doc.1111/e15867/xquery.htm

  • How to 'hide' a single stroke behind the other object?

    I'm struggling with something that shouldn't be this difficult!

    I'm planning a logo white T-Shirt only (to go on a dark green T-shirt)

    To simplify, let's say I have two ovals with no fill, just a white line.  A small oval overlapping (sur-haut of) the part of the edge of a larger (oval below).    I have

    Any advice on how to 'hide' the line which is "behind" the top object?

    As follows: http://i.imgur.com/ZghWTMa.jpg  

    Actually, I'm not completely sure yet.

    Response to Steve assumes silkscreen with a single opaque white ink. It will not work if the composite impression not opaque transfers or cut out the vinyl applied, or if you import the work of two-ellipse for combination of other works of art.

    Because you do not know:

    1. draw two circles with a stroke color and fill color (ex: feature black, white fill) on both.
    2. apply the weight of the desired race.
    3 object > path > describe stroke.
    4 pathfinder palette: merge.
    5 white pointer: select both within the regions and remove.
    6. you now have a single compound path; None of the objects that overlap and real 'holes' where you want the substrate to show through. Applies regardless of the fill color (white, etc.) that you need.

    But keep in mind what has already been said: white, unless it is defined as a spot color, does "not print." Think in terms of inks, not in terms of 'color '. In a program like Illustrator, 'white' normally means "no ink". And we must always know what printing method that you design.

    JET

  • How can I delete multiple emails at the same time?

    Is there a way to check and remove e-mails without opening them? I can just look at the e-mails and decide I want to remove open each and remove.

    There is no check box to select the messages as you can see in Thunderbird. Standard selection on the computer methods that existed for years of work.
    Here's how it works.

    https://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/windows_fcab_select_files.mspx?mfr=true

  • How to switch between multiple windows in the same application?

    Hello

    I use OS X Capitan version 10.11.13 and I'm trying to find an easy way to switch between multiple windows in the same application by using CTRL + alt or different keys.

    Here is what I feel...

    Let's say I have Outlook, Google Chrome, Safari, iTunes and apps 'about this Mac' open.

    I open the new message window in Outlook and another Chrome window. I have therefore 2 separate windows in Outlook and Chrome.

    With that, I'm unable to move the composition and the window main outlook which is so annoying. Let's say I want to read the emails by the prospect main window and transfer of the content of the compose window! The command + tab doesn't take me to the main window of Microsoft outlook! Even if there were the last visited / applications window. This constraint is not intuitive, unless it can be configured in the settings?

    Strangely, I can't switch to the "about this Mac" window.

    The work around is to use the function (F3) mission button and click on the window, that I want to use or click the "Outlook" application on the dock icon and choose the window in the list.

    Does anyone know how switch between different windows in the same application by using a key combination or one another method other than listed above?

    Thank you

    Avinash

    In general, an Application that can open multiple windows provides a "Windows menu" you can choose the window you want.

  • How can I make multiple selections in a tree by using &lt; shift &gt; click

    I feel like I'm something obvious missing here, but I searched a bit around without solution.

    I have a tree with checkboxes (ATTR_SHOW_MARKS is enabled). I am able to select multiple items in the list (ATTR_SELECTION_MODE is VAL_SELECTION_MULTIPLE). click work to select several, but my question is, when you use click it only marks (as in the boxes of checks) on the first and last items. The others are selected but not verified.

    Is there an option I'm missing here, or I don't have to write code to manually mark? If I need to write the code, is the best way to check the State KEYPRESS if EVENT_SELECTION_CHANGE?

    Thanks in advance,

    Chris

    You can try to define ATTR_DRAGGABLE_MARKS and see if it suits your needs.

    If you really want to set the status of the brand by using , then Yes, you will need to write the code to do. You can use GetGlobalMouseState to get if the SHIFT key is down.

  • How default of a multiple selection for all values setting?

    I have a setting that allows the user to select multiple values.  I want the default to use all values (which means basically just ignore this parameter in the generated SQL code).  However, I can't create named on this calculation since it accepts multiple values, and the calculation supports only the first value.  Is there a way to do what I need, without selecting all the values in the list (the LOV contains hundreds and hundreds of values so it's not a viable option).  I'm not very experienced with the discoverer and don't know all the tips/solutions workaround, if you are looking for expert advice.

    Thank you

    Hello

    You must code the parameter and the condition that he accepts the word ALL.

    For example, suppose you are working with ITEM_NUMBER and you have thousands of articles. You want the user to be able to one or more key or access all THE items.

    You must create a Boolean condition like this:

    ITEM_NUMBER IN: ITEM_PARAMETER

    OR

    UPPER(:ITEM_PARAMETER) = "ALL".

    So if the user key word ALL all all or or any variation of the word to be determined as true by the condition and all items will be selected. If the user does no key ALL, and then the other half of the condition will be applied and the element must be a valid element as contained in the list of all the elements. You can even create your parameter with a default value of all THE

    Best wishes

    Michael

  • Can a radio button or box multiple selection in the mandatory fields?

    The initial selection would be necessary, however to choose also other choices in addition to the original selection. In my attempt to install, I can select a field (required), but by selecting an extra field 'unchecked' original field selected

    Something like:

    Or the reasons for the cancellation

    Option 1

    Option 2

    Option 3

    Option 4

    In the case of use, you may choose Option 1 and Option 3.

    Hi K.Winger,

    OK, that's what I thought you wanted to do, but needed to make sure. You can't really do this using a 'game' of option buttons, or a group of check boxes for the reasons you mention, and more that you can't predict which of the available option will apply.

    If you need to do it with 2 sets of options. The first set would you do a group of requred radio buttons, the second is a group of option buttons. But of course it would be a strange layout.

    I think what I'd do it is divided into a drop-down list and a group of checkboxes. You just add therefore place a drop-down list box in the layout.

    In the drop-down list to add all options possible and assign required "."

    Then let what you already like checkboxes in option.

    You can also take it a few steps further.

    first add an additional option to the group box to check something in the sense of "without additional reasons.

    so now you can also do this group of checkboxes required and avoid people to jump it.

    you could also add conditions to the boxes.

    for starters, you can hide all the boxes and show them only when a selection has been made in the drop-down list

    also you can keep hiding the box for the option selected in the drop-down list, if you do not get a doubly selected option.

  • How can I delete multiple substitutions at the same time?

    I have hundreds of text items that are related to a paragraph style. Somehow, I accidentally changed the font on most of the objects (style always sets the correct font). Now, most of the text objects that use this style have an asterisk in the paragraph Styles Panel. I know how to clear the substitution on one object by object (i.e., reapply the paragraph style or choose clear overrides), but is it possible to do hundreds of objects (which are spread over different layers)? I thought that Select | Even | Appearance would work, but it selects objects with different paragraph styles. I was hoping that I could select all the objects and choose clear overrides, but the command is active only when an object is selected. I hope that now I don't have to go through each object one at a time...

    Thank you!

    It would be beneficial that it worked that way, but it's not. As soon as several text items or different paragraphs are selected, the command replace clear is not available. In addition, the shortcut Ctrl-Alt comply here.

    However, there is a somewhat hidden flaw:

    1. turn highlighted a paragraph which contains at least a substitution.

    2. in the actions palette, start to register a new action.

    3. go to the paragraph Styles palette menu, and run the command erase replacements.

    4. stop recording the action.

    Now select any number of text objects involving some replacements of different style and apply action. All replacements will be deleted.

    Is no consistent behaviour, of course.

  • How to hide no visible layers in the test film?

    Flash CS5

    I have a layer that I use for construction purposes, it illustrates that test movie. If I publish settings and uncheck the include layer masked under the flash tab, when I test movie, my cars don't appear along the lines of guide at all and just pop into view in the film ends.

    How does skin off layer visibility during the test the animation without affecting the guidelines hidden?

    Envirographics

    If I have a layer which acts only as a guide to ask things or whatever, what I do is right click on the layer name and select 'Guide' from the menu that appears.  It will not appear in when I use test movie

  • How to hide a clip (mc) when the. Open SWF files?

    Hello

    How to hide a clip (HideMe_mc) who is on stage, when I opened my. SWF file? The user can display it whenever he needed.

    I am using Actionscript 03: Please help me with the code.

    Thank you.

    In the first train where HideMe_mc appears that you can use...

    HideMe_mc.visible = false;  Use true to make it appear

  • How can I include multiple SELECT statements in a PL/SQL?

    I want to be able to include multiple SELECT statements in a PL/SQL script. Here are 2 of my SELECT statements. They compile them and run successfully, but when I try to run them together, I get the error: ORA-06550: line 26, column1: PLS-00103: encountered the symbol "BEGIN." Line 26, it is where the 2nd script begins. Thank you in advance for your help!

    Set serveroutput on
    DECLARE
    v_item_type VARCHAR2 (20);
    number of v_total_count;
    v_approved VARCHAR2 (20);
    number of v_apprv_count;

    BEGIN
    SELECT ITEM_TYPE, count (*)
    IN v_item_type, v_total_count
    Of
    APPLSYS. WF_ITEMS
    WHERE
    ITEM_TYPE = "GLBATCH" AND
    End_date is not null
    ITEM_TYPE GROUP;
    dbms_output.put_line ('Item_type: ' | v_item_type);
    dbms_output.put_line ('Count: ' | v_total_count);
    END;

    BEGIN
    SELECT B.ACTIVITY_RESULT_CODE, COUNT (*)
    IN v_approved, v_apprv_count
    Of
    APPLSYS. WF_ITEMS, A.
    APPLSYS. B WF_ITEM_ACTIVITY_STATUSES,
    APPLSYS. FND_USER C.
    APPLSYS. FND_USER D
    WHERE
    A.ITEM_TYPE = B.ITEM_TYPE AND
    A.ITEM_KEY = B.ITEM_KEY AND
    A.ITEM_TYPE = "GLBATCH" AND
    A.END_DATE is not null AND
    A.OWNER_ROLE = C.USER_NAME and
    B.ACTIVITY_RESULT_CODE = "APPROVED" AND
    B.ASSIGNED_USER is not null and
    B.ASSIGNED_USER (+) = D.USER_NAME
    GROUP BY b.activity_result_code;
    dbms_output.put_line (' approved: ' | v_approved);
    dbms_output.put_line ('Count: ' | v_apprv_count);
    END;

    Try this,

    Declare
       v_item_type   Varchar2(20);
       v_total_count Number;
       v_approved    Varchar2(20);
       v_apprv_count Number;
    Begin
       -- First SQL
    
       SELECT ITEM_TYPE
             ,Count(*)
         INTO v_item_type
             ,v_total_count
         FROM APPLSYS.WF_ITEMS
        WHERE ITEM_TYPE = 'GLBATCH'
          AND END_DATE Is Not Null
        Group BY ITEM_TYPE;
    
       dbms_output.put_line('Item_type: ' || v_item_type);
       dbms_output.put_line('Count: ' || v_total_count);
    
       -- Second SQL
    
       SELECT B.ACTIVITY_RESULT_CODE
             ,Count(*)
         INTO v_approved
             ,v_apprv_count
         FROM APPLSYS.WF_ITEMS                  A
             ,APPLSYS.WF_ITEM_ACTIVITY_STATUSES B
             ,APPLSYS.FND_USER                  C
             ,APPLSYS.FND_USER                  D
        WHERE A.ITEM_TYPE = B.ITEM_TYPE
          AND A.ITEM_KEY = B.ITEM_KEY
          AND A.ITEM_TYPE = 'GLBATCH'
          AND A.END_DATE Is Not Null
          AND A.OWNER_ROLE = C.USER_NAME
          AND B.ACTIVITY_RESULT_CODE = 'APPROVED'
          AND B.ASSIGNED_USER Is Not Null
          AND B.ASSIGNED_USER(+) = D.USER_NAME
        Group BY b.activity_result_code;
    
       dbms_output.put_line('Approved: ' || v_approved);
       dbms_output.put_line('Count: ' || v_apprv_count);
    End;
    

    Hope this helps,
    Christian Balz

  • How can I include multiple pages for the default homepage on statup

    When I launch Firefox, I want to show several tabs with a few of my favorite sites. Is it possible that it could be in IE?

    See

    The easiest way is to have exactly the pages you like your home page as the only pages open in the window, and then set your homepage

    • Tools > Options > general >...
    When Firefox Stats: view my homepage
    Click on "use current page (s) '

Maybe you are looking for

  • Tempered glass will ruin my 3D Touch?

    I bought my 6s soon that he was released and since I juice keeping the naked screen. I have been informed that the 3D Touch will not work if I paste the attempted glass protector! Please someone help me, will be the tactile 3D work glass or it will r

  • Knights of Baphomet - Angel of death: body 100% black

    Windows 7 is installed. When running this game, the characters are totally black. Game installed in compatibility mode for windows 98 / me.

  • LaunchSOP

    Since last week, there is an icon on my Windows XP Taskbar, which shows the label "LaunchSOP". It does not go far.I have already run the full scan of Avast, Spybot and Microsoft Security Scanner. What is it? How can I remove it from my computer?

  • How can I scan legal size documents in a Lexmark 2600 printer

    I have a Lexmark 2600 3 in one printer. I format letter scann in the dish, but I can't scan legan size because when I try to change the paper size I can't.  Change it.

  • External hard drive for use with original hard drive?

    Help I am trying to add an external hard drive to my current computer.  I got the hard drive connected, but I want windows vista to use it as if it were a part of the main hard drive.  Sorry kinda new to this so forgive me if this is a stupid questio