Re: [appfuse-user] velocity errors on cssHorizontalMenu.vm

2009-09-01 Thread tibi
ok made a view changes and now only have this one: ERROR [btpool0-3] velocity.logVelocityMessage(143) | VM #displayCssMenu: error : too few arguments to macro. Wanted 1 got 0 which i don;t realy get. i did the following: at the start of the file add this: #set ($count = 0) #set ($renderedChildren

Re: [appfuse-user] velocity errors on cssHorizontalMenu.vm

2009-09-01 Thread tibi
anyone an idea where and how to add the count var i still have these errors: ERROR [btpool0-3] velocity.logVelocityMessage(143) | 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] ERROR [b

Re: [appfuse-user] velocity errors on cssHorizontalMenu.vm

2009-08-24 Thread tibi
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: 1 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. css

Re: [appfuse-user] velocity errors on cssHorizontalMenu.vm

2009-08-24 Thread Matt Raible
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: