I need some help...

I am having some real troubles with the Link tag with 2.5.17. I want to create a hyperlink that has a few parameters appended to it. Here's what the result should look like:

Workflow.jsp?action=abort&outcome=outcome.decision.abort&id=21

...but when I use the Link tag, it's creating a link with the ampersands separating the parameters as entities (&) instead of as literals (&). Here's a snippet of the JSP:

<wiki:Link jsp="Workflow.jsp">
  <wiki:Param name="action" value="abort"/>
  <wiki:Param name="id"><c:out value="${workflow.id}" /></wiki:Param>
  <wiki:Param name="outcome">outcome.decision.abort</wiki:Param>
  <fmt:message key="outcome.step.abort" />
</wiki:Link>

...and this is the URL that it produces:

Workflow.jsp?action=abort&amp;outcome=outcome.decision.abort&amp;id=21

Notice the ampersand entities; this is not correct. Also, if I use the format="url" option I get plain text, but the ampersands are ALSO entities. Any hints about what I am doing wrong?

GRUMBLE GRUMBLE -- it doesn't help matters that the Link tag documentation is non-existent. Could some well-meaning soul point me to a place that explains all of the parameters? I'd be happy to add it to the Javadoc, which is where it belongs.

Andrew
_______________________________________________
Jspwiki-users mailing list
[email protected]
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users

Reply via email to