myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Björn Bratkus <brat...@oio.de>
Subject Re: how i can invalide the session at outputlink
Date Thu, 05 Jul 2007 07:47:44 GMT
sorry i was to fast during reading - yes a commandLink ;)

you could create a binding and initialize a bean or (better)
you navigate on a side were a bean is requested which is not existing till
this moment and the framework is going to create the bean like every other
@ the first request.


>
>
> ahh... -.-
>
> well furthermore is is possible do "erase" a special managed bean which
> will
> be new constructed at the next calling?
>
>
> David Delbecq-2 wrote:
>>
>> 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
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/how-i-can-invalide-the-session-at-outputlink-tf4023628.html#a11429322
> 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

Mime
View raw message