use commandLink that uses an action that invalidates the user's
session. Then use a redirect navigation rule to the new page.

On 7/9/07, MPF <[EMAIL PROTECTED]> wrote:

well i think u dont understood what i meant.
problem:
i have a bean at session scope which manage a form (input and save) after
the submit of the form a user have to go back ---> klick on outputlink to go
to another application. and now i need to destroy the bean which manage the
form - possible how?

best regards.



Benjamin Bratkus wrote:
>
> 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Ã(c)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
>
>

--
View this message in context: 
http://www.nabble.com/how-i-can-invalide-the-session-at-outputlink-tf4023628.html#a11496442
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Reply via email to