JSF page initiatty displaying partially

I have a couple of jspx pages in my application. Page one is having go link to navigate to the page two. The page two have around 100 adf components.
when I am navigating from page one to page two, the page two is rendering slowly. What I mean is initially I can see the page with only few components and remaining components are getting displayed after few seconds.
Is there any way to to stop showing page to the user until its fully rendered?

User,
Are the components that are not displaying initially af:table by any chance? Tables are (by default) rendered in a "two-pass" mode that you can control by changing the "contentDelivery" property to "immediate"
Otherwise, do you know where the delay originates? Is the delay in your browser's rendering of the page (not much you'll be able to do with that)? Describe the second page for us a bit better - maybe that will provide some clues.
Not sure that a glasspane is going to help you here, however.
John

Similar Messages

  • JSF pages to display content from external URLs

    Hi,
    Is it possible for a JSF page that uses ADF controls, and the PanelPage component to provide menuing, etc. to actually allow a HTML page (accessed via a URL to an external site/application) to be displayed in an area within the JSF page?
    For example, clicking a menu item to an external HTML page results in the page being displayed in a Frame or similar within the JSF page?
    I've tried the FrameBorderLayout control and Frame control to try to embed a Frame to display such a page via the target setting for a menu item, but that doesn't seem to work. At least not when within a PanelPage. It works within a basic JSP page.
    I would have thought it would be possible for a JSF application to incorporate HTML content from other sites/servers as if part of the application. Even if this meant defining "wrapper" pages of some sort to effectively link these into the JSF application as part of it's navigation rules.
    Or am I missing something?
    Gene

    Thanks,
    Yes, using an iFrame tag within a verbatim tag worked, allowing me to specify an external URL to a page which is then displayed at the location where I placed the verbatim tag. I need to investigate sizing/border settings, but at least I now seem to be able to embed such pages.
    This works.
    I tried jsp:include as well, but that only seems to allow relative URLs to pages that a part of the application. And using the c:import JSTL tag would import a page at an external URL, but didn't seem to position it where I wanted it.
    Gene

  • Results page only displays partial record

    Hello everyone: I am new to this forum and would like to
    request some help. I have searched and searched but cannot find the
    answer to my problem on this forum or others.
    I problem is as follows;
    I have a results page which displays the complete version a a
    single news story. I am pulling the story with a simple URL
    Parameter. The PHP tage for the affected field contains a simple
    nl2br statment and I am not using any complicated queries to pull
    the data.
    When I update the record from the update page I get no errors
    of any kind, but when I load the page that displays the updated
    record, the contents of the field in question is trucated.
    I cannot see any problems with any of the code and I am quite
    baffled by it.
    Here is the code for the record display
    <?php echo nl2br ($row_rsNews['story']); ?>
    And this is the code for the update action
    <?php
    function GetSQLValueString($theValue, $theType,
    $theDefinedValue = "", $theNotDefinedValue = "")
    $theValue = (!get_magic_quotes_gpc()) ?
    addslashes($theValue) : $theValue;
    switch ($theType) {
    case "text":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" :
    "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue != "") ? intval($theValue) : "NULL";
    break;
    case "double":
    $theValue = ($theValue != "") ? "'" . doubleval($theValue) .
    "'" : "NULL";
    break;
    case "date":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" :
    "NULL";
    break;
    case "defined":
    $theValue = ($theValue != "") ? $theDefinedValue :
    $theNotDefinedValue;
    break;
    return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
    $editFormAction .= "?" .
    htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) &&
    ($_POST["MM_update"] == "updatenews")) {
    $updateSQL = sprintf("UPDATE news SET `date`=%s,
    subtitle=%s, title=%s, story=%s, image=%s, thumb=%s WHERE id=%s",
    GetSQLValueString($_POST['date'], "date"),
    GetSQLValueString($_POST['subtitle'], "text"),
    GetSQLValueString($_POST['headline'], "text"),
    GetSQLValueString($_POST['story'], "text"),
    GetSQLValueString($_POST['image'], "text"),
    GetSQLValueString($_POST['thumb'], "text"),
    GetSQLValueString($_POST['id'], "int"));
    mysql_select_db($database_ifbdb, $ifbdb);
    $Result1 = mysql_query($updateSQL, $ifbdb) or
    die(mysql_error());
    $updateGoTo = "news_list.php";
    if (isset($_SERVER['QUERY_STRING'])) {
    $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
    $updateGoTo .= $_SERVER['QUERY_STRING'];
    header(sprintf("Location: %s", $updateGoTo));
    $colname_rsNews = "-1";
    if (isset($_GET['id'])) {
    $colname_rsNews = (get_magic_quotes_gpc()) ? $_GET['id'] :
    addslashes($_GET['id']);
    mysql_select_db($database_ifbdb, $ifbdb);
    $query_rsNews = sprintf("SELECT * FROM news WHERE id = %s",
    $colname_rsNews);
    $rsNews = mysql_query($query_rsNews, $ifbdb) or
    die(mysql_error());
    $row_rsNews = mysql_fetch_assoc($rsNews);
    $totalRows_rsNews = mysql_num_rows($rsNews);
    ?>
    I would truly appreciate any help this group can
    offer.

    Hi Gunther:
    I am really quite embarrassed, about this but I think I found
    the problem...
    I had a look at the table configuration in MySQL
    Administrator, and there was the problem staring me right in the
    face.....
    The field 'story' was set to VARCHAR(255) ! I reset it to
    TEXT and all is fine now!
    Please accept my sincerest thanks for your help. Your
    suggestion to check if I was using a textarea is what led me to
    check the datatye again. I have no idea how it got changed but I
    now know where to check first if it happens again.
    Thaks a ton!!!!!

  • JSF Page not displayed

    Hi,
    i am new JSF and i have build a jsf page and deployed into Sun GlassFish Enterprise Server
    and i am using NetBeans 6.5.1
    when i try to access the page it is giving the following exception
    java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: Setter not found for property class
    pls help me

    and for the jsf page for all jsf components we used styleclass but not classNot everywhere if you get that error.
    and we are using icefacesIrrelevant.
    java.lang.IllegalStateException: PWC3991: getOutputStream() has already been called for this response*Hard to say what is the cause of this - the indirect cause is exactly what is stated in the error, but why this is happening I cannot say. You get this error in a servlet somewhere perhaps?

  • Weblogic portal 10.3 - How to make JSF page to display different jspx page

    Hi,
    I am new to Weblogic Portal Technology. In my porject I am using trinidad jsf 1.1 and weblogic portal 10.3. I have an issue in changing the jspx path in the JSF portlet at runtime. My scenario is as given below.
    I have a left portlet and a right portlet on my consumer.portal page.
    Left Portlet:_
    The left portlet contains a custom menu created using commandlink tag in trinidad JSF.
    Right Portlet:_
    The right portlet contains a content portlet which will display the jspx.
    Problem:_
    When I click on the menu item link in the left portlet, the right portlet should display the appropriate jspx.
    Is there any solution for this scenario? Can anyone provide me step by step procedure to implement the above scenario?
    Thanks in advance

    Hi Chris,
    I have already gone through this document. But the procedure that is given in it is not working. I mean I am not able to render diffferent different jspx files based on the menu link clicked. It will great if you can provide me steps by step process since I am new to the portal World.
    Thanks a lot for your reply

  • Same JSF page is being displayed after submitting form

    I have a situation where some of my JSF pages occassionally misbehave. For example, sometimes when I click a <h:commandButton/> (which is located within a <h:form> tag) the action which the button is wired to is not executed. Instead the same page is displayed.
    Please note that this glitch happens intermittently with no fixed pattern.
    It is also interesting to note that the data which the user enters (prior to clicking the button) on the JSF form is also lost and has to be re-entered again by the user.
    Functionally, this is only a minor problem however from a usability perspective this is a major major problem!
    I have tried:
    Adding <h:messages /> components to jsp pages in order to see if there are any errors.
    Verified the spelling of the outcomes ("success", "cancel") in my navigation rules and in the action methods.
    Verified the spelling of my bean in the definition as a managed bean in the faces-config.xml file and in the jsp page.
    Verified the name of my action method, in the jsp and in the backing bean.
    Checked by logging if the action method is reached.
    Used the jsf phase tracker to print life cycles phases. However, when the page "misbehaves" this misses out all the application level phases i.e only phases restore view and render response are actually passed.
    Created getters and setters for all bean attributes
    I am desperate to fix this. Has anybody found a solution to this problem? Please let me know!
    Thank you.

    I am using JSF version 1.1 and the application server I am using is BEA WebLogic Server 9.1.
    The page is one in a series like a "bread crumb" trail or in the style of a wizard if you like. The user goes from one page to the next and can go back if he so wishes.
    I have a user form. One part of the form requests the user to enter an email address and then click an "Add" command button. However, sometimes instead of adding the email address to the data table the same JSF page is displayed when the button is clicked and all the data is lost, resulting in the user having to re-enter all the information on the form again!
    Hope this helps.

  • How do I create a printer friendly page in a popup window for a JSF page

    I have a JSF page that displays a table that shows the inventory level of a particular garment style. The table is like a matrix with each row representing a color of the style and each column representing a size of the garment. So the data in the table cell is for the inventory level of a particular color/size combination (e.g. navy blue of medium size ) for the particular style. The page also allows you to dynamically select a warehouse from a dropdown to see the inventory matrix of that warehouse.
    Now everything has been working fine except that the matrix table is not printer-friendly. So we need to have a Print button or link on the page that will generate a popup window that displays the same matrix table in a printer-friendly format (with different style sheet etc.). What is the best way to populate the matrix table in the popup? The data in the matrx table is stored in a hashmap in a InventoryManageBean of session scope.
    Also, shoud I use window.open to get the new window and if so what do I pass in the URL parameter?
    Any advice is appreciated. It would be great if you can include a code sample as I would think someone else must have had this done before.

    Any one please? This is urgent. Thanks a ton!

  • JSF Page Access Denied for Jdeveloper 12 C

    I had using J developer 12 C and Created one JSF page with Displaying two tables on that page... The content not displaying it shows Access Denied.

    Is it related webcenter portal.I don't think so. If it is pure ADF problem.You can post this in jdeveloper forum too.
    Is there any security restriction on the table by adf security or some other security.
    In the table source code in empty text property it is mentioned as
    <af:table   emptyText="#{bindings.abcTable.viewable ? 'No data to display.' : *'Access Denied.'*}"

  • How to achieve below case using JSF page

    Hi
    I have Created a View Object on DEPT table and I have created a "selectOneChoice" to display only deptno column values.
    When user selects deptno from "selectOneChoice" I need to refresh the JSF page by displaying selected department details.
    How Can do this. I am new to JSF. Anybody let me know steps how to do this.
    Regards
    Kiran Akkiraju

    You use the setWhereClause method on your view object:
    http://download.oracle.com/docs/html/B25947_01/appendix_mostcommon002.htm#sm0406
    One other approach to create the screen would be to have a VO with a built in where clause that uses a bind variable - then you drag this as a parameter form and then as a result table.
    See:
    http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/threesearchpages/threesearchforms_partthree.html?_template=/ocom/technology/content/print

  • How do I remove "Skip navigation elements to page contents" display?

    I have a JSF page that displays a message "Skip navigation elements to page contents" at the top of the rendered page. Any idea why this is happening and how to remove?

    Strike the copy/paste theory. The issue occurs even with a newly created page when I have a panelpageheader and panelpage combination. Here is the code:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/EA17"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/EA17/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <link media="screen" rel="stylesheet" href="css/blaf.css"/>
    <f:view>
    <af:form>
    <afh:html>
    <afh:head title="mainPage">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <style type="text/css">
    body {
    background-color: #ffffff;
    </style>
    </afh:head>
    <afh:body>
    <af:panelPageHeader binding="#{backing_test.panelPageHeader2}">
    <f:facet name="branding">
    <af:objectImage binding="#{backing_test.objectImage2}"
    source="components/images/corporateBrand.gif"/>
    </f:facet>
    </af:panelPageHeader>
    <af:panelPage title="Title 0" binding="#{backing_test.panelPage1}"/>
    </afh:body>
    </afh:html>
    </af:form>
    </f:view>
    </jsp:root>

  • I want to display a jsf page directly.

    I want to display a jsf page directly. In my project I am using jsf frame work and we are using org.apache.myfaces.component.html.util.ExtensionsFilter to redirect the request to the login.jsf. please any one help me on this.

    my requirement is I have to display a jsf page which is there in the project directly, without going through login page. Right now Iif i am trying to open it in browser directly, it is redirecting to login.jsf. I have following 'extensionsFilter' content in web.xml
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
    <init-param>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    <description>Set the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB
    </description>
    </init-param>
    <init-param>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    <description>Set the threshold size - files
    below this limit are stored in memory, files above
    this limit are stored on disk.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB
    </description>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>

  • How to display a string in separate line in a jsf page?

    Hi,
    my view bean returns a string say, " Java Server Faces" .I just want to display all the three in a separate line like
    Java
    Server
    Faces
    If i go for concatenation or append method it is displaying in a way as before in java console.But when i display the same in a JSF page it is displayed as a single word.Can anyone help me in this?
    Thanks in Advance.
    Edited by: Swetha_Swetha on Feb 12, 2008 10:34 PM

    ya if we are passing three separate string values means we can use
    But am passing a single string value but appended as "Java"+"\n"+"Server"+"\n"+"Faces".
    In JSF page am just calling the method so, it should return the values in 3 separate lines.
    Thanks in Advance.

  • JSF pages displaying very slowly?

    As we are moving into production, I'm noticing the JSF-based web pages are displaying / painting on the screen very slow in some cases - especially the menus and graphical buttons. Has anyone else experienced this and are there any suggested performance improvements?
    Once a page is accessed once, the next time it is accessed performance is much better due to caching. I would like to try to use afc:cache around the menu items and graphic buttons, but have a question about this - if for example a command button has setActionListeners with EL bindings, is it possible to use afc:cache (my concern is the same binding values will be cached or shared across different user sessions - see below for example).
    <af:commandButton id="cmdSearch"
    actionListener="#{bindings.FindMethod.execute}"
    text="Search">
    <af:setActionListener from="#{backing_bean1.keywordSearchCriteria}"
    to="#{bindings.keywords.inputValue}"/>
    </af:commandButton>

    Hi,
    don't think that this snippet gets cached because it dynamically references data that is not part of the page.
    Frank

  • How to display a JSF page inside center part of panel of another page?

    How can I display a second JSF page inside my center part of Stretch layout in my First page on click of a commandImageLink of First JSF page? Can anyone help me in this with some example?

    Here is a tutorial that will introduce you to the concepts of taskflows, page fragments and regions - http://www.oracle.com/technology/obe/obe11jdev/ps1/boundedtaskflow/bounded_task_flow.html

  • Displaying an image in my JSF page

    Hello,
    I am a beginner in JSF, and I wnat todisplay a picture loaded from my Data Base in my JSF page.
    I follow this steps to get my image from my DataBase but I don't know how can I put it in my JSF page:
    1/My image is stored in my Data base (Blob type)
    2/I load this image from my database and Finally It stored it as a ObjectInputStream;
    3/I don't know how can I display it in my JSF page because I don't know what I ll put in the url <h:graphicImage id="image" url="?"/>
    please help me.
    Edited by: user12066775 on 1 mars 2011 19:03

    Write a servlet in Your application that will print the image (writing the stream from db to OutpuStream) for the specified id. In the url point to this servlet and pass the id param, or whatever else You need.

Maybe you are looking for

  • HT204291 I just got iOS 7.0.4. I can't see control center at all. So I can't use airplay.

    I just got iOS 7.0.4.on my iPad 2. I can't see control center at all. How can I enable control center and use airplay on iPad. It doesn't come up even though I double touch home button or four finger swipe up.

  • Apple Wireless Keyboard [pressed key]

    Hi, I am having problems with my Apple Wireless Keyboard. It is acting like if there is a pressed key all the time. It is difficult to explain it, so here is a video: http://screencast.com/t/jtQ7K92qAvk Any tips on how to solve it?  I think this is a

  • Port forwarding details

    Hello, I want to port forward protocol 8443 to a server behind my Cisco router. My Cisco router is in turn connected to an ADSL PSTN facing router. I understand the command to do this would be: ip nat inside source static tcp {localServerIPAddress} 8

  • Installing webcenter....and DEV_MDS.MDS_INTERNAL_SHREDDED error in startup

    I have installed webcenter in my notebook as per the instructions here.. http://www.yonaweb.be/installing_webcenter_11g_ps3_scratch When i try to start the webcenter managed server i am getting the error "DEV_MDS.MDS_INTERNAL_SHREDDED " . anyone has

  • CS 4 compatibility wth Windows 8???

    I have searched all you forums and everywhere I thought I would get an answer.  Question:  Will PS  CS4 operate on Windows 8? I currently have Windows 7  and have problems.  Microsoft tells me they will not support Windows 7!!  What options do I have