We only have this in a handful of places. Here is the workaround we are implementing until we can dive into the Brail Code:
<html> <body> <% realSlimShady = "http://www.somedomain.com" fileLink = realSlimShady + "/DocumentSharing/get.rails${'?'}fileId=" + file.Id %> <a href="${fileLink}" target="_blank">${fileName}</a> </body> </html> Escaping the question mark did not work so we used string interpolation. Dan Checkout my blog @ http://blog.agilejedi.com Checkout my homepage @ http://www.agilejedi.com On Mon, Jan 26, 2009 at 9:43 PM, Daniel Pupek <[email protected]> wrote: > Create a brail file with:<html> > <body> > <% > > realSlimShady = "http://www.somedomain.com" > > fileLink = realSlimShady + "/DocumentSharing/get.rails?fileId=" + file.Id > > %> > <a href="${fileLink}" target="_blank">${fileName}</a> > </body> > </html> > > File.Id returns GUID. > fileName is a string. > > > Dan > > Checkout my blog @ http://blog.agilejedi.com > Checkout my homepage @ http://www.agilejedi.com > > > On Mon, Jan 26, 2009 at 8:15 PM, Ayende Rahien <[email protected]> wrote: > >> I am pretty sure that this bug was fixed.Can you create a small test >> case? >> >> On Mon, Jan 26, 2009 at 6:58 PM, Daniel Pupek <[email protected]> wrote: >> >>> >>> Example: myurl = "/controller/action.rails?fileid=" + file.I'd >>> >>> Myurl becomes "/controller/action.railsTryGetParameter('fileid')=id" >>> >>> Dan >>> >>> On 1/26/09, Ayende Rahien <[email protected]> wrote: >>> > Can you give an example? It will only do that for things like ?this >>> > >>> > On Mon, Jan 26, 2009 at 6:01 PM, Daniel Pupek <[email protected]> >>> wrote: >>> > >>> >> Just downloaded the Castle trunk and all of my Brail views are >>> replacing ? >>> >> with TryGetParameters. >>> >> Anybody else with this problem? Is there a fix for this? >>> >> >>> >> Thanks, >>> >> Dan Pupek >>> >> >>> >> >>> >> Checkout my blog @ http://blog.agilejedi.com >>> >> Checkout my homepage @ http://www.agilejedi.com >>> >> >>> >> > >>> >> >>> > >>> > > >>> > >>> >>> -- >>> Sent from my mobile device >>> >>> >>> >>> Checkout my blog @ http://blog.agilejedi.com >>> Checkout my homepage @ http://www.agilejedi.com >>> >>> >>> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~---
