<html><head><base href="x-msg://5/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>If you're passing a string for the action anyway, why not just append the additional @args to it manually? &nbsp;String paths aren't url encoded, but the additional args will be.</div><div><br></div><div>That is: c.uri_for('/static/data/eof/{symbol}.txt').path</div><div><br></div><div>On Jun 8, 2010, at 3:16 AM, Octavian Rasnita wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div bgcolor="#ffffff"><div><font face="Arial" size="2">Hi,</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">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:</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">&lt;param name="DataSource" value="[% c.uri_for('/static/data/eof', '{symbol}.txt').path %]"&gt;</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">If I do this , { and } are URI encoded and I don't want that.</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">Is it possible to create URIs that contain literal "{symbol}" when using uri_for() or uri_for_action()?</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">Thanks.</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">--<br>Octavian<br></font></div><br><br>__________ Information from ESET NOD32 Antivirus, version of virus signature database 5180 (20100607) __________<br><br>The message was checked by ESET NOD32 Antivirus.<br><br><a href="http://www.eset.com">http://www.eset.com</a><br>_______________________________________________<br>List:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>Listinfo:<span class="Apple-converted-space">&nbsp;</span><a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable archive:<span class="Apple-converted-space">&nbsp;</span><a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev site:<span class="Apple-converted-space">&nbsp;</span><a href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a><br></div></span></blockquote></div><br></body></html>