Ok. An example for the basic problem:

There is a label that displays "Loggein as ..." when the user is
logged in, and "Not logged in" when he's not. If the user logins in
using the login form, the label doesn't change, unless I use
setResponsePage.

I figured out that I can use setResponsePage(getPage().getClass()); to
keep the user on the same page, but that still looks like a workaround
to me, not a solution.

Jörn

On Mon, Mar 10, 2008 at 11:46 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> If you don't set a responsepage the current page will be served again.
>  For determining what might be the problem of the login not working we
>  need to see some code and a better description of what is not working.
>
>  Maurice
>
>
>
>  On Mon, Mar 10, 2008 at 11:39 AM, Jörn Zaefferer
>  <[EMAIL PROTECTED]> wrote:
>  > Hi,
>  >
>  >  our application has a login form on every page, defined in a Base
>  >  WebPage. So far we have to use
>  >  setResponsePage(getApplication().getHomePage()); to update the page,
>  >  otherwise it looks like the login didn't work, even if it did. But we
>  >  don't want to go to the homepage, the user wants to stay on the
>  >  current page instead.
>  >
>  >  How can I "flush" the current page?
>  >
>  >  Thanks
>  >  Jörn Zaefferer
>  >
>  >  ---------------------------------------------------------------------
>  >  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]
>
>

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

Reply via email to