You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Martinicum <ma...@pilotfish.se> on 2007/05/09 10:10:07 UTC

RE: Customizing JSCookMenu

Just wanted to inform that it works fine.


sammes wrote:
> 
> Hi,
>  
> if you are using facelets, you could do it like this:
>  
> <form jsfc="h:form" style="margin:0px;padding:0px;">
> 
> <t:jscookMenu layout="hbr" theme="YourTheme (name of your menu css
> folder within /_css/jscookmenu/)" action="">
> 
> <!-- put the YOUR css files of jsCookMenu (you should copy the original
> ones into your own menu css folder and edit the contents. for e.g.
> (_css/jscookmenu/) -->
> 
> <f:attribute name="org.apache.myfaces.STYLE_LOCATION"
> value="/_css/jscookmenu"/>
> 
> <f:attribute name="org.apache.myfaces.IMAGE_LOCATION"
> value="/_css/jscookmenu"/>
> 
> <f:attribute name="org.apache.myfaces.JAVASCRIPT_LOCATION"
> value="/_css/jscookmenu"/>
> 
> <t:navigationMenuItem itemLabel="Start Page" action="START_PAGE"/>
> 
> <t:navigationMenuItem itemLabel="Refresh Page" action="REFRESH_PAGE"/>
> 
> <t:navigationMenuItem itemLabel="Status Page" action="STATUS"/>
> 
> <t:navigationMenuItem itemLabel="Dictionary"
> action='javascript:window.open("/xy/bla.htm","_blank")'/>
> 
> </t:jscookMenu>
> 
> Try that and let me know.
>  
> cheers
> 
> ________________________________
> 
> From: Adrian Mitev [mailto:adrian.mitev@googlemail.com] 
> Sent: 20 March 2007 12:55
> To: MyFaces Discussion
> Subject: Re: Customizing JSCookMenu
> 
> 
> Are you using facelets?
> 
> 
> 2007/3/20, Alberto Chiang <ac...@sistran.com.br>: 
> 
> 	Hi everyone!
> 
> 	 
> 
> 	I`m having a hard time trying to customise the JSCookMenu
> component, i need to add a new css to the JSCookMenu but I don't know
> how to do... I already saw a solution that was created by Simon Kitching
> , but I didn`t made it work...
> 
> 	 
> 
> 	Can anyone help me?
> 
> 	 
> 
> 	Thanks in advance!
> 
> 	 
> 
> 	 
> 
> 	Alberto Chiang. 
> 
> 	 
> 
> 	 
> 
> 	 
> 
> 	 
> 
> 
> 
> 
> ________________
> Dresdner Bank AG
> Sitz/Registered Office: Frankfurt am Main, Handelsregister/Commercial
> Register: Amtsgericht/Local Court, Frankfurt am Main, HRB 14000 
> Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Michael
> Diekmann 
> Vorstand/Board of Managing Directors: Herbert Walter
> (Vorsitzender/Chairman), Andreas Georgi, Stefan Jentzsch, Wulf Meier,
> Andree Moschner, Klaus Rosenfeld, Otto Steinmetz, Friedrich Woebking 
> 
> This e-mail is confidential and the information contained in it may be
> privileged.  It should not be read, copied or used by anyone other than
> the intended recipient.  If you have received it in error, please contact
> the sender immediately by telephoning +44 (0)20 7623 8000 or by return
> email, and delete the e-mail and do not disclose its contents to any
> person.  We believe, but do not warrant, that this e-mail and any
> attachments are virus free, but you must take full responsibility for
> virus checking.  Please refer to
> http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail
> disclaimer statement and monitoring policy.
> ________________
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Customizing-JSCookMenu-tf3433037.html#a10390092
Sent from the MyFaces - Users mailing list archive at Nabble.com.