Navigation in an iFrame by clicking a commandLink

hi all,
i have a page with an iframe "*MyiFrame*" , and in the src of the iframe is a form which submits its inputs via commandlink. after submitting the form it should navigate to a new page in the same iframe "*MyiFrame*" . in localhost its works fine, where i use myeclipse IDE with tomcat 6, while my web server is tomcat 5. on the server , it works fine only by using outputlinks or any other html-link but not with commandlinks or commandbutton.
if i click on the commandLink in the iframe it submits the form and resets it again without any navigations. this means, i return to the same page with empty fields. also it does nothing. while on localhost its working fine.
here is my code :
main page 1 :
<h:panelGrid columns="1" width="100%"
                headerClass=""
                columnClasses=""
                rowClasses="" border="0"
                cellspacing="0" cellpadding="0"
                styleClass=""
             style="height:400px;text-align:center;"
                >
             <f:verbatim>
                          <iframe src="newArticle.jsf" frameborder="0" marginwidth="0" marginheight="0"
                                style="top:0; left:0; padding:0; width:100%; height:509;" name="MyiFrame">
                        </iframe>
             </f:verbatim>
</h:panelGrid>and here is newArticle.jsp :
<h:form>
      <h:inputText  required="true" id="sofortKauf" value="#{angebot.sofortKauf}" styleClass="angebot20InputStyle">
      <h:commandLink value="next" action="#{angebot.naviHandler}" target="MyiFrame" >
      </h:commandLink>
</h:form>it shoud navigate to a new page in the same iframe which should display the result of the submitted inputs. BUT IT DOSN'T !!
any idea ?
many thanks,
majd
Edited by: am05011996 on Aug 28, 2008 4:14 PM
Edited by: am05011996 on Aug 28, 2008 4:15 PM
Edited by: am05011996 on Aug 28, 2008 4:16 PM

Is that the entirety of newArticle.jsp? Because you seem to be missing the <f:view> tags.

Similar Messages

  • Opening new navigator window after clicking to "commandLink"

    Hi, what I can do for opening new navigation window after I will click on element inside "commandLink"

    You can use onmouseup an onkeyup events to open the new window in javascript.

  • TS3147 After installing Mountain Lion, I tried to scan from my Canon MX870 and received the message: "MP Navigator EX quit unexpectedly. Click Reopen to open the application again. A report will be sent to Apple,"

    After installing Mountain Lion, I tried to scan from my Canon MX870 and received the message: "MP Navigator EX quit unexpectedly. Click Reopen to open the application again. A report will be sent to Apple,"  This problem happened right after I installed Mountain Lion. I then downloaded Canon's upgraded software and drivers for the MX 870 and the problem was resolved. Now one month later, the problem has returned.

    rjliii wrote:
    Solved problem with original Canon software.  When I downloaded Canon software upgraded for OS X 10.8, I got all by Navigator Ex. Noticed that on Canon's site, the upgraded version is 3.1; my app was 2.1. Upgraded to 3.1 for Nav. Ex, and it works.
    You should still use Image Capture IMHO.  If it was my gear, that's what I would do.  No need to worry about software upgrades.

  • Tab in Top Level Navigation is not highlighted when clicked on

    Hi guys,
    We have 1 problem in EP 6.0:
    I create 1 iview(testiview), and attached to the role(testrole), assigned to 1 user, then login with that user. In top level navigation, i am able to see the role(testrole) in top level navigation, but after i clicked, the tab for this role is not highlighted, but the content of iview is displayed,
    Any one knows what happened?
    Thanks!
    Guo Feng

    Hi Guo
    You have created one role and added one iView under it.
    now can u tell which one you made as entry point.
    if Role is the entry point are you getting the iView link in the DTN ?
    If you made iView as entry point and then you r getting the content in content area and the iView link in the top.
    i think the second one happens...
    Check the role and iView properties .
    Make the Role as entry point..
    Cheers
    Chinmaya
    Reward for helpful answers

  • Firefox 13.0.1 Navigation Toolbar changes height when clicking on tabs

    Only happened today, no changes made to the system.
    When I click on a tab the icon height of the Navigation toolbar icons decreases to a square for half a second and then returns to the deeper height (rectangle). This makes all the page below the menu bar jump . Rather distracting.
    Hiding the Navigation toolbar obviously cures the problem but is not practical for obvious reasons.
    Any ideas folks; anyone heard of this before?
    Thanks in advance,
    Mike.

    Hi Chris; I tried changing the 'use small icons' setting back and forth when this problem first occurred and it made no difference to the problem.
    I updated to FF14.0.1 this morning and tried ColorfulTabs again, and although the flicker was of a shorter duration the problem remained. FF14 does seem to load the tabs a little quicker so that's probably the reason for the faster flicker.
    I shall have to live without ColorfulTabs until I find a fix or they update it.
    Thanks for your help.
    Mike.

  • Navigating to a view on click of a button in Webclient

    Hi Gurus,
    I am trying to navigate to a view from one view by clicking on a button.
    What is the coding to be done in do_handle_event and what is the navigation link to be provided in the customized run-time repository.
    Any help would be appreciated and points would be awarded
    Thanks,
    Jai

    This may help.
    ashish.
    3.4.1 Creating the View Set and Controllers
    The following steps are necessary to create your view set:
    1. Use the wizard to create a new view set SimpleActivitySet.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 93
    2. Skip through all following steps in the wizard.
    3. Redefine the method if_bsp_wd_history_state_descr~get_state_description in the
    generated class ZL_Z_CRM_IC_SIMPLEACTIVIT_IMPL as follows:
    METHOD if_bsp_wd_history_state_descr~get_state_description .
    description = text-001. " 'Simple Activity'
    ENDMETHOD.
    This method is called by the framework whenever the quick navigation dropdown box is refreshed.
    It returns the text to be displayed, in our case, Simple Activity. Double-click on text-001 in order
    to create the program text.
    4. Add the following code to the layout of the view set:
    <%@page language="abap"%>
    <%@ extension name="htmlb" prefix="htmlb"%>
    <%@ extension name="xhtmlb" prefix="xhtmlb"%>
    <%@ extension name="crm_bsp_ic" prefix="crmic"%>
    <%@ extension name="bsp" prefix="bsp"%>
    <crmic:gridLayout cellPadding="0" cellSpacing="2" columnSize="1" rowSize="1"
    width="100%" height="100%">
    <crmic:gridLayoutCell columnIndex="1" rowIndex="1" width="100%" height="34%">
    <bsp:call comp_id="<%=controller->GET_VIEWAREA_CONTENT_ID( 'SimpAct' )%>"
    url="<%=controller->GET_VIEWAREA_CONTENT_URL( 'SimpAct' )%>"/>
    </crmic:gridLayoutCell>
    </crmic:gridLayout>
    This HTMLB code simply creates a grid layout with one cell. Within the cell, we call the view by its
    ID (SimpAct). The ID is later on defined in the framework (cf. section 3.4.3.2).
    This design has some overhead in our case, but it shows in general how more complex view sets
    are to be designed. For example, see the view set definition of the interaction record,
    IRecViewSet.htm, in the BSP application CRM_IC.
    5. Activate all your objects.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 94
    3.4.2 Creating the View and Controllers
    The following steps are necessary to create your view:
    1. Start the IC WebClient workbench and right-click on the View Root node to create a new view.
    2. In the wizard, enter the following data:
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 95
    We do not define value nodes here. Value nodes are context nodes which are not bound to the
    BOL model but implemented in the context classes.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 96
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 97
    3. After this step, restart the IC WebClient workbench and see your new view in the hierarchy:
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 98
    The following methods will all be created/implemented in the controller implementation class
    ZL_Z_CRM_IC_SIMPLEACTIVI_IMPL. The additional controller base class should never be changed!
    1. Define the inbound plug. This will be the method that is called by the framework whenever we
    navigate to our view set. For more information on the link definition, see section 3.4.3.3.
    Sample Code: Inbound Plug
    In general, there are two way of passing parameters:
    • Via the business data context (BDC), which is represented by a custom controller.
    At this custom controller you find the method SET_NAVIGATION_DATA and
    GET_NAVIGATION_DATA to pass a context entity.
    • Binding to custom controller context nodes which leads to data sharing between views.
    In our example we bind BTORDER, the root context node of our new view, to the
    context node CURRENTINTERACTION of the BDC (custom controller CuCoBDC).
    When our view is created the data of CURRENTINTERACTION is automatically set to
    the node BTORDER and the data for the dependant nodes is automatically derived.
    2. You can define a dropdown list box for the status as described in section 3.3.
    3. The wizard automatically creates two methods that are responsible for the data transfer between
    the model/controller and the view:
    • set_models
    Sends data to the view. It is comparable to the PBO modules of traditional ABAP screen
    programming.
    • do_handle_data
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 99
    Retrieves data from the HTTP request fields. It is comparable to the PAI modules of an
    ABAP screen.
    3.4.3 Adjusting IC WebClient Framework
    After having defined the views, controllers, and classes, we need to assign them to the runtime profile of
    IC WebClient.
    The first time you do this, there are some preparations needed which are explained in the following
    section. After the preparation, the view and view set specific work for our example is explained.
    3.4.3.1 Preparation
    In order to prepare the IC WebClient framework for custom-built view sets, we need to create a new
    runtime profile BSP application in the customer namespace. This BSP application will contain one page,
    called CRM_IC.xml. It will contain the definition of all view sets and all navigational links by including the
    corresponding files that actually contain the definitions. We build all this according to standard structures,
    though it doesn’t necessarily have to be this way.
    To make things a bit simpler, we do not split up the repository into runtime and design time. All changes
    we make are only relevant for the runtime repository.
    Perform the following steps:
    1. Create the BSP application Z_CRM_IC_RT_REP in the package Z_CONS_COOK.
    2. Copy the file CRM_IC.xml from the BSP application CRM_IC_RT_REP to Z_CRM_IC_RT_REP.
    3. Adjust the contents of this file according to the changes shown in bold in the following sample
    code:
    <?xml version="1.0"?>
    <WebDynProDefinitions>
    <Application id="CRM_IC">
    <ViewSets>
    <%@include file="../Z_CRM_IC_RT_REP/CRM_IC_All_Viewsets.xml" %>
    </ViewSets>
    <NavigationalLinks>
    <%@include file="../Z_CRM_IC_RT_REP/CRM_IC_All_NavLinks.xml" %>
    </NavigationalLinks>
    </Application>
    </WebDynProDefinitions>
    Hence, CRM_IC.xml includes two more XML files which can be found in BSP application
    Z_CRM_IC_RT_REP.
    4. Create BSP application Z_CRM_IC_RT_REP in package Z_CONS_COOK.
    5. Copy page fragment CRM_IC_All_Viewsets.xml of BSP application CRM_IC_DT_REP to
    Z_CRM_IC_RT_REP and replace the file contents with the following lines:
    <%@ include file="MainViewSet.xml" %>
    <%@ include file="../CRM_IC_DT_REP/BuPaViewSet.xml" %>
    <%@ include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml"
    %>
    This definition still works with all standard view sets, but replaces the MainViewSet.xml with our
    own definition, since it is now loaded from Z_CRM_IC_RT_REP.
    6. Copy page fragment MainViewSet.xml from BSP application CRM_IC_DT_REP to
    Z_CRM_IC_RT_REP.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 100
    7. Copy page fragment CRM_IC_All_NavLinks.xml of BSP application CRM_IC_DT_REP to
    Z_CRM_IC_RT_REP and replace the file contents with the following line:
    <%@ include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
    This definition makes sure that standard navigational links still work and that we are able to add
    our own link definitions later on.
    8. Activate all objects.
    9. Customize the IC WebClient runtime framework profile in such a way that the new source file is
    used, as shown in the following sample code:
    <?xml version="1.0"?>
    <RuntimeFrameworkSettings>
    <RuntimeRepositorySource type="BSP">
    <BspApplication>Z_CRM_IC_RT_REP</BspApplication>
    <PageName>CRM_IC.xml</PageName>
    </RuntimeRepositorySource>
    <WorkareaDefinition>
    <ViewSet>workViewSet</ViewSet>
    <ViewArea>workViewSetArea</ViewArea>
    </WorkareaDefinition>
    <ControllerReplacements>
    <ControllerReplacement>
    <ReplacedController>BuPaMoreContactView</ReplacedController>
    <ReplacingController>Z_CRM_IC/BuPaMoreContactView</ReplacingController>
    </ControllerReplacement>
    <ControllerReplacement>
    <ReplacedController>IRecReason</ReplacedController>
    <ReplacingController>Z_CRM_IC/IRecReason</ReplacingController>
    </ControllerReplacement>
    </ControllerReplacements>
    <InteractionLayerApplication>ALL</InteractionLayerApplication>
    </RuntimeFrameworkSettings>
    3.4.3.2 Creating View Definitions for Design Time Repositories
    Every new view set must be defined in the runtime repository.
    1. Create page fragment SimpleActivitySet.xml in BSP application Z_CRM_IC_RT_REP and maintain it
    as shown in the following sample code:
    <ViewSet id="Z_CRM_IC/SimpleActivitySet">
    <ViewArea id="SimpAct" views="Z_CRM_IC/SimpleActivity"/>
    </ViewSet>
    The view area ID (SimpAct) is the name of the literal used in the bsp:call tag. For more
    information, see section 3.4.1.
    2. Include this file in the framework. Place the following line into page CRM_IC_All_Viewsets.xml in
    BSP application Z_CRM_IC_RT_REP:
    <%@ include file="SimpleActivitySet.xml" %>
    3. Activate your objects.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 101
    3.4.3.3 Creating Navigational Link Definitions for Design Time Repositories
    In order to provide a navigational link for the activity clipboard, we need to define this link.
    1. Create page fragment SimpleActivityNavLinks.xml in BSP application Z_CRM_IC_RT_REP and
    maintain it as shown in the following sample code:
    <NavigationalLink name="SimpleActivity">
    <Source viewRef="IRecActivitiesClipboard" outboundPlugRef="default"/>
    <Targets>
    <Target viewRef="Z_CRM_IC/SimpleActivity"
    inboundPlugRef="inboundplugid"/>
    </Targets>
    </NavigationalLink>
    The name of the link is SimpleActivity. We will refer to it in the activity clipboard Customizing. For
    more information, see section 3.4.3.5. The link can be activated on the view
    IRecActivitiesClipboard and it navigates to the view SimpleActivity in BSP application
    Z_CRM_IC. When the target view is activated, method ip_inboundplugid of the view controller
    class is called.
    The framework adds the prefix “ip_” automatically for this method.
    2. Similar to the view definition, include the navigational link into the runtime repository. Add the
    following line to the file CRM_IC_All_NavLinks.xml in BSP application Z_CRM_IC_RT_REP:
    <%@ include file="SimpleActivityNavLinks.xml" %>
    3. Activate your objects.
    3.4.3.4 Placing View Sets into Controller Hierarchies
    After the view set and the navigational link are defined, we finally add our new view to the possible views
    for the work area. We need to adjust the file MainViewSet.xml in BSP application Z_CRM_IC_RT_REP. Add
    the reference to our view set and activate the file as shown in the following sample code:
    <ViewSet id="ICAPPMainViewSet">
    <ViewArea id="navigationArea" views="navigationViewSet"/>
    <ViewArea id="workArea" views="workViewSet"/>
    <ViewArea id="contextArea" views="contextAreaView"/>
    <ViewArea id="breadCrumbsArea" views="BreadCrumbsView"/>
    <ViewArea id="globalSearchArea" views="HistoryView"/>
    <ViewArea id="helpArea" views="Help"/>
    <ViewArea id="statusArea" views="StatusView"/>
    <ViewArea id="errorArea" views="ErrorViewSet"/>
    </ViewSet>
    <ViewSet id="navigationViewSet">
    <ViewArea id="navigationViewSetArea" views="NavBarView"/>
    </ViewSet>
    <ViewSet id="workViewSet">
    <ViewArea id="workViewSetArea"
    views="<%@include file='../CRM_IC_DT_REP/StdWorkareaOccupation.xml' %>
    Z_CRM_IC/SimpleActivitySet"/>
    </ViewSet>
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 102

  • Opening a pdf document in a new window on click of commandLink in ADF

    Hi,
    I am having a command link in my page and on click of that i am calling a webservice and getting the contents as bytes and writing the contents to the response outputstream. And i followed the below given steps. Everything works fine and i am getting the PDF displayed in new window. But i am getting a pop up blocker issue in IE and Firefox. Is there any workaround for that?
    1: open a dialog , and get url of servlet
    <af:commandButton text="Dialog Report" id="cbdialogReport"
    action="#{ReportBean.cbdialogReport_action}"
    useWindow="true" windowHeight="1000"
    windowWidth="1100"/>
    public String cbdialogReport_action() {
    try {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext externalContext =
    facesContext.getExternalContext();
    HttpServletRequest request = (HttpServletRequest)externalContext.getRequest();
    String strUrl = request.getRequestURL() + "";
    int iPosition = strUrl.indexOf("/faces/");
    strUrl = strUrl.substring(0,iPosition+6) + "/doreport";
    this.reportURL = strUrl;
    System.out.println("strUrl=" + strUrl);
    //System.out.println("request.getRequestURI()= " + request.getRequestURI());
    return "dialog:ReportDialog";
    } catch (Exception ex) {
    System.out.println(ex);
    return null;
    2:diaolog
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelStretchLayout id="psl1">
    <f:facet name="bottom"/>
    <f:facet name="center">
    <af:inlineFrame id="if1"
    source="#{ReportBean.reportURL}"/>
    </f:facet>
    <f:facet name="start"/>
    <f:facet name="end"/>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    3: create a serlet
    package com.pansoft.myerp.servlet;
    import com.pansoft.myerp.view.Function;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.sql.Connection;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import net.sf.jasperreports.engine.JasperRunManager;
    public class doReport extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html; charset=UTF-8";
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    /**Process the HTTP doGet request.
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException,
    IOException {
    try
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext externalContext =
    facesContext.getExternalContext();
    //String strUrl = request.getRequestURL() + "";
    //System.out.println("URL: " + strUrl);
    response.setContentType("application/pdf");
    response.addHeader("Content-Type", "application/pdf");
    //response.setHeader("Content-Type", "application/pdf");
    //response.addHeader("Content-Disposition", "inline;filename=Report.pdf");
    Function function = new Function();
    Connection conn = function.getCurrentConnection();
    OutputStream outputStream = response.getOutputStream();
    InputStream reportStream = externalContext.getResourceAsStream("/Report/rptChar.jasper");
    JasperRunManager.runReportToPdfStream(reportStream, outputStream, null, conn);
    outputStream.flush();
    outputStream.close();
    //facesContext.responseComplete();
    }catch(Exception ex) {
    System.out.println("doGet():" + ex);
    Thanks!
    Ram

    I think you can't anything do about it if your popup blocker prevents the page to open.
    Some such blockers allow to add white lists of url which are allowed to open popups.
    Timo

  • Is it possible to add a shortcut to one or two very select websites to the navigational toolbar for convenient, one-click entry (i.e., which toolbar currently has buttons for viewing bookmarks and browsing history)?

    I would just like to be able to click once to get to one or two very important websites, just as I can now click once to show my viewing history (or scrapbook) in the sidebar.

    That's what the bookmarks toolbar is for.
    But putting single bookmarks there can fill it up quickly. Rather than a keyboard shortcut you can create a '''keyword shortcut''' for the bookmark, and that bookmark can be anywhere and out of sight. I keep all (most) of my keyword bookmarks in one folder on my bookmarks toolbar with the name beginning with the keyword. Here is an example, next door neighbor liked it for their netbook used at TV
    '''Name:''' tv: TV Listings - Find Local TV Shows and Movie Schedules - Listings Grid | TVGuide.com
    '''Location:''' http://www.tvguide.com/Listings/
    '''Keyword:''' tv:
    '''Description:''' PPP (User must be custom TV choices at Yahoo/TVGuide), start with zipcode (uncheck timezone), uses cookies, do for not logged in and for logged in. Must be logged in to pick your favorite channels to reduce list size.
    '''Firefox Keyword Shortcuts'''
    *http://dmcritchie.mvps.org/firefox/kws.htm
    Bookmarks toolbar styling'''
    * Stylish :: Add-ons for Firefox<br>https://addons.mozilla.org/en-US/firefox/addon/stylish/
    * '''Bookmarks Toolbar Fx4 Blue/Folders, Red/Bookmarks''' - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/46947/bookmarks-toolbar-fx4-blue-folders-red-bookmarks

  • Dotted border appears on navigation button after it's clicked

    http://garygee.com/firm.html - the link to page where dotted line appears after its clicked
    css code:
    @charset "utf-8";
    /* CSS Document */
    #nav {
        margin: 0px;
        padding: 0px;
        position: absolute;
        width: 375px;
        left: 210px;
        top: 30px;
        background: #333;
    #nav ul {
        margin:0;
        padding: 0;
        list-style: none;
        height: 1.2em;
        border-bottom: solid 1px #999;
    #nav ul li {
        float: left;
        padding-right: 0px;
        font: .85em/1.5em Arial, Helvetica, sans-serif;
        text-align: left;
    #nav ul li a {
        padding: 10px 20px 10px 20px;
    #nav ul a:link, #nav ul a:visited {
        color: #FFF;
        text-decoration: none;
    #nav ul a:hover, #nav ul a:active {
        color: #999;
        text-decoration: none;
    #nav ul a.current, #nav ul a.current:hover, #nav ul a.current:active {
        color: #F90;
    how do I makes this go away - your help is much appreciated
    Thanks

    As Ned said, you can remove the outline with CSS but it's a web accessibility feature. If you click somewhere else on the page the outline will go away.
    The Active Link's Focus state had a dotted border or outline to show people where they are on the page.  This is especially useful for people who must use their keyboard tab key to work through links.  As you know, many devices don't support a mouse and some people just can't use them.
    So remove the outline if you think you should but be ever mindful of any web accessibility features you disable.  Some people might need them.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Flash navigation and frames / iframes page

    For the past few months I've been trying to have a flash file
    open a certain html page or php page in either a framepage or an
    iframe. In the past I've had no problems with this. I've done it
    several times before without any errors. But somwhere along the
    launch of internet explorer 7 and or Flash Pro 8. I've not had such
    luck.
    If you look at the following site:
    http://www.teamafp.com
    you will notice that the flash menu system works just fine.
    The flash buttons opens the correct pages in the correct windows.
    This site was made a few years ago and even with the development of
    IE7 and FireFox it still functions the way it should.
    Now when making a new site using the EXACT SAME CODE and the
    EXACT SAME HTML / PHP CODE (for the frames / iframes) this does not
    work
    I've mad a quick example of this located at this url:
    http://67.59.38.170/FlashIframe/window.html
    Any one who can figure out why this is would be greatly
    appriciated!!!!

    ....... It's moments like this that make us programmers feel
    really dumb. I can't believe that I've been forgetting the ""
    around the window property. That seemed to have done the trick.
    Thank you.

  • Navigating through Tabs on Button click

    Hi All,
    I want to navigate from one tab to a different tab upon clicking on a button in the first tab. How do i do it?

    Hi Ronnie,
    Check the simple example Below...Hope this is waht you need..? If not please be clear some what more...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
      <![CDATA[
       private function onButtonClick():void
        myTabNav.selectedIndex = 1;
      ]]>
    </mx:Script>
    <mx:TabNavigator width="200" id="myTabNav" height="300">
      <mx:Canvas label="First Canvas" width="100%" height="100%">
       <mx:Label text="First Canvas"/>
       <mx:Button label="Change Tab" click="onButtonClick();" right="0"/>
      </mx:Canvas>
      <mx:Canvas label="Second Canvas" width="100%" height="100%">
       <mx:Label text="Second Canvas"/>
      </mx:Canvas>
      <mx:Canvas label="Third Canvas" width="100%" height="100%">
       <mx:Label text="Third Canvas"/>
      </mx:Canvas>
    </mx:TabNavigator>
    </mx:Application>
    Thanks,
    Bhasker

  • How to get another jsp by clicking a h:commandLink in jsf page

    Hi,
    I am new to JSF. pls send sample code me how to get another jsp by clicking a commandLink in jsf.
    SUB: TO go to the page "report7.jsp"
    -->By getting help from samples i wrote for above in 2 ways.
    1)
    <td><h:commandLink id="RO0007" action="r7" >Sharing of Information from Foreign FIU</h:commandLink></td>
    and in <reports-config>
    <navigation-case>
    <from-outcome>r7</from-outcome>
    <to-view-id>report7.jsp</to-view-id>
    </navigation-case>
    2) Sending request through bean method
    <td><h:commandLink id="RO0007" action="#{RBean.report7()}" >Sharing of Information from Foreign FIU</h:commandLink></td>
    in RBean the method form is
    public String report7(){          
         return "r7";
    and in <reports-config>
    <navigation-case>
    <from-outcome>r7</from-outcome>
    <to-view-id>report7.jsp</to-view-id>
    </navigation-case>
    Some problem in both i think as it is not going to next page. i need to go to th next page by calling Bean Method.
    please get me out of this problem. It is very urgent. Thank you.
    **************************************************************

    What error is it throwing? If it is throwing a Page not found, then maybe you should try mapping to "report7.faces" instead of "report7.jsp"
    Can you post your faces-config please

  • Previous page navigation after on click of cancel button of a form in adf

    Hi,
    Can any one tell how previous page navigation works in adf?
    I am working on a portal page which is having a common footer for all jspx pages.This footer contains a golink for feedback form.
    so the problem is when I Navigate to any page (# page 1)and then Navigate to some other page (#page 2) and on click of Feedback link displayed on footer of page 2 Feedback form is displayed. and on Click of Cancel button of the form.
    Expected Result:
    User should be navigated to the page that they were on. (i.e., Page 2)
    Actual Result:
    User is navigated to page 1 instead of page 2
    i.e it is taking browser previous url.
    I am using the following code for the cancel button
    <af:commandLink text="Cancel" id="cl5">
    <af:clientListener method="goBack" type="click"/>
    </af:commandLink>
    java script....
    function goBack()
    window.history.back()
    Edited by: 993530 on Apr 23, 2013 3:35 AM

    Hi,
    Immediate = true is already been set for cancel button
    The problem is when i come back to the 1st page vo is getting executed again and is taking lot of time.. i need to see that vo does not get executed again
    in the vo for view criteria -- query execution mode , i have made as in memory and now it has become fast on click of cancel button. But i am getting the following error when i perform search in the first page
    Missing FROM in a SELECT statement
    An unexpected expression token is found.
    Thanks,
    .

  • Expand all folders in the detailed navigation by default on click of Role

    Hi All,
    I have a requirement on expand all the folders in the detailed navigation by defalut when we click a Role in the Fist level navigation.
    Please have a look about our requirement as mentioned below.
    ->Role1(First Level Navigation)
       ->Wokset1(Second Level)
           -> Folder1(Detailed Navigation entry Folder)
                  -> Folder2
                       Page1
                       Page2
                  ->Folder3
                       Page3
                       Page4
                  -> Folder4
                       Page5
                       Page6
    When the user clicks on Role1 then automatically all the folders in the detailed navigation should be expanded by default then user could see all the pages displayed in all folders. currently the functionality is collapsed all the folders by default in the detailed navigation then user has to expand the folders manually.
    Regading this issue, i had seen couple of threads on the same but getting confusion what is the exact solution for the solution.
    in those existing threads some people has mentioned that need to change code in the lightdetailnavigation.par or some other mentioned that it is not worked out even do the required changes in the code of light detail navigation part file. there is no clarity in the existing threads for getting  the exact solution . please let me know what are the properties needs to be changed at folder level or workset level to make sure all the folders should be expanded by default in the detailed navigation??
    Currently we are using portal 7.0 version.
    Any pointers in this regard would be the great help to us??
    Thanks in advance.
    Regards,
    PortalUser
    Edited by: PortalUser100 on Jan 22, 2011 10:15 AM

    Hi,
    To expand all the folder by default, we need to set the property of the detailed navigation tree.
    Open your framework page in the content administration.
    Check on the detailed navigation check box and click on the properties button.
    In the properties, set the value of initial state= OPEN .
    This will expand all the folders by default.
    Hope you understood.
    Regards
    Nishant

  • Why clicking the same tab of tab bar returns to the top view of navigation?

    Hi, I have a problem combing the UITabBarController and UINavigationController.
    I have 5 tabs and in some tab using navigation controller to switch the view layers.
    Suppose i'm on tab 0 and go to the second view layer of navigation controller.
    When i click the tab 0 again in the tab bar, it takes me back to the top view. It's really weired.
    Why do this happen? Can i override the effect?
    Thanks.

    Never mind. Apparently a duplicate of other threads. Possible fix: update the defective OSX Lion to Mountain Lion.

Maybe you are looking for

  • HELP   Cannot run FLASH PLAYER on my LAPTOP Windows XP

    Sept 8 2011     I hv been trying to run Adobe Flash Player  v 10.1.3 on my laptop HP/Compac Presario V2410 for weeks now.  I download program but it doesnt show up that it is on my computer.  I hv been trying every solution that ADOBE offers and I hv

  • Error while migrating from JDev 11.1.1.3 environment to 11.1.1.6

    Hi, I have developed a BPEL process including Human task and Business rules on JDeveloper 11.1.1.3. The human task worklist page and its project were autogenerated and then I was deploying both the projects from Jdeveloper to weblogic 10.3.3 server a

  • Configuration mm meterial number

    Dear Gurus, When do real time do it configuraion number range at the client level, at the time of cutover activities, means what , and what will be handled in cutover activities? MM - configuration , what have u do means , guide me pls..... in enterp

  • Flash Builder 4.6 crashes on startup

    Hi, I've been using fb 4.6 premium for a while and everything works fine. Then 2 days ago it started crashing every time I tried to start it up, and it always crashes when the message "loading workbench" appears at the splash screen. The .log recorde

  • I need my mouse pad to be replaced?

    I accidently dropped my iPhone on my mousepad (me being the clutz I am), and it cracked...I want it replaced so that way it can look nice again. It works perfectly fine but I rather have it fixed then cracked.