Rendering not correct on first visit to page

I am attempting to dynamically render components on a page during first visit (using request-scope beans), specifically datatable components (rendering via value-binding), as well optionally addMessage for a h:message component. The datatable rendering appears to pick up the default rendering when bean first created. As well, any message added during processing is not displayed.
Background:
When page first accessed, I'm trying to build a datatable based on current dates. When there is no data, I'm attempting to display a message and not render the datatable. Tracing indicates that isRendered is false. However, the page is displayed with the Table rendered and no message displayed. I use x:Savestate (myFaces) for subsequent requests, so all is fine then.
Can anyone help?
Blue in the faces....

Hi Suni,
I have encountered that before.
It depends on where the page item is that holds the initial value for the root node. This needs to be above the tree. I put a new HTML region above the tree and put the hidden page item in there.
Andy

Similar Messages

  • Excel rendering not correctly for SQL SERVER 2012 (and reporting server)

    hi
    I have a tablix that has a category, subcategory and total items column. The total items are grouped into subcategories which are in turn grouped into categories. When using the wizard we explicitly indicate that the subtotals and totals should NOT be displayed.
    When displayed in SSRS on IE and we expand/collapse all the categories this works fine, however when we export these to an excel file using the export button we notice that the subcategories total is displayed with an empty cell when we toggle all the subcategories
    under one category.
    It seems that it used to be a SSRS2008 r2 problem but is that still the case for 2012 and what can I do to fix this?
    help would be much appreciated.
    thanks
    eddy
    eddy.a

    Hi eddy,
    Based on my test, I can reproduce the same issue in SSRS 2012. When exporting to Microsoft EXCEL, excel will add an extra row for each group, if we use the “=Sun(fields!column.value)” in the details row, then the extra row will display the total of this
    group, if we use the fields!column.value in the details row, then the extra row will display the first value of this group.
    Please refer to the work around to fix the issue: add an extra row to the bottom of the tablix, outside of the group below. Then, set the border style with “None” value of these text box.
    Reference:
    https://connect.microsoft.com/SQLServer/feedback/details/508823/reporting-services-2008-group-by-export-to-excel-duplicate-rows-csv-ok-pdf-ok
    If the issue is persist, I recommend you that submit a feedback at
    https://connect.microsoft.com/SQLServer/. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Web Service not allowing me to visit own page

    I started up the apache web service and tells me that my local page is http://192.168.123.102/~steven/ and when i try to acess this on my local network I get a "cannot find server error" even when i'm trying to acess it on the same computer its being hosted on. what is going on?
    Mac Mini   Mac OS X (10.4.6)   1gb ComboDrive

    yes i did just that I cannot connect on my local network to my own website using the address provided (http://localhost/~steven) or my computer website at (http://localhost/) I have configured my router to foward incomming Http and https traffic from the web to my local server, however if i can't acess my website locally, i wouldn't be able to acess it from the web either.
    whats going on?

  • Session state is not being passed properly to another page

    Hello Gurus,
    I have a multi-page application which authenticates using a simple authentication page 101. Right now I have a generic authentication scheme which always returns true (Session Verify Function= return true; I will integrate LDAP later.) It works fine. The app remembers the username from one page to the next (popup pages mainly).
    My issue is that, after exporting the application and re-importing into a new workspace, the user/session state is no longer being preserved from page to page. It prompts for a login every new page that is opened (the popups). This ruins the flow and functionality of the app.
    I've checked every setting (I think) and cannot find any differences between the two workspaces or apps. Any ideas why this would work in one workspace and not the other?
    TIA!
    Jonathan
    I should also indicate that the issue seems to be specifically in calling "callmypopup" function. For some reason it isn't passing the session id properly to the popup page, where it did fine in the other workspace. function text:
    function callMyPopup (sourceItem, popuppagenum, targetItem, appid, appsession) {
    //opens popup pg and passes value in sourceItem to targetItem
    //sourceitem=calling text box, targetItem=text box in popup page
    var minlength = 3;
    if (CheckLength(sourceItem, minlength))
    var formVal1 = document.getElementById(sourceItem).value.toUpperCase();
    var url;
    url = 'f?p=' + appid + ':' + popuppagenum + ':' + appsession + '::::' + targetItem + ':' + formVal1;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    else {alert('Please enter at least ' + minlength + ' characters in your search.');}
    Edited by: austindurant on Sep 5, 2008 7:02 AM
    Edited by: austindurant on Sep 5, 2008 7:46 AM

    It looks like your session id is not correctly passed to your popup page. Try using:
    javascript:popUp2('f?p=&APP_ID.:1:&SESSION.:::::', 600, 700);
    instead, which does the same thing. Put your parameters for the page items there if required.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Pop-up allows first pop-up page and the second pop-up page (linked from the first one) but does not open the data in the second pop-up page.

    I want to print my online bank statement.
    Please see screen shots below.
    The webpage has a link that says:
    VIEW STATEMENT
    Click the link and a pop-up opens that warns you about downloading using a public-access computer or sharing a computer with others.
    If you want to continue click OKAY.
    When you click this link another pop-up appears (a pop-up within a pop-up)
    but it is blank.
    When the process used to work, the statement would appear.
    MacBook running OS X 10.6.8
    When I tried it with Safari everything worked as it should so the problem is not with the bank.
    I went back to Firefox (my preferred browser) and did the troubleshooting RESET.
    Nothing changed.
    In the Tools menu - Page Info - Permission - Open Pop-up Windows is set @ Default - Allow
    In Preference - Content - Block pop-up windows is unchecked
    or when it is checked the website is listed in the Allowed column.
    It is the correct url because when I clicked the yellow options bar to Allow it, FireFox automatically chose it.
    I also tried adding the extended url as it appears on the web page which has the first pop-up link.
    Firefox would not accept it.

    Screenshots:
    # Part of bank's webpage with the link to the first pop-up
    # The first pop-up page with link to the statement pop-up page.
    # The second pop-up page - blank where there should be the statement. The page appears but the data doesn't.

  • Two columns with footnotes page and paragraph that continues is not correctly tag (for accessibility

    When I have a document with two columns in indesign CS5.5 and footnotes page. If there's a note in the first column, the paragraph that begins in the second column is not correctly tag. This is shown with an automatic tag <P>, and with this symbol "¶"
    Why?
    How I can I solve it?
    thanks

    Hi John,
    My page is not a part of a task flow. The whole app is an Admin app comprising of multiple individual pages navigated using Menu.
    I have tried to run this page individually on my local machine as well as when deployed on the WLS server. The behavior is the same.
    Kindly advice,
    Thanks,
    Ram

  • Videos not loading correctly on first online call... desperate

    Weird problem here, folks.  I have a web page created in Edge Animate that plays (4) videos simultaneously and that works fine using "Preview in Browser."  It will NOT load correctly the _first_ time it's called from the website.  It only partially loads – everything but the videos – the first time an uncached browser (Firefox, Opera, Chrome, Safari) tries to load the page.  However, after trying to load the page that first time, if you immediately go to any other website, and then return to my site to load the page, the page will load correctly.  This is killing me.  I'm guessing this behavior will immediately be recognized by someone who can point me to a solution.
    To view this behavior:
    1)  Go to http://www.lightisrising.com
            A partial page (without animation in the upper left, lower left, middle right, and lower right cells) will load.
    2)  Go to a different website, such as Adobe.com
    3)  Return to www.lightisrising.com, and the page will load and play the videos correctly.
    Obviously, I need the page to load correctly the FIRST time someone visits it.
    Thanks in advance for any help. Much appreciated.

    Rob, it's great you were able to troubleshoot that issue.
    With that in mind, where should I place the CSS "display:block" code?  I'm not seeing a video tag anywhere obvious.  Would it go in the EdgeHero JS file, or in the edgeherostyle.css file, or in the of the HTML file... or somewhere else? If it goes anywhere but in the of the HTML file, what would the exact syntax be?
    The possibly relevant code in the edgehero-0.2-min.js file:
    $("[class^='videolink'],[class*=' videolink']").each(function(){var activeVi=$(this).attr("class");$(this).replaceWith('<video height="auto" id="'$(this).attr('id')'" class="'activeVi'" style="'$(this).attr('style')'">'$(this).html()'</video>')});
    $(".videolink_1").each(function(){$(".videolink_1").attr("src",videolink_1);});$(".videoli nk_1_mp4").each(function(){$(".videolink_1_mp4").append('<source src="'videolink_1_mp4'" type="video/mp4">');});$(".videolink_1_webm").each(function(){$(".videolink_1_webm").appe nd('<source src="'videolink_1_webm'" type="video/webm">');});$(".videolink_1_ogg").each(function(){$(".videolink_1_ogg").appen d('<source src="'videolink_1_ogg'" type="video/ogg">');});
    BTW, I extended the .js file to allow for (4) simultaneously playing videos, whereas the original allowed for (3) videos to play.
    Thanks much for your help.
    Matt

  • How can i print all the tab pages not just the first page (tab)

    how can i print all the tab pages not just the first page (tab)

    You would need to do this programmatically. Here's one way:
    Attachments:
    Example_VI_BD6.png ‏3 KB

  • Have a gap in detail of first page and not display group footer on each pag

    Please help me about Memo field in SubReport in CrystalReportXI. I have a SubReport that need to display pageheader, detail, page footer, and  in detail of subreport contains memo field and set the property of this text box to "Can Grow" = Yes .However, CrystalReportX does not support to display  pageheader, pagefooter in SubReport. So. I have created a formular FakePageHeader that has code  as
    "WhileReadingRecords;
    true"
    and group in this field and checked option repeat group header on each page and right click Section Expert->check print at Bottom of page for Group Footer.
    This problem is when I preview Subreport. It display text in group header and a gap in detail of first page and view next page, the subreport display right data of memo field. But the report still not display group footer on each page.
    How do I can remove a gap in first page and display group footer on each page?
    Thanks

    in subreport in format for the memo field uncheck keep object together.
    You can not force group footers to repeat on each page.
    I have not tried this but you might be able to capture the data you want to show in SR page footer and display in main report page footer, using shared variables.
    Ian

  • My macbook pro was first installed with leopard and bootcamp 3.2. Now i updated to lion. The problem is now that it is not possible to update to bootcamp 3.3. or 4.0. The report: The installation source is not correct. What can i do? Thanks for answer.

    my macbook pro was first installed with leopard and bootcamp 3.2 under windows 7. After update to lion it is no more possible to update bootcamp to 3.3. or 4.0. The report: The installation source ist not correct. What can i do?
    auf Deutsch:
    Auf meinem Macbook pro war Leopard und bootcamp 3.2  unter windows 7 installiert. Nach dem update auf lion kann bootcamp nicht mehr upgedatet werden. Weder auf 3.3. noch auf 4.0. Folgende Fehlermeldung kommt: Boot camp Dienste: Das installierte Produkt stimmt nicht mit der Installationsquelle überein. ... Was kann ich tun?

    It means what it says. The "computer person" formatted it wrongly/ unsuitably. it needs to be formatted again.
    Error "Case-sensitive drives not supported" or similar install error | Mac OS
    Mylenium

  • When I save my book in iBooksAuthor as .ibooks, it does not open on the Intro Media page.  How can I be sure it opens on the first page?

    When I save my book in iBooksAuthor as .ibooks, it does not open on the Intro Media page.  How can I be sure it opens on the first page?

    hello suffaman46, please refer to the documentation provided by yahoo for this issue: http://help.yahoo.com/kb/index?locale=en_US&y=PROD_ACCT&page=content&id=SLN2896

  • As I like open a file it coms message This document cannot be open because is it too old. First open by Pages 09 What I have to do?? I do not have Page 09 any more.

    As I like open a file it coms message 
    "This document cannot be open because is it too old. First open by Pages 09"
    What I have to do?? I do not have Page 09 any more. I've got Pages Vers.5.0.1

    I suspect you have created the documnet's in Pages 08 or earlier. Do you have the iWork 08 DVD so you can install it? Then update to from this link Pages 08 3.0.3  Use it for you older documents and use Pages 5 only for new documents.

  • How to i get rid of the redirect notice it shows up on my safari whenever i try to go to a different page  it says "the previous page is sending you to: LINK if you do not want to visit this page, you can return to the previous page"

    How to i get rid of the redirect notice it shows up on my safari whenever i try to go to a different page
    it says "the previous page is sending you to: LINK
    if you do not want to visit this page, you can return to the previous page"

    Yeah, this seems to be something to do with Google, not your iPhone. A search on that error found this page:
    http://www.google.com/support/forum/p/Web%20Search/thread?tid=56a3c4b71b3dc1d9&h l=en
    which shows people using lots of browsers on different platforms suffering from it. No definitive solutions though.

  • I've installed itunes twice. It worked the first time but after I restarted my computer it kept giving me this message: Itunes was not correctly installed. Please reinstall itunes. Error 7 (Windows error 127). What's wrong?

    I've installed itunes twice. It worked the first time but after I restarted my computer it kept giving me this message: Itunes was not correctly installed. Please reinstall itunes. Error 7 (Windows error 127). What's wrong?

    See the second box in Troubleshooting issues with iTunes for Windows updates.
    tt2

  • TS3991 I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this?

    I am a landlord and I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this? as an example 37 31 1 and when i type this nothing is showing.

    I am a landlord and I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this? as an example 37 31 1 and when i type this nothing is showing.

Maybe you are looking for