My favorites | Sign in
Project Home Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3329: Seperator support to menubutton
4 people starred this issue and may be notified of changes. Back to list
 
Reported by ser...@anadollu.com, Jan 16, 2012
It would be very nice to be able to add separator to MenuButton's childs

At this moment, MenuButton only accepts menuItem tag as a child. 

<p:menuButton>

  <p:menuItem/>
  <p:menuItem/>
  ...
  <p:separator/>
  ...
  <p:menuItem/>

</p:menuButton>

Jan 16, 2012
Project Member #1 cagatay....@gmail.com
(No comment was entered for this change.)
Summary: Seperator support to menubutton
Status: Accepted
Owner: cagatay....@gmail.com
Cc: ydar...@gmail.com das...@gmail.com dsilahcilar ebkahv...@gmail.com levent...@gmail.com
Labels: TargetVersion-FUTURE
Jan 20, 2012
Project Member #2 cagatay....@gmail.com
Done!
Status: Fixed
Labels: -TargetVersion-FUTURE TargetVersion-3.1
Sep 2, 2013
#3 t...@schuller.lu
Seems to be broken in latest svn reposiory:
 https://code.google.com/p/primefaces/source/detail?r=9964

21:59:07,142 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/test].[Faces Servlet]] (http--0.0.0.0-8080-7) Servlet.service() for servlet Faces Servlet threw exception: java.lang.ClassCastException:
 org.primefaces.component.separator.UISeparator cannot be cast to org.primefaces.model.menu.MenuItem
        at org.primefaces.component.menubutton.MenuButtonRenderer.encodeMenu(MenuButtonRenderer.java:118) [primefaces-4.0-SNAPSHOT.jar:]
        at org.primefaces.component.menubutton.MenuButtonRenderer.encodeMarkup(MenuButtonRenderer.java:54) [primefaces-4.0-SNAPSHOT.jar:]
        at org.primefaces.component.menu.BaseMenuRenderer.encodeEnd(BaseMenuRenderer.java:98) [primefaces-4.0-SNAPSHOT.jar:]
Sign in to add a comment

Powered by Google Project Hosting