Use a commandLink then :)

En l'instant précis du 04/07/07 12:50, MPF s'exprimait en ces termes:
> hi,
>
> ya which action ? outputlink hasnt a action/actionListener..?
>
>
> Benjamin Bratkus wrote:
>   
>> hi,
>>
>> yes this is possible, you have to get the session in the action method and
>> to call the session.invalidate within the method.
>>
>> ben
>>     
>>> Hi!
>>>
>>> [code]
>>> <h:panelGroup>
>>>                             <h:outputLink 
>>> rendered="#{placeDetail.showBackButton}"
>>> value="#{placeDetail.referer}">
>>>                                     <h:outputText value="#{labels.back}" 
>>> styleClass="txtgruen"/>
>>>                             </h:outputLink>
>>>                     </h:panelGroup>
>>> [/code]
>>>
>>> is it possible to invalide the session at the outputlink?
>>>
>>> best regards
>>> --
>>> View this message in context:
>>> http://www.nabble.com/how-i-can-invalide-the-session-at-outputlink-tf4023628.html#a11428476
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>>
>>>       
>> Viele Grüße,
>>
>> Benjamin Björn Bratkus
>> --
>> Orientation in Objects GmbH
>> Weinheimerstr. 68
>> D-68309 Mannheim
>> http://www.oio.de
>> Tel. +49(0)621-71839-0
>> Fax +49(0)621-71839-50
>>
>> Amtsgericht Mannheim
>> HRB 38348
>> Geschäftsführer: Dirk M. Sohn
>>
>>
>>     
>
>   

Reply via email to