p:menubar does not work when drop down overlaps p:schedule

UI Components for JSF
Post Reply
User avatar
bercolax
Posts: 133
Joined: 02 Aug 2009, 13:27
Location: Courtallam, India
Contact:

09 Jun 2010, 21:47

The menuitems in p:menubar does not work (user cannot click the menuitems in the drop down) when drop down overlaps p:schedule as shown in the image in the below link.

http://img139.imageshack.us/img139/6365 ... verlap.png

This happens when the attribute view of p:Schedule is either agendaWeek or agendaDay

May be a similar issue is discussed here but it is for layout. http://primefaces.prime.com.tr/forum/vi ... ?f=3&t=812
PrimeFaces 3.4, Seam Faces 3.0.2.Final, Glassfish v3.1, Mojarra 2.1.10, NetBeans 7.2, Hibernate JPA 2.0, Seam Persistence 3.0.0.Final Theme default HOT-SNEAKS

User avatar
bercolax
Posts: 133
Joined: 02 Aug 2009, 13:27
Location: Courtallam, India
Contact:

09 Jun 2010, 22:23

Playing with z-index does not work as the style attribute values override other CSS settings (as shown in the image in the link)

http://img412.imageshack.us/img412/8334 ... hot1bk.png

The p:schedule header has a value 4 for z-index mentioned as below in the style attribute, which may possibly cause the issue.

Code: Select all

<div style="position: relative; z-index: 4;" class="fc-agenda-head"><table style="width
Update: Also found one issue related to it. http://code.google.com/p/primefaces/iss ... ail?id=806
PrimeFaces 3.4, Seam Faces 3.0.2.Final, Glassfish v3.1, Mojarra 2.1.10, NetBeans 7.2, Hibernate JPA 2.0, Seam Persistence 3.0.0.Final Theme default HOT-SNEAKS

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

10 Jun 2010, 13:53

menubar has a zindex attribute, have you tried it?

User avatar
bercolax
Posts: 133
Joined: 02 Aug 2009, 13:27
Location: Courtallam, India
Contact:

10 Jun 2010, 14:09

Yes. I have tried assigning a much higher value for z-index (in this case the menubar layout has the assigned z-index value say 50). The child elements of menubar rightly have z-index as auto (I guess it is to inherit from parent).

But somehow from the menuitem that overlaps the p:schedule header part , it does not work.
PrimeFaces 3.4, Seam Faces 3.0.2.Final, Glassfish v3.1, Mojarra 2.1.10, NetBeans 7.2, Hibernate JPA 2.0, Seam Persistence 3.0.0.Final Theme default HOT-SNEAKS

User avatar
bercolax
Posts: 133
Joined: 02 Aug 2009, 13:27
Location: Courtallam, India
Contact:

14 Jun 2010, 20:31

Something that worked for me finally http://www.karthikeyanc.com/blog/index. ... drop-down/
PrimeFaces 3.4, Seam Faces 3.0.2.Final, Glassfish v3.1, Mojarra 2.1.10, NetBeans 7.2, Hibernate JPA 2.0, Seam Persistence 3.0.0.Final Theme default HOT-SNEAKS

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 15 guests