[stringtemplate-interest] formal arg checking

Terence Parr parrt at cs.usfca.edu
Thu Apr 26 12:00:44 PDT 2007


On Apr 26, 2007, at 11:01 AM, Nate wrote:

> In this particular case, the "table" template displays a table of  
> data.
> If no data is specified, it displays an error message from the
> controller OR a message ("The list is empty.") from the template. If
> there is no error, the message comes from the template, not from the
> controller.

Can't a simple IF fix this in the template?

Ter
PS	i'm leaving now for the airport. gone 4 days...


More information about the stringtemplate-interest mailing list