Could you please send your question to "castle-project-users" <
[email protected]>,
Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Thu, May 13, 2010 at 3:47 PM, <[email protected]> wrote:

> In the Create method of controllers I do this all the time:
>
> stratum.Create();
>
> if (IsXHR) {
>
> stratum.Study.Strata.Add(stratum);
>
> PropertyBag["study"] = stratum.Study;
> RenderView("_listed", true);
>
> }
>
> On returning an unordered list is rendered with the newly added item.
>
> While all of this is well and good and does not seem correct to have to
> call
>
> stratum.Study.Strata.Add(stratum);
>
> Is there a more appropriate way to create the stratum object so that I do
> not have to make that awkward looking call?
>
> Thanks in advance,
>
> Marc
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Development List" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to
> [email protected]<castle-project-devel%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-devel?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en.

Reply via email to