feedback messages are not cleaned up until the end fo request, so you
should be able to retrieve them...

if you are doing this across pages make sure you call
getsession().error(..) not just error(..)

-igor


On Wed, Mar 5, 2008 at 6:01 PM, Warren <[EMAIL PROTECTED]> wrote:
> I need to display messages from the Session in a plain JavaScript alert
>  window instead of a feedback panel. I wrote something that seems to work
>  only part of the time. I am writing my messages to error(...) on the Session
>  and retrieving them from the  Session with
>  getFeedbackMessages().messages(null). I retrieve them when I construct my
>  page and then add them to the body tag's onload event. It will work if I
>  call error(...) right before when I call
>  getFeedbackMessages().messages(null). It seems that the messages have
>  already been retrieved or deleted before I get to them.
>
>  How can I get a hold of the messages that are displayed on a feedback panel
>  so I can display them on a JS alert window instead?
>
>  Thanks,
>
>  Warren
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to