You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Kołoszko Paweł <pa...@atena.pl> on 2006/01/27 14:45:05 UTC

How can I add images to PanelNavigation component?

Welcome
 
I need to build navigation panel, which should work this way:
All main nodes in the panel have to have an image in front of them. When the node is clicked, the image has to be changed to another one. It means that I need something like activeImage and inactiveImage attribute for t:commandNavigation2 or t:commandNavigation component ;-).
My question is: is it possible to build such navigation panel using t:panelNavigation or t:panelNavigation components? If it is possible, how can I do it?
 
Pawel Koloszko
 

Re: How can I add images to PanelNavigation component?

Posted by Jana Parvanova <ja...@sirma.bg>.
http://www.marinschek.com/myfaces/tiki/tiki-index.php?page=CommandNavigation

I saw this:
<x:commandNavigation id="unique-id"
                     [ standard commandLink attributes ]>
    Nested output components for link text and/or image
</x:commandNavigation>

though I have not used it.

Hope this helps.

----- Original Message ----- 
From: "Koloszko Pawel" <pa...@atena.pl>
To: "MyFaces Discussion" <us...@myfaces.apache.org>
Sent: Friday, January 27, 2006 3:45 PM
Subject: How can I add images to PanelNavigation component?


Welcome

I need to build navigation panel, which should work this way:
All main nodes in the panel have to have an image in front of them. When the 
node is clicked, the image has to be changed to another one. It means that I 
need something like activeImage and inactiveImage attribute for 
t:commandNavigation2 or t:commandNavigation component ;-).
My question is: is it possible to build such navigation panel using 
t:panelNavigation or t:panelNavigation components? If it is possible, how 
can I do it?

Pawel Koloszko