Point of APEX_ITEM. Required RadioGroup

Hello

I use apex 4.2 with enterprise DB 11, I use APEX_ITEM.radiogroup to create a dynamic items according to the request, what I put this only required such radio group. I try to set in the process of page validation but the problem, it's that the value of the element will be reset whenever I click on the "submit" button.

Any suggestion?

Thanks for the reply,

In fact I fix this by save the data into a temporary table, in my scenario, page it completely dynamic, which can include the Group of radio buttons and checkbox for X elements.

Thank you very much

Tags: Database

Similar Questions

  • APEX_ITEM. RADIOGROUP in report

    Hello

    I am doing a report in which I have several radio button in all lines.

    I used APEX_ITEM. RADIOGROUP() to produce the option button.

    My problem is the radio button I had created using APEX_ITEM. RADIOGROUP (1) a attribute NAME = "F01" across all lines. If the user can select only one choice in all lines.

    Is it possible to APEX API to give unique name across lines?

    Thank you

    Sylvain Blache

    Hello

    I don't think it's documented yet, but this seems to be what they use:

    SELECT
    WWV_FLOW_ITEM.RADIO_GROUP_FROM_STATIC_LOV(1, fieldname, 'Y,N', 2, NULL, NULL, NULL, NULL, 'f01_' || LPAD(ROWNUM, 4, '0'), 'label', NULL)
    FROM EMP
    

    Andy

  • apex_item. RadioGroup in editable report

    How can I build a report updated with a radiogroup created by apex_item.radiogroup?

    I know that the syntax like
    APEX_ITEM. RADIOGROUP (deptno, ' 20', dname 1)

    but I want to have 5 different options in 1 radiogroup.
    How can I handle this?

    THX so far

    P.S.: I know that you can set a column to be a radiogroup but in my case, it must defined with the apex_item package.

    Hello

    Take a look on: Re: Radiogroup user in the form - there are several methods that you can use - details for each are presented in the pages of the app themselves rather than the thread

    Andy

  • apex_item. RadioGroup

    Hello
    I need help with the apex_item.radiogroup.
    I get the table data in the report area. There is a column of State which has 'I' or 'A' idle assets. corresponding to a single record, we can have several under-reporting and
    only one is active. In the region of report I'm showing the active and inactive radiobutton by rank. and if select no matter what row as being active in the report another radiobutton lines must be off then once I hit the update button I don't have to think that all the others went to inactive.

    my query looks like

    Select apex_item.hidden (10, primary_key) | recording,
    apex_item. RadioGroup (3, h.status, 'A', 'Active'). apex_item. RadioGroup (3, h.status, 'I', 'Inactive').
    cases where rec_flag = ' only then 'NO' also 'YES' end 'flag '.
    table

    If there are 4 selected lines based on this query only one command-line option button is highlighted.

    I am new to apex and need your help.

    Hello

    For the question of the selection list - the fourth parameter of the APEX_ITEM. SELECT_LIST function allows for attributes, you can do:

    apex_item.select_list(3, h.status, 'Active;A,Inactive;I','onchange="javascript:myfunction(this);"') "Status"
    

    Then, you create a function called myfunction (ss) that is triggered by the value of the selection in evolution list - onclick is not used here. As we pass 'this' in the function, we can loop through all the lists of selection, except for the current and change their values as necessary:

    function myfunction(ss)
    {
     if (ss.value == 'A')
     {
      var sLists = document.getElementsByName('f03');
      var k;
      if (sLists)
      {
       for (k = 0; k < sLists.length; k++)
       {
        if (sLists[k] != ss)
        {
         sLists[k].value = 'I';
        }
       }
      }
     }
    }
    

    So, as long as we change the current list to A, then we change others to I.

    For radio buttons, if you need to use the two buttons by rank, you should have a radiogroup i.e. separately for each line. Your use of "pk_table' for the inactive button must also be used for the active button. When the user clicks on either active or inactive, you will need to loop through all radiogroups and set the appropriate value.

    To access all buttons, do something like:

    var x = document.getElementsByTagName("INPUT");
    var k;
    if (x)
    {
     for (k = 0; k < x.length; k++)
     {
      if (k.type == 'RADIO')
      {
       do something herre
      }
     }
    }
    

    Andy

  • apex_item. RadioGroup p_idx question of value

    All,

    I have an interactive data report with radio buttons 3. user can select a value radiobutton for processing.

    .......................................
    .......................................
    apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'LAB' , p_attributes => 'class="afdRadio afdLab" ' , p_onchange => 'javascript:setLab(this.value);' )  AS LAB ,
     apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'QC' , p_attributes => 'class="afdRadio afdQc" ' , p_onchange => 'javascript:setQC(this.value);' )  AS QC ,
    apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'Afhaaldesk' , p_attributes => 'class="afdRadio afdDesk" ' , p_onchange => 'javascript:setAfhaalDesk(this.value);' ) AS AFHAALDESK 
    ..............................
    
    
    
    
    

    Problem is that the report can return a large number of lines. Clicking a radiobutton and trying to present, sometimes an apex workflow exception is thrown. I discovered that this has to do with the value of rownum because the value of p_idx can be in 1 and 30.

    So what I did, is to replace rownum with a value of 1, this seems to have solved the problem.

    The other problem now is that when a user clicks a radiobutton on several lines, that is a single value according to the choice, but when to submit all the lines are subject for which the user has selected a value of the radiobutton.

    Example:

    The user select value LAB for 5 rows, but only to see the LAB in the last row selected radiobutton (not thinking that this line will be submitted), but all of the 5 ranks are submitted.

    With rownum all selected values are shown, but there again the we have the problem with the value of p_idx.

    Some tips on how I can fix this?

    Thank you

    Diana

    Hi Diana,

    This seems to be a wrong information:

    Problem is that the report can return a large number of lines. Clicking a radiobutton and trying to present, sometimes an apex workflow exception is thrown. I discovered that this has to do with the value of rownum because the value of p_idx can be in 1 and 30.

    Each APEX_ITEM. function has its first parameter as p_idx that can take a value between 1 and 50. Items by a column in tables which in turn when the page is submitted are mapped to the APEX_APPLICATION. G_F01 in APEX_APPLICATION. G_F50 arrays of type APEX_APPLICATION_GLOBAL. VC_ARR2 in apex session state.

    For the limits of the component you should refer to the following documentation: (see tabular forms)

    https://docs.Oracle.com/CD/E37097_01/doc.42/e35125/limits002.htm#HTMDB28632

    dianap says:

    Thanks Scott.

    I took the example of Vincent. But the problem is in the population of the p_idx with rownum parameter. Rownum can sometimes be greater than 30, and when this is the case, nothing can be submitted.

    Kind regards

    Diana

    Here the question of the solution of Vincent about the radiogroup will lines might exceed the > limit 50 when the rows in the underlying table are > 50.

    The solution uses the paging with the whole line displayed on a page of the report must be<50 (by="" default="" it="" is="" 15="">

    As Oracle APEX page submit takes into account only the game currently displayed rows (regardless what underlying table contains) for the treatment of the displayed tabular form.<50 rows="" pagination="" with="" vincent's="" solution="" will="">

    NOTE: Tabular normal every column has an index and the lines have no limitations, but in a solution of Vincent as it use rownum to index, so a new table will be created for each line.

    I hope that helps!

    Kind regards

    Kiran

  • How can I get my system restore to work. It never restores any restore point.

    I have Windows XP Professional and my system restore does not work. How to restore? It does not restore any restore point.

    Required reading:

    http://bertk.MVPs.org/html/srfail.html

  • Question of RadioGroup

    Hello I have a problem using radiogroups in APEX

    Our facility: APEX 4.0 using EPG

    I use an interactive report that often presents documents to my client.
    Each record before they need the option 'Yes' or 'No' that will only report record accordingtly.

    I use radio buttons because it can be 'yes' or 'no' option is selected.

    In my application I tried to use APEX_ITEM. RADIOGROUP(rowNum,...) to generate separate ID for my records.
    It works but after 99 radio buttons, it resets.
    F99 example then resets to F00, F02, F03 and so on.
    It should be F100 F102 and so forth, but that's the limit of the APEX. RADIOGROUP I think.

    So I decided to create radio buttons by using HTML and rownum.
    It works perfectly fine.

    As follows:
    Select
    * '< fieldset class = "radio_group" >' | *
    "*' < input type ="radio"name =" "|" rownum. "" value ="' |" d_id"onclick ="spCheckChange (this); ' > Yes. *
    "*' < input type ="radio"name =" "|" rownum. "" value ="' |" d_id"onclick ="spCheckChange (this); ' > no ' | *
    *' < / fieldset > ' radiobox, mat_view.* *.

    of table_id

    I use an application process on which ensures the follow-up of what radiogroup buttons are checked. It works very well.

    However, I have a button "submit" on the page that performs an insert into a table with the selected items.
    I get an error "the HTTP client asked that this server could not understand." in Firefox

    There seems to be a bug.
    I tried this and it does not work either by hitting submit:

    SELECT
    *' < input type = "radio" name = '1' value = 'Hello' > Yes *.

    RadioBox
    of the double

    I tried on APEX 4.1 and it does the same thing.

    Try it yourself.
    Create an interactive report. With the query above.
    Create a "submit" button. You don't need to enter a process to insert anything.
    When you run the page, select the radio button group. Then click on 'submit '.
    You will get the error.

    If you run the page without hitting the radiogroup and submit, you do not get the error.
    It seems that the APEX does not like ' < input type = "radio" name = '1' value = 'Hello' > 'Yes in the query.

    Any ideas?

    Published by: INAMIK on January 21, 2013 09:43

    Published by: INAMIK on January 21, 2013 10:15

    Hello

    Tag input name attribute is the name of the parameter to the procedure when you send the page.
    There is no name parameter as 1. It's not bug

    And I remember well, that you have only 50 paintings, which means f01 - f50.
    This is the limit of columns in a table.

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • LOV-based radiogroup multi-column API creation

    Hello world!

    I was wondering if it is possible to create a radiogroup 3 column based on the APEX_ITEM. RADIOGROUP API in APEX 3.0?

    For example, my radiogroup is based on the level of interest of the user and is supposed to look like: oTest oProduction oBoth

    The values returned by any button is selected from a table value.

    I have problems doing this column multi instead of 1 column with several lines. I need to configure these with a similar to STATIC2:Test LOV. TEST, Production; PROD, at once; BOTH

    I can also create this group of radio as a page element as they have to display based on a query from a region to report on this page.

    Any ideas / / suggestions?

    Thank you

    Eric

    Published by: user11685190 on October 12, 2009 09:50

    Hello

    Using radio for a line groups must be handled with care using the APEX_ITEM. RADIOGROUP() method would be inclined to make the radio buttons all part of the same group - so only one radio button can be selected in the full report!

    I've detailed a few different methods you can use via this thread: Re: Radiogroup user in the form

    Andy

  • RADIOGROUP function

    Will someone please tell me how to use the p_onfocus parameter in the APEX_ITEM. RADIOGROUP function? What is the syntax? I can't find an example of anywhere! How can I call my javascript function?
    TIA!

    Hello

    You need to place quotation marks around the javascript call and use null for parameters, you don't use, so:

    apex_item.radiogroup(1, pk_id, null, null, null, null, null, 'javascript:getValue();')
    

    Andy

  • Radio button Collection

    Apex 3.2

    I have a requirment to create a tabular presentation manual

    One of the columns was to be a check box.

    They are only allowed to check one of the boxes in the form, so I decided to go with a group of radio buttons instead.

    I have never used a group of buttons radio before, so my code may be wrong

    I also decided to base my form on a collection.

    My collection creation works fine.

    My sql tabular is

    Select

    APEX_ITEM. MD5_CHECKSUM (c001 c002 c003, c004, c005, c006, c007) |

    apex_item.display_and_save (1, c001) ldeid,.

    apex_item.display_and_save (2, c002) start_date,

    apex_item.display_and_save (3, c003) end_date.

    apex_item.display_and_save (4, c004) conversion_factor,.

    apex_item.display_and_save (5, c005) target_bmi,.

    apex_item. Text (6, c006) description,.

    apex_item. RadioGroup (7, c007, ' is, not) ssi,.

    apex_item. CheckBox (12, seq_id) chkbx,.

    apex_item. Hidden (13, seq_id) seq_id

    of apex_collections

    where collection_name = "SMI_COL."

    This will display that required such radio and a checkbox for deletion.

    My update does not work, when I include the radio in the update.

    If I do not include radio, it works

    Begin

    BECAUSE me IN 1.apex_application.g_f01.count
    LOOP

    () apex_collection.update_member
    p_collection_name = > 'SMI_COL '.
    , p_seq = > apex_application.g_f13 (i)
    , p_c001 = > apex_application.g_f01 (i)
    , p_c002 = > apex_application.g_f02 (i)
    , p_c003 = > apex_application.g_f03 (i)
    , p_c004 = > apex_application.g_f04 (i)
    , p_c005 = > apex_application.g_f05 (i)
    , p_c006 = > apex_application.g_f06 (i)
    , p_c007 = > apex_application.g_f07 (i)
    );

    END LOOP;

    END;

    Also I can't seem to get my "remove" from the collection of work

    Begin


    BECAUSE me IN 1.apex_application.g_f13.count
    LOOP

    () apex_collection.delete_member
    p_collection_name = > 'SMI_COL '.
    , p_seq = > apex_application.g_f13 (i)
    );

    END LOOP;

    END;

    Any help much appreciated

    Gus

    Hello

    Please check your example now.

    I used the collection column c008 to store information line witch must be verified.

    Kind regards

    Jari

  • Radion button

    Hi all
    I have a zone type = SQL query.
    It has 4 columns. I want to display the area of SQL query with button for each row.
    How can I use HTMLDB_ITEM. RADIOGROUP.

    Published by: apex may 28, 2011 12:14 AM

    Published by: apex on May 29, 2011 22:21

    Published by: apex on May 29, 2011 22:22

    When you use the API apex_item, (checked for checkboxes or selected radiobutton) values are available on submit

    For example, in your SQL query if you used

    apex_item. RadioGroup(1,empno)

    the application table is f01 (the first parameter is 01) and so the table can be found in using APEX_APPLICATION PLSQL. G_F01

    then empno of selected lines will be available as the first element of the array (fpr only the checked radio is available)

    APEX_APPLICATION. G_F01 (1)

    Suppose you have a page called point P100_EMP_NO ,

    create a PLSQL process what rums on submit

    BEGIN
      :P100_EMP_NO := APEX_APPLICATION.G_F01(1);
    END;
    

    When the page element will have the PEM selected no value, if you use a branch make sure that it is not clear now value of this object (either by reassigning it from the same point of branching or not to clear the page cache)

  • Improved version of iMovie is necessary...

    Hello guys,.

    As I am a video editor, I use Adobe first pro for editing several videos. But when I am in contact with the iPad, I found the video editing is more comfortable than the premier pro. But I found that there are a few points where modifications requiring.

    1. There must be option for several video layers.

    2. There must be the option of text editing (such as color, orientation).

    3. There should be options to add more effects of transitions and text styles

    4. If there is already in the version in iMovie, please guide me...

    I agree!!! But instead of Apple add features we desperately want... I found some other applications that I use in conjunction with iMovie.  Workarounds heavy, but does the job when I can't go to my computer.

    Here's what I've been using:

    Best camera: Filmique Pro: https://itunes.apple.com/us/app/filmic-pro/id436577167?mt=8

    Text/titles: OverVideo: https://itunes.apple.com/us/app/overvideo-text-music-video/id810713114?mt=8

    Green screen: DoInk: https://itunes.apple.com/us/app/green-screen-by-do-ink/id730091131?mt=8

    (I use this & overlay feature video iMovie to add custom logos overlays/watermark etc..)

  • When I send a message, it shows all the way back, content type and ham report. How can I get this is not for show?

    Return path:

    Envelope-to:

    Delivery date:

    Thu, 19 February 2015 11:00:58-0700

    Received:

    Received:

    From:

    TO:

    Date:

    Thu, 19 February 2015 13:00:56-0500

    Object:

    Order form

    CC:

    MIME-Version:

    1.0

    Content-Type:

    multipart/mixed; Boundary = ""-= _ST6030_0001_5334E1E1_A669C3C2 ""

    Content-Transfer-Encoding:

    7 bit

    Message-ID:

    X-OriginalArrivalTime:

    19 February 2015 18:00:56.0202 (UTC) FILETIME = [02464EA0:01D04C6E]

    X-Spam-Status:

    No, score = 0.2

    X-Spam-Score:

    2

    X-Spam-Bar:

    /

    X Ham-Report:

    Software spam detection, running on the system ".net", has NOT identified this incoming as spam email. The original message has been attached to it, then you can see or label similar emails. If you have any questions, see root\@localhost for more details. Content preview: Please confirm receipt of order attached. Thank you! [...] Content analysis details: (0.2 points, 5.0 required) pts name description of the rule: 0, 6 the area of the RP_MATCHES_RCVD envelope sender corresponds handover relay field 0.8 BAYES_50 BODY: spam Bayes probability is 40 to 60% [Note: 0.4778]

    X-Spam-Flag:

    NO.

    The menu bar, select View-Headers-Normal

    This command removes this information forward and printed copies.

    No menu bar display? Press the ALT key.

  • The simulated signal RMS


    Dear Susan!

    I took a glance on your application.

    It's really good, but the calculation of the effective measures should not be implemented in the Simulation of control loop, since the calculation will be dune for each point this may require Ness on the graphical indicator, when you run the code.

    I made a few changes and used Uilities int Simulation palette palette function of collector . This function allows to collect data and do the treatment on it, the end of the simulation.

    Please find attached code.

    If you have any questions, feel free to ask.

    BR,

  • Pass data between applications value reference

    The issue is that data application reference value is local to the application instance, or can be transferred between different applications.

    I have a main application that acquires the table of 100 MB and I need to use these data in a dll. Obviously, I don't want to send table, reference would be better. Both applications are generated in labview 2011.

    The second question is whether reference data value can be converted to a string (type cast or flatten to a string) and back. For example with DAQmx tasks flatten to a string does not work.

    Alexander_Sobolev wrote:

    It's value application data reference is local to the application instance.

    Yes.

    or may be transferred between applications.

    Laughing out loud

    The second question is whether reference data value can be converted to a string (type cast or flatten to a string) and back.

    Yes, but only means something in the app instance appeared to reference.

    You will want to perhaps give more details on what are your real needs, but keep in mind that play with memory directly in LV is not so simple, as he does all he can to hide these details you.

    If you pass a pointer to an array to a DLL, you can configure the DLL for this call. If you want to get an accurate picture of LV in memory address and passing around, this isn't something LV supports and you shouldn't do that because the memory should not be controlled by more than one master at any time in time.

    LV has functions of memory allocation and to get the pointer back, but requiring explicit calls.

    Anyway, I have no real experience with this. If you want to read materials, there are at least two users here with much more knowledge on the subject and you can go through their messages or search and filter for their post - rolfk and nathand.

Maybe you are looking for

  • How to export history and bookmarks from firefox to another browser?

    I want to export firefox bookmarks and history to the default browser on android. Is this possible?

  • HP EliteBook 840: Mouse pad does not

    I pressed an accident on the top left, now I tried to click twice and clicking but nothing works. Would apriciate to help!

  • Abrupt stop of Lenovo Y560d

    I bought a new lenovo y560d about 2 months back. He suddenly stops without even having heated. When I check its normal temperature. I used the One - Key Recovery action but the problem persists. She stops for the first time in the day to 1 hour, then

  • Printer Lexmark 2400 series

    I need my Lexmark 2400 series printer that I could somehow allow. How can I get...  It displays a message saying: all in a single application could not start properly.  000142. Please help.

  • [Push service]

    Dear friends, Can I save a Push Service and this information (see attached image) Please help me. Thank you very much. Dennis Ritchie.