How to get to filled in values of a component af:query

Hello
I have a viewobject with a viewcriteria defined on it. The results are shown in a result table. When a user selects a row in the result table with detail data, a new page is shown. In this page I want to show the user filled in the attributes with values to remember the user to which correspond to the search criteria the results. How can I access attributes with values of a component of af: query?

Kind regards
André

Hi Andre,

Maybe you can try Frank approach: http://www.oracle.com/technology/products/jdev/tips/fnimphius/AdfCodingQuickies.html

I just tested for RichInputText:

    public String cb1_click() {
        parseQuery(query1);
        return null;
    }

    private void parseQuery(UIComponent component){
      List list = component.getChildren();
        for (UIComponent com : list){
         if (!(com instanceof RichInputText)){
           parseQuery(com);
         }
         else{

            if (((RichInputText)com).getValue() != null) System.out.println( ((RichInputText)com).getId() + " : " + ((RichInputText)com).getValue() );
          }
        }
    }

but the problem is with getLabel() - returns null

Kind regards

Branislav

Tags: Java

Similar Questions

  • How to get the RGB color values on the color picker component?

    How to get the RGB color values on the color picker component?

    trace (cp.selectedColor);

    Returns something like:

    16750950

    trace (key2cp.hexValue);

    Returns:

    ff9966

    I'm looking for RGB, for example, 0.5 0.5 0.5, corresponding to a gray color.

    Is there a chance that the RGB settings are hidden somewhere or is there a conversion function at least?

    Thank you.

    If key2cp.hexValue returns a string like 'abcdef', use:

    var s:String = key2cp.hexValue;

    var n: Number = Number("0x"+s);

    var r: Number = n > 16 & 0xff;
    var g:Number = n > 8 & 0xff;
    var b:Number = n & 0xff;

  • How to get the current zoom value in the ID?

    Is there a way that can get the current zoom value in InDesign?

    ZoomValue.png

    Thank you very much.

    You could glance at the widget shown in your screenshot, at least when frame MDI (?) is displayed.

    The title of the window to kLayoutPresentationBoss, IID_IDOCUMENTPRESENTATION also reflects the value.

    Probably the best would be the kLayoutWidgetBoss, IID_IPANORAMA, GetXScaleFactor() - and GetYScaleFactor()!

    I'm just trying to imagine how a document would look like if these differ from each other ;-) and, better yet, how to achieve this objective in the user interface.

    BTW, only one notification is kDocWorkspaceBoss, Protocol IID_IWINDOW, order kUpdateDocumentUIStateCmdBoss.

    Another: there's a kDocWindowTitleModifyService...

    Edit: I note once again of course IID_IPANORAMA, observable of the subject kLayoutWidgetBoss.

    Dirk

  • How to get the maximum/more value in one line?

    I have a simple table view Pivot with dollars as a measure, a month on accounts on the rows and columns.  I want to emphasize the month that has the greatest value.  For example if the market value for the revenue account is for Jan, Feb 11, 50 Mar 10 and 0 for the rest of the month, then so I want to highlight the cell that contains 50 green. So, basically, I need to be able to identify the max value in a row in the PivotTable.

    If I add a max calculation, it returns the top value in all columns and rows. A calculation of rank also returns the rankings in all the columns and rows. How can I determine the largest value in a single row?

    Thank you

    J

    In general, go through measures based on level. Just tweak it like max (income per year)

    Just do it in the criteria tab and see how it works and I still thing you know how to

  • How to display the database column value in a component of choice selected?

    Hello everyone;

    I use Jdeveloper 11.1.1.4 and right now I have the .jspx UI page that includes < af:selectonechoice / > components and according to the requirment I have to fill one of the column in the table in this drop-down list.

    can someone tell me how to fill the database column value in this drop-down list. I know I need to create the VO for the same thing, but I'm new to this technology. Then please suggest.

    Thanks in advance.,

    This will help u

    https://blogs.Oracle.com/prajkumar/entry/create_lov_in_adf_application

    How to create LOV in ADF 11 g | Techartifact

    Oracle Fusion Middleware Technologies: 11G: how to create a list of Values (LOV)?

    http://www.baigzeeshan.com/2010/03/creating-lov-in-ADF-application.html

    http://husaindalal.blogspot.de/2010/05/How-to-default-lov-with-its-first-value.html

  • Property of hierarchy DRM: EPMA. SharedDimension - how to get it filled with the values?

    We have a hierarchy of DRM, we want to push to a Dimension of sharing EPMA. In DRM, selecting the hierarchy and by changing the 'Dimension' shared property, the drop-down list box previously had values in there (some have been our shared Dimensions EPMA, but several us not the Shared Dimensions) but no longer has any selectable values. How do we get DRM to sort the list of the Shared Dimensions of our EPMA instance in the drop-down list of properties shared Dimension?

    Hello

    I could be wrong completely here, but that's what I discovered trying to look for EPMA. Property of SharedDimension.

    This property gives me drop-down list without having to do anything and the drop down menu is the list of groups available in hierarchy, but if I'm putting some values manually in the definition of ownership--> the list of values is not showing me all the values (list of groups of hierarchies and not the value created manually) in the drop-down list.

    I think that this property will not take a different list than list of group hierarchy as the Data Type defined for that property in the model of the APP is "Group of the hierarchy". Once again this property is used in the export "EPMA. E.M.P. architect Shared Library"to penetrate the hierarchies EPMA Shared Library.

    Then you can try to see if all values are entered in the definition of the property--> list and try to delete it OR to check if the required groups in the hierarchy are created in consequence.

    Let me know if it helps

    Thank you

    TFDC

  • How to get auto-fill to work for applications not not the browser

    Not as long as I am with the browser Safari, but during a phone and go to an application, any application, like Netflix when I put in my email as part of the connection that I have to type out in plenty no matter how many apps i go to, my Samsung would provide auto-fill it in when I start to type.

    Yet once, it is NOT on so that in the web browser on the internet, but on the phone using all apps.

    ?

    Thank you

    Not all applications will allow an AutoFill, but I found that I can use a shortcut of ALT text to get my email in some applications. It will depend on the application itself. I went into settings > general > keyboards > text replacement and then entered my email address, then a 3-letter code. When in some applications you can enter the 3 letter code and it will replace as my email address.

  • How to get choose a choicelist value of adf table bean

    Hello

    I use Jdeveloper 11.1.2.3.0.

    I have a table with one of the columns as adf select a list of choices. On the change of value, I want to get the selected value in the bean.

    When I use valueChangeEvent.getNewValue () in the bean, it gives me the value index.

    How can I get the value selected instead of the index?

    Thank you

    Vinod

    You can use code below in the bean to get the exact value.

    Code is the name of the field that exist in the pageDef

        BindingContainer bindingsLOV = getBindings();
        JUCtrlListBinding listBinding = null;
        listBinding = (JUCtrlListBinding) bindingsLOV.get ('Code');
        ViewRowImpl selectedListRow = null;
       

    selectedListRow (ViewRowImpl) = listBinding.getSelectedValue ();

    String _Nom = selectedListRow.getAttribute("Code").toString ();

    also check this: https://blogs.oracle.com/adf/entry/getting_selected_value_from_selectonechoice

    Habib

  • How to get the fill color of a shape or solid color fill layers?

    Hi all

    I'm trying to get the values of the fill color of a shape or solid color fill layers.

    I get the nature of the layer active i.e. SOLIDFILL, but there is no color as a property to get the color of the shape or solid color fill layers.

    Y there is it possible or a script to do this?

    Please help me on this.

    Thank you
    AI

    I didn't bother to check the type of the active layer, but if a solid color layer is selected it should help.

    // based on code by michael l hale;
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var layerDesc = executeActionGet(ref);
    var adjList = layerDesc.getList(stringIDToTypeID('adjustment'));
    var theColors = adjList.getObjectValue(0).getObjectValue(stringIDToTypeID('color'));
    var str = '';
    for(var i=0;i		   
  • Shape of the apex - how to get the primary key value manually?

    Hello

    Whenever I create form by using wizard Apex, he asks me to specify the trigger/sequence/pl/sql function to fill the primary key value.

    However, if I want to specify primary key myself (ie. undetermined generated automatically), how I can clarify that?

    Thanx

    Hello

    You mean by yourself: by hand or by a pl/sql?

    If you say by trigger, the system does not take on what number is sent. If you can give it "manually".

    May I ask what is the reason for this?

    See you soon,.

    Arnaud

  • How to get the exact measurement values.

    Hi scripters,.

    I want to get the exact values, indicated in the control panel. Please see the screenshots below.

    1.png

    I wrote the JS code is here. But I don't need values accurate Panel disclosed the clichés above.

     var myImages = app.activeDocument.links;
    for(i = myImages.length-1; i >= 0 ; i--){
        var myImage = myImages[i];
        myImage.show();
        alert(String(myImage.parent.itemLink.parent.geometricBounds[3]-myImage.parent.itemLink.parent.geometricBounds[1]) + " × " + String(myImage.parent.itemLink.parent.geometricBounds[2]-myImage.parent.itemLink.parent.geometricBounds[0]));
        }
    

    THX,

    csm_phil

    There are 12 points in a pica.

    Must divide the 12 points and fired the modulo of the 12 on that:

    function getPicas(points){
        return "" + Math.floor(points/12) + "p" + points%12;
    }
    alert(getPicas(504));
    alert(getPicas(104.16));
    
  • How to get the Radio button value after submit process

    I have a button called (P8_DELETED_RECORD) that has 2 choices (Yes and no) and would like to have my "anonymous PL/SQL block" after presenting the process run logic differenct depending on whether Yes or no is selected.

    How can I referecne the option button in the code, I tried several ways without having had no success.
    I tried:
    a. if: P8_DELETED_RECORD = "1" then
    b. if: P8_DELETED_RECORD_0 then
    b. if: P8_DELETED_RECORD_0 = 'Y' Then


    Using Apex 3.2.
    Thank you

    Hello

    Inside of your radio, what is your lov

    STATIC2:Yes; 1, none; 0

    in this more top of case, you can use the code below

    If: P8_DELETED_RECORD = 1 then
    ---
    end if

    When the value of your lov return changes in 'yes' or 'y' depending on whether you have to change the condition

    Thank you
    Loga

  • How to get auto fill translate correct spelling on igoogle toolbar

    I have been using autofill spellcheck and translate into my igoogle toolbar. the buttons have disappeared suddnly. Please help me get back them

    Hello

    I suggest you go to the support of the toolbar Google link here and use the information in troubleshooting it

    https://support.Google.com/toolbar/answer/81376?hl=en

    See you soon.

  • How to get the list in a single column in a query

    Hello.

    I wonder if there is a way to get a query (no pl/sql code) a list of columns with a separator between them.

    I know I can get that without separators with an expression of cursor:
    SQL> with test_table as (
      2  select 1 col1, 'a' col2 from dual
      3  union
      4  select 1 col1, 'b' col2 from dual
      5  union
      6  select 1 col1, 'c' col2 from dual
      7  union
      8  select 2 col1, 'a' col2 from dual
      9  union
     10  select 2 col1, 'c' col2 from dual
     11  union
     12  select 2 col1, 'd' col2 from dual
     13  union
     14  select 2 col1, 'z' col2 from dual
     15  )
     16  select col1, cursor (select b.col2 from test_table b where b.col1 = a.col1 order by b.col2) col2_list from test_table a
     17  group by col1
     18  /
    
          COL1 COL2_LIST
    ---------- --------------------
             1 CURSOR STATEMENT : 2
    
    CURSOR STATEMENT : 2
    
    C
    -
    a
    b
    c
    
             2 CURSOR STATEMENT : 2
    
    CURSOR STATEMENT : 2
    
    C
    -
    a
    c
    d
    z
    But the result I want is (by using the separator ';'):
          COL1 COL2_LIST
    ---------- --------------------
             1 a;b;c
             2 a;c;d;z
    I don't know how to manage a cursor expression without using a pl/sql function block. Can it be done using analytical functions?

    Thanks in advance.

    Hello

    This is called 'aggregation of chain.
    This site:

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:2196162600402

    shows different ways to do this, including the SYS_CONNECT_BY_PATH solution which gave Blushadow.

    I got a lot of use of the first solution on this page, the function defined by the user STRAGG, that you can copy.

    Once you have installed STRAGG, your query is simply

    SELECT    col1
    ,         STRAGG (col2)     AS col2_list
    FROM      test_table
    GROUP BY  col1;
    

    The query above do not put items in a particular order.

    On Oracle 10 (and more) you can have a similar function, the WM_CONCAT (property WMSYS), already installed.
    WM_CONCAT is not documented, so you can't use it in your Production applications.

  • How to get a part of wise current account with a query as my image?

    Mr President.

    I get the request from this forum in my previous thread, that's like that

    SELECT c.name customer_name,
            p.name product_name,
            sl.sal_qty,
            sl.unit_sal_price,
            sl.sal_qty*sl.unit_sal_price AS salesvalue,
            CASE
              WHEN ROW_NUMBER () OVER (partition by c.cust_id order by p.prod_id desc,sl.sal_id desc) = 1 
       THEN
                  SUM (sl.sal_qty*sl.unit_sal_price) OVER (PARTITION BY c.cust_id)
            END totals
    FROM customer c 
    
    
    INNER JOIN sales s ON s.cust_id = c.cust_id
    INNER JOIN salesline sl ON sl.sal_id = s.sal_id
    INNER JOIN product p ON p.prod_id = sl.prod_id
    
    
    ORDER BY c.cust_id,p.prod_id,sl.sal_id
    
    
    
    
    
    
    
    

    The above query gives this result

    query.png

    Now I want some changes are the query above to get the following result

    running balance query.png

    can any body give helpful advice

    Concerning

    Tender,

    Maybe something like that?

    SELECT c.name customer_name,
            p.name product_name,
            sl.sal_qty,
            sl.unit_sal_price,
            sl.sal_qty*sl.unit_sal_price AS salesvalue
            ,CASE
              WHEN ROW_NUMBER () OVER (partition by c.cust_id order by p.prod_id desc,sl.sal_id desc) = 1
              THEN
                  SUM (sl.sal_qty*sl.unit_sal_price) OVER (PARTITION BY c.cust_id)
              END totals
            ,SUM (sl.sal_qty*sl.unit_sal_price) OVER (PARTITION BY c.cust_id ORDER BY c.cust_id, p.prod_id,sl.sal_id ) running_totals
    FROM customer c
    INNER JOIN sales s ON s.cust_id = c.cust_id
    INNER JOIN salesline sl ON sl.sal_id = s.sal_id
    INNER JOIN product p ON p.prod_id = sl.prod_id
    ORDER BY c.cust_id,p.prod_id,sl.sal_id  
    

    See you soon

    AJ

Maybe you are looking for

  • Satellite A200-08JC - software of the camera Chicony does not start

    I installed the correct drivers for my 08JC satellite A200 XP, but when I click the button start to run the software, it shows something loading for a few seconds, then stops. The camera does not illuminate and the display software that shows the vie

  • OSX 10.8.5 operating malfunction affecting folder actions

    Mac 2012 tour Pro - Quad Core - 3.2 GHz - OSX 10.8.5 Memory 6 GB - discs: 1 OEM 1 t + 2 - 2T WDCs Symptoms: 1. periodically, nothing appears when I open a window.  I close the window and do force quit the Finder to the stimulus and then open and fold

  • Lost the double tap feature.  How can I reset?

    After a loss of power when I restarted I lost a magic button function.  I used to be able to type slightly twice (not enough to click on the button) to simulate a single click (a full press). I can't find how to reset this option in preferences. How

  • Get a new case and power supply for my HP Pavilion a6355.uk

    1. sound of the HP Pavilion a6355.uk 2. Windows 7 Professional 64-bit 3. no error message 4. it is not a problem, but its had a new graphics card, new ssd, another hard drive, removed the 500 GB hard drive, and that's all I think. Hi, I want to get a

  • The driver INF file: identify the OS Architecture of the driver inf file supported

    I'm trying to analyze the drivers INF file to identify the architecture of operating system supported by them. For this, I am referring to the MSDN ' SECTION MANUFACTURER INF ' link: http://msdn.Microsoft.com/en-us/library/Windows/hardware/ff547454 (