4 - Implemented support for view component caching. Just use the attribute
\r
5 ViewComponentDetails and its properties (cache, cachekeygenerator)
\r
7 - Applied Michael Sanford's patch which adds image button support to FormHelper.
\r
9 - Applied Rafael Teixeira's patch fixing MR-357
\r
10 "ViewEngineBase.IsTemplateForJSGeneration(String templateName) returns
\r
11 true for a templateName with an incorrect extension"
\r
13 - Added support for Composite Key in Formhelper select
\r
15 - Applied Chris Ortman's patch with changes for the REST support (MR-333)
\r
17 - Applied Nick Hemsley's patch adding support for rescue controllers (MR-332)
\r
18 "add RescueController to RescueAttribute"
\r
20 - Applied suggestion by Daniel D to fix MR-329
\r
21 "Impossible to Context.Response.Redirect to any controller in empty Area from controller placed in some Area."
\r
23 - Applied minor patch by Ken Egozi fixing MR-328
\r
24 "In PrototypeWebValidation, SameAsValidator and NotSameAsValidator
\r
25 are forcing a locase id for text fields"
\r
27 - Applied minor patch by Nick Hemsley fixing MR-325
\r
28 "DictHelper.FromNameValueCollection: persist arrays correctly"
\r
30 - Added LocalExceptionFilterHandler
\r
32 - Applied Robert Ream's patch which allows [DefaultAction] to be applied to Actions. This means that no strings are required.
\r
34 - BaseControllerTest supports the ContextInitializer delegate, which makes it easier to modify the MockRailsEngineContext
\r
39 - Added IDisposable/Dispose back to the controller
\r
41 - Applied Lee Henson's patch adding generic overloads to ReflectionHelper
\r
43 - Added a few more RenderView overloads that take a mimeType to configure the Response.ContentType
\r
45 - If the controller cannot be found, MR searches for a special rescue "rescues/404" before throwing throwing an exception.
\r
47 - If an action could not be found, we go through normal path an use a general rescue if it can be found for the controller.
\r
49 - UrlHelper change: Now if the param encode wasn't set, UrlHelper assumes it's true.
\r
51 - Applied patch by Oleg Snurnikov fixing MR-319
\r
52 "MockResponse - basic implementation of Redirect, Write, BinaryWrite and Clear overloads"
\r
54 - Applied patch by Chirs Ortman fixing MR-296
\r
55 "Dont get validation summary when binding with AR attribute but controller inherits smart dispatcher controller"
\r
57 - Applied patch by Rafael Teixeira fixing MR-298
\r
58 "ColumnRenderer with an empty enumeration still renders table start and end sections"
\r
61 "DataBindAttribute in a ARSmartDispatcherController inherit the behavior from ARDataBinder"
\r
63 - Applied minor patch by James Su fixing MR-303
\r
64 "Behavior is not consistent between FormToAttributed and LinkToAttributed in HtmlHelper"
\r
66 - Applied goodwill's patch adding cookie support to BaseControllerTest MR-304
\r
68 - Applied goodwill's patch fixing MR-305
\r
69 "fValidate fix a bug on unassociated label for element"
\r
71 - Applied Oleg Snurnikov's patch fixing MR-306
\r
72 "PrototypeWebValidator - regular expression validation"
\r
75 "The '\' character in templates goes unescaped when processed via NJS"
\r
77 - The DefaultUrlBuilder now accepts a basePath parameter, which basically overrides the path information.
\r
80 "ARDataBind handles BelongsTo attribute in Nested component incorrectly."
\r
82 - FlashBinderAttribute was removed as I doesnt work with the new
\r
83 MonoRail design (changed to make the cache support work)
\r
85 - Applied Tim Haines' patch adding TextAreaValue to FormHelper
\r
88 "View components params problem"
\r
90 - Applied Markus Zywitza's patch adding a Fold method to TextHelper.
\r
91 His description "Shortens a text to the specified length (using full words only and
\r
92 adding an ellipsis at the end) and wraps it into a span-element that
\r
93 has the title-property with the full text associated. This is
\r
94 convenient for displaying properties in tables that might have very
\r
95 much content (desription fields etc.) without destroying the table's
\r
96 layout. Due to the title-property of the surrounding span-element, the
\r
97 full text is displayed in the browser while hovering over the
\r
100 - Applied Aaron Jensen's patch fixing MR-288
\r
101 "ApplicationPhysicalPath returns request path instead of / path"
\r
104 "MockServerUtility.MapPath throws NotImplementedException"
\r
106 - Applied Bill Pierce's patch fixing MR-278
\r
107 "Add UrlDecode to IServerUtility"
\r
109 - Applied Bryan Brown's patch fixing MR-273. This one adds a new attribute to
\r
110 the routing configuration node: 'excludeAppPath'
\r
111 "Automatically handle ApplicationPath in the routing module"
\r
113 - Applied goodwill's patch fixing MR-275
\r
114 "DefaultRailsEngineContext triggers RTE on ApplicationPhysicalPath
\r
115 when running under ASPX Dev Server with virtual directory"
\r
117 - Changed the BaseControllerTest vdir to "" instead "/"
\r
119 - Added the Declare(String variable) to IJSGenerator inteface
\r
121 - Applied Tim Haines' patch changing FormHelper to make calls to FormatIfNecessary
\r
123 - Applied chris ortman's patch fixing MR-271
\r
124 "AdditionalSources not loaded when using the viewEngines element"
\r
126 - Applied Ricardo Stuven's patch fixing MR-258
\r
127 "JSON serialization in Ajax calls"
\r
129 - Applied goodwill's patch fixing MR-212
\r
130 "Script Helpers (e.g. $Scriptaculous) installscript function clear flash unexpected"
\r
132 - Applied Georges Benatti's patch
\r
133 adding the attribute matchHostNameAndPath to the routing node on the configuration.
\r
135 If set to 'true', the regular expression is matched against the whole url. Defaults to 'false'
\r
137 - Added ability to customise Next/Prev links in DiggStylePagination.
\r
138 Patch from Markus Zywitza.
\r
140 - Applied Mathias Doenitz's patch fixing MR-265
\r
141 "(Re)enable initialization of Controller.AreaName, Controller.Name and Controller.Action before invoking Controller.Initialize()."
\r
143 - Applied Adam Tybor's patch fixing MR-266
\r
144 "Fix for GetErrorSummary() throwing an KeyNotFoundException for SmartDispatch Controller and Binder"
\r
147 "PropertyBag in WizardStep is null when access via key"
\r
149 - Applied Kyle Marshall's patch fixing MR-261
\r
150 "The default ValidatorRegistry is not overriddable in the monorail configuration"
\r
152 - Add support to BaseControllerTest (well MockRequest actually) for Mocking Url Referer. Patch from Colin Ramsay.
\r
154 - Fix SupportsSection implementation in ViewComponent (was comparing section name equality against StringComparer.InvariantCultureIgnoreCase).
\r
155 Also add a SupportsSection implementation to DiggStylePagination. Patches from Tim Haines.
\r
157 - Small change to DiggStylePagination to allow supplying querystring parameters in the url. Suggested by kalle.stenflo@gmail.com.
\r
159 - Applied Tim Haines' patch adding BindObject overloads that accept the AutoLoadBehavior enum,
\r
160 to the ARSmartDispatcherController
\r
162 - Changes from Lee Henson to add WizardStep support to TestSupport and provide a Generic BaseControllerTest.
\r
164 - Patch from Maruis Marais allowing BuildFormRemoteTag to gracefully degrade when JavaScript is disabled.
\r
166 - Patch from Lee Henson fixing regression introduced in 3783 in Prototype Validator. (Could not use hyphens in element id's).
\r
169 "When Windsor integration is enabled, the ControllerTree is empty"
\r
171 - Apply patches from Tim Haynes.
\r
172 "add a renderIfOnlyOnePage property to the DiggStylePagination View Component"
\r
173 "Add NewRootInstanceIfInvalidKey AutoloadBehaviour to Castle.MonoRail.ActiveRecordSupport"
\r
175 - Applied Goodwill's patch adding PersisteFlashFilter and the fValidate's localization support. Fixed MR-246.
\r
177 - Fixed the use of Scaffolding without Layouts (MR-251).
\r
179 - Added support for eager fetching of lazy collections, in [ARFetch] attribute.
\r
181 - Added support for auto load bevahior configuration when invokling the BindObject in the ARSmartDispatcherController
\r
183 - Added support for different access and naming strategies in the ARDatabind attribute.
\r
185 - Applied Matt Berther's patch adding LoggingExceptionHandler and FilteredExceptionHandler.
\r
187 - Applied chris ortman's patch fixing MR-242
\r
188 "FormHelper.LabelFor does not generate valid HTML when attributes are supplied"
\r
190 - Applied bonskijr's patch fixing MR-234
\r
191 "Under some circunstances ColumnRenderer generates invalid html"
\r
193 - Applied Marc-André's patch fixing MR-238
\r
194 "HtmlHelper.LinkTo: bugs- don't function when existing a area"
\r
196 - Applied Aaron Jensen's patch fixing the Resource Manager usage
\r
197 Changed from ResourceSet to ResourceManager
\r
199 - Applied Lee Henson's patch adding the 'onCreateAdvice'
\r
200 to PrototypeWebValidator
\r
202 - Applied Chris Ortman's patch fixing MR-235
\r
203 "Allow overriding of select generation in FormHelper"
\r
205 - Added Item(string id) overload to Checkboxlist
\r
206 Used to generate a checkbox with the specified id. Useful to label for='id' constructions
\r
208 - Added the Expect property to the ARDataBindAttr. Now it will clear the collections
\r
209 that are declared as expected, if not can be found on the resquest params. (MR-163)
\r
211 - Applied Colin Ramsay's patch fixing MR-232
\r
212 "HtmlHelper.InputButton should create <button> not <input type="button">"
\r
215 "incorrect component configuration results in an 'The container seems to be unavailable
\r
216 in your HttpApplication subclass' exception"
\r
218 - Applied Bart Reyserhove's patch fixing MR-226
\r
219 "ARDataBinder has problems when using generic collections"
\r
221 - Applied Jacob Lewallen's patch adding a new attribute (ViewComponentAttribute) used
\r
222 to name view components. The behavior is changed to strip the 'Component' suffix from the class name as well.
\r
224 - Applied Ernst Naezer's patch fixing MR-191
\r
225 "Add TransformFilter support to MR"
\r
227 - Applied Lee Henson's patch fixing MR-222
\r
228 "Use of IRailsEngineContext.Items"
\r
231 "ARDataBindAttribute does not set the Controllers validator on it's DataBinder"
\r
234 "FormHelper.Select with an interface datasource throws an Object mismatch exception."
\r
236 - Applied chris ortman's patch fixing MR-188
\r
237 "Allow the #component directive to support variables for the component name"
\r
240 "Using a lazy loaded nested object, "Ambiguous match found" exception occures when
\r
241 trying to use FormHelper to render control for the nested objects property."
\r
243 - Applied goodwill's patch fixing MR-213
\r
244 "DiggStylePagination has a typo which prevents the code from build"
\r
246 - Applied Edward Kreis' patch fixing MR-214
\r
247 "ARDataBinding and joined subclasses with derived BelongsTo, HasMany, HasAndBelongsToMany proeprties"
\r
250 "fValidate box message contains <BR/> if being triggered twice"
\r
253 "HtmlHelper.LinkToAttributed bug"
\r
255 - Applied Jacob Lewallen's patch adding an optional attribute to define a view component's name
\r
256 The patch also introduces a IViewComponentTree.
\r
258 - Added 'noaction' parameter to FormHelper.FormTag to prevent action attribute generation
\r
260 - Added Select list from Enum.
\r
263 PropertyBag.Add("colors",Enum.GetValues(typeof(ColorEnum)));
\r
266 $Form.Select("Color", $colors)
\r
268 - Applied Chris Ortman's patch adding MooHelper/JS generation based on it.
\r
270 - Applied Jacob Lewallen's patch adding virtuals to some FormHelper methods
\r
272 - Applied Patrick McEvoy's patch with a new approach to delete cookies
\r
276 SmartDispatcherController.ValidationSummaryPerInstance : IDictionary
\r
277 SmartDispatcherController.GetErrorSummary(object instance) : ErrorSummary
\r
278 SmartDispatcherController.HasValidationError(object instance) : bool
\r
280 Those can be used if DataBinder is configured to validate
\r
282 - Added Controller.RedirectToReferer
\r
284 - Configuration changed, added defaultUrls section (see monorail_configuration_ref.txt)
\r
286 - Added Controller.RenderMailMessage(string templateName, bool doNotApplyLayout) overload
\r
288 - Added static accessor support to NVelocity view engine. Default helpers are
\r
289 the Common System Types in dotnet (i.e. Double, String, Decimal, etc.)
\r
291 In your template: $String.Concat("foo","bar","me","please:",$Double.Epsilon)
\r
294 - Added better ControllerBinder support for indexed property expressions.
\r
295 This allows you to pass DataKeys as your action arguments
\r
297 - Applied Freyr Magnússon's patch fixing MR-206
\r
298 "ARBadaBinder does not resolve primary key for discriminator subclass from parent"
\r
300 - Retrieve target properties on demand for ControllerBinders ActionArgument editor
\r
302 - Added ControllerBinder Extender Control for WebForm views to eliminate the
\r
303 need to add event handlers in the codebehind that call Controller.Send
\r
305 - Brail now has Ruby's like symbols, using @symbol.
\r
306 For instance, component DiggStylePagination, ${ @useInlineStyle : true }
\r
308 - Brail can now accept " inside a ${ }, which used to break the parser previously.
\r
310 - Added IViewComponentContext.RenderView(name, textwriter)
\r
313 "DiggStylePagination.Initialize() doesn't check useInlineStyle parameter"
\r
315 - Added FormHelper.HiddenField("key", value) overload
\r
317 - Added 'valueformat' to SetOperations (affects FormHelper.Select, Checkboxlist)
\r
320 "Exception thrown by AccessibleThrough are not caught by rescues"
\r
322 - Added 'textformat' support to the all FormHelper operations (that create input elements).
\r
324 - Added BrailJS Support, allowing to generate javascript via brail scripts.
\r
325 Note; BrailJS scripts do not need <?brail ?> and any output statements there will be ignored.
\r
326 They are used strictly to create the generator.
\r
328 - Changed Brail extention from Boo to Brail / BrailJS
\r
330 - Added mask support to FormHelper field elements
\r
332 - Added FormHelper.PasswordNumberField
\r
334 - Refactored FormHelper to support other approaches to extract values from instance.
\r
335 Now it supports DataRows, DataRowViews and reflection
\r
337 - Added ColumnRenderer view component
\r
339 - Added DiggStylePagination ViewComponent, based on Alex Henderson work.
\r
340 See http://blog.bittercoder.com/PermaLink,guid,579711a8-0b16-481b-b52b-ebdfa1a7e225.aspx
\r
342 - Added PaginationHelper.CreateCustomPage
\r
344 This is only useful if the application code takes care of slicing (select top and etc)
\r
346 - Added formatting support to SetOperations (affects FormHelper.Select, Checkboxlist)
\r
350 $Form.Select("price", [1..100], "%{textformat='C'}")
\r
352 This will render a select with options like
\r
354 <option value="1">$1.00</option>
\r
355 <option value="2">$2.00</option>
\r
356 <option value="3">$3.00</option>
\r
359 - Added ScriptaculousHelper, deprecated Effects2Helper
\r
361 - Extract Behaviour related operations from AjaxHelper into BehaviourHelper
\r
363 - Added BehaviourHelper
\r
365 - Added UpdatePage and UpdatePageTag ViewComponents. Both allow you to have a "page"
\r
366 which is a JS generator. It evaluates the view component body to generate the JS.
\r
370 #blockcomponent(UpdatePageTag)
\r
371 $page.el('products').style.bgcolor.set('"white"')
\r
375 #blockcomponent(UpdatePage)
\r
376 $page.el('products').style.bgcolor.set('"white"')
\r
379 - Added FormHelper.NumberField() which renders a 'input text' with a javascript that
\r
380 prevents chars other than numbers (and period) from being entered.
\r
382 You can optionally pass an <c>exceptions</c> value through the dictionary.
\r
383 It must be a comma separated list of chars that can be accepted on the field.
\r
385 - Added FormHelper scripts:
\r
387 View must use FormHelper.InstallScripts()
\r
389 - Refactored generation of script blocks
\r
391 - Created stub for UrlForHelper
\r
393 - Helpers are added with a less verbose name
\r
394 FormHelper and Form, AjaxHelper and Ajax are made available to the view
\r
396 - Added AuthenticatedContent ViewComponent that allows context to be
\r
397 render based on the user state (authenticated or anonymous)
\r
399 - Removed CompositeViewEngine as it's useless now that we support multiple view engines
\r
401 - Multiple view engine support:
\r
402 Configuration schema changed, see monorail_configuration_ref.txt for more information
\r
404 - Introduced IViewEngineManager that sits between the controller and the view engines
\r
405 deciding which view engine will be used output the contents
\r
407 - Applied patch by Luke Melia for MR-192:
\r
410 - Introduced IPaginatedPage.HasPage(), useful for Google-like pagination.
\r
412 - PaginationHelper.CreatePagination<T>() now accepts ICollection<T> as a parameter.
\r
414 - New method PaginationHelper.CreatePageLinkWithCurrentQueryString().
\r
415 Creates a page link, copying the current QueryString parameters as well.
\r
417 - Enhanced AbstractHelper.BuildQueryString to support multi-value query strings:
\r
418 IDictionary dict = new Hashtable();
\r
420 dict.Add("selectedItem", new int[] { 2, 4, 99 });
\r
421 string queryString = BuildQueryString(dict);
\r
422 // should result in: "id=5&selectedItem=2&selectedItem=4&selectedItem=99&"
\r
424 - FormHelper.Select() - applied patch from James Sapara allowing firstoptionvalue to be set to
\r
425 something other than null.
\r
427 - Restored property IsPostback checking (For use with WebFormViewEngine).
\r
429 - Restored support for passing additional arguments to a controller
\r
430 via Send and use a dictionary to supply that information.
\r
432 - Applied patch by Andrew Peters fixing MR-182
\r
433 "Adds FormTo and LinkToWithPost methods to HtmlHelper"
\r
436 "Url Tokenizer Bug at Turkish Culture Info"
\r
438 - Properly quote file/directory arguments in Pre/Post Build Events to accomodate
\r
440 Also added some missing files to TestSiteWindsor-vs2005 Project
\r
442 - Removed DetermineIfPostBack due to side effects when using a custom upload approach
\r
443 Also removed PreRequestHandler setting the session as it wasn't really necessary using
\r
444 this event for that. Moved to the handler.
\r
446 - Included abstract Filter class, just as a helper to implement filters
\r
447 with a better interface (instead of IFilter.Process)
\r
449 - Fixed MR-165 "DataBind doesn't bind NullableDateTime"
\r
452 "Scarfold record modification results exception Can't edit without
\r
453 the proper id when validation is failed in the defined validation rule"
\r
456 "ValidateEmail attribute does not work properly in Monorail Scarfold"
\r
458 - Introduced CacheAttribute which can be used on actions to configure
\r
459 the underlying HttpCachePolicy
\r
461 - Modified WizardActionProvider to use ControllerLifecycleExecutor
\r
463 - Modified EngineContextModule a MonoRailHttpHandler to use ControllerLifecycleExecutor
\r
465 - Refactored controller. Extracted process to ControllerLifecycleExecutor
\r
467 - Changed ExecuteEnum.Always to include 'StartRequest'
\r
469 - Added Filter step: StartRequest
\r
471 This step runs on the ResolveRequestCache, and is suitable
\r
472 for authentication. However, a session will not be available.
\r
475 "IRequest/Controller must expose the Http method"
\r
477 Added the following properties to the Controller class:
\r
478 IsPost/IsGet/IsPut/IsHead
\r
480 - Fixed problem with view components reported by Ernst Naezer. The problem
\r
481 is that the view component were cached, and instances shared during
\r
482 template executions.
\r
484 - Introduced smtpPort, smtpUsername, smtpPassword configuration to <monorail> node
\r
486 - Introduced a PageSize property on the IPaginatedPage.
\r
489 Release Candidate 2
\r
490 ===================
\r
492 - Applied patch by Ivan Porto Carrero fixing MR-158
\r
493 "Validation throws errors when using group box."
\r
495 Quoting description:
\r
497 "When validating with the option of using a group box then the valdation routine throws an error.
\r
498 The error is only thrown after the valdation failed for a couple of controls in the form. And when those errors are corrected and the form gets validated again that's when the error occurs
\r
500 "I also added functionality to have a header in the group error box. I also added the possibility to have a separate error label to append to.
\r
501 For this I added 2 properties to the config of the validation library.
\r
502 The first property is boxErrorHeadingClass and the second one is errorSelectorCssClass
\r
504 "In the core script I added 5 lines or so to add this functionality. "
\r
506 - Applied patch by Nick Hemsley fixing MR-157
\r
507 "add fromNameValueCollection method for creating IDictionary instances from (i.e.) Context.Params, or Request.QueryString"
\r
509 Method was renamed to FromNameValueCollection
\r
511 - Introduced ARPagination.CreatePagination<T>(SimpleQuery<T>). Looks like it can be
\r
512 extended later for the non-generic SimpleQuery.
\r
514 - Made all Helpers that install javascript code use the same signature Helper.InstallScripts(). Should we mandate an interface?
\r
516 - Fixed the GenerateJSProxy(string proxyName, string controller), which was passing a null areaName;
\r
518 - Fixed the conflict between the Array.reduce function of Prototype e fValidate scripts (MR-166).
\r
521 Release Candidate 1
\r
522 ===================
\r
524 - ARDataBinder was ovewriting ids on belongs to relations causing
\r
525 NHibernate to throw exception. Fixed and added test cases
\r
527 - Fixed binder problem (MR-161)
\r
529 - Fixed Perfomance issue with Brail and sub views due to cache key normalization issues.
\r
531 - Added logging to Brail, configured using the normal Castle's cofniguration mechansim
\r
533 - Added support to passing parameters from the view to the layout, enabling a captureFor component in the view to be used in the layout
\r
535 - Started refactoring ARScaffold to rely on FormHelper
\r
537 - Small refactor on ARScaffold support to make it work with
\r
539 . The new Binder implementation
\r
541 - Changed MonoRailContainer to save the configuration. On mono
\r
542 a copy is created everytime the config is requested, leading a big problems
\r
545 "Cast exception with configuration"
\r
547 - Added two more events to ExtensionManager: Authorize and Authenticate.
\r
548 That allows authentication/authorization extensions to MonoRail that won't
\r
551 - Applied Jochen Grefe's patch fixing NVelocity-3
\r
552 "#include not working for nvelocity"
\r
554 - Another attempt to MR-152 "Error while initializing MonoRail services"
\r
556 Separated container implementation from module. But it's important that
\r
557 the module subscribe the events, so the container can delegate event invocations
\r
558 to the extension manager
\r
560 - Fixed MR-152 "Error while initializing MonoRail services"
\r
562 - Applied midas's patch fixing MR-113
\r
563 "change collected view name in assembly to lower"
\r
565 - Applied Don Morrison's patch fixing MR-150
\r
566 "Patch to fix problem with ARDataBinder and ARFetcher when dealing with joined subclasses."
\r
568 - Added support for null property handling in Brail.
\r
569 ${objMayBeNull.Name} -- will throw if null
\r
570 ${ IgnoreNull(objMayBeNull).Name } -- will return empty string when null
\r
572 -- Breaking change in Brail. Removed <? ?> as markers for code blocks. This was done to allow handling of xml processing instructions (<?xml ?> for instnace).
\r
573 Use <?brail ?> markers instead.
\r
575 - Applied Marc-André's patch fixing MR-149
\r
576 "[TestSupport] Verb not specified for Get request"
\r
578 - Applied Ernst Naezer's patch that fixes MR-95
\r
579 "Update ProtoType/Scriptaculous js libraries to latest version"
\r
581 Prototype library updated to version 1.5.0_rc1
\r
582 script.aculo.us updated to 1.6.4
\r
584 - Added watir tests for JS proxies (fixes MR-142 "Write test cases for AjaxHelper.GenerateJSProxy()")
\r
586 - Added watir tests for Ajax support
\r
588 - Changed Ajax helper to default to parameters:'value=' + value instead of parameters:value.
\r
589 This old way was causing null keys on the form dictionary and thus being ignored by
\r
593 "Apply Sean's suggestions"
\r
595 Component 'ChildContentComponent' introduced, plus a few test cases for it.
\r
598 "Seems Wizard Controller can't define Area"
\r
601 "Introduce the notion of conditions to WizardStepPage"
\r
603 Introduced IsPreConditionSatisfied to WizardStepPage
\r
606 "Add log support as discussed on the mailing list"
\r
608 - Added Logger property to Controller
\r
610 - Added more logging information to the request lifecycle
\r
612 - Logging support: Important services are now logging what they are doing.
\r
613 Verbose logging happens at Debug Level. Error level is used for exceptions
\r
615 - Refactored: The EngineContextModule was simplified. Now its duty is to
\r
616 instantiate the services and invoke the lifecycle methods. Each service uses
\r
617 its lifecycle methods to reference other services and obtain its configuration
\r
619 - Refactored: replaceable services were moved to Services namespace
\r
621 - Refactored: interfaces meant to be public were moved from Internal
\r
622 namespace to the root
\r
625 "PaginationHelper must support IList<T>"
\r
628 "FormHelper must be able to handle IList<T>"
\r
631 "Change node/section name from monoRail to monorail on configuration file"
\r
633 Now on the configuration, use <monorail> instead of <monoRail>
\r
635 - Included Test site for ActiveRecord support project, watir tests included
\r
637 - Refactored ARDataBinder to support HasMany and HasAndBelongsToMany
\r
639 - Applied Ernst Naezer <enix@ch10.shuis.tudelft.nl>'s patch fixing build
\r
641 - Introduced [AjaxAction] attribute. Any action marked with this attribute
\r
642 can be accessed on client-side scripting using a JavaScript proxy, like
\r
645 $ajaxHelper.getJavascriptFunctions()
\r
646 ## MANDATORY, must come before any call to generateJSProxy
\r
648 $ajaxHelper.generateJSProxy('thisController')
\r
649 ## will declare an object named "thisController", allowing access
\r
650 ## to all [AjaxAction]s on the current controller
\r
652 $ajaxHelper.generateJSProxy('util', 'lists', 'myLists')
\r
653 ## will declare an object named "myLists", allowing access
\r
654 ## to all [AjaxAction]s on the controller named 'lists', in the 'util' area
\r
656 Note that proxies can perform synchronous (blocking) or asynchronous (non-blocking) calls.
\r
657 For asynchronous calls, you must always supply a JavaScript function as an additional
\r
658 last parameter. When that parameter is absent, the proxy will perform a synchronous call.
\r
660 [AjaxAction] public void Sum(int num1, int num2) { RenderText(Convert.ToString(num1 + num2)); }
\r
664 // synchronous call
\r
665 $('result').value = myLists.sum($('num1').value, $('num2').value);
\r
669 // asynchronous call
\r
670 myLists.sum($('num1').value, $('num2').value, function(t) { $('result').value = t.responseText; });
\r
674 $('num1').value = the value of an input with id=num1
\r
675 $('num2').value = the value of an input with id=num2
\r
676 function(t) { ... } = the callback
\r
677 t.responseText = any text that the action could have rendered
\r
679 - Applied Marc-André's patch fixing MR-140
\r
680 "ARDataBindAttribute doesn't use the controller's DataBinder"
\r
682 - Updated AbstractServiceContainer to support adding/removing services.
\r
684 - MonoRails services now accept and IServiceContainer instead of an
\r
685 IServiceProvider to be able to add services if desired.
\r
687 - Small refactor of Controller to to accomodate passing action arguments.
\r
689 - Updated SmartDispatchController to utilize HttpRequest parameters when
\r
690 additional arguments are supplied via a Send.
\r
692 - Applied patch by Freyr Magnússon <freyr.magnusson@gmail.com> fixing MR-139
\r
693 "ExceptionChainingExtension doesn´t handle unhandled exceptions"
\r
695 Which also introduces a new feature:
\r
697 Controllers can request IExceptionProcessor through IServiceProvider
\r
698 and invoke the handlers to process an exception. For example:
\r
700 public void BuyMercedes()
\r
706 catch(Exception ex)
\r
708 IExceptionProcessor exProcessor = (IExceptionProcessor) ServiceProvider.GetService(typeof(IExceptionProcessor));
\r
709 exProcessor.ProcessException(ex);
\r
711 RenderView("CouldNotBuyMercedes");
\r
715 - Changed DataBinder behavior to return empty arrays, instead of null arrays,
\r
716 when the IBindingDataSourceNode is null
\r
718 - Applied patch by Bryan Brown fixing MR-138
\r
719 "patch to fix formhelper.LabelFor to use IDictionary"
\r
721 - Applied Freyr Magnússon's patch fixing MR-137
\r
722 "Databinding through DataBindAttribute does not register errors with SmartDispatcherController"
\r
724 - Applied peter dol's patch fixing MR-136
\r
725 "An overload for ButtonToRemote that accepts htmloptions"
\r
727 - WizardStepPage: added more redirect overloads to allow parameters to be
\r
730 - AR Support: Added support to deal with ICollection<T> containers
\r
732 - Applied Marc-Andre's patch fixing MR-133
\r
733 "TestSupport not working under Mono"
\r
735 - Removed PropertyBag.Clear() in Controller.cs to restore the ability to
\r
736 update the PropertyBag in filters.
\r
738 - Applied Colin Ramsay <castleproject-devel@happyandlost.co.uk> patch making
\r
739 the _selectedViewName field accessible through a public property.
\r
741 - Checked in changes to better support ASP.NET Views
\r
743 - Refactor FormHelper to use a common code to CheckboxList and Select.
\r
744 Added support mentioned in MR-130
\r
746 - Introduced CreateCheckboxList. See preliminary documentation at
\r
747 http://www.castleproject.org/index.php/MonoRail:FormHelper#CheckboxList
\r
749 - Applied Colin Ramsay <castleproject-devel@happyandlost.co.uk> patch adding more
\r
750 asserts to TestSupport.AbstractMRTestCase and refactored some other things
\r
752 - MR-125 testsupport doesn't handle posting to smart dispatcher controller
\r
753 Fixed by Andrei Shires <andrei@internetware.co.uk>
\r
755 - FormHelper: Now it can fill parameters with the values from the Request.Params
\r
757 - FormHelper: fixed Checkbox behavior with databinder by adding a hidden
\r
758 field with the same name but carrying the 'false' value. The false value
\r
759 can be overriden with a key 'falseValue' if you're working with a non-boolean
\r
763 FormHelper.CheckboxField("some.property")
\r
767 <input type="checkbox" id="some_property" name="some.property" value="true" />
\r
768 <input type="hidden" id="some_propertyH" name="some.property" value="false" />
\r
771 FormHelper.CheckboxField("acceptDisclaimer", %{trueValue = 'accept', hiddenValue = 'reject'})
\r
775 <input type="checkbox" id="acceptDisclaimer" name="acceptDisclaimer" value="accept" />
\r
776 <input type="hidden" id="acceptDisclaimerH" name="acceptDisclaimer" value="reject" />
\r
779 - Applied Ernst Naezer's patch to allow MR to throw a descriptive
\r
780 exception message when two helpers are registered using the same key
\r
782 - Added a hack to the WebFormsViewEngine to accomodate different behavior
\r
783 with respect to invoking PageParser.GetCompiledInstance on ASP.NET 2.0
\r
785 - Added support for defaultValue attribute to FormHelper, which specificy
\r
786 what the value should be if the target evaluates to null.
\r
788 - Added indexed properties support to FormHelper
\r
790 When the target is an array you can
\r
792 PropertyBag.Add("roles", Roles.FindAll());
\r
794 FormHelper.TextField("roles[0].Id")
\r
798 <input type="text" id="roles_0_Id" name="roles[0].Id" value="1" />
\r
800 The indexed property can be nested
\r
802 PropertyBag.Add("user", User.Find(1));
\r
804 FormHelper.TextField("user.roles[0].Id")
\r
806 <input type="text" id="user_roles_0_Id" name="user.roles[0].Id" value="1" />
\r
808 - Added RadioField(String target, object valueToSend, [IDictionary attributes]) to FormHelper
\r
810 The radio will be marked with checked="checked" if the value collected
\r
811 from the target matches the valueToSend parameter
\r
813 - Fixed RedirectToAction on WizardStepPage. Now it produces a correct action url.
\r
815 - Changed WizardStepPage.InternalRedirectToStep to simply RedirectToStep
\r
817 - Changed SmartDispatcherController.BuildMethodArguments. Now it tests if the conversion
\r
818 succeeded before setting the value on the array.
\r
820 - Introduced IWizardPageFactory on WindsorExtension, so a Wizard controller doesn't
\r
821 need to reference the IKernel directly
\r
823 - Some optimization on Redirect* methods on Controller class. Now they accept
\r
824 an IDictionary as a parameter specifier (in addition to NameValueCollection).
\r
826 - Refactored ControllerDescriptorBuilder (renamed to ControllerDescriptorProvider)
\r
827 to use child providers to obtain descriptor. Attributes are now descriptors builders
\r
828 and that allows one to come up with custom attributes like
\r
830 public class MyAttribute : Attribute, ILayoutDescriptorBuilder, IHelperDescriptorBuilder
\r
832 public LayoutDescriptor BuildLayoutDescriptor()
\r
834 return new LayoutDescriptor("mylayout");
\r
837 public HelperDescriptor[] BuildHelperDescriptors()
\r
839 return new HelperDescriptor[] { new HelperDescriptor(typeof(MyHelper)) };
\r
843 Kudos to Fabio by coming up with the idea.
\r
845 - ViewComponents: added subsection support
\r
847 (Using nvelocity as example)
\r
849 #blockcomponent(GridComponent)
\r
855 Showing record $startrecord to $total
\r
859 <td>$item.Name</td>
\r
863 <td>No records found</td>
\r
867 On the code you can use
\r
869 public override bool SupportsSection(String name)
\r
871 return name == "header" || name == "item" || name == "footer" ||
\r
875 public override void Render()
\r
877 ICollection source = (ICollection) ComponentParams["source"];
\r
881 Context.RenderSection("header");
\r
883 if (source != null && source.Count != 0)
\r
885 foreach(object item in source)
\r
887 PropertyBag["item"] = item;
\r
889 RenderText("<tr>");
\r
891 Context.RenderSection("item");
\r
893 RenderText("</tr>");
\r
898 RenderText("<tr>");
\r
899 Context.RenderSection("empty");
\r
900 RenderText("</tr>");
\r
903 Context.RenderSection("footer");
\r
908 - ViewComponent on NVelocity: added to support to interpolation on component parameters.
\r
914 PropertyBag.Add("customers", Customer.FindAll());
\r
919 #blockcomponent(GridComponent with "source=$customers")
\r
923 ViewComponent code:
\r
925 public override void Render()
\r
927 IList items = (IList) ComponentParams["source"];
\r
929 foreach(object item in items)
\r
931 Context.ContextVars["item"] = item;
\r
932 // Do something like rendering the body
\r
936 - Configuration changed:
\r
938 . Added <cacheprovider> node
\r
939 . Added <additionalSources> node under <viewEngine>
\r
944 <cacheProvider type="my custom implementation"/>
\r
946 <viewEngine viewPathRoot="views" customEngine="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity">
\r
947 <additionalSources>
\r
948 <assembly name="MyAssembly" namespace="My.Assembly" />
\r
949 </additionalSources>
\r
953 - IViewEngine refactored to use the IViewSourceLoader to locate views
\r
955 - Introduced IViewSourceLoader and IViewSource. The former represents an approach to load
\r
956 views. The default implementation is FileAssemblyViewSourceLoader which first look ups
\r
957 the file system then the configured assemblies for the specified view
\r
959 - ICacheProvider service introduced (available on IServiceProvider implementation).
\r
960 Two implementations available:
\r
962 . DefaultCacheProvider which uses the HttpContext.Cache
\r
963 . WeakReferenceCacheProvider which uses a hashtable with WeakReferences as entries
\r
965 - Warning about Nullables and SmartDispatcher arguments. The behavior has changed a
\r
968 . In the past, if the value for a nullable was not present, that was accepted and
\r
969 the nullable was initialized with HasData=false
\r
970 . Now the value mustn't be present, but the entry must be present
\r
976 public void Transfer(NullableDouble amount)
\r
981 If you invoke it with Controller/Transfer.rails you'll get an exception
\r
983 If you invoke it with Controller/Transfer.rails?amount= then it's ok
\r
985 If you invoke it with Controller/Transfer.rails?amount=10 is obviously ok too.
\r
987 - Removed Obsolete members of ExecuteEnum. If you were using
\r
989 . ExecuteEnum.Before, change to ExecuteEnum.BeforeAction
\r
990 . ExecuteEnum.After, change to ExecuteEnum.AfterAction or ExecuteEnum.AfterRendering
\r
991 . ExecuteEnum.Around, change to ExecuteEnum.Always or combine the flags
\r
993 - Refactored DefaultRailsEngineContext and EngineContextModule. Now EngineContextModule
\r
994 is also a ServiceContainer. When a DefaultRailsEngineContext is created we pass
\r
995 the EngineContextModule as a parent container.
\r
997 This saves us some cycles of registering
\r
998 the services on every single DefaultRailsEngineContext instance.
\r
1000 - Added attribute 'checkClientIsConnected' to monoRail configuration check. If
\r
1001 'true' the controller class will always check IsClientConnected on
\r
1003 - InternalSend (beginning)
\r
1004 - Before Staring filter process
\r
1005 - Before invoking the view engine
\r
1007 The default value is 'false'
\r
1011 - Removed AutoLoadUnlessKeyIs and NullIfKeyIs from ARDataBinder. Added enum
\r
1012 AutoLoadBehavior to replace them:
\r
1014 AutoLoadBehavior.Never (default): Means that no autoload should be perform on the target
\r
1015 type nor on nested types.
\r
1017 AutoLoadBehavior.Always: Means that autoload should be used for the target type
\r
1018 and the nested types (if present). This demands that the primary key be present on the http request
\r
1020 AutoLoadBehavior.NewInstanceIfInvalidKey: Means that we should autoload, but if the key is
\r
1021 invalid, like null, 0 or an empty string, then just create a new instance of the target type.
\r
1023 AutoLoadBehavior.NullIfInvalidKey: Means that we should autoload, but if the key is
\r
1024 invalid, like null, 0 or an empty string, then just return null
\r
1026 - Added support for AccessibleThrough(Verb.Post, or Verb.Get) to restrict the type of access a controller action requires.
\r
1028 - Added suport for InPlaceRenderView for Brail
\r
1030 - Added <? ?> tags for Brail, to match the php style.
\r
1032 - Added RemoveCookie() method to IResponse
\r
1034 - Fixed a bug in Brail's ViewComponents, where a parameter was search using case sensitive search.
\r
1036 - Fixed a bug in ARFetch, where if the parameter was an array and the parameters didn't appear, a null reference would be thrown. Now it's returning an empty array.
\r
1038 - Updated boo binaries, should fix the problems with the build on machines with only one framework installed.
\r
1040 - Fixed a bug in Brail where a new line was required before a method call was recognized
\r
1042 - Added support for optional parameters in Brail, using the syntax ?foo will return null if the value was not set (instead of throwing.)
\r
1044 - Fixed a bug where Brail would throw on Empty Views.
\r
1046 - Added support for AutoLoadUnlessKeyIs in ARDataBinder - will load the object unless the key is a specific value
\r
1047 Usages: public void Save([ARDataBinder(AutoLoadUnlessKeyIs=0)] User user)
\r
1049 - Added checks for null id when doing data binding.
\r
1051 - Removed useless error handling from Brail, now you'll get the normal ASP.Net Yellow Screen Of Death on errors. More consistent with the rest of the framework.
\r
1053 - Added support for <?brail ?> tags for Brail, so it can be valid XML documents
\r
1055 - Added logging for Brail, so you can see the Boo code the preprocessor is generating.
\r
1057 - Added more verbose output to compiler errors in Brail.
\r
1059 - Changed the way Brail name the generated class, now the chances for name clashes are much lower. (View: Users.boo and a parameter Users will not cause problems).
\r
1061 - Fixed a bug with Brail not picking up changes that occured by VS.Net
\r
1063 - Fixed bug with NVelocity components that caused an InvalidCastException to be thrown by the Render method if there was something other than an IRailsEngineContext occupying the "context" key.
\r
1065 - MonoRail is now CLSCompliant (kudos to Roelof Blom <roelof.blom@gmail.com>)
\r
1067 - Breaking change: now MonoRail requires that you add the following module to web.config:
\r
1071 <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />
\r
1075 - Configuration nodes and attributes changes:
\r
1076 - mailto to mailTo
\r
1077 - mailfrom to mailFrom
\r
1078 - customsession to customSession
\r
1080 - SmartViewComponent removed
\r
1082 - DataBinder refactored out. Now implementation lies on Castle.Components.Binder
\r
1083 + Big performance improvement
\r
1085 - ARDataBinder now issues a FindByPK for nested objects if the keys differs (existing object with
\r
1088 - SmartDispatcherController: now there's no hardcode reference to DataBind, ARDataBind or ARFetch attributes.
\r
1089 They only must implement the interface IParameterBinding. This opens an interesting extension point
\r
1090 for users willing to create their own logic to binding form/querystring parameters to their data components
\r
1092 - Controller: Added RedirectToAction(String action, params String[] queryStringParameters)
\r
1093 example: RedirectToAction("edit", "id=" + id, "error=couldn't update the row");
\r
1095 - Added FlashBinderAttribute (being evaluated)
\r
1097 - Added FormHelper (being evaluated)
\r
1099 - Added CaptureFor component
\r
1101 - Renamed ARPager splitted into ARPaginationHelper and ARPager
\r
1103 - ARDataBinder is now able to deal with HasAndBelongsToMany relations.
\r
1104 This works in two ways. Suppose you have a Product class with a relation HasAndBelongsToMany to Category.
\r
1106 If you send the following fields from a form:
\r
1108 product.categories.id=1
\r
1109 product.categories.id=2
\r
1111 ARDataBinder will ignore the AutoLoad property and always populate the Categories
\r
1112 collection on the product class with the result of FindByPrimaryKey of the categories.
\r
1113 Any other field will be ignored, for example product.categories.name will not be bound
\r
1115 However, if you send the values like
\r
1117 product.categories[0].id=1
\r
1118 product.categories[1].id=2
\r
1120 Then ARDataBinder will use the usual path, not ignoring the AutoLoad.
\r
1122 This behavior is being evaluated.
\r
1124 - Removed AbstractExtension
\r
1126 - Extension now uses events (See ExtensionManager)
\r
1128 - Interface IMonoRailExtension changed (has only Init method now)
\r
1130 - Refactored IParameterBinder in order to make it participate on calculations points.
\r
1132 - Introduced WindsorMonoRailSectionHandler which has the support for statements similar to those supported
\r
1133 by windsor's XmlInterpreter
\r
1135 - Added ARDataBindAttribute.NullWhenPrimaryKey which forces the databinder to
\r
1136 ignore and do not load a record if the retrieved PK has the value assigned to this
\r
1137 property (kudos to Roelof Blom <roelof.blom@gmail.com>)
\r
1144 - Fixed Flash (it now persists the new entries between requests) (by Ahmed)
\r
1146 - Added FilterAttribute.ExecutionOrder, the default value is Int32.MaxValue
\r
1147 so the less the value higher will be the filter priority
\r
1149 - Added Controller.RedirectToAction(String actionName)
\r
1151 - Added Controller.RedirectToAction overloads (by Fabio Batista)
\r
1153 - Controller.Redirect(String) is now virtual, and it's called by all Redirect* methods (by Fabio Batista)
\r
1155 - Moved action collection to ControllerMetaDescriptor class, using new method that does not require ScreenCommonPublicMethods.
\r
1157 - Moved ControllerDescriptorBuilder creation to ProcessEngineFactory to ensure ControllerDescriptors are only created once
\r
1159 - ITrace and Trace property added to IRailsEngineContext (kudos to Chad Humphries)
\r
1161 - Hierarchy of areas support (kudos to Fabio Batista)
\r
1163 - Support for [Layout] attribute on Actions, so actions can override
\r
1164 the Controller's specified layout (by Fabio Batista, rev 1459)
\r
1166 - PaginationHelper introduced: paginates objects that implements IList, and supports caching.
\r
1168 - ARPager introduced: allows you to specify a custom NHibernate HQL Query or an NHibernate Criteria
\r
1169 (using Expression.Eq, à là ActiveRecord's FindAll()) and fetch the results with pagination.
\r
1170 (by Fabio Batista)
\r
1172 - Added IServerUtility.JavaScriptEscape() (kudos to Chad Humphries)
\r
1174 - Added DataBindAttribute.Exclude - A comma separated list of property names
\r
1175 to exclude from databinding (kudos to Chad Humphries)
\r
1177 - Added IResponse.BinaryWrite() and CreateCookie( HttpCookie ) overload
\r
1179 - Added IServerUtility.MapPath()
\r
1181 - Added IRailsContext.ApplicationPhysicalPath
\r
1183 - Added to HtmlHelper:
\r
1188 - Form(action, attribtes) overload
\r
1190 - Added more fine-grained support for ExecuteEnum in Filters (by Fabio Batista, rev 1286-1287)
\r
1192 The values are now: BeforeAction, AfterAction, AfterRendering and Always.
\r
1194 - Support for nullable types in SmartDispatcherController, useful for
\r
1195 detecting missing ValueType parameters. Works with Nullables library, still
\r
1196 not working on .NET 2.0 Nullables (by Fabio Batista, rev 1297 and 1363)
\r
1201 public void CreateTicket(string name, NullableDateTime date, NullableInt32 priority)
\r
1203 if (name == null || name.Length == 0) throw new MissingFieldException();
\r
1204 if (!date.HasValue) throw new MissingFieldException();
\r
1205 if (!priority.HasValue) throw new MissingFieldException();
\r
1208 // .NET 2.0 (NOT WORKING YET)
\r
1209 public void CreateTicket(string name, DateTime? date, int? priority)
\r
1211 if (name == null || name.Length == 0) throw new MissingFieldException();
\r
1212 if (!date.HasValue) throw new MissingFieldException();
\r
1213 if (!priority.HasValue) throw new MissingFieldException();
\r
1216 - Broaded support for Enums. They can be specified by number or by text (by Fabio Batista, rev 1203)
\r
1218 public enum MyEnum {
\r
1223 <input type="hidden" name="myEnumValue" value="1" />
\r
1224 <input type="hidden" name="myOtherEnumValue" value="seCoNd" />
\r
1226 public void TestEnumValues(MyEnum myEnumValue, MyEnum myOtherEnumValue)
\r
1228 if (myEnumValue == MyEnum.First) // ok
\r
1229 if (myOtherEnumValue == MyEnum.Second) // ok
\r
1232 - Support for ActiveRecord fetching in Castle.MonoRail.ActiveRecordSupport
\r
1233 (by Fabio Batista, rev. 1380).
\r
1235 Mainly for those unconfortable with direct binding of form values
\r
1236 to ActiveRecord objects. This attribute only fetches the ActiveRecord based
\r
1237 on its Primary Key, nothing more.
\r
1241 public class MyCrudExample : ARSmartDispatchController
\r
1244 public void Save( [ARFetch] Example example, string name, ...)
\r
1246 example.Name = name;
\r
1252 // using a different request parameter, instead of the action's parameter name
\r
1253 public void Save( [ARFetch("primaryKey")] Example example, string name, ...)
\r
1255 example.Name = name;
\r
1261 // ignoring invalid primary keys
\r
1262 public void Save( [ARFetch(Require=false)] Example example, string name, ...)
\r
1264 example.Name = name;
\r
1270 // not creating new records automatically, when the parameter is empty or null
\r
1271 public void Save( [ARFetch(Create=false)] Example example, string name, ...)
\r
1273 if (example == null)
\r
1274 example = new Example(someRequiredConstructorParameter);
\r
1276 example.Name = name;
\r
1282 // fetching a list of Active Records
\r
1283 public void Delete( [ARFetch("selected")] Example[] examples )
\r
1285 foreach (Example example in examples)
\r
1290 - Support for smart arrays (aside from primitives) (kudos do Ahmed)
\r
1292 Quoting the explanation:
\r
1294 Suppose you have this class:
\r
1299 public string Name {get;set;}
\r
1301 public int Age {get;set;}
\r
1304 With the following view
\r
1306 <input name="Person[0].Name" value="John">
\r
1307 <input name="Person[0].Age" value="30">
\r
1308 <input name="Person[1].Name" value="Mary">
\r
1309 <input name="Person[1].Age" value="25">
\r
1311 Now you can specify the DataBinderAttribute to an array element in your controller:
\r
1313 public void SavePeople( [DataBinder(Prefix=”People”)] Person[] people )
\r
1315 // you should be able to access the people as an Person array
\r
1317 Assert.IsTrue( people[0].Name == “John” );
\r
1318 Assert.IsTrue( people[1].Name == “Mary” );
\r
1321 There are a couple extra things, first you can specify an “ignore” attribute to any element in which that case the data binder will completely ignore the element
\r
1323 <input name="Person[0].Name" value="John">
\r
1324 <input name="Person[0].Age" value="30">
\r
1325 <input name="Person[0]@ignore" value="yes">
\r
1326 <input name="Person[1].Name" value="Mary">
\r
1327 <input name="Person[1].Age" value="25">
\r
1329 In the previous html code, the people array in the controller will only have one element (Mary).
\r
1331 Notice that I reserved the @ sign as a special character to add metadata to any element, right now the only attributes supported are “ignore” and “count”.
\r
1333 The count attribute serves as a performance optimization when your elements are keyed using sequential integers, for example:
\r
1335 <input name="Person@count" value="5">
\r
1336 <input name="Person[0].Name" value="John">
\r
1337 <input name="Person[1].Name" value="James">
\r
1338 <input name="Person[2].Name" value="Jeff">
\r
1339 <input name="Person[3].Name" value="Geoff">
\r
1340 <input name="Person[4].Name" value="Jeffrey">
\r
1344 - AjaxHelper2 renamed to AjaxHelper. The old one was renamed to AjaxHelperOld
\r
1346 - Two more callbacks supported: onSuccess and onFailure. For example
\r
1348 $AjaxHelper.BuildFormRemoteTag( $DictHelper.CreateDict("url=something.rails", "OnSuccess=myjavascriptfunction();", "OnFailure=otherfunction(request)" ) );
\r
1350 Do not confuse it with 'success' and 'failure' keys, though. Those means the id of elements
\r
1351 to be updated in the event of success and failure.
\r
1354 ** NVelocity View Engine **
\r
1356 - Added support for global macros. Every *.vm file which is placed in the Views/macros directory
\r
1357 will be scanned for macros (by Fabio Batista, rev. 1374)
\r
1359 ** Brail View Engine **
\r
1361 - Upgraded to use Boo 0.75, should solve the problem that Brail had with breaking tests.
\r
1363 ** Scaffolding support **
\r
1365 - huge refactoring
\r
1366 - It's now using templates
\r
1369 ** Test support **
\r
1371 - Introduced Castle.MonoRail.TestSupport
\r
1376 MR-68 PreSendView is not being invoked by NVelocityViewEngine
\r
1377 http://support.castleproject.org/jira/browse/MR-68
\r
1378 MR-66 DataBinder and ConvertUtils should support TypeConverters
\r
1379 http://support.castleproject.org/jira/browse/MR-66
\r
1380 MR-64 DataBinder.Convert should support decimal
\r
1381 http://support.castleproject.org/jira/browse/MR-64
\r
1382 MR-58 AbstractHelper generates invalid XHTML
\r
1383 http://support.castleproject.org/jira/browse/MR-58
\r
1384 MR-57 Wrong urls are crashing UrlTokenizer
\r
1385 http://support.castleproject.org/jira/browse/MR-57
\r
1386 MR-52 Support for real Flash feature
\r
1387 http://support.castleproject.org/jira/browse/MR-52
\r
1388 MR-49 Remove public properties from the list of available actions (Controller.cs)
\r
1389 http://support.castleproject.org/jira/browse/MR-49
\r
1390 MR-30 MR should not accept incorrect urls
\r
1391 http://support.castleproject.org/jira/browse/MR-30
\r
1397 - Added useWindsorIntegration attribute to monoRail configuration section
\r
1403 - Initial Scaffolding support
\r
1405 - Localization support
\r
1406 - More helpers and improvements
\r
1412 - Few bug corrections
\r
1413 - Applied patch from Dru Sellers: NVelocityViewEngine adds a $siteRoot exposing the Request.ApplicationPath
\r