tabview question -

UI Components for JSF
smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

09 Apr 2012, 22:55

smithh032772 wrote:Without seeing your template.xhtml, I can only advise you of the following:

http://www.jsfcentral.com/articles/facelets_3.html

http://www.lmgtfy.com/?q=site%3Aforum.p ... ion+insert
Click 2nd URL above and compare your xhtml with other people's xhtml.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

10 Apr 2012, 00:16

Please respond here with BOTH xhtml files after you've fixed your issue. Others may experience the same issue as you and may benefit from you sharing your code. That's what we do here in this community. :)
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

Hamsterbau
Posts: 409
Joined: 28 Dec 2011, 17:44

10 Apr 2012, 10:54

Why you use link and not <h:outputStylesheet library="css" name="style.css" /> ?
Primefaces 8.0.7 (PF Extensions 8.0)
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22

joe
Posts: 15
Joined: 09 Apr 2012, 17:44

10 Apr 2012, 22:29

Hello,

Here is a summary of the problems I posted. I posted two related problems, I've fixed only one.
Problem 1 : The background of tabbed panes were filled up with +, -,=, etc characters. I think the reason was that I added PrimeFaces 3.2 to my NetBeans IDE incorrectly. I removed PM 2.2 and added PM 3.2 to NetBenas and my projects, it fixed the problem.

Problem 2: I have a template dividing the page in to top, left, left-content and bottom using "div" it works as expected with my template clients WITHOUT using p:tabView.
I added a simple tabbed view to one xhtml client file. It displays three tabbed panes but it displays the content of the panes outside the pane! - at the bottom of the page.
The "div" sections in my template cause problem in the tabbed panes, if I remove them the panes would be OK but I need the div sections in my template.

I changed link to

Code: Select all

h:outputStylesheet library="css" name="style.css" /> 
with no difference.

Joe

Hamsterbau
Posts: 409
Joined: 28 Dec 2011, 17:44

11 Apr 2012, 01:31

Problem 2:
Could you post your CSS for that DIV? I had also problems with DIVs in my tabView. Content "overflows" the bottom of a tab. But changing to inline display type and setting float fixed that problem. But
displays the content of the panes outside the pane!
sounds like another problem :roll:
Primefaces 8.0.7 (PF Extensions 8.0)
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests