menubar « IceFaces « JSF Q&A





1. icefaces menubar handling    stackoverflow.com

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    stackoverflow.com

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" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
  ...

3. icefaces menubar css    coderanch.com

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

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    icefaces.org

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://www.icesoft.com/icefaces/component" prefix="ice"%> ICEfaces, Ajax for Java EE

6. Problems with MenuBar    icefaces.org

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    icefaces.org

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?    icefaces.org

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    icefaces.org







10. horizontal menubar    icefaces.org

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 ICEfaces-1.7.2-SP1-NetBeans-6.1-modules.zip. Thanks for your advice, Vu

13. Problems with MenuBar    icefaces.org

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    icefaces.org

15. ICEfaces 1.8 -- menuBar ridiculously slow on IE    icefaces.org

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.    icefaces.org





17. Centering menubar...    icefaces.org

MyHeader Goes here

18. MenuBar immediate=true not working    icefaces.org

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    icefaces.org

21. menuBar orientation    icefaces.org

25. Dynamic MenuBar Population and Usage    icefaces.org

26. Menubar turning red after refresh    icefaces.org

27. ice:menuBar question/problem    icefaces.org

28. menubar horizontal orientation    icefaces.org

29. menuBar problem    icefaces.org

30. MenuBar component    icefaces.org

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    icefaces.org

32.  orientation doesn't work    icefaces.org

33. Problem with     icefaces.org

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    icefaces.org

35. help with menubar facelets in ie6    icefaces.org

36. icefaces menubar not working    icefaces.org

37. ice:menuBar with position: fixed;    icefaces.org

38. Problems navigating using ice:menubar    icefaces.org

40. [MenuBar] BestPractise for Navigation    icefaces.org

41. ice:menuBar not rendering children    icefaces.org

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

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    icefaces.org

46. Dynamicly populating MenuBar    icefaces.org

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    icefaces.org

48. MenuBar simple question    icefaces.org

49. menubar not cover seletInputText    icefaces.org

50. menuBar Dynamic include pages    icefaces.org

52. menubar    icefaces.org

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    icefaces.org

55. Menubar - vertical orientation issue    icefaces.org

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    icefaces.org

menuItems = new ArrayList(); while(results.next()) { 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    icefaces.org

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    icefaces.org

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: http://www.icefaces.org/JForum/posts/list/3390.page Onece ...

62. section 508 with Menubar    icefaces.org

63. ice:menuBar immediate help?    icefaces.org

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    icefaces.org

65. Problem with menubar    icefaces.org

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

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(D2DFaceletViewHandler.java:267) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:154) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:686) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:656) at org.apache.jsp.index_jsp._jspService(index_jsp.java:54) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at ...

67. Right to Left Language and MenuBar and Tree    icefaces.org

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    icefaces.org

69. problems with MenuBar    icefaces.org

70. Avoid rendering MenuBar    icefaces.org

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    icefaces.org

72. SubMenuItem DIV not well positioned under MenuBar    icefaces.org

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    icefaces.org

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

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    icefaces.org

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    icefaces.org