I'm converting a springmvc velocity application into a portlet.  I'm
trying to get a URL link in the portlet to set a request to the
controller to change the view state of the portlet. I'm trying to follow
this: http://forum.springsource.org/showthread.php?t=29249

 

But the variable is not being set.

 

In my vm template I have:

 

#set( $addlink = $renderRequest.createActionURL() ) 

$addlink.setParameter("action", "add")

<a href="$addlink" > add </a>

 

When the portlet is rendered, the whole line
"$addlink.setParameter("action", "add")" is output to the screen so it
appears the addlink variable is not being set.

 

Any suggestions?



David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939 l 
[email protected]
The contents of this e-mail (and any attachments) are privileged and 
confidential. Unauthorized use is strictly prohibited.

Reply via email to