Hello,
I'm trying to use some custom and default helpers ($Url) in some .vm-s
which are used for to send emails.
However I only see the text, $Url.For... or my $Format.To(... instead
of the helper's result.
I've looked in the source code, but I can't figure out whether they
can be used or not.
Great, i'll use the same workaround until is fixed.
On May 4, 12:33 pm, Ricardo Lopes rjlo...@gmail.com wrote:
Hi,
Yes is possible, on RC3 you could use them without having to do nothing, but
it seems that on the trunk version some modifications were made and you have
to pass them by
I created a method on my base controller class that sets the parameters I
want on the view engine and use that method instead of the castle method.
I don't if it will get fixed because probably is not a bug, just a change
on the previous behaviour.
2009/5/4 bdaniel7 bdani...@gmail.com
Great,
nevermind, i was creating the params dictionary as an
IDictionarystring, string instead of string, object
On May 4, 4:53 pm, bdaniel7 bdani...@gmail.com wrote:
I get this argument exception, for random helpers:
System.ArgumentException: The value
Castle.MonoRail.Framework.Helpers.UrlHelper
I get this argument exception, for random helpers:
System.ArgumentException: The value
Castle.MonoRail.Framework.Helpers.UrlHelper
is not of type System.String and cannot be used in this generic
collection.
Parameter name: value
at