0 Replies Latest reply on Mar 3, 2008 8:16 AM by Louis Weideman

    Help needed with DropDownMenu

    Louis Weideman Newbie

      I have a minor problem with a DropDownMenu which works but doesn't display properly. Two problems occur:

      1. When I add items to the DropDownMenu it pushes all other components down to make space for these items instead of just adding it to the menu-list.

      2. When the mouse is placed over the DropDownMenu it brings up what seems like a textbox along side the menu-list.

      I have looked for examples on the net but everything I've tried so far does the thing.

      Here is some test code I am using:

      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
       xmlns:rich="http://richfaces.org/rich" version="2.0">
       <jsp:directive.page language="java"
       contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" />
       <![CDATA[ <?xml version="1.0" encoding="ISO-8859-1" ?> ]]>
       <![CDATA[ <!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">
       <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
       <title>Insert title here</title>
       <rich:dropDownMenu value="Test">
       <rich:menuItem value="test1"></rich:menuItem>
       <rich:menuItem value="test2"></rich:menuItem>
       <rich:menuItem value="test3"></rich:menuItem>
       <h:outputLabel value="Test"/>