Hi,
Please take the updated TableValues class from the repository if you can.
Tap4 caches the parameters automatically, and problems like this tend to occur
in some cases. The updated code in the repository removes that caching and
eliminates the problem that you described.
Tap4, but using contrib:FormTable due to bug in Table whic prevents
the full form from being submitted when clicking on the column headers
to change sort order.
If you add '*' at the beginning of the column description string, the
column sorting clicks will submit the form and you should be able to use
Table instead of FormTable. This should have happened automatically, but
apparently the code did not make in the T4 release. It will be a part of
the next patch, I guess.
Sam Gendler wrote:
Tap4, but using contrib:FormTable due to bug in Table whic prevents
the full form from being submitted when clicking on the column headers
to change sort order.
--sam
On 3/10/06, Mind Bridge <[EMAIL PROTECTED]> wrote:
Hi,
Tapestry version?
Sam Gendler wrote:
I see several questions about this on the forum, but never saw an
answer that made sense to me.
I've got some numeric columns which need to be text-align: right and
sme string and date columns which need to be text-align: left.
Currently, I am just using Contrib:FormTable (within Tap4 because
using Contrib:Table within a form was broken, failing to submit the
rest of the form when clicking on a column header in order to sort).
I do implement an ITableModel object.
I can set valuesClass, but the same class gets assigned to each td,
and the value only appears to be fetched once for each row. There
must be some way to call a method with the id of the current column
and have it return a value specific to the current column, otherwise,
it is mostly a useless feature.
--sam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]