Redirect to a different page after the delete operation in the shape of APEX
Hello guys,.
I have a problem with the redirection to another page after a deletion of form data. Here's the scenario. I have a parent page and a model page to change the contents of the data source. Delete the operation works quite well. but once it deletes and it is up to the parent page. I want that redirect to a completely different page. Is there a way that can be used here? I tested the process of branching, it redirects the page, however, it does not remove the record from the table in this case.
I tested the process of branching, it redirects the page, however, it does not remove the record from the table in this case.
It should work. Check the properties of the branch. 'Point' should be after treatment when you press the button Delete:
I forgot to say about it:
> but once it deletes it and it is up to the parent page
Remove the dynamic action of dialog closed, or make it conditionally.
Tags: Database
Similar Questions
-
How to redirect to a different page after logging into APEX 4.1
Dear all,
Here is my requirement when the connection of users,.
When they entered their username and password and press the login button.
they redirect to different pages depending on the type of user.
Here's my LOGIN_TABLE has 3 columns, more
1 user name
2 password
3. type.
The TYPE has 2 values, employee and admin.
When the type is admin they should be redirected to page 2,
reaining IE users used must be redirected to page 3.
How can I do this? Please give some suggestions.
Thank you.
Kind regards
GurujothiCheck it out. Guru user lands on Page 1, other land users to Page 2.
Here's how it was done.
a. the CustomAuthentication function returns a Boolean, but does not store the username anywhere. So I changed it.
b. has created a named FUSER element of the Application (you can change the name and code as you wish).
c. change the CustomAuthentication function to include the following line just before the return statementAPEX_UTIL.SET_SESSION_STATE('FUSER',upper(p_username));
So now the user name is stored and used in the session state.
d. added the branch on Page 1, Onload before header that has Page 2 as its target.
e. does the conditional branch using the lettering element FUSER. The condition is FUSER <> 'GURU', so that other users are directed to the Page 2.Kind regards
-
Redirect to two different pages in the same form
I'm a little new to this. Hoping someone can guide me on how to do this. I have a simple selection list (below). If they the user chooses the selection in red I want to redirect to one page other than the cfform tag, but I can't understand how to separate options in the form in the same list. Thanks in advance.
< action = "index2.cfm cfform" method = "POST" > "
< table align = "center" width = "475" border = "0" cellpadding = "1" cellspacing = "0" >
< tbody >
< b >
< td > < span class = 'label' > select Version: </span > < table >
< td >
< name cfselect = "UPVersion" >
< option value = "" > < / option >
< option value = "66SP1" > 6.6 SP1x < / option >
< option value = "66SP2" > 6.6 SP2x < / option >
< option value = "701" > 7.0.1x < / option >
< / cfselect >
< table >
< /tr >
< input type = "hidden" name = "gosearch' value ="gosearch">
< input type = "hidden" name = "Lines" value = "50" >
< b >
< td colspan = "3" align = "center" > < input type = "submit" name = "Submit" value = "[search]" > < input type = "reset" name = 'reset' value = '[clear]' > < table >
< /tr >
< / tbody >
< /table >
< / cfform >
mostlyconfused wrote:
I'm a little new to this. Hoping someone can guide me on how to do this. I have a simple selection list (below). If they the user chooses the selection in red I want to redirect to one page other than the cfform tag, but I can't understand how to separate options in the form in the same list. Thanks in advance.
Select Version: It could well be too many moving parts for beginners to follow. Start with something like
function getVersion()
{
var version = document.getElementById('UPVersion').value;
if (version == '701') {
window.location="some_other_page.cfm";
}
}
id = onchange = "getVersion ()"UPVersion"" > "" -
I want to do a video opening and to redirect to another page after the end of the video, how do? No matter what widget or code can do?
Can do in muse and I tried to use dreamweaver like the code below:
<! doctype html >
< html >
< head >
< / head >
< body >
< style >
{#video_background}
position: fixed;
Bottom: 0px;
right: 0px;
min-width: 100%;
min-height: 100%;
Width: auto;
height: auto;
z index:-1000;
overflow: hidden;
}
< / style >
< video id = "video_background" preload = "auto" autoplay no Cup >
< src = "source opening.webm" type = "video/webm" > "
< src = "source opening.mp4" type = "video/mp4" > "
This browser does not support video
< / video >
< script type = "text/javascript" >
{document.getElementById('video_background').addEventListener ('ended', function ()}
window.location.href = ' http://www.xxxx.com';
(}, false);
< /script >
< / body >
< / html >
adeletsang wrote:
Thanks for your reply.
I just need to click on "object > insert html ' muse and paste the code there?
My video ID is video_background which is defined by the widget by default, I should change the code below:
//show/hide intro
$(window).ready(function() {
$('#video_background').fadeIn('fast', function() {
//wait 5 seconds and fade out
$(this).delay(5000).fadeOut(2000);
});
});
The site I posted has no video in there and I don't have the widget that Peter sugested however, you can replace the startup code Nacy O made (the black with bit blob going around it) and it should work... understand that a ve\ideo will have to be downloaded by your browser clients before they can see it, so it's another delay for them.
The code you posted is the code of downtime and that seeks a DIV not called "intro" so no do not change his name...
A mandatory opening text
After 5 seconds, this block will disappear.
Everything between the two div tags is startup code and replace you it with you video and then use the muse "object > insert html" tool to place on your page.
The demo includes three bits;
- the body or the div tag is the code shown above and goes into the tool "insert html".
- a header code that defines styles i.e. the yellow background and text... cela goes in your location of metadata page
- The final code is the timeout in jQuery you had but do not change the name to the background image unless you also change the name of your div to match... Nacy O put it in its footer code that is correct for DW, but Muse has no footer as such area so I used a master metadata slot to the same effect. The important point is that it descends UNDERNEATH other codes.
Have a play with it and see how you go...
-
Cropping multiple pictures on different pages at the same time
Can I culture several images on different pages at the same time. In my french version of software Photos 1.5, this option is called "the photo to the frame adapter". I'm able to select this image of an option at a time, but could not find a way to make the entire book in one click.
No there is no functionality like this in Photos
You can ask Apple to add the - http://www.apple.com/feedback/photos.html
LN
-
different pages of the main façade
How can I create different pages on the front panel? A link is provide whose façade a number of pages.
https://decibel.NI.com/content/docs/doc-15943
Hello Sadan,
Use the Tab Control.
Kind regards
Leila
-
How to push a new page after the current pop page
Hi all
Is it possible for me to push a new page after the current page to burst?
For example, main.qml I push page1.qml push page2.qml and pop page1.qml? (so the left in the stack are main.qml-> page2.qml)
Can any ideas on how I do this?
Thanks in advance.
Of course! :-)
You can use the NavigationPane remove() function...
-
How to view the different pages of the same doc PDF at the same time
Hi, I am wondering how to view different pages of the same doc PDF at the same time. For example, I love to see certain content on page 1, while referring to page 4 of the explanation. It may be useful to add in for Acrobat if it is not now.
Thank you
Use: Window - Split.
Saturday, October 24, 2015 19:49, daiyueweng [email protected]>
-
Oracle HTTP server on a different machine than the database and APEX
Hi guys!
I wonder if its possible to have Oracle HTTP Server installed on a different machine then the database and APEX?
With respect,
PsmakRHello
exactly. Details have recently been examined here: {: identifier of the thread = 1955437}. You will find the link to the license document it.
But OSH is not only registered with the database. If you have an OAS running somewhere, you can use the HTTP server that comes with this instance for APEX as well.Another option could be the APEX listener that runs on (almost) any J2EE container. The officially supported include the embedded GlassFish and the Open Source Edition of GlassFish, who both don't need no extra license.
-Udo
-
Integration of EBS-Apex - not able to get cookies in the shape of apex
Hello
I'm trying to connect shapes apex with E-Business Suite.
I wrote the following code in the PL/SQL called by the function of the form:
-------------
OWA_UTIL.mime_header (' text/html', false);
OWA_COOKIE. Send
(name = > 'APEX_APPS_': application,)
value = > FND_GLOBAL.user_name |': ' | apex_generate_hash (FND_GLOBAL.user_name),
path = > ' / '.
);
OWA_UTIL. REDIRECT_URL ("http://xxxxxxxx:xxxx / bus/apex/f?") p ='|| request: ': ' | page: ': ' | Re
Quest: ': ' | item_names |': ' | item_values);
----------------
Then I wrote this piece of code to read the cookie "before the process" section of the APEX
page I called above:
---------------
DECLARE
c OWA_COOKIE.cookie;
a wwv_flow_global.vc_arr2;
BEGIN
c: = OWA_COOKIE.get('APEX_APPS_'||:APP_ID);
a: = htmldb_util.string_to_table (c.vals (1));
.
.
-------------
This results is NO_DATA_FOUND which means I'm not able to get the cookie.
I've checked and matched cookie APEX_APPS_ < ID app > name in both places.
Can someone help me please? Why I am not able to get the cookie in the form of the apex?
Thank you.: FSP_AFTER_LOGIN_URL: = 'http://xxxxxx.xxxx.com:7779 / bus/apex/f? p = 103:21 :'||: APP_SESSION |': & ptrace = YES;
There should be no previous colon & ptrace = YES.
The first two of them:
insert into temp12345 values (' session id ' | wwv_flow_custom_auth_std.get_session_id_from_cookie);
insert into temp12345 values ('username' | wwv_flow_custom_auth_std.get_UserName);You have not authenticated, and yet, there is no cookie, where a session or a username can be obtained.
P_FLOW_PAGE =>: APP_ID | ": 21' |': & ptrace = 'YES);
You cannot use & ptrace here.
The next two years:
insert into temp12345 values (' session id ' | wwv_flow_custom_auth_std.get_session_id_from_cookie);
insert into temp12345 values ('username' | wwv_flow_custom_auth_std.get_UserName);The cookie is sent to the browser to the login procedure. You can not access a cookie sent in an HTTP request in the same HTTP request. You will be able to access the next page, after the redirect to the login page after termination.
Scott
-
Redirecting to a page after the dynamic action
I stated a dynamic action of a button (its dynamic action of pl/sql). After its been pressed it fills a line in a table.
I want to redirect it to another page, once completed the dynamic action. How can I do?
PL/SQL D.A. have an indicator expected result, make sure that is selected.
Then, action of true of JavaScript:
Window.Location.href = ' & APP_ID.: 1: & APP_SESSION. :::'
or simply add a real action of page submit and manage the re - run by a branch of the page?
-
Deletion of the page after the new SelectList items selected
Environment: APEX 3.1.1.00.09
I have a SelectList called 'P2_BUILDER_NAME' which is filled with a LOV based on SQL. Items associated with the Builder, including the address, postal code, phone, etc. are also on the page.
Once these items are registered for a particular manufacturer and committed, the user realizes that they used the generator of fake and wants to choose a different constructor. I would like to be able to clear the elements on the page associated with the old constructor so that the user has empty items to new data of the manufacturer.
I have created a process depends on: ASK matching the name of the SelectList (I read this in another thread) and the process sets the variables page on a null value, i.e. P2_BUILDER_ADDR1: = null;
This sets the session to the correct values (null in this case) States after the page is sent, but the elements on the screen still contain the old values. Session state is set to ' only... "so that the user can navigate between the pages and values remain as input.
I tried to create a javascript function that uses the $x_Value function to set the values of the page something again and had the function performed in an "onchange" on the SelectList P2_BUILDER_NAME event, but when the page runs it sends me to the login page.
Is there a way to erase the page displayed when item values while keeping their session state on ' only... " ? Maybe a different javascript function?
Thank you very much!!
-garyHello
In the onchange event of the selection list, you can put code like: onchange = "javascript: $x ('P1_POSTAL_CODE') .value ="; $x('P1_ADDRESS').value = "; »
Instead of inline javascript, you can also create a javascript function and just call the function in the onchange event.I don't know if it also works in 3.1.1 but in the latest version of the APEX, you can use $v ('P1_POSTAL_CODE') = "
Hope that helps.
Kind regards
Dimitri
----------------------------------
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
AWARDS: Don't forget to mark correct or helpful messages on the forum -
Redirect to 3 different pages based on the value of the Auto complete field.
Hi friends,
I use a "Auto complete field" in a page for research (Apex version 4.0). But I need to get the values of the 3 tables and when you click on the redirection of the value to one of the 3 pages based on the value.
For example, I have 3 tables. 1 customer 2 Sites 3.Employees. When I enter "c" in the search field, I need to get values of 3 tables in this area "AutoComplete". That is to say, if I have a customer with the name "cusotmer1", "customer2" and the location with the names of "cisc1", "cisc2" and employees with the name "cid1", "cid2"; When I enter "c" in the FQDN of the auto all 6 values must be given in the "AutoComplete" box and clicking on "customer1" / "customer2" need to redirect to the 'customer' page When you click on 'cisc1' / 'cisc2' redirect to 'site' when clicking on "cid1" / "cid2" redirect to the page of the employees. Is there a way to do this. Help, please.
Kind regards
NAVNet asset value,
Here is a sample page that uses the code I proposed works fine for me with FF and IE (8.0).http://Apex.Oracle.com/pls/Apex/f?p=18:3
Note: I've added a warning message before being submitted
This page works by your side?
-
Photosmart 3210 print extra page after the installation of the Mavericks.
HP Photosmart 3210 - old but already reliable. Mavericks installed within the last few days.
An additional page is printed after or before each document. Page is strange for example 2345 X numbers. or 2.
Window printers and scanners (Options and supplies) says he uses pilot 4.0.4
The line with 2345 X seems to be typed after the correct draw is complete, but page is not pushed to the next printed document is initiated. Line 2 is printed our apparently at random, when printer is idle. Twice while I typed this
I tried to delete the printer and reinstall after verifying the software update. He has not fixed the problem.
Hi wbt1,
The patch is compatible with Snow Leopard 10.6, and I am confident that he will solve the problem. This HP Print Driver Update solves the problem with HP inkjet products that causes an extra page to print once planned.
Communicate details
Exit the: 03-12-2013 -
Cannot setParent to a page after the call to resetScene
Previously, I put a Page as the scene. If I try to reset it, then set the stage with a TabbedPane then it works fine. But if I want to reset the stage and then you want to define it is parent to null and then delete then I get exception while affecting the null parent or another object. Why its happening?
AbstractPane *pane = this->app->scene(); this->app->resetScene(); if(pane != NULL) { pane->setParent(NULL);// exception here delete pane; } this->app->setScene(filteringPane);
Thank you.
If the Page is administered by the Application, I suspect that resetScene() it suppresses contrary the docs.
This seems logical, because the docs of setScene say that the previous scene is deleted if it is owned by the Application. I don't see why resetScene() would work the same:
So, it seems like it after a call to resetScene() as the old pane no longer exists.
'pane' become not NULL because it is just a local variable that contains an address, resetScene() can not change it.
Maybe you are looking for
-
Is it wise to use Little Snitch?
I was wondering if there is any sense to use Little Snitch? Be able to know what is out of the way but I have nothing here except that which comes from the App store and Micro$ oft Office who's come off in two months. I was wondering what you have gu
-
Create a file with the installation program structure
Hello I am trying to create a .exe of my program and it gives users, then helping them install the engines of execution (labview and Visa), finally, I create a few folders on desktop there and add a couple of fichiers.txt/.ini and .bat to these folde
-
I can't update I get is more rgisteed or installed error message. When I try to fixit I get error report faild to install components. I can't get scurity essentials to install. What should I do to fix this
-
I get this error message every time I boot the laptop: This application has failed to start because sqlite3.dll is not found. Reinstalling the application may fix this problem. I get this message as soon as I start the computer. I still don't know wh
-
foutmelding update windows vista premium 800719E4
Help! AUB in het Nederlands, ik vind het al warm genoeg. IK squeeze foutmelding 800719E4 couriers. Fix Schijf has alles ruimte, heb al geprobeerd. Wat kan ik nog doen?