Hello Thiago,

Well, in Tapestry 5.0.6, if you just add a column using BeanModel.add, it doesn't show any label, unless you have a <added column name>-label entry in your app.properties.

Don't even have such a property file, but yes - it shows a label (just tried it again to make sure). In your example down there it would be "action".

beanModel.add("action", null).label("any label you want, including an empty string.");

Like I said, when I try "giving null, an empty string or a whitespace results in a tapestry exception stating "Parameter label was null or contained only whitespace"".

I've posted a related JIRA, https://issues.apache.org/jira/browse/TAPESTRY-1983, asking for a new parameter in Grid to add new columns without the need to create a BeanModel explicitly as we have to do now.
Ah, great! Just added a comment that this would be useful for BeanEditForm too - and voted for it. :)

Regad

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to