ahh i rembered removing this :S
ok now its a bit better only the count value is a problem.
i tried adding something like this:
            <c:set var="count" scope="request">1</c:set>
but then it seems te be a string:

 Left side of addition operation is not a valid type. Currently only
integers (1,2,3...) and Integer type is supported. cssHorizontalMenu.vm
[line 2, column 28]


thanks,

tibi



Matt Raible wrote:
> Does your menu still seem to work properly or is it failing? You
> probably need a "meta.menu" tag in your JSP or you need to adjust the
> logic in decorators/default.jsp to set a default when one's not set:
>
>             <c:set var="currentMenu"
> scope="request"><decorator:getProperty property="meta.menu"/></c:set>
>             <c:if test="${currentMenu == 'AdminMenu'}">
>             <div id="sub">
>                 <menu:useMenuDisplayer name="Velocity"
> config="cssVerticalMenu.vm" permissions="rolesAdapter">
>                     <menu:displayMenu name="AdminMenu"/>
>                 </menu:useMenuDisplayer>
>             </div>
>             </c:if>
>
> Matt
>
> On Mon, Aug 24, 2009 at 8:45 AM, tibi <t...@dds.nl
> <mailto:t...@dds.nl>> wrote:
>
>     i get these error messages:
>
>     ERROR [btpool0-4] velocity.logVelocityMessage(143) | Left side
>     ($count)
>     of addition operation has null value. Operation not possible.
>     cssHorizontalMenu.vm [line 2, column 28]
>     ERROR [btpool0-4] velocity.logVelocityMessage(143) | RHS of #set
>     statement is null. Context will not be modified. cssHorizontalMenu.vm
>     [line 2, column 1]
>     ERROR [btpool0-4] velocity.logVelocityMessage(143) | Right side
>     ($currentMenu) of '==' operation has null value. If a reference,
>     it may
>     not be in the context. Operation not possible. cssHorizontalMenu.vm
>     [line 32, column 59]
>
>     did i delete somewhere something importand?
>
>     thanks,
>
>     tibi
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>     <mailto:users-unsubscr...@appfuse.dev.java.net>
>     For additional commands, e-mail: users-h...@appfuse.dev.java.net
>     <mailto:users-h...@appfuse.dev.java.net>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to