Re: How to inject a SearchInterceptor in ActiveRecord-Session?

2008-09-26 Thread Jimmy Shimizu
I'm not really sure where you read the part about the SearchInterceptor on that URL, but that has been changes since a few months back... It is suggested that you use NHibernate listeners, but that needs NHibernate/NHibernate.Search 2.0 afaik. ISessionFactoryHolder holder =

got a JQueryGenerator ?

2008-09-26 Thread Ernst Naezer
Hi guys, did anybody ever get to writing this and some test cases under the same license as the rest of the code so we can add it to the Monorail base and fill that empty directory :) cheers, Ernst --~--~-~--~~~---~--~~ You received this message because you are

Re: got a JQueryGenerator ?

2008-09-26 Thread Ayende Rahien
This is something that I did for my private use. It works on my machine, etc... On Fri, Sep 26, 2008 at 12:16 PM, Ernst Naezer [EMAIL PROTECTED]wrote: Hi guys, did anybody ever get to writing this and some test cases under the same license as the rest of the code so we can add it to the

Re: got a JQueryGenerator ?

2008-09-26 Thread Mike Nichols
Mine is similar but is more relaxed, letting me define any kind of selector not just ids. So I write this in my .brailjs: page.ReplaceHtml(#myTarget,[EMAIL PROTECTED]:mypartial}) or page.ReplaceHtml(.myTarget,[EMAIL PROTECTED]:mypartial}) On Sep 26, 2:21 am, Ayende Rahien [EMAIL PROTECTED]

Re: got a JQueryGenerator ?

2008-09-26 Thread Ernst Naezer
Yeah that sounds very good, lets apply that. Can you make a patch ? cheers, Ernst On Fri, Sep 26, 2008 at 5:11 PM, Mike Nichols [EMAIL PROTECTED]wrote: Mine is similar but is more relaxed, letting me define any kind of selector not just ids. So I write this in my .brailjs:

DataBind'ing nested object from a Select list

2008-09-26 Thread jsmorris
I have two AR domain objects Project and Status. [ActiveRecord] public class Project ... { [BelongsTo(StatusId, Access = PropertyAccess.FieldCamelcaseUnderscore)] [ValidateNonEmpty(Status required.)] public Status Status { get { return _status; }

Re: got a JQueryGenerator ?

2008-09-26 Thread Mike Nichols
Sure...let me clean it up and make sure it is castle code compliant. Can I post it on donjon this weekend or do you need it sooner? On Sep 26, 8:28 am, Ernst Naezer [EMAIL PROTECTED] wrote: Yeah that sounds very good, lets apply that. Can you make a patch ? cheers, Ernst On Fri, Sep 26,

Re: render to a string

2008-09-26 Thread Mike Nichols
Hm...well, you maybe you could implement an after action filter and within the filter have an implementation of TransformFilter (just an HttpFilter) grab the string from the and clear the buffer. Here's an filter (not an monorail filter, an HttpFilter) that I use to modify the response in another