Region Buttons with Optional URL redirect?

Hi there,
Is there anyway to have a button that is created using
"Create a button displayed among this region's items"
but that also can have an Optional URL redirect?
Why is this option not available for these types of buttons?
Thanks in advance!

Hello but that also can have an Optional URL redirect?Why is this option not available for these types of buttons? That's just how it is. The action taken by a button of the kind that is shown amongst the region's items is not usefully configurable. What I generally do when I need a button to align with a page item is to simply stick some HTML into the 'Post Element Text' of the item after which I need a button to show up. Something along the lines of <input type=button value='Redirect' onClick=doRedirect()>
varad

Similar Messages

  • Optional URL Redirect Question

    I just created a button and in the "Optional URL Redirect" section I am redirecting to the same page. Then I set the "Set these items/With These values" properties with a particular item that I want to remain populated with the same value that it had before the redirect.
    Problem: When I run the app and enter a value in that item and then click the button, the value in that item disappears. Why is this happening if I set the "Set these items/With These values" properties, as described above? Thanks.

    Patrick,
    ...there is a "Request" property that had to be set to the name of the button, in order for it to work correctly, i.e., in order for the region that needs to be displayed when I click this button to actually display.
    Okay, that implies that whoever built the page uses the request value during page rendering to conditionally show/not show certain elements. If that's the requirement then setting the request value in URLs produced by certain branches might be appropriate.
    If I choose to clear the cache for the branch, as soon as I click the button and am redirected to the same page, the permit number disappears once again.
    This would be a case where you wouldn't clear cache in such a URL. But when you navigate to that page from other pages in the application, say from a menu, list, tab, etc., you might want to in order to prevent stale values from displaying in the form items that use "Only, ..." for Source Used.
    Scott

  • Optional URL Redirect - choice

    I have a form with 3 check boxes
    1 report 1
    2 report 2
    3 report 3
    I have a button with an optional url redirect
    it's request is (PRINT_REPORT=fundi1)
    but depending on which check box is checked
    I wanted
    PRINT_REPORT=fundi1, PRINT_REPORT=fundi2, PRINT_REPORT=fundi3
    how can i have a choice, Thanks, Doug

    You could have an event off the checkbox that would populate a hidden variable (RptNum) with the fund1,fund2,fund3 values and in your request have PRINT_REPORT=&RptNum.
    Give that a try and see what happens..
    Thank you,
    Tony Miller
    Webster, TX

  • Optional URL Redirect using REQUEST

    I can pass REQUEST values by populating the 'Request' field on the Edit Page Button page.
    But I want to add a new twist.
    I want to include the URL in my select statement.
    Is it possible to pass a REQUEST value in the URL.
    For example:
    This is the URL in my select statment-
    a href="f?p=&APP_ID.:3000:&SESSION.::NO:3000:P3000_BLDG_ID,P3000_CLST_ID,:&P2000_BLDG_ID.,&P2000_CLST_ID."
    I also want to pass Page Item :P2000_CONNECT_ID to P3000_CONNECT_ID, but it will not pass using the typical example above.
    I think I need to use REQUEST.
    But I dont know if its possible,
    and
    If it is, I dont know where, in the URL to plug it in.
    Can someone please help me out here?
    Thanks- Gary

    Gary:
    The 'REQUEST' is specfied as the 4th element in an APEX URL.
    The URL syntax is documented at http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEIJCIAG
    So your URL that includes the 'REQUEST' variable will look like a href="f?p=&APP_ID.:3000:&SESSION.:&REQUEST.:NO:3000:P3000_BLDG_ID,P3000_CLST_ID,:&P2000_BLDG_ID.,&P2000_CLST_ID."Varad

  • Optional url redirect

    Hello,
    I have a button on a page, by clicking this button there should appear a small pop-up window with the question if the user agrees the data.
    For the moment, I have the following:
    javascript:confirmDelete('By pressing this button, you confirm the following headcount numbers for... Are you sure?','APPROVE');
    Instead of the 3 dots, there should be some data. Actually I want the site name, together with the headcount numbers / category. It should be possible to put the name and the calculations in a hidden field somewhere on my page, but can someone tell me if its possible to display the value of those items in the pop-up window?
    If I now just put the name of the item instead of the ..., I got the name of the item in my window and that's not what I want :-)
    Sofie

    Hi Sofie,
    You can do something like the following:
    javascript:confirmDelete('By pressing this button, you confirm the following headcount numbers for ' + $x("fieldname").value + '. Are you sure?','APPROVE');
    This will retrieve the value of the fieldname field and concatenate it into the rest of the string.
    Regards
    Andy

  • Web Link Buttons with Variable URLs

    Hey all:
    I asked my question earlier in the general InDesign section of the forum, but a helpful user suggested I repost it here as it will take some scripting magic to accomplish:
    My work assignment of late has been developing an interactive PDF catalog of our products that my superior can distribute digitally and let potential customers browse without accessing the website.
    We have an Excel file that lists all the details of our products - name, description, title, image, category, etc. I have used Data Merge to create this 300 page document rather than hand-copy each product's information to a single page.
    Unfortunately I am now stuck - I have designed the catalog in such a way that I have an image that I want to make a button which, if the person wishes to purchase a product, will take them directly the the product page online where he or she can add it to the shopping cart. This is great, but I cannot seem to find a way to make the image button's link a variable as the rest of the page content. Links to each product page are included in the CSV file, but without a variable web link method, I would have to create the unique links individually, which kinda defeats the purpose of using Data Merge anyway.
    So my question is this - is there any way to make a URL button (an image) have a web link function that can read from a CSV file and change each page like other imported content? If not, is there another way to automate the individual link process without setting it up on each generated page?
    Thanks in advance,
    Asher

    Huh, that error seems really mysterious. (I had assumed your initial problem was from targetting the ESTK instead of targetting ID, and when you said "hangs at the for loop" you meant the actual "for(..." line.) I'd be curious...if you run the broken version and after it hangs, try typing in the JavaScript console:
       p
       p.buttons
       p.buttons[0]
       p.item(0)
       p.buttons[0].id
       p.item(0).id
    which ones work and which fail?
    In CS5, script labels got a bit more annoying to use. I think you might be better off using text box names instead.
    Name the text box in the Layers panel by click-pause-click-ing it (wow, what an unfamiliar UI!) and assigning a name to it.
    Suppose you name it "url".
    Then instead of "p.textFrames[0]" (or p.textFrames.item(0)), you can use "p.textFrames.itemByName('url')".
    Hopefully this doesn't get messed up across the data merge.
    To use the script label, you need this horrid construction:
    var j;
    for (j=0; j<p.textFrames.length; j++) {
        if (p.textFrames[j].label === 'url') {
            t = p.textFrames[j];
            break;
    though if your InDesign is screwed up, you might need to change [j] -> item(j) again. Maybe you should Replace Your Preferences (http://forums.adobe.com/thread/526990).

  • Linking paypal button with options?

    Hi I am setting up a site for a client. I can not figure out how to link the color options of the product to the add to cart button. For example if I want to purchase a red iphone case I select red from the drop menu and click add to cart. But once I am in the cart all it says is iphone case but doesn't tell what color or option.

    I believe you set that up in the "design" of the button right in PayPal, where you put in the description of the object being sold, the price, the shipping charge, etc. Check out the PayPal button maker. I think it's in the Account Profile. PayPal has reasonably good help screens to get you there.
    Beth

  • Working with url redirects

    I have a html region with the following code:
    <html>
    <head>
    <title>Report</title>
    </head>
    <SCRIPT language="JavaScript1.2">
    function items()
    $s=('BINDTEST1');
    function popon(url)
    window.open (url, "EasyReportWriter",
    "location=1,status=1,scrollbars=1,width=1000,height=700, resizable");
    </SCRIPT>
    I have a text box item "BINDTEST" that has html element set to:
    onchange="items();"
    I have a button with a url redirect of:
    javascript:popon('http://test/' + items());
    When I click on the button, popup window opens with test url but bindtest1 variable is not appended. What am I missing?
    Thanks,
    Brett
    Edited by: 794218 on Sep 12, 2010 8:20 AM

    This worked perfectly!
    Thanks. One question, what Oracle documentation contains the details such as: document.getElementById
    for one to reference? I thought I used to see a Apex developer manual in previous releases and no longer see it with the recent releases. Please clue me in on what Oracle manual/documentation exists for such programming details.
    Thanks,
    Brett

  • Since we use APEX 4 and another Theme - Button with URL - javascript fails

    Hi,
    we are currently updating an application in our APEX 4 environment which was developed in APEX 3.
    On one page (popup) there is a button which is used to close the popup and another one to print the page. The buttons use the option "URL" and the url is "javascript:this.close();" / "javascript:this.print();". In APEX 3 everything worked fine, in APEX 4 / with the Theme Simple Red (i don't know what exactly the problem is) the buttons don't response. Simply nothing happens. When i try to forward to a page and not an url everything works but that's not what i want because i want to execute javascript!
    Thanks
    Regards
    Daniel

    sspadafo wrote:
    1. In the URL field, you can enter f?p=app:page:&APP_SESSION.::NO::NAME1,NAME2, ...:Value1,Value2...
    2. Using the popup branch wizard, you can enter any number of item names, separated by commas, in the item name fields and any number of item values, separated by commas, in the item values fields.
    3. Are you sure you need to pass that many item name/value pairs in the URL? Where do the values come from?
    ScottHello Scott,
    Thank you for your quick response. I have to admit that I was too fast to ask question, and as soon as I did read your notes (1.) and (2.) I found out that for some reasons I did not consider manually editing pairs of Items/Values in the Optional URL Redirect. Simply I was fooled by clicking side Lamp icon and opening popup with ten possible pairs items/values that ten rows would be the limit of number of pairs to enter.
    But you answered my question and thank you again.
    As you made comment (3.) about number of item/value pairs and where they come form I would be interested to hear your thoughts and suggestion.
    I need that many name/values since we were required to: if user is on Page 4, he clicks checkbox on this page, then set of values from Page 2 should fill items on current page (Page 4). The question: Is this the best way to transfer these values?
    Interesting note: When user is on Page 2 (Form page) he cannot submit this page until he has all mandatory data. He might or not enter some mandatory data, but not all. (User has to go to Page 3 and then to Page 4 to generate needed data.) User, then can redirect with button to Page 3 (Tabular Report) and then to Page 4 (Form ) where by filling and submitting the page generates the mandatory data for Page 2, that are returned by Ajax when we return to Page 2.
    If you have any ideas I would appreciate to hear them.
    Regards,
    Brano

  • Execute JavaScript from Item Region Button

    How do I execute a JavaScript using a button displayed among this region's items?
    When I create a "button in a region position", I am given the "Optional URL Redirect" which can be used to specify the JavaScript as the URL Target. This option is not available when the button is created to be displayed among the region's items - and I don't understand why there is this limitation on Item Level Buttons.

    Scott,
    I have no idea how I got this new OTN Id? Tell me what you know!
    I signed on using what I believe is my regular Email Address, but I am no longer attached to the old OTN Id. And I no longer have the gold medal next to my name. Isn't that sad :(
    I really ticks me that we are still (after how many years with Oracle) unable to change our Email Address and keep the same account. What is that with Oracle? Can't anyone teach those people good design (like don't use an externally supplied key as the internal identifier for your customer). I recently sold my Web Domain, and so my Email Address will soon change. The new owner is allowing me to keep my Email Address until Feb 2008.

  • Delete button control: Javascript confirm & redirect?

    Hello all,
    I have a contract details page that has the following buttons: Save, Cancel, Delete. The Cancel button has a general redirect assigned to it, since no processing is necessary. As for the Save button, the page submits to itself, so the screen just reloads quickly, with a note to show the record was updated. As for the delete button, I don't want the user to remain on a details page for a contract they just deleted, so I wish to redirect the user to my contract search page after the record is deleted. I also want to have the button confirm the deletion before proceeding.
    My current page setup is as follows:
    SAVE button (template based)
    Optional URL Redirect - No Target
    DELETE button (template based)
    Optional URL Redirect - Page 3 (contract search)
    "Request" and other fields here are empty
    CANCEL button (template based)
    Optional URL Redirect - Page 3 (contract search)
    "Request" and other fields here are empty
    BRANCHES Information:
    Before Validation:
    DELETE:
    Target type - page in application (3 - contract search)
    Request - DELETE
    When Button Pressed - BTN_DELETE
    After Processing:
    Target type - page in application (2 - contract details)
    When Button Pressed - BTN_SAVE
    Here's my dilemma...under the setup listed above, clicking Delete redirects me to the search page, but the record is not deleted (I do have a DML process set up for Insert/Update/Delete, set up for After Submit). I've tried changing both the button and/or branch properties to set up URL processing, entering javascript to confirm the deletion. No matter the combination I use, either the contract will not get deleted, or the deletion is a success, but I get an error message that there is no branch page set up for that. If anyone has suggestions as to how I can get validation to play nicely with deleting records, it would be much appreciated.
    Thanks,
    Brian

    Mike,
    Is it possible that you have more than 1 branch to the target page? yes I do, before I had the Unconditional branch on top. Now I moved the conditional branch to the top. Redirect is working fine but no luck with passing values. After some research I found that it passes the request value when I send it as a string but not as value of the item on page. This may have something to do with in-built Delete procedure.
    I am very new to Apex/Oracle and I don't know how to create a oracle workspace and post my App on line. So, I am giving a detailed description of what I am trying to achieve. please bear with this while I try to figure out how to post it on line.
    This is exactly what I am trying to do.
    On the first page I have multiple regions to show different reports based the user selection. User clicks a button to make a selection. I am toggling between the regions depending on the request value from the button click.
    If the user decides to modify a record he is directed to a form. After modifying I want the user to come back to the first page and be in the same region where he was initially.
    To achieve this
    --- I am passing the request value from the first page to the form and saving it in a hidden variable. In the unconditional branch I am passing that value back and it is working fine.
    --- Only for the Delete operation I have problems. I still want to have the Alert so I am using the javascript:confirmDelete(htmldb_delete_message,'DELETE'); in the Delete button URL.
    I created a conditional branch which has lower sequence than the unconditional one.
    I have set the condition as Request = Expression 1(DELETE) not the button click.
    In the Action part, i have the following
    Target type Page in this Application
    Page: 21
    Request: &P21_Old_Request.
    Clear Cache
    Set these items P21_Item1
    With these values &P22_Item1.
    I have seen that page redirect is working fine.( I tried to redirect to other pages it works fine). Only the values are not passed. I tried to pass these values as Application level items even then it doesn't do anything. But if u pass the string directly it would pass the string. But I want to be able to pass the value as an Item from the form.
    As I mentioned before it may be to do something with in-built Delete procedure.
    Is there way to see the SQL of that procedure?
    Do u have any suggestions for me?
    Thanks in Advance.
    Nimmi

  • Open and pass value to page 2 from page 1 using region button

    Good day,
    I created 2 pages. I have created a text item called p_employeeid in page 1 and a region button with button action redirect to page 2. When i click the button i can open page 2 but i cannot filter the records that pertains only to p_employeeid. my source for page 2 is select * from test_tbl where employeeid = :p_employeeid.
    Help would really be appreciated. thank you.
    Mon

    hi trent,
    i created a branch as well. on submit after processing target type page in this application, page 2 and set this item p2_employeeid and value for this item &p1_employeeid. i did not select any in condition type but selected the button i created submit in the when button pressed. the action of my submit button is submit page.
    below is the apex url using button only without branches: only the value of p2_employeeid is not included in the url
    http://172.16.10.10:8080/apex/f?p=103:2:872957668524402::NO:2:P2_EMPLOYEEID:
    this is with branching: no p2_empoyeeid nor the valu
    http://172.16.10.10:8080/apex/f?p=103:2:872957668524402::NO:::
    i notice that using the branching even p2_employeeid is not submitted whereas in the button ihave th p2_employeeid but no item value.
    I have googling and trying out samples but all i see are table columns with the edit icon. I have not seen example with text box with button calling another page. :(
    thank you for the assistance, if you can think of any other suggestion i would be willing to try them out.
    Mon

  • The best way to URL Redirect

    Hello,
    I noticed that couple different linking with a Button.
    Home>Application Builder>Application 111>Page 1>Edit Page Buttons
    Optional URL Redirect
    Another is
    Home>Application Builder>Application 111>Page 1>Edit Branch
    Which one is better?
    How many ways is there to URL Redirect?
    Which way is the best and why?
    Thanks,
    NY, NY

    One option would be to redirect all your users to the same landing page, which then redirects the users to the actual required page depending on the value of a header variable set by OAM. The header variable could, for example, contain the userid and then the landing page works out which page to redirect to depending on this value. In this scenario, all the logic about which page to redirect to needs to be within the landing page, or some back-end that it connects to.
    I suppose it would also be possible to store the required target url (or a value which identifies it) in an attribute the users' profiles, and pass that as a header variable to the landing page - but obviously then you have the admin of maintaining that attribute value.
    If you only have two possible target pages (eg one for all internal users and one for all external users) then you could use redirect on authorisation success/failure within OAM to send users to the right page.
    Hope this helps,
    Colin

  • WLC url-redirect

    Using FreeRadius to do Mac authentication Bypass with External URL redirect.  I have confirmed that I'm sending cisco AV-pair for url-redirect, and the WLC shows the client having that url applied(along with the url-redirect-acl that I've applied)
    My issue, the URL presented to the client doesn't have the action_URL appended when I apply it via 802.1x.  If I change the SSID and force external webauth I get a good URL to the client(generally http://<SITE>?action_URL=http://1.1.1.1/login.html or something similar).  How can I use url-redirect to force authentication with the proper action_URL appended?
    WLC 5508 with 7.2 code
    FreeRadius running on CentOS

    Hello Jeremy,
    As per your query i can suggest you the following solution-
    Configure WLC Splash Page Redirect with the information to configure the features described.
    Complete these steps in order to configure the devices to use the splash page redirect feature:
    1.Configure the WLC for RADIUS authentication through the Cisco Secure ACS server.
    2.Configure the WLANs for the Admin and Operations departments.
    3.Configure the Cisco Secure ACS to support the splash page redirect feature.
    For more reference refer to the link-
    http://www.cisco.com/en/US/products/ps6366/products_configuration_example09186a0080956185.shtml#conf
    Hope this will help you.

  • Html db confirmation button with javascript:

    Hello,
    First, I have a button with a URL javascript:confirmAction(document.forms[ wwv_flow ].elements[ P181_MESSAGE_CANCEL ].value, Cancel);
    In this moment, by pressing on "CANCEL" button, a pop-up with the message of field (P181_MESSAGE_CANCEL) appears and there is a connection towards the same current page with the starting values. I want to make a validation, because if no field were modified, then I do not want whom the message posts by pressing on the "CANCEL" button but that the connection is carried out normally.
    Second, I would like that if one modifies a field in a page and that while pressing on a mitre to move on another page, that it is a message in pop-up there "Want you to really change page without recording your modifications? "
    Thank you very much!

    Do you mean a close button in HTMLDB or the browser window's close button? [HTMLDB cannot help much with the latter!]
    For buttons you created, just add a URL target as
    javascript:if(confirm("Are you sure?")) doSubmit('CLOSE');
    That will popup the box and if OK is clicked submit the page with REQUEST set to CLOSE

Maybe you are looking for

  • How to get Sharepoint OAuth clientId for Java application used in any tenant

    I'm developing a web application for Office365 using the SharePoint 2013 REST service. This app is hosted by my web server. The development language is Java. I plan that users in any tenant use my app via OAuth. How can I register my app to get clien

  • IPod playlists do not display new songs added alphabetically

    I find that if I add new songs to my iTunes and then add them to an existing playlist in my iPod, the new songs are displayed alphabetically by artist in iTunes (the way I prefer it), but when I disconnect the iPod and explore the playlist on the iPo

  • SAP Integration with Third party tools (WMS)

    Hi Guys We are  using SAP - WMS , ASRS(Automatic Storage and Retival system)  in warehouse for putaway and pick operation. We want to automate this process and came to know that this can be done using RFC .can anyone share his learing & idea about th

  • ALV Heading truncated when downloading to excel

    Hi, While downloading the ALV Grid output to Excel, the headings are getting truncated even I have given output length max. Any one please let me know how to fix this in OO ALV - existing program using  CL_SALV_COLUMN class for setting column texts,

  • I can't use my temporary debit card to purchase

    I can't use my temporary debit card to purchase. I'm international student, I just came US 2 days ago. How I can solve my problem?