Linking to a specific frame from JSP page

I am trying to link to site that has frames. I want to load a specific jsp in frame 3. Does anyone know how to pass the target and source values? I have been looking for tutorials unsuccessfully.

You can not point to a specific frame ina document from an external document.Your best bet might be to pass the parameters using URL and on the recieving end write some javascript to parse the url adn if it has a parameter then process that else just load standard document.
Khalid

Similar Messages

  • Linking to a specific panel from another page and from higher up on same page Spry-UI-1.7

    Hi all,
    I am using Spry-UI-1.7 for a 4 tab tabbed panel on the bottom of my home page.  I'd like to link to the second tab from another page and also from the top of the home page.
    I previously used method: http://foundationphp.com/tutorials/spry_url_utils.php and it worked great.
    Now, with the Spry-UI-1.7 Tabbed Panel "widget", that method isn't working.
    I've reviewed the code from the samples page: http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    but cannot figure out what I am doing wrong.  It shows the following code for linking from another page:
    <a href="#" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>
    I tried this 'as is' and it didn't work. 
    I tried it with index.html in place of the # and it didn't work.
    (e.g.   <a href="index.html" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>   )
    What am I missing here?
    (I have the tabbed panel on "index.html" and want to link from "maps.html" and from the top of "index.html"
    Thanks for any help for this spry newbie! (read: I need it spelled out like I was a 6 yr. old

    This works
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryTabbedPanels2.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryFadingPanelsPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryTabbedPanelsKeyNavigationPlugin.js" type="text/javascript"></script>
    <link href="Spry-UI-1.7/css/TabbedPanels2/SpryTabbedPanels2.css" rel="stylesheet" type="text/css">
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2138522" binding="#TabbedPanels2" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body>
    <div id="TabbedPanels2">
      <h2>Tab 1</h2>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sapien lacus, porttitor vitae pretium eget, sodales sed libero. Maecenas non urna lacus, ac sollicitudin justo. Ut erat mi, hendrerit ac accumsan ac, congue eu dui. Pellentesque consectetur condimentum elit, et eleifend urna porta id. Phasellus blandit ullamcorper dignissim. In rutrum, ante non congue fermentum, metus odio bibendum elit, ut congue sapien arcu ac justo. Vivamus sit amet erat nibh, quis dignissim libero. Pellentesque in sapien felis, et volutpat eros. Maecenas adipiscing, eros sit amet placerat cursus, arcu lacus consectetur lectus, non ultricies neque urna laoreet purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>
      <h2>Tab 2</h2>
      <p>Nulla facilisi. Vestibulum ipsum elit, tincidunt sed tristique sit amet, faucibus in orci. Nunc sit amet elit lorem. Sed eget arcu ipsum, pharetra ullamcorper lectus. Sed ac diam ac tortor mattis mollis. Etiam mattis felis vel augue tempus in rhoncus ligula elementum. Vestibulum ut iaculis risus. Aliquam erat sem, feugiat vel laoreet in, lobortis non mauris. Vestibulum neque nibh, vehicula eleifend tincidunt sed, bibendum id dolor. Pellentesque quis libero nec orci porttitor faucibus vitae in velit. Pellentesque dignissim sem ut justo interdum id egestas tellus fringilla. Vestibulum tempor, turpis eget dignissim luctus, est erat ultricies turpis, non tempus massa elit in nulla. Sed eu arcu vel enim laoreet hendrerit at vel enim. Integer semper malesuada sem quis porttitor.</p>
      <h2>Tab 3</h2>
      <p>Suspendisse potenti. Proin ut erat sit amet turpis egestas tempor. Integer arcu dolor, aliquam ut egestas nec, pharetra ut mauris. Duis urna mi, aliquam id vulputate et, consequat in dolor. Duis congue sem feugiat nulla malesuada scelerisque. Aenean vitae augue nec diam euismod imperdiet. In accumsan consectetur ante a vestibulum. Phasellus eu nulla et lectus tincidunt porttitor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin mauris massa, venenatis ut fringilla interdum, imperdiet et neque. Sed ut risus metus.</p>
    </div>
    <script type="text/javascript">
    // BeginOAWidget_Instance_2138522: #TabbedPanels2
            var TabbedPanels2 = new Spry.Widget.TabbedPanels2("TabbedPanels2", {
                injectionType: "replace",
                widgetID: "TabbedPanels2",
                autoPlay: false,
                defaultTab: params.tab ? params.tab : 0,
                enableKeyboardNavigation: true,
                hideHeader: true,
                tabsPosition: "top",
                event:"click",
                stopOnUserAction: true,
                displayInterval: 5000,
                minDuration: 300,
                maxDuration: 500,
                stoppedMinDuration: 100,
                stoppedMaxDuration: 200,
                plugIns:[]
    // EndOAWidget_Instance_2138522
    </script>
    </body>
    </html>

  • Linking to a specific frame from html?

    Hello all:
    Does anyone know if it is possible to have an html page that
    links to a swf file, but ALSO goes to a specific frame or label
    within that file? I'm trying to avoid having to start the Flash
    file from the very beginning, but I can't say that I've ever seen
    this done.
    Thanks,
    Wayne

    The simplest way:
    in the HTML you expand the two occurences of "movie.swf" (in
    the object and embed tag) to "movie.swf?jump=50", where "jump" is
    the variable name and "50" is the frame somewhere in the middle of
    your movie.swf that you want to start with.
    In the first frame of movie.swf you have actionscript
    if(this._framesloaded<jump) {
    this.gotoAndPlay(1)}
    else {
    this.gotoAndPlay(jump)}
    Of course, this doesn't check for error conditions and has
    other weaknesses, but I hope you get the point.
    Good luck
    Wolf

  • How do I link to a specific frame in the timeline of an Edge document from a different page?

    lI have the intro of my new website made in Adobe Edge Animate, however I don't want people to watch the intro every time they click "back". So is there a way of linking directly to a label from another page? Should I use something like:
    "<a href="page_URL.com/edge_file.html" target="label_in_the_timeline">"

    Hey Squeege,
    I highly recommend you becoming familiar with basic javascript syntax (setting variables, functions, scope, if/else statements). Knowing at least the basics really makes Edge Animate come alive, and gives you a lot more power inside the application.
    Taking the code from the other thread, you would do something like this, on Stage.compositionReady event:
    // function to grab specified param
    sym.getParam = function(name) {
        name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
        var regexS = "[\\?&]" + name + "=([^&#]*)";
        var regex = new RegExp(regexS);
        var results = regex.exec(window.location.href);
        if (results == null)
            return "";
        else
            return results[1];
    // get query param called 'param', (should be "true", "false", or leave it out)
    var playIntro = sym.getParam('param');
    if( playIntro == "true" ) {
         // tell sym to play intro label
         sym.play( "intro" );
    }else if( playIntro == "" ) {
         // tell sym to play intro label
         sym.play( "intro" );
    }else if( playIntro == "false" ) {
         // tell sym to play skipIntro label
         sym.play( "skipIntro" );

  • Import Web Page content into table, like Excel imports a Frame from a page

    I have a need to import specific content from a web page (specific frame on the page) and store that data in a table. We currently have Microsoft Excel setup with a link to the page and import a specific frame off the page into Excel. But I would like to do this directly into PeopleSoft. Has anyone done something like this before?
    Thanks
    JB

    Scott-
    You haven't explained what the format of the text file is and
    how you want to display it. You can get the contents of a file with
    CFHTTP (if it's in a web-readable directory) and treat it as a
    query if it is in a delimited data format. Then you can use
    CFOUTPUT as you would with any other query.
    You can also use CFFILE to read the contents of a text file
    and display it in your page. You can use HTML PRE tags or you can
    replace the CR/LF with a BR tag to force a line break.. Lots of
    options, depending on your particular situation.

  • Insert data into table from JSP page using Entity Beans(EJB 3.0)

    I want to insert data into a database table from JSP page using Entity Beans(EJB 3.0).
    1. I have a table 'FRIENDS', (in Oracle 10g database).
    2. It has two columns, 'NAME' and 'CITY'. Both have datatype strings(varchar2).
    3. Now from a JSP page, having two textfields, 'NAME' and 'CITY', I want to insert data into table 'FRIENDS'.
    4. In between JSP and database is a Entity Bean(EJB 3.0) and a stateless session bean.
    5. I am using JDev as editor.
    Please provide me code ASAP or link with similar example.
    Thank you.
    Anurag

    Hi,
    I am also trying that scenario. So u can
    Post the jsp form data to a Servlet which will act as a Controller.
    In the servlet invoke the business method.
    Similar kind of app is in www.roseindia.net
    Hope this would help u.
    Meanwhile if u get any optimal solution, pls post it.
    Thanks,
    Happy Java Coding.

  • How to get the URL parameter value when navigating from JSP Page to portal

    Hi All,
    I have web Dynpro application with one button, while clicking that button It will navigate to JSP page as external window. In the JSP page I have a input field and Button.
    In the JSP page input field I will enter some values and press submit button, it will navigate to Portal page by passing some URL parameter with values.
    Once user entering to portal by default WD page displayed, the same WD page I try to get the URL Parameter which I have passed from JSP page, but I am not able to get the URL parameter value.
    If same application running in without portal, I can able to get the URL parameter values. I am getting the URL parameter by interface view default inbound plug parameter.
    How do we resolve this problem?
    Regards,
    Boopathi M

    Hi
    Please try  these link might helpful for you
    1.[How to call WebDynPro application from JSP |/thread/452762 [original link is broken];
    2.[How to get the previous page url from abstract portal component? |/thread/1289256 [original link is broken];
    3.[how to launch and pass a parameter |/thread/5537 [original link is broken];
    Best Regards
    Satish Kumar

  • How to load java class from jsp page?

    hi all!
    Does anyone know how to load java class from jsp page?
    I try to load java class from jsp page.
    Is it possible to load java class fom jsp page?
    thanks and have a good day!

    What I mean is How to load/open java class file from jsp page?
    I think we can open Applet from jsp page by using
    <applet code=helloApplet.class width=100 height=100>
    </applet>
    but, how to open java class which is an application made by Frame?
    thanks and have a good day

  • How to call RDF report from JSP page

    Dear all,
    I want to call a RDF report from JSP page. I am creating the JSP page using j developer 10G.
    Can anyone help me out in this case. Is there any tag or procedure or any other way by of that i can perform this work.
    please help and send the reply on [email protected],[email protected]
    thanks
    Ashok

    Hi Ashok,
    You can use rwservlet - nothing really to do with JDeveloper. Once you have report server up and running (hint: read http://download-uk.oracle.com/docs/cd/B14099_19/bi.1012/b14048/toc.htm), you can call a report like this:
    http://server:port/rwservlet?report=my_report.rdf&destype=cache&desformat=html&p_my_parameter=xxx etcHope this helps,
    John

  • How to call cystal report8 report file from jsp page

    hi guys
    present i am using cystal report8 already i am having ReportViewer.jar and ReportviewerBean.jar files
    using that please send me sample code how to call that report from jsp page..
    and how to pass the parameters from jsp page to crystalreport8 report file.
    it was very urgent task to me..so please send sample code on above topic..
    or send me crystalreport8 API
    thanks
    regards

    Hi,
    I also want to work on crystal report but i dont have the ReportViewerBean.jar and ReportViewer.jar. So, please tell from where will i get those jar files.
    Thanks in advanced.

  • How to print report from JSP Page

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

  • How to get the form reference in .js page from .jsp page

    hi
    i have written one form in jsp page omething like:-
    <html:form action="/shopping" onsubmit="return false;">
    can anybody tell me,how to get the form reference in .js page from .jsp page ,
    i have tried:-
    var formRef = document.forms[0];
    butits not working.
    Thanks.

    Its very simple......y cant u prefer google...Bad
    c this example...
    function submit()
    alert("textbox"+ document.forms[0].name.value);//to get textbox value in js
    document.forms[0].submit();//to submit jsp page using js
    <html:html>
    <html:form action="/shopping" onsubmit="submit()">
    <html:text property=name>
    learn to search in google..
    </html:form>
    </html:html>

  • Button link to a specific frame in time line

    Ok I have created my buttons and the content for the specific
    frames. I have named the button and given it an instance name. I
    have also given my specific frame a name and set that label type to
    Name.
    Whats the code for turning getting my button to link to a
    specific frame?
    I've also done the stop() code in each frame as I want it to
    stop at each frame until the button is clicked again.
    I have more than one button and each will link to a different
    frame.
    Thanks.

    I've duplicated an FLA with exactly the assets you have in
    the same places, with the code on the main timeline. And mine
    didn't work, just the same problem as you had. The solution I
    proposed above works, but it is not the only way (See #2 below).
    On Frame 1, select the UIScrollbar. if you look in the
    Parameters tab of your UIScrollbar component, you'll notice that
    the
    scrolltargetName refers to
    Instance_0. This is a default instance name assigned by the
    Flash compiler, because you did not give your dynamic textfield an
    instance, and your UIscollbar is referencing that. Now go to Frame
    4. You will find that your dynamic textfield has the same instance
    name, and the UIScrollbar is referencing the same instance. Problem
    is, you have more than one textfield on more than one frame using
    and referencing the same instance name, your UIScrollbars will get
    confused as to which textfield is actually "Instance_0". The moment
    you click to another frame, you've confused the UIScrollbar(s), so
    they never work again.
    The solution is simple.
    First, put a stop() action on the first frame, if you have
    not already done so, so your timeline stays put until you click on
    a button.
    Then you can solve the problem in one of two ways:
    Give your textfields different instance names, and make sure
    the
    scrolltargetName property of each UIScrollbar refers to its
    respective textfield.
    Or set the text dynamically, which after all is what a dynamic
    textfield is for. Have only one textfield/UIscrollbar combo, on the
    first frame, and place code on a keyframe for each section which
    changes the
    text or
    htmlText property of the textfield.
    That should work. It did on mine.

  • How to read all rows stored in pojo bean from jsp page

    Hi sir
    After storing all rows into ArrayList object in pojo class, how to retrieve those rows from jsp page and display them together one by one.
    Regards

    Well, you wouldn't do it in Java. You would do it in JSTL, preferably.
    So if your POJO had a getRows method which returned your List of row objects, you would get the list like this (after putting the POJO into request scope under the name of "pojo"):
    ${pojo.rows}
    And if you wanted to go through that list and process each of the rows, then c:forEach would be the way:
    <c:forEach value="row" items="${pojo.rows} />
    (check the documentation, I'm posting this from memory)

  • Putting pictures from jsp pages

    hi, i have been assigned a job to do in jsp....this is the first time i am dealing with jsp....
    my problem is to display images from jsp pages, images will come from the url
    http://media.XXXXXXXX.com/books/ISBN#.jpg, where # is the isbn no.
    here is the code which i am using...
    <c:if test="${result.isbn != null}">
                        <div class="search-result-attributes">Image:$(http://media.XXXXXXXXXXX.com/books/ISBN#.jpg) </div>
                   </c:if>any idea....how can i make a variable of #, to display books with different ISBNs.
    Also, the # can be calculated by "result.isbn"
    any help guys....???
    Edited by: ping.sumit on Jun 24, 2008 8:03 PM

    any idea....how can i make a variable of #, to display books with different ISBNs.
    Also, the # can be calculated by "result.isbn"I don't understand what you're talking about.
    At least I can tell you that HTML offers you the <img> tag for displaying images. E.g.
    <img src="${result.isbn}.jpg" />

Maybe you are looking for

  • Find Discrepancies between two tables

    Hello Everyone, I have two tables payment and delegate, my payment table for some reason have more entries then in delegate table. I can do something like , if the records in delegate table don't exsist....and they are in payments table SELECT * FROM

  • How does one enter their personal password in the dashed format required?

    I am trying to log into my office imac remotely and cannot figure out how to input my "personal password" in the format provided. How do you use the dashed display that only offers places to input a couple of letters?

  • Secure Empty Trash Problem After Installing Security Update 2010-005

    Some items in trash were locked, selected option to remove all items and nothing was deleted. Rebooted twice, no change. Unsecure empty trash works fine. Any ideas?

  • NWDS for 64 bit Windows 7

    Hi Folks, I want to install NWDS on my Windows 7 64-bit OS. I searched for suitable NWDS(like 7.0, CE7.1, CE7.2 along with their trial versions), but they were available only for 32-bit Windows. Can you please provide some links where I can download

  • How to control goods receipt for order by mb31 if order is not confirmed

    Hello friends, I want to restrict the goods receipt for process order if order is not confirmed or partially confirmed. Through user status i can control that if order is confirmed than whether to allow goods reciept or not. But how to achieve my abo