You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Cameron Ross <cr...@symboticware.com> on 2005/11/11 16:12:39 UTC

jscookmenu only displays "Submit Query" menu item

I'm trying to use the jscookmenu component from jsf.  However, the page 
is only displaying a single menu item with the label "Submit Query".  My 
deployment environment consists of:
  - version 1.1.1 of myfaces-all.jar
  - JBoss version 4.0.3 SP1
  - sun jdk1.5.0_05


My faclet looks like this:

<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                  xmlns:f="http://java.sun.com/jsf/core"
                xmlns:t="http://myfaces.apache.org/tomahawk"
                template="template2.xhtml">
    <ui:define name="content2">
        <f:view>
            <t:jscookMenu layout="hbr" theme="ThemeOffice">
                <t:navigationMenuItem id="nav_1" itemLabel="nav_1" 
action="main"/>
                <t:navigationMenuItem id="nav_2" itemLabel="nav_2" 
action="main">
                    <t:navigationMenuItem id="nav_2_1" 
itemLabel="nav_2_1" action="main"/>
                </t:navigationMenuItem>
                <t:navigationMenuItem id="nav_3" itemLabel="nav_3" 
action="main"/>
            </t:jscookMenu>
        </f:view>
    </ui:define>
</ui:composition>


The html being generated looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" SYSTEM 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"/>
        <title>Symboticware Pando</title>
        <link href="css/sng.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <form id="_tagId0" name="_tagId0" method="post" 
action="/pando/jscookmenu_example.jsf" 
enctype="application/x-www-form-urlencoded">
            <input type="hidden" name="jsf_tree_64" id="jsf_tree_64" 
value="H4sIAAAAAAAAAK1QvUoDQRj8jIYgBEQtbAUFuz2NYJPOQPRComCMIFcc6956uXj7495ejI2dvQ/gE0iewCews/UlbK3dvVw0woEWNh87szPfDN/4HcqJggOhQoQlJn2K2O0lJjQxUMYRwToSHJ0qSrtapUSninYwxyFVm99kQzApOOW6eb729tj6eC3BggeLPulHcaAMDy2vbSKcSYSTRzgzEc5fI+ptWPLJFDVinCQaVtoDPMROjHnoGH3EQyOrfsvc4BruoORBxbfJ2lhWvRnP8cWAEl0fyVTlVf/jGvXn8dbL8v3DUwlgJAFgLrE1ILWzXIDnJ1hq2CuoQNJEC4Y4HjLKU9Rzj/AwCrNKHUO4mjINZfPt78jiIGlnVUPFimpGluPMVJM/RRm5a7rs/95lkBAhrrLnoWaxuQDDPGh1G4a13Uykr3HoBnbfhr37COWLpsdCfWPM3E2h2Jdh2xjWiw099yyiNydCaCk/ARSphsHIAgAA" 
/>
<input type="hidden" name="jsf_state_64" id="jsf_state_64" 
value="H4sIAAAAAAAAAJVRP2/TQBR/iR2cliKlqVQBEhsLi1PSMQOkhCiWXLVSMyAxpFfnEjs9+8zdc3JhKOIbMCEhBcEH4EsgBjYQLEh8BphYYALbgThNWom+4fTe+d7vn998h0IkYOOhPSBDYjIS9M29owF1sPbsw4NXJXmL5QFUCABa9AhOICl91hlhXFLAerodocfMFpHuLgkLxte37zYPP2mQb8Iq46TbJA5yYcEKuoJKl7OuCu/cTWHWRsX4LCWtSvFKGZ7NHcLoyc/1w8nWr2950C0oujGHw7vUBsPhUYBijFBOHVQSB5UDFF7Qr9lQTMaI9Gki2IifD4nwSIDpqMLfcSEAQp4GydUKwmqrvWt3duoH1j2Ea5WBdDg/9mkQdagifsioqVz0WSJyIxNZF4KMbU+ievr5xov35KUGOQt06T2maXa5kX4qtyzLzSxLBKODpG91t0KcJqDMHnGoNJtc+MmzskxOfSm1HMJVh/umjIJ0g1GUZn1/37buN2KhlaVvXuzEbNAeiRg2p5c362HIxm1+TIPW5GOjFjx/vZb8jtF1KFWQxgsEaXXqPmY0nnz5MVEqPKdSoVdmzrUznBfO6LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+Ml8QsLoAWF0EXMgp9//4Roo3L3n+5pRodUHV2wuqt5cRlfoDNYybFDoEAAA=" 
/><input type="hidden" name="jsf_viewid" id="jsf_viewid" 
value="/jscookmenu_example.xhtml" />
            <div id="header"/>
            <div id="container2">

                <div id="content2"><input id="_tagId0:_tagId3" 
name="_tagId0:_tagId3" type="submit" onclick="clear__5FtagId0();" />
                </div>
            </div>
            <div id="footer"/>
        <input type="hidden" name="_tagId0_SUBMIT" value="1" /><input 
type="hidden" name="_tagId0:_link_hidden_" /><script 
type="text/javascript"><!--
function clear__5FtagId0() {
  var f = document.forms['_tagId0'];
  f.elements['_tagId0:_link_hidden_'].value='';
  f.target='';
}
clear__5FtagId0();
//--></script></form>
    </body>
</html>


Any help is greatly appreciated.

Cheers,
Cameron.

JSCookMenu throws a null pointer exception for value

Posted by Jeremy Sager <js...@chessys.com>.
Hi guys -

I'm using MyFaces with Facelets. I've gotten the component and renderer set
up in the taglib, and it appears to be working fine, except that I get a
null pointer exception when it tries to new up a SelectItem.

<t:navigationMenuItem id="fileMenu" itemLabel="File">

Here's the relevant part of the stack trace:
at javax.faces.model.SelectItem.<init>(SelectItem.java:69)
	at
org.apache.myfaces.custom.navmenu.NavigationMenuItem.<init>(NavigationMenuIt
em.java:50)
	at
org.apache.myfaces.custom.navmenu.NavigationMenuItem.<init>(NavigationMenuIt
em.java:65)
	at
org.apache.myfaces.custom.navmenu.NavigationMenuUtils.getNavigationMenuItemL
ist(NavigationMenuUtils.java:63)
	at
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeCh
ildren(HtmlJSCookMenuRenderer.java:120)
	at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:31
9)
	at
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:
546)
	at
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:
551)
	at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
	


Do I need to add a value binding for a NavigationMenuItem in order for it to
work? That's what the facelets debugger seems to think, but if I make some
sort of method that returns a NavigationMenuItem I'm really back on street 1
because I have to pass in a value binding to the NavigationMenuItem I'd
create manually or I'd wind up with the same result...

Is this a bug or am I missing the obvious? The latter most likely :)

Jeremy Sager
Data Communications Product Manager
Chesapeake System Solutions
410.356.6805 x120
JSager@chessys.com


RE: jscookmenu only displays "Submit Query" menu item

Posted by "Reiner K. Kappenberger" <re...@comcast.net>.
Kim,

I'm facing the exact same problem. Using jscookMenu with Facelets (1.0) does
only display the "Submit Query".

I've downloaded the taglib file from the Wiki, which does include both of
those 2 tag definitions (plus the navigationManuItem definition, which is
being used in my menu.

Any other ideas?

Thank you,
Reiner

-----Original Message-----
From: Kim [mailto:kim.list@comcast.net] 
Sent: Tuesday, November 15, 2005 7:05 AM
To: 'MyFaces Discussion'
Subject: RE: jscookmenu only displays "Submit Query" menu item


You also need to add an entry for the NavigationMenuItems if you are
generating the menu dynamically. 

    <tag>
    	<tag-name>navigationMenuItems</tag-name>
    	<component>
    		<component-type>javax.faces.SelectItems</component-type>
    	</component>
    </tag>

Now for a question, I have been experiencing a bizarre problem with IE6 and
the JSCookMenu.js file. When I add <script language="JavaScript"
src="/common/jsmenu/ThemeOffice/theme.js" type="text/javascript"/> to a
page, IE stops rendering much of the content. I have tested this with a
static version of my page and as soon as I remove the reference to the
script the page displays correctly. Has anyone else had this problem or have
any ideas as to what is going on?

Regards,
Kim

-----Original Message-----
From: Thomas Spiegl [mailto:thomas.spiegl@gmail.com] 
Sent: Sunday, November 13, 2005 3:25 PM
To: MyFaces Discussion
Subject: Re: jscookmenu only displays "Submit Query" menu item

Cameron,

just define the renderer-type în your facelet-taglib
(tomahawk.taglib.xml) and JSCookMenu will work with facelets.

    <tag>
        <tag-name>jscookMenu</tag-name>
        <component>
            <component-type>org.apache.myfaces.JSCookMenu</component-type>
            <renderer-type>org.apache.myfaces.JSCookMenu</renderer-type>
        </component>
    </tag>

Cheers
Thomas

On 11/11/05, Mike Kienenberger <mk...@gmail.com> wrote:
> Cameron,
>
> First make sure you are using a facelets taglib.xml file that defines
> the jscookmenu and navigationMenuItem components.   Those aren't
> defined in the "Use_Facelets_with_Tomahawk" file yet, so I'm not sure
> if anyone has successfully used them with facelets.   (Seems like a
> couple of people have had issues with facelets and jscookmenu in the 
> past, but it's unclear if it's working yet).
>
> Second, it looks like at least one bug was fixed on Nov 2nd, so you'll 
> need to upgrade to a nightly build since 1.1.1 was released before 
> that.
>
> http://issues.apache.org/jira/browse/MYFACES-697?page=all
>
> If anyone else is using facelets + jscookmenu successfully, perhaps 
> that person could update the tomahawk.taglib.xml file on the wiki.
>
> http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
>
> -Mike
>
> On 11/11/05, Thomas Spiegl <th...@gmail.com> wrote:
> > Seems to be a problem concerning myfaces & facelets. Can you send me 
> > a small sample application using facelets instead of jsp? I will 
> > have a look at it.
> >
> > regards,
> > Thomas
> >
> > On 11/11/05, Cameron Ross <cr...@symboticware.com> wrote:
> > > I'm trying to use the jscookmenu component from jsf.  However, the
page
> > > is only displaying a single menu item with the label "Submit 
> > > Query".
My
> > > deployment environment consists of:
> > >   - version 1.1.1 of myfaces-all.jar
> > >   - JBoss version 4.0.3 SP1
> > >   - sun jdk1.5.0_05
> > >
> > >
> > > My faclet looks like this:
> > >
> > > <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 
> > > Transitional//EN" 
> > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > <ui:composition xmlns="http://www.w3.org/1999/xhtml"
> > >                 xmlns:ui="http://java.sun.com/jsf/facelets"
> > >                   xmlns:f="http://java.sun.com/jsf/core"
> > >                 xmlns:t="http://myfaces.apache.org/tomahawk"
> > >                 template="template2.xhtml">
> > >     <ui:define name="content2">
> > >         <f:view>
> > >             <t:jscookMenu layout="hbr" theme="ThemeOffice">
> > >                 <t:navigationMenuItem id="nav_1" itemLabel="nav_1"
> > > action="main"/>
> > >                 <t:navigationMenuItem id="nav_2" itemLabel="nav_2"
> > > action="main">
> > >                     <t:navigationMenuItem id="nav_2_1"
> > > itemLabel="nav_2_1" action="main"/>
> > >                 </t:navigationMenuItem>
> > >                 <t:navigationMenuItem id="nav_3" itemLabel="nav_3"
> > > action="main"/>
> > >             </t:jscookMenu>
> > >         </f:view>
> > >     </ui:define>
> > > </ui:composition>
> > >
> > >
> > > The html being generated looks like this:
> > >
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> > > SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > <html xmlns="http://www.w3.org/1999/xhtml">
> > >     <head>
> > >         <meta http-equiv="Content-Type" content="text/html; 
> > > charset=iso-8859-1"/>
> > >         <title>Symboticware Pando</title>
> > >         <link href="css/sng.css" rel="stylesheet" type="text/css"/>
> > >     </head>
> > >     <body>
> > >         <form id="_tagId0" name="_tagId0" method="post" 
> > > action="/pando/jscookmenu_example.jsf"
> > > enctype="application/x-www-form-urlencoded">
> > >             <input type="hidden" name="jsf_tree_64" 
> > > id="jsf_tree_64"
> > >
value="H4sIAAAAAAAAAK1QvUoDQRj8jIYgBEQtbAUFuz2NYJPOQPRComCMIFcc6956uXj7495ej
I2dvQ/gE0iewCews/UlbK3dvVw0woEWNh87szPfDN/4HcqJggOhQoQlJn2K2O0lJjQxUMYRwToSH
J0qSrtapUSninYwxyFVm99kQzApOOW6eb729tj6eC3BggeLPulHcaAMDy2vbSKcSYSTRzgzEc5fI
+ptWPLJFDVinCQaVtoDPMROjHnoGH3EQyOrfsvc4BruoORBxbfJ2lhWvRnP8cWAEl0fyVTlV
+f/jG
vXn8dbL8v3DUwlgJAFgLrE1ILWzXIDnJ1hq2CuoQNJEC4Y4HjLKU9Rzj/AwCrNKHUO4mjINZfPt7
8jiIGlnVUPFimpGluPMVJM/RRm5a7rs/95lkBAhrrLnoWaxuQDDPGh1G4a13Uykr3HoBnbfhr37C
OWLpsdCfWPM3E2h2Jdh2xjWiw099yyiNydCaCk/ARSphsHIAgAA"
> > > />
> > > <input type="hidden" name="jsf_state_64" id="jsf_state_64"
> > >
value="H4sIAAAAAAAAAJVRP2/TQBR/iR2cliKlqVQBEhsLi1PSMQOkhCiWXLVSMyAxpFfnEjs9+
8zdc3JhKOIbMCEhBcEH4EsgBjYQLEh8BphYYALbgThNWom+4fTe+d7vn998h0IkYOOhPSBDY
8zdc3JhKOIbMCEhBcEH4EsgBjYQLEh8BphYYALbgThNWom+4fTe+jIS9
M29owF1sPbsw4NXJXmL5QFUCABa9AhOICl91hlhXFLAerodocfMFpHuLgkLxte37zYPP2mQb8Iq4
6TbJA5yYcEKuoJKl7OuCu/cTWHWRsX4LCWtSvFKGZ7NHcLoyc/1w8nWr2950C0oujGHw7vUBsPhU
YBijFBOHVQSB5UDFF7Qr9lQTMaI9Gki2IifD4nwSIDpqMLfcSEAQp4GydUKwmqrvWt3duoH1j2Ea
5WBdDg/9mkQdagifsioqVz0WSJyIxNZF4KMbU+ievr5xov35KUGOQt06T2maXa5kX4qtyzLzSxLB
KODpG91t0KcJqDMHnGoNJtc+MmzskxOfSm1HMJVh/umjIJ0g1GUZn1/37buN2KhlaVvXuzEb
KODpG91t0KcJqDMHnGoNJtc+NAei
Rg2p5c362HIxm1+TIPW5GOjFjx/vZb8jtF1KFWQxgsEaXXqPmY0nnz5MVEqPKdSoVdmzrUzn
Rg2p5c362HIxm1+BfO6
LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+M
LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+l
LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+8
LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+Q
LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+s
LoAWF0EXMgp9//4Roo3L3n+5pRodUHV2wuqt5cRlfoDNYybFDoEAAA="
> > > /><input type="hidden" name="jsf_viewid" id="jsf_viewid" 
> > > value="/jscookmenu_example.xhtml" />
> > >             <div id="header"/>
> > >             <div id="container2">
> > >
> > >                 <div id="content2"><input id="_tagId0:_tagId3" 
> > > name="_tagId0:_tagId3" type="submit" onclick="clear__5FtagId0();" />
> > >                 </div>
> > >             </div>
> > >             <div id="footer"/>
> > >         <input type="hidden" name="_tagId0_SUBMIT" value="1" 
> > > /><input type="hidden" name="_tagId0:_link_hidden_" /><script
> > > type="text/javascript"><!--
> > > function clear__5FtagId0() {
> > >   var f = document.forms['_tagId0'];
> > >   f.elements['_tagId0:_link_hidden_'].value='';
> > >   f.target='';
> > > }
> > > clear__5FtagId0();
> > > //--></script></form>
> > >     </body>
> > > </html>
> > >
> > >
> > > Any help is greatly appreciated.
> > >
> > > Cheers,
> > > Cameron.
> > >
> >
> >
> > --
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>


--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/188 - Release Date: 11/29/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/188 - Release Date: 11/29/2005
 


RE: jscookmenu only displays "Submit Query" menu item

Posted by Kim <ki...@comcast.net>.
You also need to add an entry for the NavigationMenuItems if you are
generating the menu dynamically. 

    <tag>
    	<tag-name>navigationMenuItems</tag-name>
    	<component>
    		<component-type>javax.faces.SelectItems</component-type>
    	</component>
    </tag>

Now for a question, I have been experiencing a bizarre problem with IE6 and
the JSCookMenu.js file. When I add <script language="JavaScript"
src="/common/jsmenu/ThemeOffice/theme.js" type="text/javascript"/> to a
page, IE stops rendering much of the content. I have tested this with a
static version of my page and as soon as I remove the reference to the
script the page displays correctly. Has anyone else had this problem or have
any ideas as to what is going on?

Regards,
Kim

-----Original Message-----
From: Thomas Spiegl [mailto:thomas.spiegl@gmail.com] 
Sent: Sunday, November 13, 2005 3:25 PM
To: MyFaces Discussion
Subject: Re: jscookmenu only displays "Submit Query" menu item

Cameron,

just define the renderer-type în your facelet-taglib
(tomahawk.taglib.xml) and JSCookMenu will work with facelets.

    <tag>
        <tag-name>jscookMenu</tag-name>
        <component>
            <component-type>org.apache.myfaces.JSCookMenu</component-type>
            <renderer-type>org.apache.myfaces.JSCookMenu</renderer-type>
        </component>
    </tag>

Cheers
Thomas

On 11/11/05, Mike Kienenberger <mk...@gmail.com> wrote:
> Cameron,
>
> First make sure you are using a facelets taglib.xml file that defines
> the jscookmenu and navigationMenuItem components.   Those aren't
> defined in the "Use_Facelets_with_Tomahawk" file yet, so I'm not sure
> if anyone has successfully used them with facelets.   (Seems like a
> couple of people have had issues with facelets and jscookmenu in the
> past, but it's unclear if it's working yet).
>
> Second, it looks like at least one bug was fixed on Nov 2nd, so you'll
> need to upgrade to a nightly build since 1.1.1 was released before
> that.
>
> http://issues.apache.org/jira/browse/MYFACES-697?page=all
>
> If anyone else is using facelets + jscookmenu successfully, perhaps
> that person could update the tomahawk.taglib.xml file on the wiki.
>
> http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
>
> -Mike
>
> On 11/11/05, Thomas Spiegl <th...@gmail.com> wrote:
> > Seems to be a problem concerning myfaces & facelets. Can you send me a
> > small sample application using facelets instead of jsp? I will have a
> > look at it.
> >
> > regards,
> > Thomas
> >
> > On 11/11/05, Cameron Ross <cr...@symboticware.com> wrote:
> > > I'm trying to use the jscookmenu component from jsf.  However, the
page
> > > is only displaying a single menu item with the label "Submit Query".
My
> > > deployment environment consists of:
> > >   - version 1.1.1 of myfaces-all.jar
> > >   - JBoss version 4.0.3 SP1
> > >   - sun jdk1.5.0_05
> > >
> > >
> > > My faclet looks like this:
> > >
> > > <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > <ui:composition xmlns="http://www.w3.org/1999/xhtml"
> > >                 xmlns:ui="http://java.sun.com/jsf/facelets"
> > >                   xmlns:f="http://java.sun.com/jsf/core"
> > >                 xmlns:t="http://myfaces.apache.org/tomahawk"
> > >                 template="template2.xhtml">
> > >     <ui:define name="content2">
> > >         <f:view>
> > >             <t:jscookMenu layout="hbr" theme="ThemeOffice">
> > >                 <t:navigationMenuItem id="nav_1" itemLabel="nav_1"
> > > action="main"/>
> > >                 <t:navigationMenuItem id="nav_2" itemLabel="nav_2"
> > > action="main">
> > >                     <t:navigationMenuItem id="nav_2_1"
> > > itemLabel="nav_2_1" action="main"/>
> > >                 </t:navigationMenuItem>
> > >                 <t:navigationMenuItem id="nav_3" itemLabel="nav_3"
> > > action="main"/>
> > >             </t:jscookMenu>
> > >         </f:view>
> > >     </ui:define>
> > > </ui:composition>
> > >
> > >
> > > The html being generated looks like this:
> > >
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" SYSTEM
> > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > <html xmlns="http://www.w3.org/1999/xhtml">
> > >     <head>
> > >         <meta http-equiv="Content-Type" content="text/html;
> > > charset=iso-8859-1"/>
> > >         <title>Symboticware Pando</title>
> > >         <link href="css/sng.css" rel="stylesheet" type="text/css"/>
> > >     </head>
> > >     <body>
> > >         <form id="_tagId0" name="_tagId0" method="post"
> > > action="/pando/jscookmenu_example.jsf"
> > > enctype="application/x-www-form-urlencoded">
> > >             <input type="hidden" name="jsf_tree_64" id="jsf_tree_64"
> > >
value="H4sIAAAAAAAAAK1QvUoDQRj8jIYgBEQtbAUFuz2NYJPOQPRComCMIFcc6956uXj7495ej
I2dvQ/gE0iewCews/UlbK3dvVw0woEWNh87szPfDN/4HcqJggOhQoQlJn2K2O0lJjQxUMYRwToSH
J0qSrtapUSninYwxyFVm99kQzApOOW6eb729tj6eC3BggeLPulHcaAMDy2vbSKcSYSTRzgzEc5fI
+ptWPLJFDVinCQaVtoDPMROjHnoGH3EQyOrfsvc4BruoORBxbfJ2lhWvRnP8cWAEl0fyVTlVf/jG
vXn8dbL8v3DUwlgJAFgLrE1ILWzXIDnJ1hq2CuoQNJEC4Y4HjLKU9Rzj/AwCrNKHUO4mjINZfPt7
8jiIGlnVUPFimpGluPMVJM/RRm5a7rs/95lkBAhrrLnoWaxuQDDPGh1G4a13Uykr3HoBnbfhr37C
OWLpsdCfWPM3E2h2Jdh2xjWiw099yyiNydCaCk/ARSphsHIAgAA"
> > > />
> > > <input type="hidden" name="jsf_state_64" id="jsf_state_64"
> > >
value="H4sIAAAAAAAAAJVRP2/TQBR/iR2cliKlqVQBEhsLi1PSMQOkhCiWXLVSMyAxpFfnEjs9+
8zdc3JhKOIbMCEhBcEH4EsgBjYQLEh8BphYYALbgThNWom+4fTe+d7vn998h0IkYOOhPSBDYjIS9
M29owF1sPbsw4NXJXmL5QFUCABa9AhOICl91hlhXFLAerodocfMFpHuLgkLxte37zYPP2mQb8Iq4
6TbJA5yYcEKuoJKl7OuCu/cTWHWRsX4LCWtSvFKGZ7NHcLoyc/1w8nWr2950C0oujGHw7vUBsPhU
YBijFBOHVQSB5UDFF7Qr9lQTMaI9Gki2IifD4nwSIDpqMLfcSEAQp4GydUKwmqrvWt3duoH1j2Ea
5WBdDg/9mkQdagifsioqVz0WSJyIxNZF4KMbU+ievr5xov35KUGOQt06T2maXa5kX4qtyzLzSxLB
KODpG91t0KcJqDMHnGoNJtc+MmzskxOfSm1HMJVh/umjIJ0g1GUZn1/37buN2KhlaVvXuzEbNAei
Rg2p5c362HIxm1+TIPW5GOjFjx/vZb8jtF1KFWQxgsEaXXqPmY0nnz5MVEqPKdSoVdmzrUznBfO6
LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+Ml8Qs
LoAWF0EXMgp9//4Roo3L3n+5pRodUHV2wuqt5cRlfoDNYybFDoEAAA="
> > > /><input type="hidden" name="jsf_viewid" id="jsf_viewid"
> > > value="/jscookmenu_example.xhtml" />
> > >             <div id="header"/>
> > >             <div id="container2">
> > >
> > >                 <div id="content2"><input id="_tagId0:_tagId3"
> > > name="_tagId0:_tagId3" type="submit" onclick="clear__5FtagId0();" />
> > >                 </div>
> > >             </div>
> > >             <div id="footer"/>
> > >         <input type="hidden" name="_tagId0_SUBMIT" value="1" /><input
> > > type="hidden" name="_tagId0:_link_hidden_" /><script
> > > type="text/javascript"><!--
> > > function clear__5FtagId0() {
> > >   var f = document.forms['_tagId0'];
> > >   f.elements['_tagId0:_link_hidden_'].value='';
> > >   f.target='';
> > > }
> > > clear__5FtagId0();
> > > //--></script></form>
> > >     </body>
> > > </html>
> > >
> > >
> > > Any help is greatly appreciated.
> > >
> > > Cheers,
> > > Cameron.
> > >
> >
> >
> > --
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>


--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: jscookmenu only displays "Submit Query" menu item

Posted by Thomas Spiegl <th...@gmail.com>.
Cameron,

just define the renderer-type în your facelet-taglib
(tomahawk.taglib.xml) and JSCookMenu will work with facelets.

    <tag>
        <tag-name>jscookMenu</tag-name>
        <component>
            <component-type>org.apache.myfaces.JSCookMenu</component-type>
            <renderer-type>org.apache.myfaces.JSCookMenu</renderer-type>
        </component>
    </tag>

Cheers
Thomas

On 11/11/05, Mike Kienenberger <mk...@gmail.com> wrote:
> Cameron,
>
> First make sure you are using a facelets taglib.xml file that defines
> the jscookmenu and navigationMenuItem components.   Those aren't
> defined in the "Use_Facelets_with_Tomahawk" file yet, so I'm not sure
> if anyone has successfully used them with facelets.   (Seems like a
> couple of people have had issues with facelets and jscookmenu in the
> past, but it's unclear if it's working yet).
>
> Second, it looks like at least one bug was fixed on Nov 2nd, so you'll
> need to upgrade to a nightly build since 1.1.1 was released before
> that.
>
> http://issues.apache.org/jira/browse/MYFACES-697?page=all
>
> If anyone else is using facelets + jscookmenu successfully, perhaps
> that person could update the tomahawk.taglib.xml file on the wiki.
>
> http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
>
> -Mike
>
> On 11/11/05, Thomas Spiegl <th...@gmail.com> wrote:
> > Seems to be a problem concerning myfaces & facelets. Can you send me a
> > small sample application using facelets instead of jsp? I will have a
> > look at it.
> >
> > regards,
> > Thomas
> >
> > On 11/11/05, Cameron Ross <cr...@symboticware.com> wrote:
> > > I'm trying to use the jscookmenu component from jsf.  However, the page
> > > is only displaying a single menu item with the label "Submit Query".  My
> > > deployment environment consists of:
> > >   - version 1.1.1 of myfaces-all.jar
> > >   - JBoss version 4.0.3 SP1
> > >   - sun jdk1.5.0_05
> > >
> > >
> > > My faclet looks like this:
> > >
> > > <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > <ui:composition xmlns="http://www.w3.org/1999/xhtml"
> > >                 xmlns:ui="http://java.sun.com/jsf/facelets"
> > >                   xmlns:f="http://java.sun.com/jsf/core"
> > >                 xmlns:t="http://myfaces.apache.org/tomahawk"
> > >                 template="template2.xhtml">
> > >     <ui:define name="content2">
> > >         <f:view>
> > >             <t:jscookMenu layout="hbr" theme="ThemeOffice">
> > >                 <t:navigationMenuItem id="nav_1" itemLabel="nav_1"
> > > action="main"/>
> > >                 <t:navigationMenuItem id="nav_2" itemLabel="nav_2"
> > > action="main">
> > >                     <t:navigationMenuItem id="nav_2_1"
> > > itemLabel="nav_2_1" action="main"/>
> > >                 </t:navigationMenuItem>
> > >                 <t:navigationMenuItem id="nav_3" itemLabel="nav_3"
> > > action="main"/>
> > >             </t:jscookMenu>
> > >         </f:view>
> > >     </ui:define>
> > > </ui:composition>
> > >
> > >
> > > The html being generated looks like this:
> > >
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" SYSTEM
> > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > <html xmlns="http://www.w3.org/1999/xhtml">
> > >     <head>
> > >         <meta http-equiv="Content-Type" content="text/html;
> > > charset=iso-8859-1"/>
> > >         <title>Symboticware Pando</title>
> > >         <link href="css/sng.css" rel="stylesheet" type="text/css"/>
> > >     </head>
> > >     <body>
> > >         <form id="_tagId0" name="_tagId0" method="post"
> > > action="/pando/jscookmenu_example.jsf"
> > > enctype="application/x-www-form-urlencoded">
> > >             <input type="hidden" name="jsf_tree_64" id="jsf_tree_64"
> > > value="H4sIAAAAAAAAAK1QvUoDQRj8jIYgBEQtbAUFuz2NYJPOQPRComCMIFcc6956uXj7495ejI2dvQ/gE0iewCews/UlbK3dvVw0woEWNh87szPfDN/4HcqJggOhQoQlJn2K2O0lJjQxUMYRwToSHJ0qSrtapUSninYwxyFVm99kQzApOOW6eb729tj6eC3BggeLPulHcaAMDy2vbSKcSYSTRzgzEc5fI+ptWPLJFDVinCQaVtoDPMROjHnoGH3EQyOrfsvc4BruoORBxbfJ2lhWvRnP8cWAEl0fyVTlVf/jGvXn8dbL8v3DUwlgJAFgLrE1ILWzXIDnJ1hq2CuoQNJEC4Y4HjLKU9Rzj/AwCrNKHUO4mjINZfPt78jiIGlnVUPFimpGluPMVJM/RRm5a7rs/95lkBAhrrLnoWaxuQDDPGh1G4a13Uykr3HoBnbfhr37COWLpsdCfWPM3E2h2Jdh2xjWiw099yyiNydCaCk/ARSphsHIAgAA"
> > > />
> > > <input type="hidden" name="jsf_state_64" id="jsf_state_64"
> > > value="H4sIAAAAAAAAAJVRP2/TQBR/iR2cliKlqVQBEhsLi1PSMQOkhCiWXLVSMyAxpFfnEjs9+8zdc3JhKOIbMCEhBcEH4EsgBjYQLEh8BphYYALbgThNWom+4fTe+d7vn998h0IkYOOhPSBDYjIS9M29owF1sPbsw4NXJXmL5QFUCABa9AhOICl91hlhXFLAerodocfMFpHuLgkLxte37zYPP2mQb8Iq46TbJA5yYcEKuoJKl7OuCu/cTWHWRsX4LCWtSvFKGZ7NHcLoyc/1w8nWr2950C0oujGHw7vUBsPhUYBijFBOHVQSB5UDFF7Qr9lQTMaI9Gki2IifD4nwSIDpqMLfcSEAQp4GydUKwmqrvWt3duoH1j2Ea5WBdDg/9mkQdagifsioqVz0WSJyIxNZF4KMbU+ievr5xov35KUGOQt06T2maXa5kX4qtyzLzSxLBKODpG91t0KcJqDMHnGoNJtc+MmzskxOfSm1HMJVh/umjIJ0g1GUZn1/37buN2KhlaVvXuzEbNAeiRg2p5c362HIxm1+TIPW5GOjFjx/vZb8jtF1KFWQxgsEaXXqPmY0nnz5MVEqPKdSoVdmzrUznBfO6LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+Ml8QsLoAWF0EXMgp9//4Roo3L3n+5pRodUHV2wuqt5cRlfoDNYybFDoEAAA="
> > > /><input type="hidden" name="jsf_viewid" id="jsf_viewid"
> > > value="/jscookmenu_example.xhtml" />
> > >             <div id="header"/>
> > >             <div id="container2">
> > >
> > >                 <div id="content2"><input id="_tagId0:_tagId3"
> > > name="_tagId0:_tagId3" type="submit" onclick="clear__5FtagId0();" />
> > >                 </div>
> > >             </div>
> > >             <div id="footer"/>
> > >         <input type="hidden" name="_tagId0_SUBMIT" value="1" /><input
> > > type="hidden" name="_tagId0:_link_hidden_" /><script
> > > type="text/javascript"><!--
> > > function clear__5FtagId0() {
> > >   var f = document.forms['_tagId0'];
> > >   f.elements['_tagId0:_link_hidden_'].value='';
> > >   f.target='';
> > > }
> > > clear__5FtagId0();
> > > //--></script></form>
> > >     </body>
> > > </html>
> > >
> > >
> > > Any help is greatly appreciated.
> > >
> > > Cheers,
> > > Cameron.
> > >
> >
> >
> > --
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>


--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: jscookmenu only displays "Submit Query" menu item

Posted by Mike Kienenberger <mk...@gmail.com>.
Cameron,

First make sure you are using a facelets taglib.xml file that defines
the jscookmenu and navigationMenuItem components.   Those aren't
defined in the "Use_Facelets_with_Tomahawk" file yet, so I'm not sure
if anyone has successfully used them with facelets.   (Seems like a
couple of people have had issues with facelets and jscookmenu in the
past, but it's unclear if it's working yet).

Second, it looks like at least one bug was fixed on Nov 2nd, so you'll
need to upgrade to a nightly build since 1.1.1 was released before
that.

http://issues.apache.org/jira/browse/MYFACES-697?page=all

If anyone else is using facelets + jscookmenu successfully, perhaps
that person could update the tomahawk.taglib.xml file on the wiki.

http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

-Mike

On 11/11/05, Thomas Spiegl <th...@gmail.com> wrote:
> Seems to be a problem concerning myfaces & facelets. Can you send me a
> small sample application using facelets instead of jsp? I will have a
> look at it.
>
> regards,
> Thomas
>
> On 11/11/05, Cameron Ross <cr...@symboticware.com> wrote:
> > I'm trying to use the jscookmenu component from jsf.  However, the page
> > is only displaying a single menu item with the label "Submit Query".  My
> > deployment environment consists of:
> >   - version 1.1.1 of myfaces-all.jar
> >   - JBoss version 4.0.3 SP1
> >   - sun jdk1.5.0_05
> >
> >
> > My faclet looks like this:
> >
> > <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > <ui:composition xmlns="http://www.w3.org/1999/xhtml"
> >                 xmlns:ui="http://java.sun.com/jsf/facelets"
> >                   xmlns:f="http://java.sun.com/jsf/core"
> >                 xmlns:t="http://myfaces.apache.org/tomahawk"
> >                 template="template2.xhtml">
> >     <ui:define name="content2">
> >         <f:view>
> >             <t:jscookMenu layout="hbr" theme="ThemeOffice">
> >                 <t:navigationMenuItem id="nav_1" itemLabel="nav_1"
> > action="main"/>
> >                 <t:navigationMenuItem id="nav_2" itemLabel="nav_2"
> > action="main">
> >                     <t:navigationMenuItem id="nav_2_1"
> > itemLabel="nav_2_1" action="main"/>
> >                 </t:navigationMenuItem>
> >                 <t:navigationMenuItem id="nav_3" itemLabel="nav_3"
> > action="main"/>
> >             </t:jscookMenu>
> >         </f:view>
> >     </ui:define>
> > </ui:composition>
> >
> >
> > The html being generated looks like this:
> >
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" SYSTEM
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > <html xmlns="http://www.w3.org/1999/xhtml">
> >     <head>
> >         <meta http-equiv="Content-Type" content="text/html;
> > charset=iso-8859-1"/>
> >         <title>Symboticware Pando</title>
> >         <link href="css/sng.css" rel="stylesheet" type="text/css"/>
> >     </head>
> >     <body>
> >         <form id="_tagId0" name="_tagId0" method="post"
> > action="/pando/jscookmenu_example.jsf"
> > enctype="application/x-www-form-urlencoded">
> >             <input type="hidden" name="jsf_tree_64" id="jsf_tree_64"
> > value="H4sIAAAAAAAAAK1QvUoDQRj8jIYgBEQtbAUFuz2NYJPOQPRComCMIFcc6956uXj7495ejI2dvQ/gE0iewCews/UlbK3dvVw0woEWNh87szPfDN/4HcqJggOhQoQlJn2K2O0lJjQxUMYRwToSHJ0qSrtapUSninYwxyFVm99kQzApOOW6eb729tj6eC3BggeLPulHcaAMDy2vbSKcSYSTRzgzEc5fI+ptWPLJFDVinCQaVtoDPMROjHnoGH3EQyOrfsvc4BruoORBxbfJ2lhWvRnP8cWAEl0fyVTlVf/jGvXn8dbL8v3DUwlgJAFgLrE1ILWzXIDnJ1hq2CuoQNJEC4Y4HjLKU9Rzj/AwCrNKHUO4mjINZfPt78jiIGlnVUPFimpGluPMVJM/RRm5a7rs/95lkBAhrrLnoWaxuQDDPGh1G4a13Uykr3HoBnbfhr37COWLpsdCfWPM3E2h2Jdh2xjWiw099yyiNydCaCk/ARSphsHIAgAA"
> > />
> > <input type="hidden" name="jsf_state_64" id="jsf_state_64"
> > value="H4sIAAAAAAAAAJVRP2/TQBR/iR2cliKlqVQBEhsLi1PSMQOkhCiWXLVSMyAxpFfnEjs9+8zdc3JhKOIbMCEhBcEH4EsgBjYQLEh8BphYYALbgThNWom+4fTe+d7vn998h0IkYOOhPSBDYjIS9M29owF1sPbsw4NXJXmL5QFUCABa9AhOICl91hlhXFLAerodocfMFpHuLgkLxte37zYPP2mQb8Iq46TbJA5yYcEKuoJKl7OuCu/cTWHWRsX4LCWtSvFKGZ7NHcLoyc/1w8nWr2950C0oujGHw7vUBsPhUYBijFBOHVQSB5UDFF7Qr9lQTMaI9Gki2IifD4nwSIDpqMLfcSEAQp4GydUKwmqrvWt3duoH1j2Ea5WBdDg/9mkQdagifsioqVz0WSJyIxNZF4KMbU+ievr5xov35KUGOQt06T2maXa5kX4qtyzLzSxLBKODpG91t0KcJqDMHnGoNJtc+MmzskxOfSm1HMJVh/umjIJ0g1GUZn1/37buN2KhlaVvXuzEbNAeiRg2p5c362HIxm1+TIPW5GOjFjx/vZb8jtF1KFWQxgsEaXXqPmY0nnz5MVEqPKdSoVdmzrUznBfO6LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+Ml8QsLoAWF0EXMgp9//4Roo3L3n+5pRodUHV2wuqt5cRlfoDNYybFDoEAAA="
> > /><input type="hidden" name="jsf_viewid" id="jsf_viewid"
> > value="/jscookmenu_example.xhtml" />
> >             <div id="header"/>
> >             <div id="container2">
> >
> >                 <div id="content2"><input id="_tagId0:_tagId3"
> > name="_tagId0:_tagId3" type="submit" onclick="clear__5FtagId0();" />
> >                 </div>
> >             </div>
> >             <div id="footer"/>
> >         <input type="hidden" name="_tagId0_SUBMIT" value="1" /><input
> > type="hidden" name="_tagId0:_link_hidden_" /><script
> > type="text/javascript"><!--
> > function clear__5FtagId0() {
> >   var f = document.forms['_tagId0'];
> >   f.elements['_tagId0:_link_hidden_'].value='';
> >   f.target='';
> > }
> > clear__5FtagId0();
> > //--></script></form>
> >     </body>
> > </html>
> >
> >
> > Any help is greatly appreciated.
> >
> > Cheers,
> > Cameron.
> >
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>

Re: jscookmenu only displays "Submit Query" menu item

Posted by Thomas Spiegl <th...@gmail.com>.
Seems to be a problem concerning myfaces & facelets. Can you send me a
small sample application using facelets instead of jsp? I will have a
look at it.

regards,
Thomas

On 11/11/05, Cameron Ross <cr...@symboticware.com> wrote:
> I'm trying to use the jscookmenu component from jsf.  However, the page
> is only displaying a single menu item with the label "Submit Query".  My
> deployment environment consists of:
>   - version 1.1.1 of myfaces-all.jar
>   - JBoss version 4.0.3 SP1
>   - sun jdk1.5.0_05
>
>
> My faclet looks like this:
>
> <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <ui:composition xmlns="http://www.w3.org/1999/xhtml"
>                 xmlns:ui="http://java.sun.com/jsf/facelets"
>                   xmlns:f="http://java.sun.com/jsf/core"
>                 xmlns:t="http://myfaces.apache.org/tomahawk"
>                 template="template2.xhtml">
>     <ui:define name="content2">
>         <f:view>
>             <t:jscookMenu layout="hbr" theme="ThemeOffice">
>                 <t:navigationMenuItem id="nav_1" itemLabel="nav_1"
> action="main"/>
>                 <t:navigationMenuItem id="nav_2" itemLabel="nav_2"
> action="main">
>                     <t:navigationMenuItem id="nav_2_1"
> itemLabel="nav_2_1" action="main"/>
>                 </t:navigationMenuItem>
>                 <t:navigationMenuItem id="nav_3" itemLabel="nav_3"
> action="main"/>
>             </t:jscookMenu>
>         </f:view>
>     </ui:define>
> </ui:composition>
>
>
> The html being generated looks like this:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" SYSTEM
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
>     <head>
>         <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1"/>
>         <title>Symboticware Pando</title>
>         <link href="css/sng.css" rel="stylesheet" type="text/css"/>
>     </head>
>     <body>
>         <form id="_tagId0" name="_tagId0" method="post"
> action="/pando/jscookmenu_example.jsf"
> enctype="application/x-www-form-urlencoded">
>             <input type="hidden" name="jsf_tree_64" id="jsf_tree_64"
> value="H4sIAAAAAAAAAK1QvUoDQRj8jIYgBEQtbAUFuz2NYJPOQPRComCMIFcc6956uXj7495ejI2dvQ/gE0iewCews/UlbK3dvVw0woEWNh87szPfDN/4HcqJggOhQoQlJn2K2O0lJjQxUMYRwToSHJ0qSrtapUSninYwxyFVm99kQzApOOW6eb729tj6eC3BggeLPulHcaAMDy2vbSKcSYSTRzgzEc5fI+ptWPLJFDVinCQaVtoDPMROjHnoGH3EQyOrfsvc4BruoORBxbfJ2lhWvRnP8cWAEl0fyVTlVf/jGvXn8dbL8v3DUwlgJAFgLrE1ILWzXIDnJ1hq2CuoQNJEC4Y4HjLKU9Rzj/AwCrNKHUO4mjINZfPt78jiIGlnVUPFimpGluPMVJM/RRm5a7rs/95lkBAhrrLnoWaxuQDDPGh1G4a13Uykr3HoBnbfhr37COWLpsdCfWPM3E2h2Jdh2xjWiw099yyiNydCaCk/ARSphsHIAgAA"
> />
> <input type="hidden" name="jsf_state_64" id="jsf_state_64"
> value="H4sIAAAAAAAAAJVRP2/TQBR/iR2cliKlqVQBEhsLi1PSMQOkhCiWXLVSMyAxpFfnEjs9+8zdc3JhKOIbMCEhBcEH4EsgBjYQLEh8BphYYALbgThNWom+4fTe+d7vn998h0IkYOOhPSBDYjIS9M29owF1sPbsw4NXJXmL5QFUCABa9AhOICl91hlhXFLAerodocfMFpHuLgkLxte37zYPP2mQb8Iq46TbJA5yYcEKuoJKl7OuCu/cTWHWRsX4LCWtSvFKGZ7NHcLoyc/1w8nWr2950C0oujGHw7vUBsPhUYBijFBOHVQSB5UDFF7Qr9lQTMaI9Gki2IifD4nwSIDpqMLfcSEAQp4GydUKwmqrvWt3duoH1j2Ea5WBdDg/9mkQdagifsioqVz0WSJyIxNZF4KMbU+ievr5xov35KUGOQt06T2maXa5kX4qtyzLzSxLBKODpG91t0KcJqDMHnGoNJtc+MmzskxOfSm1HMJVh/umjIJ0g1GUZn1/37buN2KhlaVvXuzEbNAeiRg2p5c362HIxm1+TIPW5GOjFjx/vZb8jtF1KFWQxgsEaXXqPmY0nnz5MVEqPKdSoVdmzrUznBfO6LIMtuMMyvMZ7ESIPPiHj6C5RwLhctulPt3r9TyHztNq59IWZ92ledpCQIad2xl8NiPoPvH+Ml8QsLoAWF0EXMgp9//4Roo3L3n+5pRodUHV2wuqt5cRlfoDNYybFDoEAAA="
> /><input type="hidden" name="jsf_viewid" id="jsf_viewid"
> value="/jscookmenu_example.xhtml" />
>             <div id="header"/>
>             <div id="container2">
>
>                 <div id="content2"><input id="_tagId0:_tagId3"
> name="_tagId0:_tagId3" type="submit" onclick="clear__5FtagId0();" />
>                 </div>
>             </div>
>             <div id="footer"/>
>         <input type="hidden" name="_tagId0_SUBMIT" value="1" /><input
> type="hidden" name="_tagId0:_link_hidden_" /><script
> type="text/javascript"><!--
> function clear__5FtagId0() {
>   var f = document.forms['_tagId0'];
>   f.elements['_tagId0:_link_hidden_'].value='';
>   f.target='';
> }
> clear__5FtagId0();
> //--></script></form>
>     </body>
> </html>
>
>
> Any help is greatly appreciated.
>
> Cheers,
> Cameron.
>


--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces