Query Panel unable to show me Radio Group.

Hi Eweryone
I am using Jdev 11.1.1.4.
I am using a Transient Attribute in my ViewObject1("Updatable = Always") with Static List of Values coming from Different View Object2.
I included this Transient Attribute in my View Criteria and assigned a Bind Variable to it.
Settings for the Transient Attribute are
in the ViewObject1 its " ControlType : Radio Group"
in its List Of Values " Default List Type " Radio Group"
to its BindVariable "Control Type : Radio Group"(i tried keeping this and not keeping this ,but no luck.)
Now in the UI side when i am using this ViewCriteria as Query Panel with table in my page,i am unable to see the Radio Group for the Transient Attribute.(ChoiceList , CombeBox with Listof Values are coming)
https://forums.oracle.com/forums/thread.jspa?threadID=2519882&tstart=0
i saw this but no help.
I really appreciate if some one helps me .Thanks in advance.

The need to override paint() is that i want to show an image for which i am trying to use g.drawimage() method in paint. I don't know whether i can show an Image in a panel or not .
The image that i want to show is in a byte[] array. For which i was previously using
ImageIcon img = new ImageIcon(buffer);
Then i took a JLabel
JLabel label = new JLabel();
label.setIcon(img);
The problem in using this method is that i am continously updating this buffer with a timer and it continously update the image on the label. This shows flickering in the display .
whereas if i use g.drawimage of paint method it does not show any flickering but then i am unable to use my other panels of Applet.
Please tell me is there any imagelabel kind of a component on which i can show an image .

Similar Messages

  • Unable to view adf query panel in jsf page

    hi i cannot view the Query > ADF Query Panel when i click the query button to load the page but i can see the page in design. i can only see the search with drop down arrow but cannot see other part of ADF Query Panel . i did this by 9.Expand the EmpDetails1 data control and expand the Named Criteria node below it. Select All Queriable Attributes and drag it into the new query.jsf page. Create it as a Query > ADF Query Panel.
    Edited by: user603350 on 2011/12/08 12:04 PM

    the query button am talking about is the button i click to navigate to the other page(jsf) the page does not display the Query > ADF Query Panel.
    am doing this tutorial http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html am having problem in step 9 .Expand the EmpDetails1 data control and expand the Named Criteria node below it. Select All Queriable Attributes and drag it into the new query.jsf page. Create it as a Query > ADF Query Panel. i can view the ADF Query Panel in design but when i run the application and click the navigation button the page does not show the full ADF Query Panel it only show the search with drop down arrow
    Edited by: user603350 on 2011/12/08 8:39 PM

  • Displaying a radio group in SQL QUERY report region

    Good morning everyone,
    I have a report in which a column - ORDER STATUS, will come in with a value of 1, 2 or 3...being order unfilled, order partially filled, or order filled, respectively.
    I would like to display the order status as a radio group on the report so that it will be easy to run down the column of radio buttons to see what is filled, etc.
    I've gone to the manual and checked the doco on HTMLDB_ITEM.RADIOGROUP. But the example given there is actually for CHECKBOX (is this an error?!?).
    I went to the forums and found nothing suitable.
    My region is an SQL QUERY. Can I display the STATUS as a radio group in the SELECT ?
    This is the question.
    Thankyou in anticipation. TC. 23/11/2004

    Tony,
    There may be better solutions, but here's what I was thinking:    create table orders (id number, status number, customer varchar(30))
        insert into orders (id,status,customer) values(1,1,'ACME')
        insert into orders (id,status,customer) values(2,2,'BENSON')
        insert into orders (id,status,customer) values(3,3,'CLARKE')
        commit
        Query Source
        select
          id "ORDER NUMBER",
          decode(status,
            1,htmldb_item.RADIOGROUP(1,status,'1','unfilled')||htmldb_item.RADIOGROUP(2,status,'2','partial','"disabled=true"')||htmldb_item.RADIOGROUP(3,status,'3','filled','"disabled=true"'),
            2,htmldb_item.RADIOGROUP(1,status,'1','unfilled','"disabled=true"')||htmldb_item.RADIOGROUP(2,status,'2','partial')||htmldb_item.RADIOGROUP(3,status,'3','filled','"disabled=true"'),
            3,htmldb_item.RADIOGROUP(1,status,'1','unfilled','"disabled=true"')||htmldb_item.RADIOGROUP(2,status,'2','partial','"disabled=true"')||htmldb_item.RADIOGROUP(3,status,'3','filled'))
          "STATUS",
          customer "Customer Name"
        from orders;Scott

  • FRM - 40212 / FRM - 40222 error on a radio group during query

    Hi all,
    This is my first post so please bear with me if I haven't provided sufficient information or am unclear at all.
    I'm using Forms Builder (Web) on a 10g Database. I have a number of database and non-database items as part of a data block.
    My problem is that, when I enter a value in any field and click the query button, I get a FRM-40212 Invalid value for field error on my radio group (disabled, non-database item that is programatically populated in the post-query and list-changed triggers only). When I click ok, I get a FRM-40222 Disabled Item Failed Validation error on the same radio group.
    This does not happen if I click the 'Enter Query' button before entering values into fields, however I don't want my users to encounter this error if they try to query without clicking on 'Enter Query' first.
    I'd like to know why exactly does this error happen - what does it mean?
    I've read in other forums that setting the item's Required property to false solves this issue. But how can I do this with a radio group? And if it's not possible, does anyone have any suggestions for other workarounds?
    Thanks in advance,
    Abigail

    Hi,
    You can avoid this by setting 'Mapping of other values' to the one fo the radio buttons value.Like if you have to radio button radio1 and radio2 associated with radio group R1 ,then set any radio buttons initial value to this 'Mapping of other values' property of radio button R1.You won't see this error.
    This error occurs because your loading a screen without assigning a value to the radio button.
    If this helps mark question as answered or helpfull.
    Thanks,
    Pavan.

  • How to show attributes only in query panel but not in Add fields.

    Hi,
    Jdev - 11.1.1.7.0
    I have a requirement where I need to show attribute only in search panel but not in Add Fields list which is available in advanced section.
    Thanks for your time and help.
    Regards,
    Dileep.

    Hi,
    Is it really possible implement this kind of scenario, I could not find any property to disable the attribute only 'Add Fields' but not in query panel.
    Please some one confirm me this behavior.
    Thanks,
    Dileep.

  • How to show image in radio group ?

    Hello,
    I tried to add image on my radio group
    select '<img src="/../i/ok.png">' as d, 1 as r from dualBut it's replacing the signs '<' and '>' by "& lt;" and " & gt;"
    Any idea how to avoid html to replace those characters?
    (I'm using Apex 4.0)
    Thanks,
    Uji

    Hi Prabodh,
    I'm trying to put the image in the select list of values.
    I would like to have two columns in my radio group and show 2 different images instead of texts
    Before I had this result instead of an image <img src="/../i/ok.png">In Firebug it is : <label for = "blabla">& lt;img src=&quot;/../i/ok.png&quot;& gt;</label>
    Now with htf.escape_sc I have & lt;img src=&quot;/../i/ok.png&quot;& gt; Kr

  • Show lov in query panel for an attribute using = = or between operators

    When we use between, greater than, less than, greater than or equal to , less than or equal to in the view criteria
    On an attribute which has lov
    in query panel of UI the lov does not show up for that particular attribute
    How to show lov for an attribute in query panel when i am using the above operators

    Does the LOV show up in basic query state?
    http://blogs.oracle.com/shay/2011/01/dependent_lovs_in_an_afquery_c.html

  • How to hide/show reports region with radio group selections

    Hi, I have an HTML region with a radio group of two choices (Rpt1 and Rpt2). Also got two other report regions which depend on the radio group selections and by pressing a button it will display records.
    Everything does work perfect BUT say I select Rpt1 and press the report button it will show the records and after that if I select the Rpt2 radio button I still see the result of Rpt1 records. How can I clear or hide the reports regions when I change my radio button selection?
    Thank you
    -iahmadi

    Hi,
    You can create HTML regions that do not need to contain anything at all (use the "No Template" region template to ensure that you don't see a region Title on the page).
    However, in order to get this region to be displayed until the Report button is clicked, you would need to have a hidden page item (called, say, P1_SHOW_REPORT) that has, as a default, 0 as a value. The branch that is triggered by the Report button would then set this item to 1 - so, 0 = hide and 1 = show
    On your page you should have a branch that is conditional on the Report button being clicked. On this branch, set the first "Set these items" to P1_SHOW_REPORT and "With these values" to *1*. You should also have a branch on the page that is unconditional - meaning that it can be triggered by anything that submits the page. Firstly, this branch should have a high Sequence Number (say, 99) and secondly, should should set the value of P1_SHOW_REPORT to *0*. So the Report button sets it to 1 and anything else (which will include the radio button selections) will reset it to 0.
    Now, on your regions you have to change the conditions slightly as we now have two conditions to check - which report has been selected and whether or not the Report button has been clicked.
    This can be done by using a SQL Exists condition of something like:
    SELECT 1 FROM DUAL WHERE :P1_SHOW_REPORT = 1 AND :P1_RADIO = 'ABC'(where ABC is the value for the radio button for the report
    The "blank" region would also have a condition - that would be a simple Item = Expression 1 condition of P1_SHOW_REPORT = 0
    Andy

  • How to pass HTML radio group value to an SQL query

    I need to display a radio group in Printer Friendly Mode so that when the value in the radio group changes the page is submitted and the report is updated to the new value.
    I can't use a standard APEX radio group item as it renders in disabled mode when the page is in printer friendly mode.
    I have therefore used a standard HTML radio group in a HTML region as follows:
    <div id="radio_bank" align="left" class="NonPrintable">
    <input type="radio" name="bank" value="Trial Bank"> Trial Bank
    <input type="radio" name="bank" value="Tissue Bank" checked> Tissue Bank
    <input type="radio" name="bank" value="Temporary Bank"> Temporary Bank
    <input type="radio" name="bank" value="All"> All
    </div>
    I have set up a dynamic action to submit the page on change event. This works but it navigates me to a "Page cannot be found " error page. I have an unconditional branch defined on the current page but this is ignored.
    Questions
    1) can a standard APEX radio group appear in Printer friendly mode? - This would solve my problem.
    2) how to submit the page using the above scenario to render the current page (dynamic action)
    3) how to capture the selected value of the radio group and pass it to SQL where clause
    thanks in advance
    PaulP

     

  • Issues with the Radio Group and interactive report

    Hi,
    I have an interactive report that shows customer names and associated revenues... I want my users to be able to filter customer list by Province and by City in a way that when the user select a province then only associated cities show up (driven by a table)... for the filtration I am using 2 Radio Group items (one for Provinces and the other one for Cities)
    Everything is working fine, except for the fact that when I select a province (let's say Prov A) and then select a city (let's say City A1) and again when I select another Province (let's say Prov B) I get the list of all cities associated to Prov B + city A1... Not sure why my previous selection of City is showing up with the list of new cities when I change the province... I SHOULD BE ABLE TO REST ALL CITIES WHEN A NEW PROVINCE IS SELECTED
    here is the code
    For interactive report
    select     CUSTOMER_NAME,
         SUM(YTD) AS YTD
    from     T_TABLEA
    where
    (PROVINCE=
    CASE
    when :P2_PROV = 'All' THEN PROVINCE
    ELSE :P2_PROV
    END
    and
    (CITY=
    CASE
    when :P2_CITY = 'All' THEN CITY
    ELSE :P2_CITY
    END
    GROUP BY CUSTOMER_NAME
    For Province Radio Group I am using a static list:
    STATIC2:All;All,Alberta;AB,Ontario;ON,Quebec;PQ,British Columbia;BC
    For City, I am using a dynamic list using following code:
    select 'All', 'All' return from dual
    union
    select distinct INITCAP(CITY) display_value, CITY return_value
    from T_TABLEA
    where
    Province = :P2_PROV
    order by 1
    Thanks

    Check the session state of items P2_PROV and *:P2_CITY* when the issue occurs and run the LOV query separately with the session state values.
    If that too fetches it wrongly, then you would need to change your query.

  • Bad translation of labels in ADF Query Panel

    Hi,
    When I use an ADF Query Panel, all labels and buttons are translated automatically to Danish (probably because I have Danish region settings or some such). The problem is that it is not a very good translation: In the "Match" radio group at the top of the panel, the two buttons that would have the names "All" and "Any" in English, are both translated to "Alle" (the Danish word for "all"). In other words, I have a radio group with two buttons that are both called "Alle". I'm fairly confident that a customer would never accept this.
    My questions are:
    1) Where should such an error be reported?
    2) Is there any way to make the panel use English labels and buttons, even under non-English region settings?
    3) Is there any way I can correct the translation error myself temporarily, until an "official" correction is made?
    Regards,
    Andreas

    Hi Andreas,
    I logged Bug 9861526 - ADF - BAD DANISH TRANSLATION OF LABELS IN ADF QUERY PANEL
    available from My Oracle Support.
    The "Oracle Fusion Middleware Web User Interface Developer's Guide for Oracle Application Development Framework"
    Chapter 20 Customizing the Appearance Using Styles and Skins
    20.3 Defining Skin Style Properties
    explains how to translate texts that ADF Faces components render.
    The following bundle class should do the trick for your case:
    import java.util.ListResourceBundle;
    public class SkinBundle extends ListResourceBundle {
        @Override
        public Object[][] getContents()
          return _CONTENTS;
        static private final Object[][] _CONTENTS =
           {"af_query.LABEL_CONJUNCTION_OR", "Enhver"}
    }Regards,
    Didier

  • ADF Query Panel with Tree Table -- Add Fields

    I created ADF Query Panel with Tree Table using JDeveloper 11G. Under Advance Search, Add Fields pull down only list the fields in the master table. My questions are,
    1) Can I search fields in detail table? If yes, how can I do it?
    2) How can I customized this pull down list? Currently it just show the entire view of master table with unnecessary id type data.
    Thanks in advance.
    Edited by: kxc on Nov 9, 2009 9:21 AM

    1) Can I search fields in detail table? If yes, how can I do it?
    Are there anyway to search the second level node?You can. But you need to evaluate if the arrangement works for you.
    I assume you have a view link from the master to detail VO.
    To do so, in your master view criteria (the one which you use in the query panel), shuttle the attributes of your detail VO (in master attributes list, you'l see the detail view link accessor - on selecting this, the detail atteributes are available to you)
    In the Add Fields, it shows as student_id AND student_name. I was unable to delete the student_id field in the view since it is PKYou can set its 'display' UI hint to 'hide' in your VO.

  • Set report radio group row selector when a link column is clicked.

    Hi can anyone help?
    I have a sql report with a radio group record selector on the left, this is used on click to populate some extra fields on the page. I also have a link column on the right of the report that is used to display another popup page. What I want is to synchronize the radio group selector when the link is clicked (that is select and click the radio group of the current row when the link column is selected).
    Page layout
    rg1 row details link pen icon
    rg2 row details link pen icon
    rg3 row details link pen icon
    extra field 1
    extra field 2
    Report attributes - link column URL.
    JAVASCRIPT: modalWin2('f?p=&APP_ID.:#SHOW#:&SESSION.::::SAVE_STATUS:N');
    I’m assuming I can call another javascript function from the link URL above and somehow I get the number of the row of the link selected . I think if I can get that I can use the code below where n is the row number of the link selected.
    Javascript :-
    var l_check = $x_FormItems($x('EVENT_HIST1'), 'radio');
    l_check[n].checked=true;
    var l_click = l_check[n].click();
    Thanks Pete

    Pete:
    One way to solve your requirement is as below
    Change the report query to be something similar to
    select
    apex_item.radiogroup(40,empno,null,null,'id=rg_'||rownum) rad,
    ename,
    '<a href=javascript:fx('|| empno ||',' || '"rg_'|| rownum ||'")><img src="#WORKSPACE_IMAGES#delete.gif"></a>' link_column
    from empAnd the JS function fx as function fx(emp,rgId) {
    $x(rgId).checked=true;     // checks radio on this row
    modalWin2('f?p=&APP_ID.:' + emp + ':&SESSION.::::SAVE_STATUS:N'); // popup page call
    }varad

  • Identifying Radio Columns in Radio Group for Authorization

    Hi friends,
    I have a single radio group page item which has a 3 no.of columns. I have defined a static lov definition for it as it shows three values for the three column in a single radio group page item. These are the values.
    <li> Self
    <li> On behalf of
    <li> New Hire
    I need to restrict these three values according to the user roles. For that i can write an authorization and take the users corresponding to their roles.
    But how i can refer this authorization according to the values that radio group has. Since that radio button is a single page item.
    I need to restrict the three values of the radio button to the three set of users under the specific roles.
    I wrote the three sets of authorization which is filtering the three set of role users, accordingly to their login in the application. But how to refer these three authorization rules to a single radio group page item.
    If it is a single authorization means, i can refer it to that radio group page item under the security section.
    How to refer these three sets of authorization to a single radio group page item.
    Brgds,
    Mini

    Write a PL/SQL authorization function that returns a Boolean or a Y/N based on knowing the role and the radio group item. Pass in the Role and the Radio Group select item.
    Write an LOV for the Radio Group which is a query that adds the Radio Group item if the authorization passes and does not include it if the authorization fails
    ie.
    SELECT 'Self' FROM DUAL WHERE SECURITY_PKG.Role_has_auth(role_name, 'SELF') = 'Y'
    UNION ALL
    SELECT 'On Behalf of' FROM DUAL WHERE SECURITY_PKG.Role_has_auth(role_name, 'ON BEHALF OF') = 'Y'
    UNION ALL
    SELECT 'New Hire' FROM DUAL WHERE SECURITY_PKG.Role_has_auth(role_name, 'NEW HIRE') = 'Y'

  • Read Only Display of Radio group and Text area with counter not working

    Hello,
    I am using Apex 3.2, with 10g for the database
    I have this form, with fields that will set to read only when status = 'closed'
    All of the fields display as read only except for 2. I cannot figure out why this is not working correctly.
    1st field is Issues that is a text area with character counter, with a sql query behind it, that is set to null unless the query is pulling in the data.
    2nd field is Status which is a radio group that will not display as read only when status = 'closed'
    I have other fields on the form with the same format and they change to read only when the status = 'closed', I have even copied the pl/sql expression from one field to these fields and it still doesn't work correctly. I have also tried javascript for an on load event, which works, but once I click on the save button, it disables all of the page items, which works correctly, but I purposely forget to enter information, to make sure the validations are firing correctly, which it does, but the script disables everything, not allowing me to correct the errors. The javascript is firing on the on page load event.
    Any help on this is greatly appreciated.
    Mary

    Dung,
    That API seems to have a bug, it returns true/false/null, so you could use 'return not nvl(htmldb_util.current_user_in_group(p_group_name => 'APP Admin'),false)' to get a false value.
    Unfortunately there's another problem: using the read-only attributes for checkbox or radiogroup item makes them hidden. My suggestion would be to create another item that has disabled="disabled" in the HTML Form Element attribute in the item definition and display that item or the non-disabled item alternately, using conditions based on the current_user_in_group logic.
    Scott

Maybe you are looking for