This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Tomahawk for JSF 2.0: <t:panelTabbedPane> tabs rendered as buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Tomahawk for JSF 2.0: <t:panelTabbedPane> tabs rendered as buttons" Watch "Tomahawk for JSF 2.0: <t:panelTabbedPane> tabs rendered as buttons" New topic
Author

Tomahawk for JSF 2.0: <t:panelTabbedPane> tabs rendered as buttons

Glen Yeung
Greenhorn

Joined: Jun 21, 2012
Posts: 2
I have followed the coding of the tags as specified in the docs:
http://myfaces.apache.org/tomahawk-project/tomahawk20/tagdoc/t_panelTabbedPane.html

However, the tabs are shown as buttons for me:


I have also seen this thread on Nabble, which suggests using "facelets":
http://old.nabble.com/t%3ApanelTabbed-td32885226.html

But is it really necessary, as these are tags from the standard tomahawk library. Sounds a bit OTT just to get tabs working right.

Any advice would be gratefully accepted.

Many thanks,
Glen
J Miller
Ranch Hand

Joined: Oct 21, 2010
Posts: 62
Would you mind posting your code so we can take a look?
Glen Yeung
Greenhorn

Joined: Jun 21, 2012
Posts: 2
Hi there, thank you for the prompt response. My jsp code is below, but note this is a simplified page, though is the code that returned the screenshot I posted earlier.



Please excuse the mis-aligned indentations. I just copied and pasted straight from Eclipse and I think some of the tab spaces are different.
So in the code, I have two tab panels (detailsTab) and (photosTab). And the labels are what is in the buttons of my earlier screenshot, which should be tabs instead of buttons.

Thanks,
Glen
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomahawk for JSF 2.0: <t:panelTabbedPane> tabs rendered as buttons
 
Similar Threads
SelectItem and labels
Another one from "Art and Science of Java"
Reload tab with new page
PanelTabs with close button
How to create tabs in jsf?