
William, It sounds like you should be able to do what you want to do. You can render type-safe urls with Julius using @{type-safe-url} escapes and other stuff using #{whatever} escapes. No need to sacrifice there. Is that what you were asking? I'm not quite clear on what your dilemma is. -- Ian Duncan On Saturday, February 19, 2011 at 10:24 PM, William Pearson wrote:
Hi,
I'm trying to figure out the best way to do a webapp based around a bookmarklet. This means I am slightly out on the left field.
The bookmarklet requests a javascript file which should be customized on a per user basis (based on session). I've been fiddling about with Yesod and have come across Julius and renderJulius, which I hoped would be able to do what I wanted, but I am coming to the conclusion that it is harder than I thought.
My current thinking is that I might be able to do something using getCurrentRoute and judicious monadic magic, but I suspect I am tying myself up in knots.
I'd like to keep type safe urls if possible. Thanks for any help,
Will
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel