1 button, 2 pages, 2 different cflayoutareas

I'm trying to get a menu button to load 2 different cfml pages into a cflayout page.  When the user clicks the button, I want it to load 1 page into the main secion and another into the bottom section.  For the life of me, I can't figure out how to do this.  Here is the code that I am using.
<cflayout name="outerlayout" type="vbox">
    <cflayoutarea style="height:800;">
        <cflayout name="thelayout" type="border" height="800">
            <!--- The 100% height style ensures that the background color fills
                the area. --->
            <cflayoutarea title="Menu" position="top" size="51" splitter="true"
                    style="height:100%" align="center">
                <cfform>
                    <!--- This button only replaces the second window body with the body of the
                                AF3_Priority_Whateverpiece.cfm page. --->
                    <cfinput type="button" name="button" value="Head"
                            onClick="ColdFusion.navigate('AF3_Priority_Head.cfm','mainWindow');"
                    <cfinput type="button" name="button" value="Body"
                            onClick="ColdFusion.navigate('AF3_Priority_Body.cfm','mainWindow');">
                    <cfinput type="button" name="button" value="Hands"
                            onClick="ColdFusion.navigate('AF3_Priority_Hands.cfm','mainWindow');">
                    <cfinput type="button" name="button" value="Legs"
                            onClick="ColdFusion.navigate('AF3_Priority_Legs.cfm','mainWindow');">                           
                    <cfinput type="button" name="button" value="Feet"
                            onClick="ColdFusion.navigate('AF3_Priority_Feet.cfm','mainWindow');">
                </cfform>
            </cflayoutarea>
            <cflayoutarea position="center"
                    style="height:100%" name="mainWindow">
                Welcome to the BotD AF3 Priority page.  Please Click on a menu button on the left to look at your priority.  Once you have, you can click the "Add Yourself" link to add or edit
                your Priority.<br />
            </cflayoutarea>
            <cflayoutarea position="bottom"
                    style="height:100%"
                    size="100"
                    name="bottomWindow"
                    Splitter="True">
            </cflayoutarea>          
        </cflayout>
    </cflayoutarea>
</cflayout>

You can place multiple commands within a JavaScript event handler:
onclick="doSomething();doSomethingElse();"
So, you can put both of your ColdFusion.Navigate calls in one event handler.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Similar Messages

  • How to merge two search button from different criteria

    How to merge two search button from different criteria
    this image show the question
    http://s24.postimg.org/4algthuj9/1111.jpg
    two different criteria for the same view and I need to merge it in one button as when I click
    on the button search result give from two criteria parameters

    You can!t using af:query. the af:query component comes as is. If you can't do it through the properties, you probably can't do it at all.
    As in your other thread, the way to go is to program your own search form. This way you can use a layout and functionality you like.
    For this you create a form with input fields for the values you are searching for, put them on hte page in a way you like and in the end by hitting on a button (e.g. called Search) map all inputfields to parameters of a service method you defined in your application module or VO. This service method then executes a view criteria returning all matches in the default iterator (just as if you had used af:query.
    Timo 

  • Buttons behave differently

    I have a page process doing some DML, which is supposed
    to execute after submit and when button P_X is pressed.
    When creating a button P_X in a region position the page process is NOT triggered
    when creating the button P_X displayed among this region items, the
    page process works fine.
    I noted, that in the LOV for the buttons selection in the page process definition
    the 2 buttons appear differently i.e. P_X and *P_X
    Can someone close my gap of understanding what's going on ?
    How can I use the other type of button ?
    Thanks
    Werner

    Hey Werner,
    Can you please recreate your problem on the free apex.oracle.com website so we can all see, the problem your talking about?
    Thanks Colin.
    Werner, check out these two links they might help you.
    http://htmldb.oracle.com/pls/otn/f?p=24317:500:2718519206396003:fsp_sort_4::RP&fsp_region_id=810809618656793046
    http://htmldb.oracle.com/pls/otn/f?p=31517:35:685827314201420

  • Naming buttons in different mc's for eval obj

    Hi
    I'm quite new to flash, from a design background. I'd really appreciate help with this. this is my first web site in flash and I'm getting really confused with movie clips, I made my menu as a collection of buttons in a new movie clip. I wanted to re use this on each page of my site but found that if I edited it the edit rippled all the way through each instance.  So I made different movieclips for each page each with my navigation buttons in them.  Now I want to use the eval obj to reference these buttons from my event listener, I know I must give each button a unique name, will it be ok to use the same name eg "home" for different buttons in different movie clips on different pages and still use one piece of code with the eval obj pointing to the correct label to jump to when it is clicked?
    Also , how do you use one single movie clip for navigation accross different pages if you need to slightly change it for each page ?
    cheers
    chelsea

    place your buttons in their own layer in frame 1 of your main timeline and extend that layer across your entire main timeline.
    then add code for each button to direct the main timeline to the appropriate frame label or number.

  • As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

    As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

    As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

  • Problem in PDF creation (the size of the  page different or the content cut)

    Hi everybody, i have a random problem when i save PDF from illustrator (CS6 o CC, the same): if i open a saved PDF in illustrator is correct both the size of the page that the content. if I open it in Acrobat I see the size of the  page different or the content cut, does someone know how can i solve it? Thank you!!!!Acrobat visualization
    Illustrator visualizatin

    Hi, please can you tell me exactly where can i check who you say?!!!!!
    The biggest problem is not only th visualization, but when i use this PDF in my Kodak workflow i obtain proof prin cutted so bad!!!!!
    Thanks for the answer!!!

  • Pages: First page different in header?

    In Pages for iOS (iPad), how do I make the headers on my first page different? I wish there was an inspector like on the Mac version :( If there is I would love to know how to find it....I have a white MacBook so Apple has graciously taken away the compatibility between the iWork on my MacBook (running Lion) and the iWork on my iPad. Meaning, if I want to write anything in APA style, this is going to be a huge headache. All of my papers have to be written on my iPad for other, very complicated reasons, so having this knowledge would be incredibly useful. thanks!

    Hi srinivas,
    Could you solve this problem ??
    Thanks,
    Venki

  • I made a fillable form using indesign and then acrobat professional but need to have radio buttons trigger different fields showing in the form below them - is that possible and if so how do I do it??

    I made a fillable form using indesign and then acrobat professional but need to have radio buttons trigger different fields showing in the form below them - is that possible and if so how do I do it??

    What version of Reader are they using, exactly? And are you sure they're
    using Reader itself and not opening the file inside a browser window, for
    example?
    On Fri, Feb 6, 2015 at 5:24 PM, jessicao96457206 <[email protected]>

  • Help!! Buttons with different actions on IPAD

    Why is in Ipad a button with different actions does not respond to these actions at the same time, but one at a time? In Android works fine!!
    What is happening is that in ipad I have to touch more than once on the button to go to the different actions that this button has!
    Help...

    Hi Tomas
    thanks for the quick response.  I think mine Adobe Content Viewer is the last update, from February 21, so the problem is not due to this.
    II'll explain the situation better, i have several identical situations. For example, I have a square that hides an image and I want that when you tap this square this image appears behind him, then i did the following: I selected at first the square and the image and transformed a multi- State Object, in which the first state is the box (State1) and the second is the image (state 2) then made a transparent button on top of this square and it gave the following actions - on release go to state 2 (image) here everything goes well, the problem is that as I have more buttons / squares that do the same and show different images, that when I turned the other one the next hide her image. So all the buttons in addition to the state that shows the picture / object matching (state 2) - i have also- go to state (name of the object: state 1) causes other squares hide their files, as they get the state 1. Here lies the problem, in ipad these actions do not react automatically but in different touches, it seems that it reads a touch for action and not all at once.
    I apologize for my English but I'm Portuguese, I hope you can understand everything explained.
    Marta

  • How can i redirect to with one button to different pages!

    Hi All,
    For any application, for the first time,if a new table exists then there will no data in that table.
    based on this scenerio,in my application,i am handling apex validation staying that "you have no data. Please click here to go Reset symbol page.
    when it redirects to Reset symbol i am providing a text box and with a button. Once there enter a symbol and click on button it will inert in that table and again redirects to Home page for say-39.
    simillarly what are the functionality available in home page i had implemented same thing but only it differs page no for say-115.
    In both the scenerio's i will be redircting reset Symbol page where there can insert a symbol explained in above scenerio case.
    My problem is when i am throwing the error msg from page-39 i am redirecting to Reset symbol and when there enter symbol and click on button again i will be redirection t page -39 because the error had came from page-39.
    If the same error comes from page-115 then also i will redirecting to same Reset Symbol where there will be entering symbol and click on button, in this case it should redirect to page-115 instead of page-39 because i have got error from page-115 but not from page-39.
    How to handle the above scenerio, please help me out.
    Thanks in advance,
    Anoo.

    Hi Andy,
    Thanks for your suggestion, it is working fine..But i am facing one problem in page 115, i have two regions and both regiosn have same name but only difference is items names.. when i had tried to rediect to page-115 the umwanted one regions is showing instead of expected region. It is getting failed here bec it is rediecting to differnet region.
    Any suggestion on this!
    Thanks,
    Anoo..

  • Adding Print Button With Java Script to Print of Different Pages Differently

    Hi,
    I am in the process of making a form and most of it is done and now I want to be able to print off two of the pages but to different printers, I have one that needs to be printed off on a regular A4 printer and another that needs to go to a label printer. I have both of the names for the printers and I have tried something but it just doesnt do anything at all (this is suggested by adobe I think?)
    var pp = this.getPRintParam();
    var printamount = this.getValue("Quantity_Boxes");
    pp.printerName = "Zebra Technologies ZTC GK420t";
    pp.firstPage = 3;
    pp.lastPage = 3;
    pp.NumCopies = 2*printamount;
    this.print();
    I tried it without the first and last page and nothing happens, I am useing a shared printer which works when I do cmd + P which the full printer name is Zebra Technologies ZTC GK420t @ User's iMac. (I have also tried putting the full name in aswell)
    This is just to test one page so far but is there any way that one button will be able to print off 2 different pages to 2 different printers?
    If someone knows how this would be a great help!
    Thanks,
    Bruce

    Thanks for that, I have it working now but it shows the dialog box with no settings changed should i use:
    pp.interactive = pp.constants.interactionLevel.automatic ?
    Thanks,
    Bruce
    EDIT:
    It printed but only the first page but it printed on the right amount quantity was 2*3 wich was the result of the Quantity_Box value
    I want it to print page 3 through the Zebra Printer and have page 2 printed to a different printer, is this possible through one button?

  • How to text for Submit button in different languages.

    Hi All
    We have a requirement to add 'Submit Button' in iSupplier Portal's Standard Pages.
    We have substituted the controller to add the Submit button and it works fine also .
    Our Application has 7 different languages, so the requirement is to show the button Text w.r.t the
    language only .
    We have written the following code
    OASubmitButtonBean oasb= (OASubmitButtonBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext,"BUTTON_SUBMIT");
    oasb.setID("IPOPrintReportButton");
    oasb.setUINodeName("IPOPrintReportButton");
    oasb.setEvent("IPOPrintReportButton");
    oasb.setText("IPO Print Report Button");
    //oasb.setTranslatableText("XXIPO","XXIPO_PRINT_REPORT_TXT");
    pageButtonBarBean2.addIndexedChild(oasb);
    when we have used setText method , we are getting the same name in every language. so we tried using setTranslatableText Method and gave it the Messages to set the Button Text. But Now button text is empty .
    Pls tell us how to achieve this requirement of having text in different languages on the button ..w.r.t the environment language. we have also defined same Message 'XXIPO_PRINT_REPORT_TXT' for other languages.
    naveen

    Hi Kumar
    Can u pls brief this a little more .
    Lets say I get the language as German in the Controller . Now how do i set the test for the submit button .
    Do u mean to say I should check like this:
    If (langaue is german )
    button.setText("German Submit")
    else if (langauge is netherland)
    button.setText("Netherland Submit")
    harcoding the vaues in the contorller??

  • Importing page different workspace ID

    Hi ,
    I have an application on my development environment and I created a new workspace in the production environment.
    The workspace I created on the production env has a different WORKSPACE ID and due to this I cannot import individual pages from development into production.
    Is it possible for me to create a workspace in production with the same workspace id as that on development ?
    I don't want to import the whole application all over again but be able to import just a few individual pages.
    Also next time I create a production workspace, can i ensure that this workspace id is the same to facilitate individual page imports ?
    Thanks,
    Deepa

    Earl,
    You are correct that export/import of individual pages between applications in different workspaces is not supported, but there is a workaround.
    In the following example, I have two workspaces: Workspace X contains Application101 that has a page I want to import into Application 202 - but that Application202 is in Workspace Y.
    1) Export the whole of Application101 from Workspace X.
    2) Import Application101 into Workspace Y.
    3) Go into Application202 in Workspace Y and select a page (any page, doesn't matter which one).
    4) Click on the "Copy" button and then choose to copy a page from another application.
    5) Select Application101 (which was imported into Workspace Y in step 2) from the drop down.
    6) Select the relevant page you want to copy.
    7) Follow the wizard to the end.
    Result: a page from Application101 now exists in Application202, even though the two applications were created in separate workspaces. Not the simplest method, but it does work :-)
    Cheers,
    Colin

  • Web page different from opening link in a new tab or new window from Google search results

    I had been using another browser for a few months because I did not want to lose the web pages I opened within Mozilla. I began using Mozilla again after saving off the web pages. I see that Google's web page pulls in search results as I type in keywords, a feature I don't remember seeing with other browsers along with a magnifying glass icon, like a look ahead of what a web page looks like before clicking on the link.
    With the list of search results, I click on the link and tell Mozilla to open the link in a new tab. I see the google icon, "loading..." or "testing...", then results other than the link I wanted. Those other results maybe bing.com, http://66.45.255.230/click.php?c=0920f96609cb269f1d0045095c09, http://superpages.iarbiz.com/o6gIoMdG6so=-tQ1LeOu1v0kY34rDZ|oRy8Xt294ACu6X, Info.com, Supermedia Reverse Proxy (http://superpages.iarbiz.com/o6gIoMdG6so=-tQ1LeOu1v0kY34rDZ|oRy8Xt294ACu6X)or whatever else. As for the link, I managed to press stop before being redirected.
    This is with any search results listed.
    I thought it was Google.
    Changed to Instant is off.
    Nope. Still the same issue. Have already gone after malware. Tried resetting the redirect value to 0.
    Above results also occur when opening the link in a new page via right menu click.
    Copying link location and pasting in a new window is displaying results okay.
    When resuming use of Mozilla, an update was available and installed. Did not experience the above issues before the update.
    Running version 3.6.12. Running Win XP Pro SP3.
    Had to go back to IE and Chrome/SRWare Iron.
    Example:
    Google keywords: rental cars
    Clicked on Ad: _Avis_Rent_a_Car_, link is Avis.com
    Clicked on top search result: Hertz_Rent-a-Car_-_Rental_Car_Discounts,_Coupons,_and_Great_Rates (magnifying glass), www.hertz.com

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Creating new buttons on different frame labels

    can someone tell me if im doing something wrong or assigning
    the as to the wrong frame?
    first off i have all my buttons on frame 2. im creating a
    real estate site and i have to have a couple links like HOME ABOUT
    BUYING SELLING CONTACT, the thing though is that in the BUYING and
    SELLING frames i want to add more sections and links but only on
    these 2 other parts of my site. when i code it and add new buttons
    to these sections though my movie plays over and over and over non
    stop. heres my coding...
    FRAME 1 preloader
    Frame 2 has a frame label of home and all the buttons on a
    diff layer, and AS3 on a different layer
    Frame 3 has a frame label for about section
    Frame 4 is my contact for example
    so if i create a new button in the about frame label and just
    add the code to the working as3 code on frame 2 my movie just plays
    over and over and over again, and all i want it do do is act like
    the other buttons and go to a different frame label down in the
    time line. the only way i get it to work is if i have ALL my
    buttons on frame 2.
    frame 1
    my preloader
    frame2
    home_btn.addEventListener(MouseEvent.CLICK, onHome)
    function onHome(event.MouseEvent):void
    gotoAndStop("home");
    about_btn.addEventListener(MouseEvent.CLICK, onAbout)
    function onAbout(event.MouseEvent):void
    gotoAndStop("about");
    etc....
    etc...
    i enter my btn code just like this and the buttons on frame 2
    work but any new buttons i try and creat and put into different
    frames othere then frame label "home" aka frame 2 wont work

    correct.
    there are lots of ways around it. but they all require the
    object to exist when the code executes.
    with as3 it's particularly easy to create objects, code for
    them and then add them to the display list later when
    needed.

Maybe you are looking for

  • My imac no longer recognizes my camcorder

    I used to plug my camcorder in via DV cord to firewire 800 and my computer would import the videos.  It's a SONY mini-dv DCR-TRV33.  Now when I attach it to my computers (I have four - one w snow leopard, 1 - mountain lion, 1 - Maverick) none of the

  • Query works perfectly on other db (mysql) but crashes on oracle...why?

    What is wrong with this query? I cannot see anything. ORA-00936: missing expression SELECT                FolderLevel2.g_access,                FolderLevel2.deactive,                FolderLevel2.customize_access,                FolderLevel2.fromdate,

  • Example of calling utl_http command on trigger

    I am generating trigger on oracle 11g db table,on trigger i want to communicate to other linux machine.Can any one provide me running example of utl_http command,so that i can refer it? thanks in advance

  • Business Objects XI 3.1 Edge Trail  Version

    Hi,     I am planning to download Business Objects XI 3.1 Edge Trail version, but i would like to know the trail version will include SP2 or not? please let me know me on the same. Thanks Amar

  • Microphone not working with Adobe Flash Player

    The microphone in my desktop pc works fine with kde and skype but not with Adobe Flash Player. The Microphone settings tab in the Flash Player detects a "Linux Microphone" and I can here my voice coming from the speakers but the Flash Player sound me