Thanks for the pointers, creating a BeanModel and adding my extra columns to it
sounds like the right way to go. As an emergency solution for now I'm just
going through all grids and adding the t:add columns into t:excludeSort in
order to avoid the crashes on sorting. Then I will work on the actual solution
with the BeanModel.
In the meantime, regardless of these crashes and of whether it's 5.3.7 or
5.3.8, I'm still wondering if my way of defining these t:add columns (pasted
below for convenience) has something wrong in general. Any opinion about that
would be very useful.
The column is defined like this:
- In the page template, one param of the grid tag is
t:add="prop:gridAdd"
- In the page Java code, there is the corresponding
public String getGridAdd() {
return " myColumn1, myColumn2, myColumn3, myColumn4";
}
where let's say that "myColumn3" is the column whose sorting fails.
- In the page template, within the t:grid tag there is the definition of the
customized content of that column:
<p: myColumn3Cell>${ myColumn3}</p: myColumn3Cell>
- In the page Java code, there is the method returning the value for that
column:
public String getMyColumn3()
{
return aStringThatIsNeverNull;
}
----------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]