You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Ruiter, Jan de" <Ja...@ordina.nl> on 2009/07/06 08:09:46 UTC

question about t:commandSortHeader

I have a question about t:commandSortHeader.

According to the documentation it has an attribute

action, with an 'action outcome, that identifies the next view
displayed'.

In case of the commandSortHeader, all you want is to sort the table on

the value of the key you just clicked on. So the only sensible action
outcome

would be null, so the current page will be re-displayed with the 

newly sorted values.

In an application I recently got involved in, the action is used to

do the sorting, and it even has a void return (which is not according to
specs,

but seems to work).

Please tell me the intended use of the action attribute for this tag,

because i did not find an example actually using it?

 

Thanks for any clarification you can give me?

 

Jan de Ruiter


Disclaimer

Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Indien u niet de 

bedoelde ontvanger bent, wordt u verzocht de afzender te waarschuwen en dit bericht met eventuele bijlagen direct te 

verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en eventuele bijlagen te vermenigvuldigen, door 

te sturen, openbaar te maken, op te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar 

groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid voor schade die voortvloeit uit de 

inhoud en/of de verzending van dit bericht.

This e-mail and any attachments are confidential and are solely intended for the addressee. If you are not the 

intended recipient, please notify the sender and delete and/or destroy this message and any attachments immediately. 

It is prohibited to copy, to distribute, to disclose or to use this e-mail and any attachments in any other way. 

Ordina N.V. and/or its group companies do not accept any responsibility nor liability for any damage resulting from 

the content of and/or the transmission of this message.