menubar « IceFaces « JSF Q&A

1. icefaces menubar handling

Following is my home page:

<h:body styleClass="ice-skin-rime"> 
   <h:form id="form"> 
      <ice:menuBar orientation="#{menuBar.orientation}"> 
         <ice:menuItem value="HRM" id="hrm"> ...

2. ICEfaces MenuBar horizontal orientation doesn't work

i am using iceFaces 2.0.2 here's what i did:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
<html xmlns=""

3. icefaces menubar css

4. multiple menuBar components in a form: only the last one works right.

I have a page with a main top menuBar and a table below. Each row of the table has it's own small menuBar of options. Only the last menuBar that is rendered behaves properly. All other menus on the screen will not popup a menu if you click on the menuitem. Instead you click and the screen flickers like it tried ...

5. can't use menuBar, js missing

<%@ taglib uri="" prefix="h"%> <%@ taglib uri="" prefix="f"%> <%@ taglib uri="" prefix="ice"%> ICEfaces, Ajax for Java EE

6. Problems with MenuBar

My problem with the MenuBar happened is that the parameter 'horizontal' but the menubar is displayed vertically, which can be the cause? Thank you. The code is:

7. menuBar problem when mousing out

Using Icefaces 1.7.2, the problem I am having with my ice:menuBar is that the menu stays on the screen once my mouse has moved off the menuBar popup. I'm looking for a way to lose focus and close the menuBar popup without having to click somewhere away from the menu. The attribute onmouseout seems like it might be what I am ...

8. how to define my own theme for menubar?

Hi Terry, I have built a test application using facelets with the MenuBar and I was able to re-create your problem. It is a bug and we will fixing the problem in a subsequent release. However, I do have a work around for you. The MenuBar uses another javascript library called ice-extras.js which is included with ICEfaces. What you need to ...

9. MenuBar in different files

10. horizontal menubar

I try to have horizontal menubar but it keeps displaying the vertical one. When I change the attb orientation to vertical, the menu shows the arrows in front of the top menus. When orientation is "horizontal", the same menu is displayed without the arrows. The code is attached. I use Netbean 6.1 with Thanks for your advice, Vu

13. Problems with MenuBar

I continued testing. If i place a command button in the frist page with a link to the second page the problem is still there. So it is not a problem with the menu. Maybe it is a problem with my beans because i use one bean to show the table of the cars. Has anyone an idea? Thanks. s.k.tmp

14. MenuBar faces-config question

15. ICEfaces 1.8 -- menuBar ridiculously slow on IE

Hover over a menubar item in IE 6; cpu usage spikes; wait 5+ seconds; menu finally appears and cpu drops back down. No such delays seen with FF3. I don't know what application variables might affect this, but it's a showstopper for us. We'd love to take advantage of the numerous improvements in 1.8, but it is not usable with this ...

16. Hide menubar onmouse out event.

17. Centering menubar...

MyHeader Goes here

18. MenuBar immediate=true not working

Okay I found a way but I'm not sure it's the elegant way. I didn't have to do this using RichFaces. I wrapped the navigation and the content in 2 separate forms. I'll have to think about it some more. It may not matter but usually I like to keep everything under one form. The immediate attribute should override any validation ...

20. Problem with menubar and popups in IE

21. menuBar orientation

25. Dynamic MenuBar Population and Usage

26. Menubar turning red after refresh

27. ice:menuBar question/problem

28. menubar horizontal orientation

29. menuBar problem

30. MenuBar component

Hi, I want to use dynamic menu in my IceFaces app and I want to read my menuItems form a database table. How should I access my database? Can I use JPA like this? private List meniLista = new ArrayList(); public MeniBean(){ meniLista.addAll(DepartmentDAO.findDepartments()) List tempLista = DepartmentDAO.findDepartments(); for(int i=0; i

31. MenuBar question

32.  orientation doesn't work

33. Problem with

So I am trying to use the code from the IceFaces MenuBar tutorial to learn that capability. I have been trying to understand why the Menu Bar will not render correctly in what looks like two files that have the exact same .jspx content. I am using Eclipse and viewing both files using Eclipse's 'Run On Server ' context menu selection. ...

34. MenuBar wrong display in IE 8

35. help with menubar facelets in ie6

36. icefaces menubar not working

37. ice:menuBar with position: fixed;

38. Problems navigating using ice:menubar

40. [MenuBar] BestPractise for Navigation

41. ice:menuBar not rendering children

42. Wrong positioning of MenuBar sub-items when using fixed position

Dear all, I encounter a positioning issue with ICEface's MenuBar (using ICEfaces 2.0.0) component when using the following (simplified) code: Code:

As can be see on the attached screenshots, when I have not scrolled the screen down (first ...

45. Menubar orientation

46. Dynamicly populating MenuBar

private List model; //list for the dynamic menus w/ getter & setter private void createMenuItems() { model = new ArrayList(); //Help Menu MenuItem helpMenu = createMenuItem("Help","help",null,null, null); helpMenu.getChildren().add( createMenuItem("About My Application","about","#{bean.actionListenerMethod}","#{bean.actionMethod}", "./myIcon.gif")); model.add(helpMenu); } private MenuItem createMenuItem(String label, String id, String actionListener, String action, String icon) { MenuItem menuItem = new MenuItem(); menuItem.setValue(label); if( id != null ) menuItem.setId(id); if( actionListener ...

47. MenuBar Problem

48. MenuBar simple question

49. menubar not cover seletInputText

50. menuBar Dynamic include pages

52. menubar

HI can we keep the menuitem highlighted after the user has clicked on it just like a tab in a tabbed panel. once the user clicks another menu item the older one sets to normal state and the new manu item is hightlighted ? this is to create a dynamic level of navigation thanks in advance Rajat

53. menubar style help

55. Menubar - vertical orientation issue

We are using ice:menubar to layout menu vertically, so the orientation is like: ParentItem ChildItem1 ChildItem2 ChildItem3 This should happen when you click on Parent ...

58. Action in dynamic menubar not working

menuItems = new ArrayList(); while( { Object[] oArray = results.get(); String id = ((Integer) oArray[0]).toString(); String name = (String) oArray[1]; String action = (String) oArray[2]; MenuItem menuItem = new MenuItem(); menuItem.setAction(FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{newsBean.getMenuAction}", new Class[]{})); menuItem.addActionListener(new ActionListener() { public void processAction(ActionEvent arg0) throws AbortProcessingException { System.out.println("Menu One Clicked"); } }); menuItem.setActionListener(FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{newsBean.gotoCategory}", new Class[]{ ActionEvent.class })); menuItem.getAttributes().put("CATEGORY", id); menuItem.setValue(name); menuItems.add(menuItem); }

59. Back button not working with menubar actions

Hi Mark, There is no issue with navigation. It works perfect. But he behaviour of back button is not correct. Lets say, I am on home page with category 1 (on home.iface), I click a menu item-category 2 that takes me back to home.iface. If I hit "Back Button", it doesnt take me back to category 1. Is anything wrong in ...

60. Dynamic menubar/tabs as per user Role

Hi, if you want to implement authorization on your jsp pages you would first have to configure security for your web app which could be done either with the J2EE default container managed security mechanism or with ACEGI which is suggested by ICEfaces. If you want i.e. to use ACEGI the following link might be of interest to you: Onece ...

62. section 508 with Menubar

63. ice:menuBar immediate help?

I have a case that want to create a menubar with two menuItems, one's immediate should be true, another should be false. but I check menuBar and menuItem tag, they all have immediate attribute,and seemed the items's immediate attribute have the same same value with menubar, no matter its own immedaite value is true or not. can somebody telll me why ...

64. New Component Proposal: ice:menuBar

65. Problem with menubar

66. unable to integrate the sample menubar program of this website with my project

Hi, While Integrating the sample menubar prog. with my project I am getting the following exceptions:- java.lang.ClassCastException: com.sun.faces.context.FacesContextImpl at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse( at com.icesoft.faces.application.D2DViewHandler.renderView( at com.sun.faces.lifecycle.RenderResponsePhase.execute( at com.sun.faces.lifecycle.LifecycleImpl.phase( at com.sun.faces.lifecycle.LifecycleImpl.render( at javax.faces.webapp.FacesServlet.service( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.core.ApplicationDispatcher.invoke( at org.apache.catalina.core.ApplicationDispatcher.processRequest( at org.apache.catalina.core.ApplicationDispatcher.doForward( at org.apache.catalina.core.ApplicationDispatcher.forward( at org.apache.jasper.runtime.PageContextImpl.doForward( at org.apache.jasper.runtime.PageContextImpl.forward( at org.apache.jsp.index_jsp._jspService( at org.apache.jasper.runtime.HttpJspBase.service( at javax.servlet.http.HttpServlet.service( at org.apache.jasper.servlet.JspServletWrapper.service( at org.apache.jasper.servlet.JspServlet.serviceJspFile( at org.apache.jasper.servlet.JspServlet.service( at javax.servlet.http.HttpServlet.service( at ...

67. Right to Left Language and MenuBar and Tree

Hello, My language is right to left.So i can not use the MenuBar.Because the SubMenu opens in the right side of MenuBar component. But i want the SubMenu that opens in the left side of MenuBar. And in Tree ,the icons must be in right side of text not left side of text as in standard Tree. And also in Expandable ...

68. Menubar questions

69. problems with MenuBar

70. Avoid rendering MenuBar

Hi, how can I achieve this: I have a page with an inner iframe and a menuBar on top. Everytime a menuitem is clicked, it is shown in the inner frame. I can do this with link and target of ice:menuItem, but I also need to execute something before (like actionEvent). The problem is that when action or actionEvent attributes are ...

71. A bug in menuBar in ICEfaces 1.7.1

72. SubMenuItem DIV not well positioned under MenuBar

I have a strange behavior of menu items when my page has vertical scroll. Menu Items are positioned 130px from top, but when I scroll to the bottom, menu item div doesn't stay down the menu bar. It seems menu items position is 130px from top ignoring scrollHeight, psotioning separately from the menu bar. I attach two images to explain waht ...

73. MenuBar with a Stock Procedure

74. Problem switching from IceFaces 1.7.0 to 1.7.1 with MenuBar in IE (6 and 7)

I recognized a Problem with a after switching from IceFaces 1.7.0 to 1.7.1 with the Internet Explorer (6 & 7). On a simple Page (see below) with a button and a menu, after I clicked on the menu, the button's actionListerner will not reach the backing bean. In FireFox, everythings works fine: I click the Button (I can see a ...

76. Critical problem with ice:menuBar in IE6/IE7

In IE6 and IE7, if you actually click on a root ice:menuBar item (whether displayOnClick="true" or false), all JavaScript on the page stops working. Since ICEFaces is heavily JS/AJAX/XmlHttp request dependent, this means the page is basically no longer functional. No more user-initiated requests (from mouse clicks) ever hit the back end, for any component on the entire page. The ONLY ...

78. Problem with DIV and menubar