Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Glen Yeung
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you mind posting your code so we can take a look?
 
Glen Yeung
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic