Re: I need help for registering components in web app

2012-03-28 Thread Simon Laroche
Hi Mynkow Where is the event bus registration code you were referring in your initial post in this facility? If you want to resolve your Hanlders only once, why not you use a factory method. ConverterIKernel, IBus CreateBus = kernel = { var hanlders

ASP.NET MVC 1.0 and Castle ActiveRecord 2.0 Lazy Loading

2009-09-05 Thread Simon Laroche
You need to use the SessionScopeWebModule Simon On Sat, Sep 5, 2009 at 8:30 AM, kayluhb killerdillerca...@gmail.com wrote: How do I access a lazy loaded property of an ActiveRecord model from within the view? I have a news model that Belongs to a Category Model, both of which are marked as

Re: paged result set, with filtered results

2009-08-06 Thread Simon Laroche
Why not submit the form through GET and include the current page in the form? Simon On Thursday, August 6, 2009, bdaniel7 bdani...@gmail.com wrote: Hello, I ran into an annoying issue: I have a list of items, paged which is working properly. The customer wants also to filter the data by

Re: Validation message not localized

2009-07-15 Thread Simon Laroche
it further, and maybe provide a patch and test? I am very short on time. On Fri, Jul 10, 2009 at 10:41 PM, Simon Laroche laroche.si...@gmail.comwrote: The resources are still not localized. Could it be because the satellite assemblies are not signed? //Simon On Fri, Jul 10, 2009 at 3:44

Re: Validation message not localized

2009-07-11 Thread Simon Laroche
Sure, I'll have a look at it //Simon On 2009-07-11, at 5:19, Roelof Blom roelof.b...@gmail.com wrote: Can you investigate it further, and maybe provide a patch and test? I am very short on time. On Fri, Jul 10, 2009 at 10:41 PM, Simon Laroche laroche.si...@gmail.com wrote

Re: Validation message not localized

2009-07-10 Thread Simon Laroche
The resources are still not localized. Could it be because the satellite assemblies are not signed? //Simon On Fri, Jul 10, 2009 at 3:44 PM, Roelof Blom roelof.b...@gmail.com wrote: Good catch! It's fixed in r5854. -- Roelof On Fri, Jul 10, 2009 at 7:14 PM, Simon Laroche laroche.si

Re: ARDataBinder and Version fields

2009-02-11 Thread Simon Laroche
the evict methods be implemented within ActiveRecordBase in the same way as Save, Update and Delete? Thanks, Simon On Tue, Feb 10, 2009 at 10:58 AM, Simon Laroche laroche.si...@gmail.com wrote: This is my scenario: 1. Version field is a hidden field in the form. 2. When I bind using

Re: ARDataBinder and Version fields

2009-02-10 Thread Simon Laroche
This is my scenario: 1. Version field is a hidden field in the form. 2. When I bind using ARDataBinder, the binder correctly sets the version field to whatever is in the form. 3. I would like to get an StaleObjectStateException when I flush the session if the version has changed. If I use the

Re: Collections of dependent objects (aka composite-element/) in ActiveRecord

2009-01-23 Thread Simon Laroche
wrote: Thanks. I thought I tried that and it still didn't work. I'll take another look at that tomorrow. On Thu, Jan 22, 2009 at 9:57 PM, Simon Laroche laroche.si...@gmail.com wrote: I think you have to specify a relation type, a table and a key column attribute int the HasMany attribute