Re: Fill PropertyBag from BaseController

2009-02-16 Thread Flominator
That's exactly what I was looking for. Thank you Jorge. On 10 Feb., 22:28, Jorge Barnaby Rubio jorge.barn...@gmail.com wrote: I do it this way: public class BaseSiteController : ARSmartDispatcherController {     public override void Initialize()     {         base.Initialize();        

Re: activerecord writeonly properties

2009-02-16 Thread Ben Lovell
:-) On Mon, Feb 16, 2009 at 9:22 AM, Mark Jensen don...@gmail.com wrote: haha, thanks :P On Feb 14, 3:53 pm, Ben Lovell benjamin.lov...@gmail.com wrote: http://lmgtfy.com/?q=nhibernate+projections On Fri, Feb 13, 2009 at 1:20 PM, Mark Jensen don...@gmail.com wrote: What is

Re: Lost images after Routing

2009-02-16 Thread eyal
You are right it does work. I also tried it with $siteRoot which works too. Thank you eyal On Feb 15, 9:17 pm, jsimons johnsimons...@yahoo.com.au wrote: This should also work: src=/container/images/product_images/thumb $image.FileId On Feb 15, 11:20 am, eyal ebarda...@gmail.com wrote:

Re: Rewrite url with Paginated pages

2009-02-16 Thread eyal
Found a solution #set($pagedUrl = $Url.For(%{controller='products', action='searchresult', params={categoryName=$CategoryName})) #component(DiggStylePagination with page=$products useinlinestyle=false renderifonlyonepage=false url=$pagedUrl) I had to remove the parameter

Re: Handle Errors with Url Routing

2009-02-16 Thread eyal
Also forgot to mention that I have a 404.vm file in the rescues folder. If the url is tempered I understand that the message in the 404 file should be displayed. But instead I get an error: The resource cannot be found. Description: HTTP 404. The resource you are looking for Any suggestions?

Re: Handle Errors with Url Routing

2009-02-16 Thread Ricardo Lopes
The default web.config customerrors should apply even if you use routing. http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx 2009/2/16 eyal ebarda...@gmail.com Also forgot to mention that I have a 404.vm file in the rescues folder. If the url is tempered I understand that the message in

Running castle-2.0

2009-02-16 Thread Allan
Hi all, I am trying to run the 2.0 branch. I removed the following line because EngineContextModule has disappeared from Monorail.Framework add name=monorail type=Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework/ But, when running the web app, I get: Looks like you

Re: Component Registration problem

2009-02-16 Thread Ayende Rahien
Write some reflection code? On Fri, Feb 13, 2009 at 7:29 PM, gcores cores.gust...@gmail.com wrote: Hi, I have a set of repository interfaces like this: IRepository = ARRepository IProductRepository = ARProductRepository where IProductRepository :

Re: Running castle-2.0

2009-02-16 Thread Jonathon Rossi
Anything in the GAC? On Tue, Feb 17, 2009 at 4:55 AM, Allan cmar...@googlemail.com wrote: Hi all, I am trying to run the 2.0 branch. I removed the following line because EngineContextModule has disappeared from Monorail.Framework add name=monorail

Re: How to parse an Xml file for IRegistration components?

2009-02-16 Thread mausch
You can mix xml config and fluent config... See http://codegoeshere.blogspot.com/2008/11/using-windsor-fluent-interface-and-xml.html You could have, for example, a main xml config which includes other modules configurations. If this is not enough, you can manipulate XmlInterpreter to do whatever