aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
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: 67
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomahawk for JSF 2.0: <t:panelTabbedPane> tabs rendered as buttons