Yes the scaffolding element is optional. 

Yes, routing is now configured in code and any doco saying otherwise should be 
removed/cleaned up. 

Any other questions let us know. 

Cheers, John

On 03/08/2010, at 18:33, Symon Rottem <[email protected]> wrote:

> Thanks Guys,
> 
> I'll exclude the <defaultUrls> node from the documentation and will include 
> the <url> node.  
> 
> To clarify; is the <scaffolding> element optional and used for overriding the 
> default (ActiveRecord?) IScaffoldingSupport implementation or does the node 
> have to be provided to enable scaffolding? 
> 
> Also, when referring to the "old routing module" does that imply that routing 
> configuration from the web.config is no longer considered current?  I see 
> that the trunk docs for routing no longer refer to it - should the 
> configuration info be removed from the docs?
> 
> Cheers,
> 
> Symon.
> 
> I'll include
> Symon Rottem
> http://blog.symbiotic-development.com
> 
> 
> 2010/8/3 Henry Conceição <[email protected]>
> The defaulUrl is definitely part of the old routing module legacy, and
> doesn't make sense anymore.
> 
> Cheers,
> Henry Conceição
> 
> 
> 
> 2010/8/2 John Simons <[email protected]>:
> > Have just had a quick look at the code.
> >
> > Definitely url needs to be documented.
> > The url element allows you to specify in xml whether the DefaultUrlBuilder
> > outputs extensions or not, eg ".castle"
> > Usage:
> > <monorail smtpHost="smtpserver" smtpPort="25">
> >     <url useExtensions="false" />
> > </monorail>
> > This allows your webapp to produce more user and SEO friendly urls.
> >
> >
> > The scaffold element, allows the user to specify its default implementation
> > of IScaffoldingSupport
> > Usage:
> > <monorail smtpHost="smtpserver" smtpPort="25">
> >     <scaffold type="MyWebApp.Scaffold.MyCustomScaffoldingSupport,
> > MyWebApp" />
> > </monorail>
> >
> > Finally, the defaultUrls element, from what I gather from the code it allows
> > the user to specify custom routes for a url, eg usage:
> > <monorail smtpHost="smtpserver" smtpPort="25">
> >     <defaultUrls>
> >       <add url="/Test/Find" controller="Custom" action="Action1" />
> >       <add url="/Custom/Get" area="Custom" controller="Custom"
> > action="Action2" />
> >     </defaultUrls>
> > </monorail>
> > Not sure if this is of any use now that we use routing, thoughts?
> >
> > Cheers
> > John
> >
> >
> >
> > ________________________________
> > From: Krzysztof Koźmic <[email protected]>
> > To: [email protected]; John Simons
> > <[email protected]>
> > Sent: Tue, 3 August, 2010 11:22:26 AM
> > Subject: Re: More configuration questions
> >
> > John?
> >
> > On 3/08/2010 11:12 AM, Gauthier Segay wrote:
> >> Hi Symon,
> >>
> >> Just for the case, I've never use these, I can't answer the question
> >> about their deprecation status, I guess it requires additional
> >> investigation to ensure cleaning the config class wouldn't hurt
> >> anybody.
> >>
> >> On Jul 31, 3:11 pm, Symon Rottem<[email protected]>  wrote:
> >>
> >>> Hi All,
> >>>
> >>> I have a couple of additional configuration questions; looking through
> >>> the
> >>> code I can see that there's support for a couple of other nodes in the
> >>> XML
> >>> that don't appear in the XML sample in the current docs.  These include
> >>> the
> >>> nodes:
> >>>
> >>>    - defaultUrls
> >>>    - scaffold
> >>>    - url
> >>>
> >>> Are these simply services that have been deprecated but are still in the
> >>> configuration code?  If they're deprecated I won't bother documenting
> >>> them,
> >>> however if they're considered current then can anyone explain what each
> >>> of
> >>> these are for?
> >>>
> >>> Cheers,
> >>>
> >>> Symon.
> >>>
> >>> Symon Rottemhttp://blog.symbiotic-development.com
> >>>
> >>
> >
> >
> >
> >
> > --
> > 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.
> >
> 
> --
> 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.
> 
> 
> -- 
> 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.

-- 
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