breadcrumb and accordion

UI Components for JSF
Post Reply
pmshik
Posts: 9
Joined: 02 Jun 2010, 09:37

13 Jun 2010, 17:49

I want to use breadcrumb and accordion together, but I can't do it. Accordion always hovers breadcrumb.

example:

Code: Select all

    <p:breadCrumb>
	<p:menuitem url="/pages/welcome.jsf" />	
	<p:menuitem label="-1-" />
        <p:menuitem label="-2-" url="#" />						
    </p:breadCrumb>	
    <p:accordionPanel width="100%"><br></br> 
		<p:tab title="Filter">  
		    <p>filrrrt</p>
		</p:tab>
    </p:accordionPanel>
And else, how can I do that accordion hover bottom page content?

Thank you.

P.S. Sorry for my english...
student at Obninsk State Technical University for Nuclear Power Engineering - Russia

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

14 Jun 2010, 13:48

Can you post a screenshot?

pmshik
Posts: 9
Joined: 02 Jun 2010, 09:37

19 Jun 2010, 01:04

Image
student at Obninsk State Technical University for Nuclear Power Engineering - Russia

x1sc0
Posts: 38
Joined: 21 Jun 2010, 10:55

06 Jul 2010, 18:48

Same happens with breadcrumb and panel.
Image

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

08 Jul 2010, 16:23

Can you post your code as well?

x1sc0
Posts: 38
Joined: 21 Jun 2010, 10:55

09 Jul 2010, 11:57

Code: Select all

   <body>
<p:breadCrumb>  
    <p:menuitem value="Categories" url="#" />  
    <p:menuitem value="Sports" url="#" />  
    <p:menuitem value="Football" url="#" />  
    <p:menuitem value="Countries" url="#" />  
    <p:menuitem value="Spain" url="#" />  
    <p:menuitem value="F.C. Barcelona" url="#" />  
    <p:menuitem value="Squad" url="#" />  
    <p:menuitem value="Lionel Messi" url="#" />  
</p:breadCrumb> 
<p:panel header="test"></p:panel>
</body>

User avatar
michiel
Posts: 240
Joined: 07 Jun 2010, 09:12
Location: Belgium

09 Jul 2010, 12:12

by changing

Code: Select all

<p:breadCrumb>
to

Code: Select all

<p:breadCrumb style="float: none;>
this should be fixed
JSF-2.0, mojarra-2.0.2-FCS and PrimeFaces-2.1 on GlassFish v3.0.1 (build 22)

x1sc0
Posts: 38
Joined: 21 Jun 2010, 10:55

09 Jul 2010, 12:57

Yeah it's fixed using float:none; anyway it may be a headache for new users ( even old ones ) and it'd be much better if it's fixed properly, however it's just my opinion. It's up to the developers.
grettings.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 54 guests