Re: linktool relative path bug

2009-04-28 Thread Nathan Bubna
If you want the ? to be part of the path and not part of the query data, then yes, it must be encoded. Things have changed with LinkTool. the relative() method is for setting path data. if you want to set query data, you should use the query() (to set the query string) or params() (to add to the

linktool relative path bug

2009-04-28 Thread Vinod Shintre
Velocity1.6.2 & velocity-tools-2.0-beta3 linktool url encoding $link.relative('XXX/XXX.jsp?do=list&type=fav') Is url encoding the ? part Ex: buggy output -> http://server/XXX.jsp%3Fdo=list&type=fav Vinod Shintre, vshin...@definee.com, # 9886123278 |

Re: How to resolve error : Left side ($menuCurrentPage) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible.

2009-04-28 Thread Nathan Bubna
Without knowing a lot more about how you populate and use your context, i'm really not sure. Are you using a framework? If so, which one? Are you using VelocityTools at all? Are you sure your context is being handled in a threadsafe manner? Velocity looks for references in the context it is giv