myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Bohmann <bernd.bohm...@atanion.com>
Subject Re: [Tobago] Exception when sorting on column with tc:link
Date Mon, 09 Jul 2007 07:10:28 GMT
Hello,

should be fixed.

See

https://issues.apache.org/jira/browse/TOBAGO-437

the value is not instance of List or Object[] internal sorting can't be 
performed.

Regards

Bernd

Helmut Swaczinna wrote:
> Hi,
> 
> I have a tc:sheet with a sortable column which display a link:
> 
>      <tc:column label="#{overviewBundle.column_label_schritt}"
>        tip="#{overviewBundle.column_tip_schritt}"
>        sortable="true">
>        <tc:link id="schritt"
>          label="#{vorgang.aktuellerSchrittKurz}"
>          action="#{overviewController.showBearbeiterAction}">
>        </tc:link>
>      </tc:column>
> 
> When I click on the header to sort the column I get an exception:
> 
> 07-06 13:44:56,140 ERROR GENA-WAPP [http-8080-Processor21    ] Sorter No 
> sortable component found!
> 07-06 13:44:56,140 WARN  GENA-WAPP [http-8080-Processor21    ] Sorter 
> removing attribute sortable from column _idJsp114
> 07-06 13:44:56,156 ERROR GENA-WAPP [http-8080-Processor21    ] Sorter 
> Error while extracting sortMethod :Cannot remove component property 
> attribute
> java.lang.IllegalArgumentException: Cannot remove component property 
> attribute
>        at 
> javax.faces.component._ComponentAttributesMap.remove(_ComponentAttributesMap.java:270)

> 
>        at 
> org.apache.myfaces.tobago.component.Sorter.removeSortableAttribute(Sorter.java:146) 
> 
>        at 
> org.apache.myfaces.tobago.component.Sorter.invoke(Sorter.java:110)
>        at 
> org.apache.myfaces.tobago.component.UIData.invokeMethodBinding(UIData.java:605) 
> 
> ...
> 
> Regards
> Helmut
> 

Mime
View raw message