myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruiter, Jan de" <Jan.de.Rui...@ordina.nl>
Subject question about t:commandSortHeader
Date Mon, 06 Jul 2009 06:09:46 GMT
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.

Mime
View raw message