Moritz Onken wrote:
[%- ourl = Catalyst.uri_for('/search') _ "?stype=seqid&query=" -%] ?
Am 05.03.2008 um 10:50 schrieb Emmanuel Quevillon:
Thanks! That did the work.

Well, it might work, but it does seem a messy way to do it.

[%- ourl = Catalyst.uri_for('/search', { stype => seqid, query => '' }) -%]

-or (and this is a lot easier to work with in many circumstances, especially if you're conditionally manipulating the parameters)

     [%- params = { stype => seqid, query => ''} -%]
     ...
     [%- ourl = Catalyst.uri_for('/search', params) -%]

Hope that helps,

RET

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to