August 2007
Mon Tue Wed Thu Fri Sat Sun
« Jul   Sep »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Month August 2007

D2W: Grouping fields in edit form

To group your edit form fields use sectionsContents instead of displayPropertyKeys. A rule for a User for might look like this:
LH: pageConfiguration = ‘EditUser’
RH: sectionsContents =
(
(
“Personal Info”,
“salutation”,
“firstName”,
“lastName”,
“emailAddress”,
“phone”,
[...]

D2W: List default sort order

Assumptions: Your D2WList page inherits from ERD2WListPage in Wonder (and if it doesn’t it should).
Apply a default sort order on the list with a rule that looks like this:
LH: task = ‘list’ and entity.name = ‘User’
RH: defaultSortOrdering = ( “name”,
“compareAscending” )
Class: com.webobjects.directtoweb.Assignment
Also available are:
compareAscending compareCaseInsensitiveAscending
compareCaseInsensitiveDescending
compareDescending.

Interesting stuff post

A couple of interesting bits and pieces today:
Blueprint is a CSS frameworks for making grid based web page layout much easier. It incorporates a decent reset.css (to clear all of the default rules set by the various browsers giving you a clean slate) then adds a grid.css and typography.css to give you a consistent base [...]