1.2 - ASP.NET Templates Details

Topic updated 29-10-2007

 

Filtering and Criteria changes

ERS#4229  : Locator does not work for >2 levels
Breaking change: We had to change the alias name generated for the ICriterias created in the aspx pages. This was required because we noticed that 2nd level lookups ( table.parent.grandparent) were not working correctly. This has been fixed but if you wrote custom code which uses the old syntax you will need to manually change to the new syntax. (small difference but very important) . This also has impact in ALL the generated code for locators and any Filtering Code manually written.

Old Syntax:

_criteria.CreateCriteria("Order.Customer","Order.Customer",JoinType.LeftOuterJoin);

 

New Syntax:        

_criteria.CreateCriteria("Order.Customer","Order_Customer",JoinType.LeftOuterJoin);

 

 

Browse Template

Fixed some issues with sorting, Updated browse Sorting documentation
ERS#4228 : Action Templates  : There is an exception that shows if a browse calls a Form Item AND the form template is not present in that item.That's correct, but should be a validation error.form template not found add validation.

 

Property Template(s)

Updated browse Sorting documentation

 

Web.Config Template

Added several user Codeblocks to allow entering some more tags which where not allowed in previous version.

 

VS.NET Extension Template

Added to Documentation

ERS#4225 : When adding the vs.net extension there can be an exception/error if the app was not yet saved. The reason is that the templats are using the filelocation but when not saved it's null.