Process of conditional based on IR-link after validation step

Hello

I am trying to find a solution to the following situation:

A PL/SQL-Process must be released if:
-the value of a page element is not null
and
-l' user has clicked on a link to the column in an interactive report (the link is "conditional")

My starting situation:

_1. DB-Configuration: _
CREATE TABLE TABLE1 
(
  NR NUMBER 
, SHOW_BUTTON CHAR 
);

INSERT INTO TABLE1 (NR, SHOW_BUTTON) VALUES (1, 'Y');
INSERT INTO TABLE1 (NR, SHOW_BUTTON) VALUES (2, 'N');
INSERT INTO TABLE1 (NR, SHOW_BUTTON) VALUES (3, 'Y');
_2. ApEx-Configuration: _

Interactive report with the following region source:
SELECT 
   DECODE(SHOW_BUTTON, 'Y', '<img src="#WORKSPACE_IMAGES#OK.png" alt="PushMe">', NULL) "E"
 , NR 
FROM TABLE1
The link should appear only if the value in the column SHOW_BUTTON is equal to "Y".
The column 'E' format is set to column report Standard, with a branch to the page itself.
View details and the search bar in the report interactive is disabled.
Furthermore, I placed an element on the page that is displayed below the text box.

What must happen now, if the cklicks of the user on the link:
1. the textarea element must be validated; must not be null
2. If the textarea element is not null, the SQL/PL-Process must be started

I tried several ways, including javascript, but I can't find the right way to make it work.

Any suggestions?

Thank you very much!

André



Database version:
Oracle Database 10 g Release 10.2.0.5.0 - 64 bit Production
PL/SQL Release 10.2.0.5.0 - Production
CORE Production 10.2.0.5.0
AMT for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production

ApEx version:
4.0.2.00.07

Published by: seggione on May 7, 2013 10:37

Hello

For this you don't have to do any complex changes(Dynamic actions) as I had mentioned previously.

Simply change your column to link to send the page rather than redirect to the same page.

either change the link in the column and value
Target URL
URL javascript:apex.submit ('MYREQUEST');

And modify your process plsql to erase the value of P1_TEXTAREA

and disable/remove the dynamic action because it is no longer necessary

Tags: Database

Similar Questions

  • edit interactive report based on APP_USER link conditional

    I have a users table with standard information, including a user_id column which is what is used by my access control page to connect. I have a screen of user management with an interactive report I want everyone to see all users, but I want only the link modify to display the line that represents the user who is logged on. I know there is a conditional parameter on the link change, and I tried to develop in exp1 = exp2, with & APP_USER. exp1 and exp2 user_id, but who do not seem to work. Any other ideas, or I'm doing something wrong with the way I tried to make it work?

    HI -.

    It really bothers me, this forum has a problem with the code examples, so for a while at least I posted quick example on Google:

    [Conditional column | http://docs.google.com/Doc?id=dd2tkvv6_212dbzw2ftq]

    Not to complicate too much, but if you want without empty column except a line, you could of course apply this trick to the column that contains actually the user name in your table... in other words, the user can right click on their name to go to the Edit screen, but any other name user, but they would not be a hyperlink. But it is as they say an exercise for the reader :)

    Good luck.

  • Call the process page when clicking on a link to report

    Hi all
    I want to call a process of conditional page when clicking on a link to report;
    That is to say the process runs only if the user clicks on the report link.
    How can I do this?

    Thanks for your help.

    Concerning
    Ozzie

    Hello

    Yes, if you use the column change attributes report, in the section "links" column you can assign values to some articles.

    But if you only need to apply, you should probably use URLS like target and a javascript:doSubmit('REQUEST');.

    Kind regards
    Andrea

  • Cannot open the safari link after installing the iOS 9.3

    Cannot open the safari link after installing the iOS 9.3

    This is a common problem and there is currently no permanent solution yet.

    Try turning off JavaScript under settings - Safari - Advanced.

    I think that apple will figure things out soon.

  • Firefox does not open a link after the first; Open ok in new tab front.

    In the last week or two, for reasons not clear to me, Firefox does not open the new links after the first; It is used to open a new connection in new tabs (according to my preference) without problems in the past. Now it does not blink again.

    Over time, I've added new applications and others removed, and, of course, I can't exclude from their role in the problem that I have now. I would appreciate some help to solve this problem.

    You have this problem when running in Firefox SafeMode?

    http://support.Mozilla.com/en-us/KB/safe+mode

    Do not choose anything at the moment, just use 'continue in safe mode.

    If this is not the case, see this:

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+theme...

  • Read the output values after each step runs in the User Interface of LabVIEW

    Hi all

    Development environment: TestStand 2010 SP1 and LabVIEW 2010 SP1

    Problem: is there a way to run the following steps programmatically and get values out of each of them?

    I have already extended a bit a complete interface IO for TestStand load any sequence, choose among the measures and execute step by step (something as an alternative to the steps run selected). What I'm trying to do is to add some actions between each step and do in the UI (I can't change the sequence!), so I start the NewExecution with some previously configured InteractiveArgsParam and option breakAtFirstStep set to true. Eventually I do just something like step over when debugging the sequence and it works well, but I didn't do well a way yet to read the output values of the place...

    So, if I wait before the end of the run I can read my results by treating the ResultObject, but it works only after the completion of the test sequence. Because I wanted to stop after each step, read the values, do some actions and continue to the next step, I've tried to register a running Trace event reminder View Manager. I see that after each step is executed, this event is fired, but when I try to read that a ResultObject returned in the event data it is not filled with values (ResultList seems to be empty?). Is this a correct behavior or maybe I'm reading the wrong way? (It's the same VI regarding the reading of the ResultObjects after the sequence ends and there it works very well for tables, containers and other types of data).

    As I mentioned I can't change Test sequences, I can not add a UImessages.

    What are my options? If the trace event returns output all the values from each steps or is it just used to check the status? Or maybe there's a completely different approach to this issue?

    Thanks in advance for your suggestions,

    Best regards.

    When you manipulate the UIMessage trace (you need this before the return of the event or you will present the race conditions), download myuimessage. Thread. Then call Thread.GetSequenceContext (0, & Iplease).

    And then on the context of the sequence, either go to PreviousStep.Result if it exists, or watch Locals.ResultList.

    Trace events occur between the steps executed step the more recently is the previous step, but it is also a trace event to the beginning before any measure have run at this time, there will be a previous step.

    Hope this helps,

    -Doug

  • How to display data series changed after each step in labview gui, that is to say after the match point fantasy, after substring etc.

    Hi, I have a labview GUI that receives data serially through VISA and basically chops to the strings and realize games until I have values that I'm looking for. I have then convert Ascii string in decimal and feed the new values to a waveform. However, I discovered that some of the output values are incorrect. I checked this by pulling data through Realterm.

    Is it possible that I can see the modified data after each step in the user interface so that I can find where the problem is? I created indicators after each step, but they do not display data, I guess that its because the data is moving too quickly.

    I am very new to labview and struggled through every bit of this GUI, as none of you regular posters know. If you can suggest a solution, please know that I will probably ask more fundamental questions in order to implement your solution.

    I enclose my GUI with a screenshot of the same data through the Realterm. Basically any where you see xxxx TR TR or W xxxxW, know that it is the data between them is to say xxxx that corresponds to the data of interest. Everything else is ignored.

    I suspect that the problem lies in the string to decimal conversion and where 3 digit values increase to 4-digit values. That is, all values of less than 850 are correct but it is the maximum value is reached. My values are expected to reach 2500. Any help would be greatly appreciated.

    You have other debugging tools available to you.  You can use the run culminating to slow down the code and show you the data flowing from each wire.

    You can create a Subvi, which takes the data of each wire and written to a log file if you can review it later.

    You give not the screenshots to your message.

  • How can I make all my actions run automatically, without dialog boxes that appears after each step?

    My question is in what regards Actions. I have my Options of accelerated reading the value, and I unchecked the option 'Allow Recording tool', but every time I run a certain set of actions, a dialog box is displayed for each step and I have to press return to continue after each step. In my mind, which reduces the value of action in the first place. Any ideas on how to solve this problem? Thank you very much!

    In the control panel actions are two boxes next to each action. The first is a check mark and the second looks like one of three things: a red box, a gray or an empty box. If they red or grey area is there then the dialog boxes will be displayed. Turning point of this area on 'stop' should fix your problem.

  • Question about sort after validation

    Hello!
    I have a view object. I put in "order by clause" some sort (in the tab query this object to display). I created the jsf page and dropped this display as a table object. Also, I gave up a posting as button operation. When I change a value in the line and press validate, does not my 'order by clause' on the view object and I get unsorted data. When I press Commit the second time, performs a "order by clause. Can suggest you how to bypass this "Commit" behavior?
    JDeveloper version 11.1.2.2.0

    I thank the of to get answers.
    Best regards, Stanislav

    Hello

    Perform execution after validation. You can do this by running the two actions in the actionListener validation button. Search this forum to find out how to perform the action of support of bean binding.

    Arun-

  • Save the links after conditioning

    OK... Here's another silly question.

    It seems that, after I have finished a bulletin and I have the package... If I have to go back and add something... I have record of course, but later when I open it, I have to go back and re - bind some of the graphics.  Should I wrap it with a different name every time that I go back and add a logo or graphic?

    If you are working on the new package, then you can simply copy the chart to the new folder of links and use the file > place and select the file in the links folder.

    All packaging does is collect all the indesign files, fonts and links that are in use - records and links to the new folder of links.

  • Call for a process of page by clicking a link

    I have a report of the Apex with several lines and a column of link in. I would like to be able to call a page process to work on the line with the clicked link... I also need a couple of settings somehow to the process page that he calls a procedure that requires the parameters to operate correctly.

    So-
    When I click on a link on a line... maybe a couple of hidden objects page get ready.
    The page is then submitted and my process calls the procedure by using the values of the elements defined above as its parameters.
    Control is subject to the original page.

    So, basically, I'm trying to allow a user to perform repetitive actions on each line.

    My thought was to use a URL in the link and perhaps Javascript... or I am barking the wrong tree and is there a better way rather than a link?

    Thoughts?
    See you soon
    Ken

    You have the right idea. JavaScript is the way to go. Assuming that the values that are passed are part of this line of data, you can build the call to process JavaScript.

    Create two hidden objects on your page, make sure that they are not protected.
    say P1_CITY and P1_STATE

    Say your city query included and the State, define a column in the report as a link of the URL target with the following url

    JavaScript:MyFunction('#City#',_'#State#');

    Then set a javascript function in the HTML header section page

    function myFunc (City, pState) {}
    $x_value ('P1_CITY', City);
    $x_value ('P1_STATE', pState);
    doSubmit ('RUNPROC');
    }

    Then a process on the page did you want and which is conditional on the APPLICATION = "RUNPROC."

  • FFOX open random links after hovering above him

    for the most part after that hover over a link firefox opens automatically in the same Windows I tried to disable and remove all addons & themes, but nothing changes...
    I also tried "Refresh FireFox' Option, but it did not help...
    all plugins are up-to-date
    -Add-ons installed
    adguard - extension
    -hoverzoom
    -IDM

    system is protected by AVG Internet Security 2015 (authorized copy)

    Have you tried to restart the computer.

    You can also try another mouse, in case there is a problem with the mouse you are currently using.

    Start the computer in safe mode Windows with network support (on the startup screen, press F8) as a test to see if that helps.

  • I can open is no longer my daughter's school Internet links after updating to iOS 10.8.5

    My daughter's school uses a Web site called RenWeb for more information of the school. I can connect to the site without problem. But they often send e-mail with web links to RenWeb. I used to be able to open these links, but now they start loading but stuck. I can still open these links on my iPhone. I can open these links in Safari, but Firefox is my default browser and I prefer to keep it that way. I have an iMac and recently upgraded to iOS 10.8.5.

    These are PDF files.

    The built-in Firefox PDF Viewer doesn't always handle not all PDF documents correctly, so it is possible that this happens in your case.

    Then you can consider to open in PDF (preview or Adobe Reader) reader program where these program accepts URL based on the internet.

    See also:

  • Could not open the link after installation of 9.3

    After installing IOs 9.3 on my i Pad Air? (Model MGL12HC/A) I can't open a link in my browser (safari) or in my mail.

    How can I solve this?

    This is a common problem and there is currently no permanent solution.

    Try turning off JavaScript under settings - Safari - Advanced.

    Keep patience, I think soon Apple will figure things out.

  • Missing links after a Malware attack

    XP Pro, IE8, OE6

    My old father-in-law of 94 is suspected of by clicking on a link in an email from "Solutions from PC" he received as bait the reader with 'If you can't read this email, click here', followed by the Pandemonium, then ends by "we can fix your computer for $79, just click here.  Fortunately, it has not executed this last step ($$). It won't just admit it. In any case...

    MSE has completely failed me. I've since returned to Malwarebytes online malware protection. So to make a long story short... the office photo disappeared (only in blue BSOD), programs in the start folder Menu was completely empty (but because the programs were all still there in Program Files), administration tools and accessories were empty and the system restore didn't work. The malware "System Check" was bad. Malwarebytes would not work. I scanned with MSE and cleaned up the bad guys (AFTER infection :-(), deleted and reinstalled Malwarebytes and it ran, but the damage was done. I ran SDFix and it was clean and then displayed. Bringing more hidden links, but not all. System Restore worked now but I had to fire through the window RUN (no links anywhere). But the old restore files have apparently been corrupted and none would complement a restore (get about 1/2 way on the progress bar, then quickly complete 100% restart and then "unable to finish restoration".  Internet has never stopped working, if it's not the kicker. First time I had seen that happen with a coup of malware. Usually, at least a proxy is checked, if not a winsock problem.

    Everything works now, but I'm missing a bunch of links again and I was wondering how to recover them, short of a repair installation. Adminstrative Tools is empty, both record programs and in the control panel. Many start/program Menu folders are still empty, entertainment is empty, Sytem Tools contains only the IE link (no add-on), and root C contains three records of recycler (recycler, recycle (2) and Recyler (3).) I don't know what these are, but they each contain a couple of folders that contain application files names you see in the registry as "S23984q32098u3948234" - I made this one.

    Could / should I copy the links from my computer (both XP Pro) and hope this works if their paths are the same? Are there certain keys regsitry that I need to change/remove?

    Any suggestion would be great. Thank you

    Hello

    I suggest you perform a repair or upgrade installation on site of the Windows XP operating system. See the following articles on the necessary guidelines which must be followed before upgrade on site.

    How to perform a repair of Windows XP installation, if a later version of Internet Explorer is installed?

    http://support.Microsoft.com/kb/917964

    How to perform an upgrade on the spot (reinstallation) of Windows XP?

    http://support.Microsoft.com/kb/978788

    NOTE: Make sure that you back up the data you want on the computer before you perform this task.

    Once the installation is finished, you can see the following article on how to reinstall Internet Explorer.

    How to reinstall or repair Internet Explorer in Windows 7, Windows Vista and Windows XP?

    http://support.Microsoft.com/kb/318378

Maybe you are looking for

  • 430cds asks for disc system on start up

    I wonder if anyone knows what the problem is with my laptop, I have it lent to a friend for a few months work in order, that she is back and now everything he said start up is "insert a system disk in drive press a key when it is ready.Unfortunately

  • Satellite T - FN toolbar no longer appears

    Hi, I made a few changes on my startup item, but now I saw that when I press on touch you FN the label that appears toward the top of the screen were eliminated. How can I do to appear new? Sorry, writing, but I'm Portuguese so if you do not understa

  • create IVI driver for HP 34401

    I searched and can't seem to find if there is a driver available for the HP/Aggilent 34401 IVI? Is it possible to create an IVI driver for this resource?

  • Today I've updated Internet Explorer v 11 &amp; now not fully functional simplepass. Help!

    Hi everyone, it is just my first post s I hope it's in the right place. I have 3 questions & I hope the answers to sort my problems. Q1: My laptop has only 5 days. Envy 17-j053ea model. SimplePass is c. 6.0.100.276. My OS is Windows 8 & everything wa

  • no administrator user on computer

    I have set up my son on the laptop as administrative user and then added myself as a user.  After I realized that I wanted to be listed as the admin user and when I made the change administration user somehow lost all together.  Now whenever I need t