Ayende @ Rahien

Unnatural acts on source code

Brail "new" feature, component sections...

I call it a "new" feature because it is something that the NVelocity view engine supports for quite some time. The basic idea is to allow this type of code:

<?brail

component BasicGridComponent, {"source": contacts}:

  section header:

?>

    <th>EMail</th>

    <th>Phone</th>

<?brail

  end

  section item:

?>

    <td>${item.Email}</td>

    <td>${item.Phone}</td>

<?brail

  end

end

?>

This feature open up some very interesting possibilities with View Components...

Comments

No comments posted yet.

Comments have been closed on this topic.