Included subview not displaying when run, only in editor

Hallo -- I have a page called home.jsp that contains a subview.
home.jsp looks like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" contentType="text/html; charset=iso-8859-1" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>Untitled Document</title>
</head>
<body>
<h:panelGrid width="100%" columns="1">
     <h:panelGroup>
          <h:outputText value="Hello?"/>
     </h:panelGroup>
     <h:panelGroup>
          <h:panelGrid width="100%" columns="2">
               <h:panelGroup>
                    <f:subview id="navigationPane">
                         <jsp:include page="subview/navigationPane.jspf" flush="true" />
                    </f:subview>
               </h:panelGroup>
               <h:panelGroup>
                    <h:outputText value="Hello-o-o-o...?"/>
               </h:panelGroup>
          </h:panelGrid>
     </h:panelGroup>
     <h:panelGroup>
          <h:outputText value="Where's my subview?"/>
     </h:panelGroup>
</h:panelGrid>
</body>
</html>
</f:view>
[/code:1:ccbd93ceb2]
And the file in the subview, named [b:ccbd93ceb2]navigationPane.jspf[/b:ccbd93ceb2] in the subfolder [b:ccbd93ceb2]/subview[/b:ccbd93ceb2] looks like this:
[code:1:ccbd93ceb2]<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<h:panelGrid width="20%" columns="1" id="navigationPane">
     <f:facet name="header">
          <h:outputText value="Navigation Pane"/>
     </f:facet>
     <h:panelGroup>
          <h:form>
               <h:commandLink id="gotoHome" action="gotoHome" immediate="true" style="text-align: center">
                    <h:outputText value="home"/>
               </h:commandLink>
          </h:form>
     </h:panelGroup>
     <h:panelGroup>
          <h:form>
               <h:commandLink id="viewByCustomer" action="viewByCustomer" immediate="true" style="text-align: center">
                    <h:outputText value="view by customer"/>
               </h:commandLink>
          </h:form>
     </h:panelGroup>
     <h:panelGroup>
          <h:form>
               <h:commandLink id="viewByJob" action="viewByJob" immediate="true" style="text-align: center">
                    <h:outputText value="view by job"/>
               </h:commandLink>
          </h:form>
     </h:panelGroup>
     <h:panelGroup>
          <h:form id="quickSearchBeanForm">
               <h:panelGrid columns="3">
                    <h:outputText value="Search By Option:"/>
                    <h:panelGroup>
                         <h:selectOneMenu id="quickSearchBean_searchByOption" value="#{navigationPaneBean.quickSearchBean.searchByOption}">
                              <f:selectItems value="#{navigationPaneBean.quickSearchBean.searchByOptions}"/>
                         </h:selectOneMenu>
                    </h:panelGroup>
                    <h:message for="quickSearchBean_searchByOption"/>
                    <h:outputText value="Search For:"/>
                    <h:inputText id="quickSearchBean_searchFor" value="#{navigationPaneBean.quickSearchBean.searchFor}"/>
                    <h:message for="quickSearchBean_searchFor"/>
               </h:panelGrid>
          </h:form>
     </h:panelGroup>
     <h:panelGroup>
          <h:form>
               <h:commandLink id="gotoAdmin" action="gotoAdmin" immediate="true" style="text-align: center">
                    <h:outputText value="admin"/>
               </h:commandLink>
          </h:form>
     </h:panelGroup>
     <f:facet name="footer">
          <h:form>
               <h:commandLink id="logout" action="logout" immediate="true" style="text-align: right">
                    <h:outputText value="logout" style="text-align: right"/>
               </h:commandLink>
          </h:form>
     </f:facet>
</h:panelGrid>
[/code:1:ccbd93ceb2]
Just to be really clear, here is the dierctory structure for the relevant files:
[code:1:ccbd93ceb2]/web
|
|
|--/pages
|   |
|   |
|   |--/app
|   |   |
|   |   |
|   |   |--/subview
|   |   |   |
|   |   |   |--navigationPane.jspf
|   |   |
|   |   |
|   |   |--home.jsp
|   |
|   |
|   ...
|
...[/code:1:ccbd93ceb2]
My problem is that the subview will not display when I run the web app. In the design view I can see it just fine, but when I browse to home.jsp when running, all I get is this (from view source):
[code:1:ccbd93ceb2]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>Untitled Document</title>
</head>
<body>
<table width="100%"><tbody><tr><td>Hello?</td></tr>
<tr><td><table width="100%"><tbody><tr><td></td><td>Hello-o-o-o...?</td></tr>
</tbody></table></td></tr>
<tr><td>Where's my subview?</td></tr>
</tbody></table>
</body>
</html>
<script type="text/javascript">
<!--
function getScrolling() {
    var x = 0; var y = 0;
    if (document.body && document.body.scrollLeft && !isNaN(document.body.scrollLeft)) {
        x = document.body.scrollLeft;
    } else if (window.pageXOffset && !isNaN(window.pageXOffset)) {
        x = window.pageXOffset;
    if (document.body && document.body.scrollTop && !isNaN(document.body.scrollTop)) {
        y = document.body.scrollTop;
    } else if (window.pageYOffset && !isNaN(window.pageYOffset)) {
        y = window.pageYOffset;
    return x + "," + y;
//-->
</script>
[/code:1:ccbd93ceb2]
Does anyone have any idea why this might not be working?
I'm really stumped!
Cheers,
   doug.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

http://forum.java.sun.com/thread.jspa?messageID=3413354&#3413354

Similar Messages

  • RE: my input fields does not display when running the page

    my input fields does not display when running the page
    why is that so?

    Hi,
    Can you send the HTML code for us?
    Afonso

  • Subreport not displayed when Run from SAP Business One

    We have a crystal report that displays a subreport when it is run from within the Crystal 2008 Designer but not when run from within SAP. Has anybody else seen this error? We have tried importing it into SAP and checking the connections of the report and subreport etc but to no avail.

    Sastry,
    The main report is a document layout with the sub report linked into it using the DocEntry key field from SAP. The subreport should display data based on that link.
    This main report only has the one sub report and when you preview in Crystal it returns data, when you preview using the same criteria but inside of SAP, it is not displayed.
    Thanks
    Mark

  • Icons files will not displaying when running web-based forms locally

    My icon files (jpgs) are not displaying from within Forms Developer 10g or when I run the web-based forms from within Developer. I have tried the following without success:
    6.4 Deploy Icons for Forms Running on Web
    Option One: For Running Web Based Forms from Within the Forms Builder in Oracle 10g Developer Suite
    1) Copy all the icon image files (*.jpg) to the directory of <Oracle_10g_Developer_Suite_Installation_Root_Dir>\forms\j2ee\formsapp\formsweb\icons
    2) Make sure to set imageBase=DocumentBase in the file < Oracle_10g_Developer_Suite_Installation_Root_Dir >\forms\server\formsweb.cfg.
    3) Edit the < Oracle_10g_Developer_Suite_Installation_Root_Dir >\forms\java\oracle\forms\registry\Registry.dat file, specify the icon image file extension by modifying the following line:
    default.icons.iconepath=icons/
    default.icons.iconextension=jpg
    Save this Registry.dat file.
    4) Restart the OC4J Instance.
    5) Launch the form from Forms Builder.
    I just got a new laptop and am setting everything up again. I have everything setup the same way as on my old machine (same as above). It worked fine on my old computer but not on the new one.

    hi
    try to create jar file for u r all jpgs but also u have to check the size of u r images
    and if possible try to resave the same images by using Acdsee or use any other image viewer softwares.
    hope this helps u...
    sarah

  • Console not display when run jar file

    i run jar file with command javaw -jar test.jar or double click on jar file, it's console app, it just run well but console not display, can i made console display and when i close console, it's stop jar file too?
    thanks

    i got it, javaw = no console window, i tried java command and i got error: can not access jar file?

  • Form not displayed when run- a large gray block

    I am trying to debug an existing form (which I know runs in our production enviroment). I need to debug to see what is happening to investigate the scope of a potential modification.
    My problem is that when I startup the OC4J container (no errors) and run the form from withing the Forms developer IDE, my browser launches (or attempts) and the form is nor displayed, only a 'large gray block' which I presume is the applet which should be launching my form.
    I tried to place message, in the form trigger, when-new-form-instance and when-form-navigate in order to identify if that code is been called, but I do not get the debug messages.
    I turned on edit->preferences->runtime->debug messages, and I get 1 debug alert 'please acknoledge message' when launched in my browser.
    Based on the fact that I am not getting any errors and I am getting one debug message, I presume that I need to somehow explicitly show/call the form or something similar?
    The form does have multiple canvases, which look like they are overlayed and controlled depeding on the form interaction. Does anyone have some idea to start helping me move forward with this?

    In order to run a form on your workstation using OC4J, you have to have a compatible JVM installed - typically Oracle's jInitiator, but it will work using the Microsoft JVM as well (although, not officially supported by Oracle anymore). It sounds like you have the default set to use the Microsoft JVM. If you hover your mouse over the "Gray Area" do you see the message: "Click to activate and use this Control." Have you tried to just click on the gray area to see what will happen?
    If you have installed Oracle jInitiator, did you modify the "formsweb.cfg" file to specify the Browser's JVM option?
    Hope this helps,
    Craig...

  • Graphics generated using awt.graphics not displaying when run through a jar

    I've created a small application that works fine when compiled and ran normally.
    When I create a jar and run it, the application works mostly fine too, the button (there's a button in it) shows up, but the graphics produced with java.awt.Graphics don't. What's really weird is that this problem only seems to occur for some people. I sent the jar to some friends and for some of them it worked fine, while others had the same problem I have.
    Can anyone tell me what's causing this and what I can do to fix it?

    I would investigate by finding out what JRE versions are running on each of the users machines and then compare to see if there is a correlation between certain versions and this Graphics problem.

  • How do I enlarge the "presenter notes" window when running my presentation on an external display?

    In the latest version of Keynote, the "Presenter Notes" window is a small horizontal field at the bottom of the presenter's computer screen.  Only 3-4 lines of text can be seen.  This means that when you have a few paragrahs of notes, you have to scroll through them as you are presenting.  This is very cumbersome.  In the previous version of Keynote you could change the relative size of the slides versus the "presenter's notes" boxes when running a presentation on an external display, but in the new version, I can't find a way of enlarging the "presenter's notes" field.
    Also, in the new version, the preview slide doesn't show the initial text on the next slide if that text emerges as a "dissolve in" build when you advance forward through your slides.  I always have the initial text on my slides automatically "dissolve in" after each slide transtion.  But in the new version of Keynote, when in presenter mode, I can't see any of the text on the "next slide."  This makes it difficult to anticipate what slide comes next . . . without going to the Navigator.  Does any one have a solution for this?
    Thank you.

    I figured it out with the help of a post from a few days ago.  Although posted for a different problem, I followed these steps from Cornelia-I and it worked like a charm:
    You can change the link of LR to the images from the network drive to your local drive, best done on parent folder level: right-click the highest folder in library left panel, and choose update storage location. In the opening dialog window point it to your internal folder.

  • In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    I'd ask that on the iPad forum.

  • ICO file not displaying at run time?

    Hello Experts,
    I an using fusion 11.1.2.1 32 bit. I have Copied the Icons as well as GIF files in C:\Oracle\Middleware\Oracle_FRHome1\forms\java folder.
    At button property i set Iconic to yes
    and file = addrow
    Icon not display at run time.
    but when i set file = abc.GIF
    image is displaying at run time.
    My doubt is that ICO file not displaying at run time while GIF file are displaying.
    Do i need to change configuration ?
    Please do the needful.
    Thanks
    Yash

    Hi Yash,
    First Try this steps
    To resolve this issue, follow these steps:
    Double-click My Computer, and then click Options on the View menu.
    Verify that the Icon file type appears on the File Types tab. If the Icon file type does not appear in the Registered File Types box, skip to step 10.
    Click Icon in the Registered File Types box, and then click Edit.
    Verify that the following settings exist, and then click OK:
    The Description Of Type box contains Icon.
    If there is a Confirm Open After Download check box, it should be selected.
    If the settings do not appear exactly as listed in step 4, click Remove, click Yes, and then click OK. If the settings do appear as listed in step 4, skip to step 10.
    Click New Type.
    In the Description Of Type box, type Icon.
    In the Associated Extension box, type ICO.
    Click OK, and then click Close.
    Use Registry Editor to view theHKEY_CLASSES_ROOT\.icokey, and then verify that the default string contains the following value:icofileIf the .ico key does not exist, create it, and then insert the value listed above. If any other values exist in the .ico key, delete them.
    Use Registry Editor to view theHKEY_CLASSES_ROOT\icofilekey, and then verify that the default string contains the following value:iconIf the icofile key does not exist, create it, and then insert the value listed above. If any other values exist, delete them.
    Create a new key in the icofile key called DefaultIcon , and type %1 as this key's default value.
    Quit Registry Editor, and then restart your computer.
    Second Try this
    Simple way
    Copy your images to:
    1
    c:\Oracle\Middleware\as_1\forms\java\ 
    Notes:
    - Icon files may not be supported.
    - In case of a Java security issue when using gif images, you will need to create a jar file and sign it with oracles sign-tool (see below, point 6).
    - In case you having trouble with oracle’s sign-tool, do it directly with java’s
    Recommended way
    1. Create a “icons” folder and place all your gifs in there
    i.e. “c:\Oracle\Middleware\as_1\forms\java\<icons>”
    2. From within icons folder make a jar file of all the gif images:
    1
    jar -cvf frmicons.jar *.gif 
    3. Copy this new jar into “c:\Oracle\Middleware\as_1\forms\java\”
    4. Edit/update formsweb.cfg file:
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg  …to update/include:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    # Forms applet parameter 
    codebase=/forms/java
    # Forms applet parameter
    imageBase=codebase
    # Forms applet archive setting for other clients (Sun Java Plugin...etc)
    archive=frmall.jar,frmicons.jar
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar,frmicons.jar
    5. Edit/update Registry.dat file:
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\forms\registry\oracle\forms\registry\Registry.dat
    1
    2
    default.icons.iconpath=icons/ 
    default.icons.iconextension=gif
    At this point your icons should work normally, but if you get a security check of Java for gif files then proceed to the next step to fix this. TIP: May need to restart the weblogic/forms server for changes to take effect.
    6. Sign your jar file with oracles sign_webutil.bat sign-tool.
    path = c:\Oracle\Middleware\asinst_1\bin\sign_webutil.bat
    Firstly, you need to edit the sign_webutil.bat as follows:
    1
    2
    3
    SET KEYSTORE_PASSWORD=my_password 
    SET JAR_KEY=webutil2 # will need to change for every run
    SET JAR_KEY_PASSWORD=my_password
    Secondly, set the environment path and finally run the command:
    1
    2
    3
    set path=c:\Oracle\Middleware\as_1\jdk\bin 
    cd c:\Oracle\Middleware\asinst_1\bin\
    sign_webutil c:\Oracle\Middleware\as_1\forms\java\my_icons.jar
    This will create your signed jar file. Once initialized from the web-app it should ask the user to “Trust” the certificate and never prompt again.
    Other issues you may encounter and may need to edit/update the following files/registry entries as well:
    formsweb.cfg
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    # Forms applet parameter 
    codebase=/forms/java
    # Forms applet parameter
    imageBase=codebase
    # Forms applet archive setting for other clients (Sun Java Plugin, ...etc)
    archive=frmall.jar, my_icons.jar
    ...or
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar, my_icons.jar
    Registry.dat
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\forms\registry\oracle\forms\registry\Registry.dat
    1
    2
    default.icons.iconpath=/forms/java 
    default.icons.iconextension=gif
    Registry entries:
    1
    2
    UI_ICON:<path_to_icons_dir> 
    UI_ICON_EXTENSION: "gif": ".gif" "ico": ".ico"
    Credits and further information can be tracked for icons issue here and for jar file creation here.
    Hope this will help.

  • Help topics are not displaying when using Windows 7 / IE 9 / RH10

    We recently upgraded our library from RH8 to RH10.  Also used a trial version of  RH9 in this process. Now when we compile several of the projects have issues where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (like it is trying to load).  If you right-click on the topic it displays (we are currently using this as the work-around).  Anyone else having this problem?? I saw something similiar for Windows8/IE10, but the fix does not apply here (http://forums.adobe.com/message/5138909#5138909#5138909).

    Hi,
    I (April) apologize I have been OOO and have not been able to respond to your replies.  
    Let’s start over. 
    We have an issue where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (flickering like it is trying to load). If you right-click on the topic it displays (we are currently using this as the work-around).
    We use Windows 7, IE9 and RH10 for all our projects. (Recently upgraded from RH8 to RH10)
    Turns out the problem is not isolated. I have run across it in at least one other project, which leads me to think it also occurs in others.
    "Does this only occur when the help is called from your software? Is it OK if you double click the start page?"
              No. I it ALSO occurs when launched from the start page. 
    Have you tried deleting the CPD file and reopening Rh and the project?
              Yes, without success.
    Are you using any redirects?    
              Per (Adrienne), “I am not using any redirects. I encounter this issue only in IE. If I paste the .htm into a Firefox browser, the help displays as it should.” 
              I will add that the project also displays incorrectly in Google Chrome.
    Thanks  April

  • SAP Gateway- environmental variables not loaded when running brconnect

    Hello
    i have installed the Sap gateway on MSCS
    and the RFC check in sm59  is successful,
    However when i run a job in db13 it fails with "brconnect is not recognized as ......... "
    <sid>adm has all environmental variables set correctly
    SAPService<SID> has them too
    when i run  brconnect on OS level it works fine with <sid>adm and SAPService<SID>
    however if create a brconnect.cmd file where i specify the command as
    SET ORACLE_SID= ....
    SET SAPDATA_HOME=....
    C:\windows\sapcluster\brconnect.exe ...........
    and run it in sm69 it works fine
    Any ideas how to solve this, seems the variables are not taken when running sapxpg
    , i don't want to edit the SDBAC for every  command
    P.S
    set from sm69 returns only the system wide variables, however i have the two systems on this host, and can not make the environmental variables for ORACLE_SID and SAPDATA_HOME system wide as this will cause problem with the other sap system
    Edited by: Yavor Markov on Apr 12, 2010 6:07 PM

    Hi Markov,
    Can you tell us with which user id you have installed SAP as well as check the sap services are running with which user id, if it is not <sid>adm then you have to check the environment variables of that user.
    Also you can try adding c:\windows\sapcluster in PATH environment variable.
    Regards,
    Kishore Soma

  • After Mozilla upgraded (5 I think) my igoogle homepage does not display when I sign in.

    I upgraded to Mozilla 5, (I think, as there does not seem to be any previous versions when I check), now my personalized igoogle homepage does not display when I sign in. I need to go to options then select igoogle. All was well before. How do I reset without having to completely redo my igoogle page. I do not believe I have the 6.0 version as that is what it says I can upgrade to. I am retired and am only learning.

    Unless you have a version of iPhoto that was 9.0 or later you will not be able to download iPhoto 9.6.1 from the App Store.  To get 9.6.1 you'll need to purchase a copy of the iLife 11 disk from an online retailer like Amazon.com and then go the App Store and download 9.6.1.  Those who had an iPhoto 9.0 or later already installed have been able to get 9.6.1.  But there's been no reports from anyone who bought iLife 11 and went that route so you're at your own risk. 

  • X-fi fatal1ty device not detected when running speaker selection wizard

    Gx-fi fatalty device not detected when running speaker selection wizard? ?
    System is a custom build, based off an ASUS A8N-SLI Premium, with two GTX7800 display cards. in a SLI configuration
    Fresh installation fo Windows XP Profesional with SP3 slipstreamed.
    Origional CD fails to detect the card, claiming a supported device is not present.
    This card has worked prevously, and is verified as fully functional in windows Vista. ?
    Please note Windows Vista can not be used.
    I have tried about 30 different versions of the drivers (each on a clean installation) and used both clean and dirty boots, and nothing is working.
    Before anyone points me at other threads in this forum, please note i have been scouring this forum for the past week trying every sugestion there is, and I have raised a ticket with Creative (who despite the prommise of a 2 day responce, have yet to respond)
    I have tired multiple versions of the NForce drivers, NVidia display drivers, Creative Drivers, Bios updates, Chipset hacks and more.
    does anyone hav a sugestion that is not already posted on this forum.

    Tried it on one of the spare PC's in the house earlier (Nforce 2 based) - still no recognition of the card whatsoever, it's as if it doesn't exist.
    I'm guessing that the card is pretty much toasted eh?
    --Jakk

  • Why is it when I add photos from iPhoto onto an iMovie project, it is not displayed when I play the movie from beginning to end, although I can see it in the (edit) format?

    Hi everyone,
    I'm just wondering why is it that when I place an image from iPhoto to an iMovie project, it is not displayed when I play it from beginning to end in fullscreen playback mode? However, when I exit it on the timeline, it is shown. All I did as drag it from the iPhoto column and place on at the beginning. I would really appreciate someones help because I really need to be able to place images onto my projects. Thanks!

    Sounds like your talking about iMovie for Mac?
    This is the iOS version, repost here:
                                                      iMovie

Maybe you are looking for