[Catalyst] Literal elements in uri_for generated paths
Mark A. Stratman
stratman at gmail.com
Wed Jun 9 14:13:41 GMT 2010
If you're passing a string for the action anyway, why not just append the additional @args to it manually? String paths aren't url encoded, but the additional args will be.
That is: c.uri_for('/static/data/eof/{symbol}.txt').path
On Jun 8, 2010, at 3:16 AM, Octavian Rasnita wrote:
> Hi,
>
> I have tried to use uri_for() in some parameters of a Java applet, but that URI should contain chars like { and } which then should be replaced by the appled with something else:
>
> <param name="DataSource" value="[% c.uri_for('/static/data/eof', '{symbol}.txt').path %]">
>
> If I do this , { and } are URI encoded and I don't want that.
>
> Is it possible to create URIs that contain literal "{symbol}" when using uri_for() or uri_for_action()?
>
> Thanks.
>
> --
> Octavian
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5180 (20100607) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100609/4606a189/attachment.htm
More information about the Catalyst
mailing list