Are you using a nightly build?  I saw something similar to this w/ one of the 
other controls but haven't had the time to look into it.

Dennis Byrne

>-----Original Message-----
>From: Haesler, Paul [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 2, 2006 11:00 PM
>To: [email protected]
>Subject: JSCookMenu not rendering on first entry to JSF [SEC=UNCLASSIFIED]
>
>Hi all,
>
>I have a JSCookMenu providing a common navigation menu to all 
>pages in an application, declared statically (as in the example 
>code) in a header.inc that is included in all JSP pages.
>
>Now, I first enter the application via a non-JSF index.jsp that 
>redirects to the first JSF page.  When the application arrives 
>at a JSF page from a non-JSF page via redirection (nonfaces->faces), 
>the JSCookMenu is not rendered.  If I enter a JSF page from another 
>JSF page via a navigation rule (faces->faces), the JSCookMenu is 
>rendered.
>
>Looking at the output html, the problem is obvious.  In the 
>nonfaces->faces (not working) case the html looks like this:
>
><html>
><head>
><meta.../>
><title>...</title>
><link rel="stylesheet" ..../>
></head>
><body>
>....
>
>
>In the faces->faces (working) case, the html looks this:
>
><html>
><head>
><meta.../>
><title>...</title>
><link rel="stylesheet" ..../>
><script src=....>...</script>
><script src=....>...</script>
><script src=....>...</script>
></head>
><body>
>....
>
>The actual definition of the menu as a nested array is rendered 
>correctly in all cases.  But in the nonfaces->faces case, the 
>required JSCookMenu javascript scripts are not being written to 
>the html head!!  Consequently the menu is not displayed.
>
>Is this a bug in the JSCookMenu renderer?  Is there a fix in 
>SVN, and/or is there a simple workaround?
>
>Paul Haesler
>
>Consultant
>Dialog IT
>Canberra Office
>[EMAIL PROTECTED]
>DEH: (02) 6274 2627
>Dialog: (02) 6209 2600
>Mobile: 0405 070136
>


Reply via email to