John
1. I usually get references to Helpers using this:
EngineContext.CurrentControllerContext.Helpers["Form"] (or something
like that)...this is getting the same instance as found in your
controller and you won't need to contextualize your helper.
2. I don't use the BaseViewComponentTest for tes
Hi People,
I'm trying to create a tcp mex end point, but just cant quite figure
it out:
I have looked at the unit tests to figure out how to create the
service which works but I can't create a client due to complaints of
there bing no meta data end point:
What I have so far:
using
I'm designing an application that will manage document approval
lifecycle, it's very likely that MonoRail would be choosen as the web
stack.
I need to plan about versionning issues of document input and approval
forms, theses forms will be available as read only for completed
documents and the ap
Hi Rusty
have you followed this example ?
http://www.castleproject.org/activerecord/documentation/trunk/usersguide/typehierarchy.html
/Mark
On Apr 8, 3:58 pm, rusty wrote:
> Hi all,
>
> I posted this in the forum before I saw that the forum was replaced by
> the list. Sorry for the repost, bu
Ok, I've made a little progress. The problem is that the
ControllerContext is null in the AbstractFormRelatedHelper.
What I've done is stub the Context.CurrentControllerContext and create
an empty propertybag within that. The formhelper is now a happy
bunny.
On Apr 8, 11:07 am, "johnpoll...@goo
Hi all,
I posted this in the forum before I saw that the forum was replaced by
the list. Sorry for the repost, but anyway...
I'm running into a bit of trouble making an association within single
table inheritance work for me. The problem I'm running into is that
when one class's HasMany relation
SSRS?!?! - HAHAHAHHA
jokes yeah?
No, seriously, hahhahahha
oh man you're killing me...
On Wed, Apr 8, 2009 at 2:34 PM, Colin Ramsay wrote:
>
> I think NHibernate projections and Transformers.AliasToBean would let
> you pick out the columns you want and bring them back into an
> arbitrary C# o
I think NHibernate projections and Transformers.AliasToBean would let
you pick out the columns you want and bring them back into an
arbitrary C# object. That's not to say this would be the best
approach. I've even seen a method for using NHibernate to power SSRS,
though why you'd want to inflict S
>When describing llblgen -> nh/arAR - it's fair to assume we mean db first
>design when saying that llblgen is database centric and ar is not..
>I think
Yes, thank you for clarifying my statement.
>I find the whole ORM thing comes crumbling a bit in this scenario - how does
>everyone else deal
Stored procedures allow you to easilly shape data the way you need - very
handy for reporting apps - I find the whole ORM thing comes crumbling a bit
in this scenario - how does everyone else deal with reporting?
w://
On Wed, Apr 8, 2009 at 2:05 PM, Mauricio Scheffer <
mauricioschef...@gmail.com>
One of the main features of NHibernate and other ORMs is that they let
you work against any RDBMS transparently. If you change the database
engine, all you have to do is change a single line of configuration.
This feature is also very convenient for testing (see
http://ayende.com/Blog/archive/2006
Thanks for that - I think I'm about 80% of the way there now...
One issue remaining is that the values passed into resolve via the
dictionary are picked out according to name - is there anyway of
having them picked out according to type instead by registering a
custom resolver?
Rationale is that
Hi Ken,
In answer to your questions.
a. I'm new-ing the helper as I need an instance of it within the
ViewComponent. I see that the CaptchaComponent from the Castle Contrib
project does the same thing.
http://svn.castleproject.org:8080/svn/castlecontrib/viewcomponents/trunk/Castle.MonoRail.View
a. why are you new-ing the helper? they are all being created anyway by the
framework.
b. it appear that the failing call is ObtainRootInstance, with the target Id
you supply to the TextField method.
is there something in the PropertyBag that corresponds to fieldId in the
test environment?
On Wed
I'm currently working on a ViewComponent however I'm struggling the
testing side of things.
The ViewComponent uses the FormHelper within it.
formHelper = new FormHelper(EngineContext);
and is creating a series of TextFields dynamically
formHelper.TextField(fieldId)
This works fine when runnin
When describing llblgen -> nh/arAR - it's fair to assume we mean db first
design when saying that llblgen is database centric and ar is not..
I think
:)
w://
On Wed, Apr 8, 2009 at 9:12 AM, Tim TSH wrote:
> AR is very database centric and totally not domain centric
>
> 2009/4/8 Jason Meckley
AR is very database centric and totally not domain centric
2009/4/8 Jason Meckley
>
> I have used LLBL in the past before discovering NH. LLBL is a great
> tool for RAD development. The support is excellent, and the tools that
> come with the framework itself are great.
>
> So why would I move a
17 matches
Mail list logo