yes that is the way to go
Ingram Chen wrote:
hm It is a little hard for me to image your discussion...
anyway, I tried to override isVersioned() to return false but
it doesn't work at all
After dig into the source code, I found that all pages are registered
in session and it's possibl
hm It is a little hard for me to image your discussion...
anyway, I tried to override isVersioned() to return false but
it doesn't work at all
After dig into the source code, I found that all pages are registered
in session and it's possible to remove page directly:
add(new Form("saveBo
Ok, ok, you win :)
Eelco
On 9/6/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> doesn't have to.
> What is the redirect page after you submit a form?
> That can be another page. Then the back button is used to go back
>
>
> Eelco Hillenius wrote:
> > Yep. Which is the case with form submission
doesn't have to.
What is the redirect page after you submit a form?
That can be another page. Then the back button is used to go back
Eelco Hillenius wrote:
Yep. Which is the case with form submissions :)
Eelco
On 9/6/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
as long as it is the sa
Yep. Which is the case with form submissions :)
Eelco
On 9/6/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> as long as it is the same page...
>
>
> Eelco Hillenius wrote:
> > The nice thing - which we didn't have in the past - of turning it off,
> > is that the backbutton won't even take you
as long as it is the same page...
Eelco Hillenius wrote:
The nice thing - which we didn't have in the past - of turning it off,
is that the backbutton won't even take you to the former version of
the page, as the URL is the same.
Eelco
On 9/6/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
The nice thing - which we didn't have in the past - of turning it off,
is that the backbutton won't even take you to the former version of
the page, as the URL is the same.
Eelco
On 9/6/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> then by default the back button doesn't work out of the box.
then by default the back button doesn't work out of the box.
I do like to have it by default on component changes. (add/remove or
internalstate change)
but model change is a thing i can live without by default.
Because most of the time it is db data.
And if you alter an object and then go back t
I've been thinking about the whole versioning thing longer actually:
wouldn't it be a better (certainly more efficient) default to turn it
off? If you really want the rollback behaviour, you can easily turn it
on.
Eelco
On 9/6/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Versioning should wo
Versioning should work out-of-the-box and roll back changes. A lot of
times this is not what you want though. Your best option then is to
turn off versioning, by overriding method isVersioned and let it
return false (e.g. on your Page). This additionally has the effect
that your url won't change, s
A simple submission flow:
PageA -> submit -> PageB
When a user clicks "Back Button" to back PageA,
How to prevent PageA to re-submit and redirect to expired Page for the user ?
I know every page has version but can't figure out how to do that
Thanks in advance.-- Ingram ChenJava [EMAIL PRO
11 matches
Mail list logo