Hi all!
         on logout link in my page , I am invalidating the session.
But my page contains some ajax call also. May be due to that ..on click of
logout link
sometime it does not navigate to logout.jsp page. Sometime it does.
If it does not navigate to logout page then user is still on the same page
and he tries to do some operation which lead to some unpredictable output
sice our session is expired.
Can anyone pls let me know what should i do in this situation...
Thanks...
regards
Arvind



-----Original Message-----
From: Erlend Hamnaberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 05, 2007 6:16 AM
To: MyFaces Discussion
Subject: Re: Tomahawk and converters


Erlend Hamnaberg wrote:
> Matthias Wessendorf wrote:
>>> converter="evatest.AlternativeConverter"
>>
>> tried
>> converter="#{bean.propertyThatReturnsMyConverter}"
>> ?
>>
> That didnt work, no alternatives are displayed.
>
> Changed back to the original, the same happens. With debug output
> gives this
>
> 2007-07-04 13:23:56,426 [btpool0-3] DEBUG
> org.apache.myfaces.el.VariableResolverImpl - Variable 'ajaxContext'
> could not be resolved.
> 2007-07-04 13:23:56,427 [btpool0-3] DEBUG
> org.evatest.web.beans.TestBean - studenttest.id: 301
> 2007-07-04 13:23:56,427 [btpool0-3] DEBUG
> org.evatest.web.beans.TestBean - studenttest.answers: 7
> 2007-07-04 13:23:56,580 [btpool0-3] DEBUG
> org.evatest.web.beans.TestBean - answers.size: 7
> 2007-07-04 13:23:56,588 [btpool0-3] DEBUG
> org.evatest.web.converter.AlternativeConverter - 2;40;0;0
>
> String from converter.
>
> 2007-07-04 13:23:56,588 [btpool0-3] DEBUG
> org.evatest.web.converter.AlternativeConverter - 2 40 0
>
> This denotes that the alternative was correctly decoded.
>
> 2007-07-04 13:23:56,605 [btpool0-3] DEBUG
> org.apache.myfaces.lifecycle.LifecycleImpl - exiting from
> lifecycle.execute in PROCESS_VALIDATIONS(3) because getRenderResponse
> is true from one of the after listeners
> 2007-07-04 13:23:56,633 [btpool0-3] DEBUG org.evatest.model.Question -
> [EMAIL PROTECTED]
> 2007-07-04 13:23:56,633 [btpool0-3] DEBUG org.evatest.model.Question -
> [EMAIL PROTECTED]
> 2007-07-04 13:23:56,684 [btpool0-3] DEBUG
> org.apache.myfaces.renderkit.html.util.ReducedHTMLParser - PI found at
> line 1
> 2007-07-04 13:23:56,684 [btpool0-3] DEBUG
> org.apache.myfaces.renderkit.html.util.ReducedHTMLParser - DOCTYPE
> found at line 3
>
>
>
> Any thoughts?
>
> The answerBean is requestscoped.. does this mean anything ?
>
>
> Regards
>
> Erlend
>
I'm replying to myself in the dead of night.

I changed the implementation AsnwerBean to accept Integers instead of
Alternative.
Without any converter this works fine, however with a <f:numberConverter
integerOnly="true" /> i get the same error as earlier.

Is there a bug in the converter mechanism in myfaces?

Regards

Erlend

Disclaimer: The information contained in this e-mail and attachments if any are 
privileged and confidential and are intended for the individual(s) or 
entity(ies) named in this e-mail. If the reader or recipient is not the 
intended recipient, or employee or agent responsible for delivering to the 
intended recipient, you are hereby notified that dissemination, distribution or 
copying of this communication or attachments thereof is strictly prohibited. IF 
YOU RECEIVE this communication in error, please immediately notify the sender 
and return the original message.

Reply via email to