You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by de...@ubs.com on 2001/07/26 12:11:43 UTC

multi-param rewrite

I need to use <html:rewrite> to generate a URI for JavaScript
but I need to have two parameters. This doesn't seem to be
possible. Specifically

<html:rewrite forward="push"
    paramId="push"paramName="x"
    paramId="level" paramName="y"/>

does not work because it always uses the last param rather than
both of them. At the moment, I'm doing

<html:rewrite forward="push" paramId="push"
    paramName="i"/>&level=0

which I can get away with because "level" happens to always be
constant for each page. No sure if this could cause problems,
though. Anyone have a cleaner way?

Devon