Maybe something like this?
PropertyColumn propertyColumn = new PropertyColumn(
new Model("AuditTrain"), "audit_train") {
private static final long serialVersionUID = 1L;
@Override
public void populateItem(Item> item,
String componentId, IModel rowModel) {
if(rowModel.getObject().getAudit_train()
I've created a DataTable, which works great. I'd like to define the
behavior if a property returns NULL. For instance, this column
retrieves the AuditTrain object for a given Asset:
columns.add(new PropertyColumn(new Model("Audit
Train"), "audit_train");
If the AuditTrain is NULL, I get a null-po
Thanks both of you, I already tried both of it, my problem was in fact
that first option had null reporter and the second one had reporter of
page. And as you may guess I was using componentfilter for this form. I
will make a workaround for now.
Is there any possibility of changing the reporter
or:
MyPage page = new MyPage();
page.info(...);
setResponsePage(page);
Martijn
On Fri, Jan 1, 2010 at 6:43 AM, Martin Makundi
wrote:
> if you do getSession().info()
>
> 2010/1/1 Marek Šabo :
>> Hi,
>>
>> I would like to ask how can I achieve propagation of a feedback message to a
>> page that i