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.

Reply via email to