Helpers in EmailTemplate service

2009-05-04 Thread bdaniel7
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.

Re: Helpers in EmailTemplate service

2009-05-04 Thread Ricardo Lopes
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 params, see this previous thread on the users mailing list:

Re: Helpers in EmailTemplate service

2009-05-04 Thread bdaniel7
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

Re: Helpers in EmailTemplate service

2009-05-04 Thread Ricardo Lopes
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,

Re: AR: Saving parent but not all children

2009-05-04 Thread Flominator
Hi Markus, I'm currently only reading data. 1. I have one TransactionScope for every row of data, which means 30 measurands (one for each channel). The method that opens and disposes the TransactionScope gets the measurands and an enumerator containing my channels. It iterates over the channels

Re: Adding and associating an nhibernate facility programmatically

2009-05-04 Thread Yannis
yes. i got it at the end. There was a problem with the nhibernate configuration. thx On May 4, 7:44 am, Tuna Toksoz tehl...@gmail.com wrote: BTW, what do you mean by nhibernate properties? connection string etc? On Mon, May 4, 2009 at 12:05 AM, Yannis yannis.psar...@gmail.com wrote:

Programmatically registering component with Dictionary dependency

2009-05-04 Thread Yannis
I have a service called PluginService that has a dictionaryString, ISomePlugin. all the implementations of ISomePlugin are registered as follows: kernel.Register(AllTypes.FromAssembly(assembly).BasedOnISomePlugin ()); When I was using an XML config I was defining the dictionary for

Castle DynamicProxy 2.1 RTM is now available

2009-05-04 Thread Jonathon Rossi
It is out. See this blog post for details: http://jonorossi.com/blog/archive/2009/05/04/castle-dynamicproxy-2.1-rtm-is-now-available.aspx I am currently updating the Castle web site with the download details. -- Jono --~--~-~--~~~---~--~~ You received this

Re: Helpers in EmailTemplate service

2009-05-04 Thread bdaniel7
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

Re: Helpers in EmailTemplate service

2009-05-04 Thread bdaniel7
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

Re: Programmatically registering component with Dictionary dependency

2009-05-04 Thread Tuna Toksoz
Not exactly what you're looking for but here is some guide http://www.tunatoksoz.com/post/Castle-ServiceIdResolver.aspx You'll need to check if type is IDictionaryT1,T2 and thena ct accordingly. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz

bug in EmailTemplateService.CreateMessage when checking for html node

2009-05-04 Thread bdaniel7
Hello, I think there is a bug in EmailTemplateService.CreateMessage (StringWriter writer), at line : if (message.Body.ToLowerInvariant().IndexOf(html) != -1). html node can contain some properties and the above condition will create a text email, even though its content is html.

Re: AR: Saving parent but not all children

2009-05-04 Thread Markus Zywitza
Hi Flo 2009/5/4 Flominator flomina...@gmx.net 1. I have one TransactionScope for every row of data, which means 30 measurands (one for each channel). The method that opens and disposes the TransactionScope gets the measurands and an enumerator containing my channels. It iterates over the

accessing resources in castle windsor

2009-05-04 Thread rg
Hi, how to access file or assembly-embedded resources with Castle? I mean, how to construct URI names to access assembly resources and what types of resources are supported? Thx R --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: accessing resources in castle windsor

2009-05-04 Thread rg
And it does. R --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project-users@googlegroups.com To unsubscribe from this group, send email to

Windsor 2.0 Released!

2009-05-04 Thread Ayende Rahien
Hi everyone,Castle Windsor 2.0 RTM Releasedhttp://ayende.com/Blog/archive/2009/05/05/castle-windsor-2.0-rtm-released.aspx Have fun, ~ ayende --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Castle Project Users