Check if the user has selected box element apex before the loading of the page

4.2.1

THM:2

Hello world

I have two classic reports with different conditions but even select the columns based on a sql that uses the apex_item.checkbox2 element that allows users to select the lines and run some process. I also have a radio unit that hides and shows these two reports. However, it is possible that the user select a few lines and without doing anything click on the radio button that will present the page and all the lines that earlier he had chosen will be lost. I want that we should be able to pop an alert if there are checkboxes checked and the user tried to hit the button of the radio looks like the APEX_APPLICATION. G_F01. Count is not available at the time the page is submitted. We thought to use a pl/sql to see if APEX_APPLICATION DA. G_F01. Count > 0 then trigger an alert to confirm.

Any ideas on how to do this?

Thank you

ryansun wrote:

Hi FAC586 - basically, there are two parts of the report, were grouped products consolidated (as master) and the other report has all the products of the child. So based on the option the user selects that he sees who discovers and processes information.

I tried to create the DA, but he does not seem to fire and I'm sure it would be because I have something wrong.

No, in this case, there was a typing error in my JS expression above (this is what happens when there is no example in the trial against...)

Must be:$('td[headers="COL_ALIAS"] input:checked').length > 0

I have page submit on the evolution of radio, given that other elements of the actual application, don't do with this feature which is filled on the loading of the page.

It does not work. If the present radio on the presentation changes group cannot be controlled by the dynamic action to confirm that it has already been committed before the confirmation message is displayed. Presentation must be made by further action of real on the DA. By the way other values is possible by using dynamic actions or region to submit elements of Page properties.

But here it is necessary, if the user has activated all the lines, then changes the selection of the radio, it should show an alert to confirm. In addition, what happens if we have a very select in the box by a header label already. Can I use the same label to identify the COL_ALIAS?

Do not understand the question.

Don't know what I'm doing wrong.

As I noted above, an important part of your problem is that you asking what amounts to a series of questions XY rather than the big picture given by presenting the necessary resources. You have been really good on the creation of examples on apex.oracle.com, but they are all fragments of the righteous, which makes things difficult when you try their synthesis in something that works as a coherent whole. Various bits and pieces that have been revealed in recent weeks, it seems like this could be treated using dynamic measurements without having to send the page until the final choice has been made.

Tags: Database

Similar Questions

  • Reader SDK: is it possible to see what text the user has selected?

    I use Adobe Reader SDK with c#, by looking at the characteristics of communication monitor.

    I can open a document in the reader and allow the user to the user the reader as select text tools, etc.

    Here's the problem: I want my application to know what text that the user has selected.  And I would like to know the name of the field that the user has selected, not only the text of the field.

    PIA of Microsoft Office went something like this:

    currentDocument.GetSelectedText ();

    Is it possible to do with IAC or javascript or plug in the Player SDK features?

    If this is not the case, can it be done with the Acrobat API?  I've looked through the two sets of documents and have not found what I needed.

    Thanks for any help!

    To write a plug-in for Adobe Reader, you will need to go through 2 separate steps.

    Step 1 - Download the SDK Adobe Acrobat (from here http://www.adobe.com/devnet/acrobat)

    and build your plugin against the Acrobat product, following the documentation to ensure that you use only the API that does not exist in the player program. The documentation tells you what version of the Adobe ACrobat program or Reader is required for the function and that the function can be called in Reader.

    Second step: apply for a certificate of reader allow your plug-in to be loaded by the player, the link is on the same web page as the link above. This step can be started until you have created your plugin, and I recommend that start you this process before you develop your plug-in like Adobe may refuse to give you the certificate in which case your development would be lost.

    Only once you have authorization form Adobe can you do your job of plug-in with the reader app.

    Once you have done these two steps there are a lot of people on this forum who can help you with specific problems you may encounter.

    If you are not sure of having the knowledge to build the plug-in, there are a lot of people that you can hire to create the solution for you.

    HTH

    Malcolm

  • How to prevent a user not to access a table of perticular? This user has select any table privilege. Please help me solve this problem.

    Hello

    How to prevent a user not to access a table special (xxx)?

    This user has SELECT a TABLE ALL privilege. I need to restrict to only not for access xxx to the table, but this table is not existed in its own schema.

    But there is access able as select * from schema.table;

    How can I revoke this privilege.

    Please help me solve this problem.

    Thank you

    Lacombe

    1623609 wrote:

    How can I select privilege on specific tables at the same time?

    I want to create a new user and grants the right to select for tables, except a table (xxxx).

    It will be possible without the keystone of the database?

    One way, in several sql

    coil doit.sql

    Select ' grant select on ' | owner: '. ' || table_name |' to someuser. »

    from dba_tables

    where

    spool off

    Then sanity check "doit.sql" and execute it.

  • Connection problem: trying to connect to my computer at the title of the administrator, but after I put my login in it goes to check on the page and will not let me connect

    Try to connect to my computer as the administrator, but after I put my login in it goes to check on the page and will not let me connect. The regular connection for the computer works fine.  Any ideas?

    Try a system restore to a Date before the problem began:

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    It is the instance of Vista installation.

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/threads

    Adjust settings, manage user accounts.

    Try the Forum above to repost, if necessary.

    See you soon.

    Mick Murphy - Microsoft partner

  • Firefox 34.0.5 cannot print correctly. I checked all the pages on firefox problems and still can not solve the problem.

    I use 34.0.5 with Windows 7 and that you cannot print correctly. In print preview, it appears in a label size. I double checked all my settings in firefox and my preferences from the printer, I checked all the pages on firefox problems and still can not solve the problem.

    I was able to finally solve the problem, but I had to do a complete reset of firefox. Thank you for your time.

  • API / method Java call to check if the page is placed in the fact

    Hi all

    Will there be any appeal of the STANDARD API to check if the page is already placed in the site tree? Ran a search on documentation and could not find. Quick entries will be really useful.

    Thank you.

    Hello Mohan,

    See this other thread where someone asked the same question recently:

    Re: get a page with java ncode

    See Phil recommending using TreeManager footnote.

    -Mark

  • Is it possible to check if a user has a font of the device before using it?

    It's all in the title really. I was hoping that he could be a way to check if the user has already installed on the computer here to try to save the police loading the runtime when is not necessary a certain font. Is this possible with Flex4 and the new TLF?

    Thank you

    Ollie

    Font.enumerateFonts (true); I will give you a picture of the embedded fonts and device.

  • CFGRID - validate the user has selected a line?

    Hello
    How do you verify that someone has selected a line in a CFGRID before clicking on a submit button? Now I have to use a cftry/cfcatch error trapping the user to click the button submit before you select a line in a cfgrid.

    Thank you very much

    Kiley

    function canSubmit() {}
    If (gridName.selectedIndex! = undefined) {}
    submitForm();
    }
    else {}
    Alert (' Please select a record in the grid first...');
    }
    }

    Ken

  • Check if a user has a role (FGAC)

    Hello!

    I implement end grain on a table and in my political service access control, I do not want to limit the amount of data of result on a select statement, if the current user has a certain role (if not I want).

    My idea was to check the USER_ROLE_PRIVS/ROLE_ROLE_PRIVS for the role, but the stored procedure runs with define-rights, which won't help.

    Execution of the procedure with the appellant's rights will not help either, since not the current user is the Summoner of the political function, but the system DB (user sys?).

    And finally, the author of the political function has no DBA privs, so I can't select views DBA_ * to check if the current user has the role.

    Is there another way to check if the current user who is known inside the political function of the USER variable has a certain role?

    Thanks for your help!
    Marcus

    Focus on the use of SESSION_ROLES. Here are the roles assigned to your session. It will not work in a logon trigger as roles have not yet been awarded, but here, you can query the dba_views (well, not if you are owner of your logon trigger).

    Published by: old s/n on November 17, 2008 13:51

  • is there a way to check if the page request was made by specific URL?

    I need locking a page so it responds only to when a form is sent to our payment gateway

    Is there a way to check WHO sent the page request

    That is to say. If the page request to was provider of payment process form

    I'm already check if the form fields are valid by xreffing with our own details

    I check if the request was for the HTTPS version of our page

    I would now like to check whether the application was the URL of our payment gateway

    I use cgi.remote_addr and check the IP address, the only other thing you can use is the sponsor, but that can be easily spoofed.

  • Check if the page is displayed in the printer friendly mode

    I have a page with a button that loads the page even, but in fun mode of the printer. However, I have a button I want to be displayed if the page is in friendly print mode (a button to launch the print dialog box) however I want not displayed in normal mode.

    Y at - it a variable session or another way to determine if a page is displayed in the printer friendly mode?

    Hello

    Change your button and go to the Conditions section. There, you will have 2 options that will solve your problem:

    "Current page is printer friendly Mode"

    and

    "Current page is NOT in Mode friendly printer.

    --
    Paulo Vale
    http://Apex-notes.blogspot.com

  • The user has SELECT privilege

    Hello everyone

    I use Timesten 7.0.3 on Solaris SPARc 64-bit.

    I test CacheConnect Oracle Timesten Version with this Oracle 10 g 2 (same platform).

    I created a group of cache read-only (its name is 'servicios'). When I would try to load the cache group appears this error message:

    Command & gt; load cache group services commit every 200 lines;
    5056: cache fails: error_type = & lt; TimesTen error & gt; error_code = & lt; 15001 & gt; ERROR_MESSAGE: TimesTenTT15001: user does not have the SELECT privilege
    5037: an error occurred during the loading of TESTUSER. Servicios:load failed (TimesTenTT15001: user does not have the SELECT privilege)

    Details of privileges:

    Command & gt; Call ttUserPrivileges;
    & lt; TTADMIN, ALL & gt;
    & lt; PUBLIC, CONNECT & gt;
    & lt; PUBLIC, CREATE the store of DATA & gt;
    * & lt; TESTUSER, ADMIN & gt; *
    * & lt; TESTUSER, DDL & gt; *
    5 lines found.

    WHA'ts the reason for this problem?

    Thank you

    lewismm

    Sorry, misread the error message. TESTUSER has also need to SELECT (and possibly WRITE) the privilege in TimesTen. Disconnect all sessions since the data using TESTUSER store. Connect to the Bank as the administrator of the instance and run:

    GRANT SELECT, WRITE TO TESTUSER;

    then disconnect and reconnect as TESTUSER. You should then be able to load the cache group.

    Chris

  • reveal the pages when the box is checked?

    Hello

    I'm used to Acrobat Pro but new to LiveCycle. I need to hide several pages on a form until a user selects a check box. IE / user clicks on ' [x] category 1 ' and the page that contains the category content appears. If the user disables the check box, the page is hidden. IE / user erases [] category 1 and the page with the content disappears from the screen of the user.

    \i think it is called "revealing the page", but I'm not sure. Can someone point me in the right direction please?

    Thank you!

    Well, since I answered my own question, I thought I'd put the answer here just in case someone else can use it.

    First of all, some grumbling on LiveCycle: (you have to put up with this because this product is horrible and I had to pay a fortune to use...)

    • At that time, why pc only? I need only this one tiny but crucial function but was forced to borrow a pc and then buy a pc only (+ $ 300) software that I will use no doubt once again. All this should be feasible in Acrobat Pro with some scripts. (If your Google skills are best mine and you will find an answer, then please share it here and save the lives of others, the pain and the cost...)
    • Why is there a contempt of all feeling accepted, standard shortcuts - keyboard, mouse, and other methods of investment? Where is the ability to drag the guides of the leaders? Why can't hold the SHIFT key CTRL when dragging a form object to keep things lined up? BTW, ALT is how this copy - drag should be done - not CTRL. Where are the guides? Why, when I target an object in the generator of Actions I must scroll manually or collapse laboriously each page in the menu tree to obtain further to the bottom of the list? What a waste of my precious time and now unprofitable on this project.
    • I spent nice hours of creation of documents of approved customer in InDesign, only to discover that LiveCycle could not import my work in a way that preserves my layout, causing me to have to rebuild all my form elements. We are talking here of 9 documents and nearly 150 pages of provision of pain-staking, which had to be redone. And don't tell me that I should have used LiveCycle first. It should have been much more homogeneous than it was.

    Seriously, this product is expensive, not exhaustive, no standard compliant, similar to the use of Windows 95 in ways that no sane person should have to endure, but only pay for and put up with in 2014. Yes, Adobe high priests, I have in vain talk, knowing that this will fall indifferent, one ear deaf.

    OK - so here's the answer to my question. In summary, the steps to hide/reveal pages based on the user checking or unchecking a box are:

    1. Create the box by dragging the library of objects "Checkbox. Enter the question text and make sure that data binding name is unique for each instance. Let's say that all the elements of the box are on page 2 of the document. When the user selects the first box, three page turns. So, for this box, name it something like "CheckBox_Page3". Others would be called "CheckBox_Page4", "CheckBox_Page5" and so on.
    2. Select the first checkbox (let's stick with CheckBox_Page3 as our example.) and then right-click, choose Actions => add an Action (or Action change if there is an action already). The Action Builder dialog opens.
    3. I'm going to need two actions for each check box. One who says, 'If this box is cleared, then the page is hidden' and the other who said: "If this box is checked, then the page is visible." The Condition value: 'When the CheckBox_Page3 box is deselected' and the result of: show or hide a [HIDDEN] object. Then scroll down and select Page 3 in the left column.
    4. Set the action of the second so that the Condition is: "When the CheckBox_Page3 checkbox is selected" and the result of: "show or hide an object [VISIBLE]. Then scroll down again to select the Page 3.
    5. Browse all your boxes until all pages are put in place with a hidden/unchecked and checked/visible configuration.
    6. The last thing to do is to select all of the pages that will be hidden/shown in the left column. When this list is selected, visit the subform tab. Presence of the article and choose from the list: "Hidden (exclude from layout)." Now, the document will open with the appropriate, pages hidden from view, until the user selects the corresponding check box.

    Save OFTEN. Test carefully and on multiple platforms. Good luck.

    -Pete

  • Feature Request: Power detect what user tab selected in the view tab

    ' Twould be nice if the tab, the user has selected could be restored when a dialog with a view tab is re-presented.

    Or is it possible and I'm just brain dead right now?

    THX,

    R

    Hi, Rob.

    Use the property of 'value' of viewFactory:tab_view() with the data of 'identifier' nesting viewFactory:tab_view_item (). I just tried this and it works well. You can bind this value directly to the entry in the table of preferences, and the selection of the tab is restored to each race.

    Alex

  • How to see user response has selected

    Is - this by far a responses to a questionnaire that the user has selected can be seen on a page at the end of a quiz and printed.

    I'm curious - Devon did you try?

    / Michael

    Click here to visit the blog of www.captivate4.com

Maybe you are looking for

  • Cannot delete the bookmark, or an entire folder of favorites in the sidebar left

    With the help of Menu-bookmarks: Edit this bookmark: I get the button Delete and an OK button. Tried both, they do not remove it. I use c. 41.0.2. With the help of Star of the toolbar: delete Bookmark button and done the button, the two do not delete

  • How to change the order of photos in pictures

    Hello.  I am using Photos and my photos currently appear in the order that they were imported to the Photos.  I would like my photos to be displayed in order of the date they have been taken.  Any idea on how to achieve this?  Thank you!

  • Pavilion 500 - c60: product key

    If I chose to load Windows 7 Home OS on the 8.1 that sits on the newly purchased Pavilion 500 - c60 will be I had problems? AND if I choose to RELOAD 8.1 on the computer in the future how do I get the product key if as you say his anchored in the bio

  • Lg p925 device does not appear on my computer as a device mass storge

    USB downloaded and installed the device drivers and LG support software tool.

  • E250 problems with PSG

    My computer recognized the device in the past when he was in MTP mode.  Now, however, is not.  I opened the Device Manager, and on the portable device tab, it says device MTP with a small yellow "!".  When I right click and open the properties, it sa