thanks all,
stupid me think the "sort" method will be automatically called :..)

thanks!

Qiang

On 12/12/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
> NB: My suggestion below is exactly the same as what Patrick was saying,
> just in different words. The method that returns the data list needs to
> do the sorting...
>
> Simon Kitching wrote:
> > Are you aware that the sortColumn expression should point to a simple
> > PROPERTY on the backing bean, not a "sort method"? The property is
> > assigned the *name* of the *column* to sort on.
> >
> > The method pointed to by the "value" attribute is responsible for
> > returning its data in the correct sort order; it does this by looking at
> > the sort column PROPERTY to determine what to sort on.
> >
> > This should all be explained in the sorting example.
> >
> > rahmoune patrick wrote:
> >> Hello,
> >>
> >> I don't know so much about dataTable but I call the sort method
> >> explicitely
> >> when I return the data list.
>

Reply via email to