Hi,
I found the problem when using the attached file. The problem is under
EnterprisesMenu. It is very odd because if I use 1 or 2 children it works
fine but when I use more than two the layout is messed up. When looking at
the generated code the problem seemed to be a missing </li>.
The cssHorizontalMenu attached in the mail solves this particular problem
and it seems to be working in all the tested scenarios.
I am using velocity 1.4 as it is the default in appfuse 2.0.1. However, when
I tried to upgrade to 1.5 and using my cssHorizontalMenu the layout was
screwed again but didn't bother to see why as 1.4 was working fine and I
read that there was a bug with 1.5.
Hope this is enough to fix this issue.
Best regards,
Oscar

On Thu, May 1, 2008 at 9:01 AM, Matt Raible <[EMAIL PROTECTED]> wrote:

> Can you please provide the steps to reproduce this issue in 2.0.1? A
> project that shows the problem would be even better.
>
> Matt
>
> On Wed, Apr 2, 2008 at 7:59 AM, oscar perez
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > One quick question.
> > Is the bug  #APF-599 really solved?
> > I downloaded the last cssHorizontalMenu from the trunk at SVN and it
> does
> > not allow to display more than 1 level of children. Apparently it uses
> > velocityCount where it should be #count.
> >  However I found that the vm file attached in the bug reported solved my
> > problem. Did I miss something?
> > Thanks,
> > Oscar
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
<?xml version="1.0" encoding="UTF-8"?>
<MenuConfig>
    <Displayers>
        <Displayer name="Velocity" type="net.sf.navigator.displayer.VelocityMenuDisplayer" />   
        <Displayer name="ListMenu" type="net.sf.navigator.displayer.ListMenuDisplayer" />
    </Displayers>
    
    <Menus>
        <Menu name="MainMenu" title="mainMenu.title" page="/mainMenu.html" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_TERMINAL_WORKER,ROLE_DRIVER,ROLE_TERMINAL_FOREMAN,ROLE_TRANSPORTATION_ORGANAIZER,ROLE_KEY_ACCOUNT_MANAGER,ROLE_TRANSPORTATION_ORIGINATOR"/>
        <Menu name="OrderMenu" title="menu.orders" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_TERMINAL_WORKER,ROLE_DRIVER,ROLE_TERMINAL_FOREMAN,ROLE_TRANSPORTATION_ORGANAIZER,ROLE_KEY_ACCOUNT_MANAGER,ROLE_TRANSPORTATION_ORIGINATOR">
        	<Item name="ViewOrders" title="menu.orders.view"  page="/orders/orders.html" roles="ROLE_SUPER_ADMIN" />
        	<Item name="MonitorStatus" title="menu.orders.monitor"  page="/underconstruction.html" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_TERMINAL_WORKER,ROLE_TERMINAL_FOREMAN,ROLE_TRANSPORTATION_ORGANAIZER,ROLE_KEY_ACCOUNT_MANAGER,ROLE_TRANSPORTATION_ORIGINATOR"/>
        	<Item name="OrderDetails" title="menu.orders.details"  page="/underconstruction.html" roles="ROLE_SUPER_ADMIN" />
		</Menu>
	
	
	<Menu name="OrganizingMenu" title="menu.organizing" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_TERMINAL_WORKER,ROLE_DRIVER,ROLE_DRIVER_FOREMAN,ROLE_TERMINAL_FOREMAN,ROLE_TRANSPORTATION_ORGANAIZER,ROLE_KEY_ACCOUNT_MANAGER,ROLE_TRANSPORTATION_ORIGINATOR">
		<Item name="Arrangement" title="menu.organizing.arrangement" page="/underconstruction.html" roles="ROLE_SUPER_ADMIN" />
		<Item name="CarBased" title="menu.organizing.carBased" page="/underconstruction.html" roles="ROLE_SUPER_ADMIN" />
		<Item name="ProductionApproval" title="menu.organizing.productionApproval"  page="/underconstruction.html" roles="ROLE_SUPER_ADMIN" />
		<Item name="SendToVehicles" title="menu.organizing.sendToVehicles" page="/underconstruction.html" roles="ROLE_SUPER_ADMIN" />
		<Item name="CancelRoute" title="menu.organizing.cancelRoute" page="/underconstruction.html" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_TRANSPORTATION_ORGANAIZER"/>
		<Item name="SubRoute" title="menu.organizing.subRoute" page="/underconstruction.html"  roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_TERMINAL_WORKER,ROLE_DRIVER,ROLE_DRIVER_FOREMAN,ROLE_TERMINAL_FOREMAN,ROLE_TRANSPORTATION_ORGANAIZER"/>
		<Item name="ViewRoutes" title="menu.organizing.routes"  page="/organizing/routings.html"  roles="ROLE_SUPER_ADMIN,ROLE_ADMIN" />
		<Item name="RoutePlanning" title="menu.organizing.routePlanning"  page="/underconstruction.html"  roles="ROLE_SUPER_ADMIN,ROLE_ADMIN" />
	</Menu>
	
	
	<Menu name="AccountingMenu" title="menu.accounting" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_SALES,ROLE_SALES_DIRECTOR,ROLE_LOGISTICS_MANAGER,ROLE_INVOCING_ANALYST,ROLE_KEY_ACCOUNT_MANAGER,ROLE_TRANSPORTATION_ORGANAIZER,ROLE_INVOCER">
		<Item name="Pricing" title="menu.accounting.pricing"  page="/underconstruction.html" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN" />
		<Item name="Contracts" title="menu.accounting.contracts" page="/accounting/contracts.html" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_SALES,ROLE_SALES_DIRECTOR,ROLE_LOGISTICS_MANAGER,ROLE_INVOCING_ANALYST,ROLE_KEY_ACCOUNT_MANAGER,ROLE_TRANSPORTATION_ORGANIZER"/>
		<Item name="Invoicing" title="menu.accounting.invoicing" page="/underconstruction.html"  roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_SALES,ROLE_SALES_DIRECTOR,ROLE_LOGISTICS_MANAGER,ROLE_INVOCING_ANALYST,ROLE_KEY_ACCOUNT_MANAGER,ROLE_INVOCER"/>
	</Menu>
	
	  
	<Menu name="AdminMenu" title="menu.admin" description="Admin Menu" width="120" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_GROUP_ADMINISTRATOR,ROLE_DRIVER,ROLE_SALES,ROLE_CUSTOMER_SERVICE">
        <Item name="ViewUsers" title="menu.admin.users"  page="/admin/users.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR" />
	    <Item name="EnterprisesMenu" title="menu.admin.enterprises"  roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR">
	    	<Item name="CustomersMenu" title="menu.admin.customers" page="/admin/customers.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR"/>
	    	<Item name="TransportationCompaniesMenu" title="menu.admin.transportationcompanies" page="/admin/enterprises.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR"/>
	    	<Item name="SubContractorsMenu" title="menu.admin.subcontractors" page="/admin/subcontractors.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR"/>
	    	<Item name="SecurityEnterprisesMenu" title="menu.admin.securityenterprises" page="/admin/securityEnterprises.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR"/>
	    </Item>
	    <Item name="ProductsMenu" title="menu.admin.products" page="/admin/products.html" roles="ROLE_SUPER_ADMIN,ROLE_SALES,ROLE_CUSTOMER_SERVICE"/>
	    <Item name="PlacesMenu" title="menu.admin.places" page="/admin/places.html" roles="ROLE_SUPER_ADMIN,ROLE_SALES,ROLE_CUSTOMER_SERVICE"/>
	    <Item name="VehiclesMenu" title="menu.admin.vehicles" page="/admin/vehicles.html" roles="ROLE_DRIVER"/>
        <Item name="ActiveUsers" title="mainMenu.activeUsers" page="/admin/activeUsers.html" roles="ROLE_TEMP"/>
	    <Item name="UserMenu" title="menu.admin.profile" page="/admin/editProfile.html" roles="ROLE_TEMP" />
 		<Item name="ReloadContext" title="menu.admin.reload" page="/admin/reload.html" roles="ROLE_TEMP"/>
        <Item name="FileUpload" title="menu.selectFile" page="/admin/uploadFile.html" roles="ROLE_TEMP"/>
        <Item name="FlushCache" title="menu.flushCache" page="/admin/flushCache.html" roles="ROLE_TEMP"/>
        <Item name="Clickstream" title="menu.clickstream" page="/admin/clickstreams.jsp" roles="ROLE_TEMP"/>
        <Item name="SystemParamsMenu" title="menu.admin.parameters" page="/admin/parameters.html" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN"/>
       
    </Menu>
	
	<!--
	<Menu name="AdminMenu" title="menu.admin" description="Admin Menu" width="120" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN,ROLE_GROUP_ADMINISTRATOR,ROLE_DRIVER,ROLE_SALES,ROLE_CUSTOMER_SERVICE">
        <Item name="ViewUsers" title="menu.admin.users"  page="/admin/users.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR" />
	    <Item name="EnterprisesMenu" title="menu.admin.enterprises"  roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR">
	    	<Item name="CustomersMenu" title="menu.admin.customers" page="/underconstruction.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR"/>
	    	<Item name="TransportationCompaniesMenu" title="menu.admin.transportationcompanies" page="/underconstruction.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR"/>
	    	<Item name="SubContractorsMenu" title="menu.admin.subcontractors" page="/underconstruction.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR"/>
	    	<Item name="SecurityEnterprisesMenu" title="menu.admin.securityenterprises" page="/underconstruction.html" roles="ROLE_SUPER_ADMIN,ROLE_GROUP_ADMINISTRATOR"/>
	    </Item>
	    <Item name="ProductsMenu" title="menu.admin.products" page="/admin/products.html" roles="ROLE_SUPER_ADMIN,ROLE_SALES,ROLE_CUSTOMER_SERVICE"/>
	    <Item name="PlacesMenu" title="menu.admin.places" page="/admin/places.html" roles="ROLE_SUPER_ADMIN,ROLE_SALES,ROLE_CUSTOMER_SERVICE"/>
	    <Item name="VehiclesMenu" title="menu.admin.vehicles" page="/admin/vehicles.html" roles="ROLE_DRIVER"/>
        <Item name="ActiveUsers" title="mainMenu.activeUsers" page="/admin/activeUsers.html" roles="ROLE_TEMP"/>
	    <Item name="UserMenu" title="menu.admin.profile" page="/admin/editProfile.html" roles="ROLE_TEMP" />
 		<Item name="ReloadContext" title="menu.admin.reload" page="/admin/reload.html" roles="ROLE_TEMP"/>
        <Item name="FileUpload" title="menu.selectFile" page="/admin/uploadFile.html" roles="ROLE_TEMP"/>
        <Item name="FlushCache" title="menu.flushCache" page="/admin/flushCache.html" roles="ROLE_TEMP"/>
        <Item name="Clickstream" title="menu.clickstream" page="/admin/clickstreams.jsp" roles="ROLE_TEMP"/>
        <Item name="SystemParamsMenu" title="menu.admin.parameters" page="/admin/parameters.html" roles="ROLE_SUPER_ADMIN,ROLE_ADMIN"/>
       
    </Menu>
    -->
    
	<Menu name="LanguageMenu" title="menu.language" width="130" >
  		<Item name="EnglishChoice" title="menu.language.english" page="?locale=en" image="/images/flag_england.gif"/>
  		<Item name="FinnishChoice" title="menu.language.finnish" page="?locale=fi" image="/images/flag_finland.gif" />
  		<Item name="RussianChoice" title="menu.language.russian" page="?locale=ru" image="/images/flag_russia.gif" />
  		<Item name="SpanishChoice" title="menu.language.spanish" page="?locale=es" image="/images/flag_spain.gif" />
  	</Menu>
    </Menus>
</MenuConfig>

Attachment: cssHorizontalMenu.vm
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to