You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by nishiasem <ni...@gmail.com> on 2009/09/29 23:00:30 UTC
tomahawk sorting issue with hyperlink
I am using tomahawk's sorting feature using sort attribute for my datatable.
I found one issue while sorting on a hyperlink content in the column. I
wanted to sort the table's column based on the title of the hyperlink, but
it got sorted based on the whole hyperlink's tag's content also.
Example:
Is there any way that it can only sort based on the title "hashh" (but it
got sorted with the whole content inside the generated output from tag as
www.gingle.com?para1=test1 hashh )?
Any pointer for the solution will be very much appreciated.
Regards,
Nish
--
View this message in context: http://www.nabble.com/tomahawk-sorting-issue-with-hyperlink-tp25670847p25670847.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: tomahawk sorting issue with hyperlink
Posted by nishiasem <ni...@gmail.com>.
The actual issue is I am trying to sort base on the <h:outputText
value="#{item.name}"/>, but its actually sorted starting with
param1=#{item.param1}¶m2=#{item.param2} as those are also dynamic
values.
<t:column sortable="true">
<f:facet name="header">
<h:outputText value="Title"/>
</f:facet>
<h:outputLink
value="http://mydomain.com/some.jsf?param1=#{item.param1}¶m2=#{item.param2}"
styleClass="linkBlack">
<h:outputText value="#{item.name}"/>
</hutputLink>
</t:column>
--
View this message in context: http://www.nabble.com/tomahawk-sorting-issue-with-hyperlink-tp25670847p25693123.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.