> Don't see this in the archives and I find the TemplateLink docs a little 
> sparse... Basically I would like to add several arguments to the end of a 
> dynamic link and have noticed a few strange things...
> 
> - Doing a double .addPathInfo("thing", "thingvalue").addPathInfo("thing2", 
> "thing2value") seems to leave thing2 null. Is this possible in a different way 
> than I'm expressing it?

I have used multiple (well two) .addPathInfos on the same $link with
no problems.  When I do run into problems it is usually because one 
of either the name or values is coded incorrectly (perhaps a VTL 
variable that I have not initialised correctly).

> - I tried to create a simple URL: ahref="url?thing=thingvalue&thing2=value2" and 
> found some strange stuff. First of all, I had to stop and restart Tomcat to get 
> it to stop appending the old path info(?!). Then I noticed that this URL was 
> being interpreted and rendered as a turbine-type link (/thing/thingvalue etc. -
> probably a feature if I understood it properly).  The question mark 
> understandably seems to force an action but I'm not sure how to specify the 
> ActionEvent using this format...

Stick to $link.  To add query data use .addQueryData() and for actions
use .setAction().  I have links that combine the use of all three of these at once,
again with no problems.

> 
> Any lights?
> 

Cheers,

Scott


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

Reply via email to