AbstractColumn's getSortProperty()

2009-04-23 Thread Anton Veretennikov
Hi, Wicket community

While working with AbstractColumn I found that overriding
getSortProperty() does not make column sortable until isSortable() is
not overrided also.

AbstractColumn::isSortable() is looking like now:

public boolean isSortable()
{
return sortProperty != null;
}

May be changing it to return getSortProperty() != null; will solve
this problem?

-- Tony

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AbstractColumn's getSortProperty()

2009-04-23 Thread Igor Vaynberg
open a jira issue.

-igor

On Thu, Apr 23, 2009 at 1:08 AM, Anton Veretennikov
anton.veretenni...@gmail.com wrote:
 Hi, Wicket community

 While working with AbstractColumn I found that overriding
 getSortProperty() does not make column sortable until isSortable() is
 not overrided also.

 AbstractColumn::isSortable() is looking like now:

        public boolean isSortable()
        {
                return sortProperty != null;
        }

 May be changing it to return getSortProperty() != null; will solve
 this problem?

 -- Tony

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org