Brail "new" feature, component sections...

time to read 5 min | 943 words

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...