Ajax component replaceWith and browser back-button problems

View: New views
17 Messages — Rating Filter:   Alert me  

Ajax component replaceWith and browser back-button problems

by ptrthomas :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi,

I have a panel A that is replaced by another panel B over Ajax using Component.replaceWith().  Panel B contains a few Links.

Say I navigate to this Page and trigger the event that causes panel B to replace Panel A.  Then I click one of the Link(s) within Panel B that brings up another page.

Now when I use the browser back button I see the first Page where B is visible as expected.  But now when I click on another Link within B - it causes a Wicket runtime exception: component [...] not found on page [...]

Everywhere else across the app, browser back-button works beautifully.  Is this problem to be expected if you have links within an area on a page refreshed using Ajax and then you use the browser back button to try other links in that area?

Thanks,

Peter.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by igor.vaynberg :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
matej didnt you fix this in 1.x svn?

-igor


On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
Hi,

I have a panel A that is replaced by another panel B over Ajax using Component.replaceWith ().  Panel B contains a few Links.

Say I navigate to this Page and trigger the event that causes panel B to replace Panel A.  Then I click one of the Link(s) within Panel B that brings up another page.

Now when I use the browser back button I see the first Page where B is visible as expected.  But now when I click on another Link within B - it causes a Wicket runtime exception: component [...] not found on page [...]

Everywhere else across the app, browser back-button works beautifully.  Is this problem to be expected if you have links within an area on a page refreshed using Ajax and then you use the browser back button to try other links in that area?

Thanks,

Peter.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by Matej Knopp-2 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Peter, are you using 1.x? this can be caused by ajax requests being
non-versioned in 1.2. In 1.x, the changes should be merged to latest
version.

On 3/28/07, Igor Vaynberg <igor.vaynberg@...> wrote:

> matej didnt you fix this in 1.x svn?
>
> -igor
>
>
>
> On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
> >
> > Hi,
> >
> > I have a panel A that is replaced by another panel B over Ajax using
> Component.replaceWith ().  Panel B contains a few Links.
> >
> > Say I navigate to this Page and trigger the event that causes panel B to
> replace Panel A.  Then I click one of the Link(s) within Panel B that brings
> up another page.
> >
> > Now when I use the browser back button I see the first Page where B is
> visible as expected.  But now when I click on another Link within B - it
> causes a Wicket runtime exception: component [...] not found on page [...]
> >
> > Everywhere else across the app, browser back-button works beautifully.  Is
> this problem to be expected if you have links within an area on a page
> refreshed using Ajax and then you use the browser back button to try other
> links in that area?
> >
> > Thanks,
> >
> > Peter.
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@...
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by ptrthomas :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Matej - I am using wicket-1.3-incubating-SNAPSHOT.jar dated 2007-03-12

Let me know if you need any more details.  On the Page in question I had tried setVersioned with both true and false, same result.

Thanks,

Peter.

On 3/28/07, Matej Knopp <matej.knopp@...> wrote:
Peter, are you using 1.x? this can be caused by ajax requests being
non-versioned in 1.2. In 1.x, the changes should be merged to latest
version.

On 3/28/07, Igor Vaynberg <igor.vaynberg@...> wrote:

> matej didnt you fix this in 1.x svn?
>
> -igor
>
>
>
> On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
> >
> > Hi,
> >
> > I have a panel A that is replaced by another panel B over Ajax using
> Component.replaceWith ().  Panel B contains a few Links.
> >
> > Say I navigate to this Page and trigger the event that causes panel B to

> replace Panel A.  Then I click one of the Link(s) within Panel B that brings
> up another page.
> >
> > Now when I use the browser back button I see the first Page where B is
> visible as expected.  But now when I click on another Link within B - it
> causes a Wicket runtime exception: component [...] not found on page [...]
> >
> > Everywhere else across the app, browser back-button works beautifully.  Is
> this problem to be expected if you have links within an area on a page
> refreshed using Ajax and then you use the browser back button to try other
> links in that area?
> >
> > Thanks,
> >
> > Peter.
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@...
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------

> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by igor.vaynberg :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
peter can you try updating to the lastest snapshot and trying again?

-igor


On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
Matej - I am using wicket-1.3-incubating-SNAPSHOT.jar dated 2007-03-12

Let me know if you need any more details.  On the Page in question I had tried setVersioned with both true and false, same result.

Thanks,

Peter.


On 3/28/07, Matej Knopp <matej.knopp@...> wrote:
Peter, are you using 1.x? this can be caused by ajax requests being
non-versioned in 1.2. In 1.x, the changes should be merged to latest
version.

On 3/28/07, Igor Vaynberg <igor.vaynberg@...> wrote:

> matej didnt you fix this in 1.x svn?
>
> -igor
>
>
>
> On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
> >
> > Hi,
> >
> > I have a panel A that is replaced by another panel B over Ajax using
> Component.replaceWith ().  Panel B contains a few Links.
> >
> > Say I navigate to this Page and trigger the event that causes panel B to

> replace Panel A.  Then I click one of the Link(s) within Panel B that brings
> up another page.
> >
> > Now when I use the browser back button I see the first Page where B is
> visible as expected.  But now when I click on another Link within B - it
> causes a Wicket runtime exception: component [...] not found on page [...]
> >
> > Everywhere else across the app, browser back-button works beautifully.  Is
> this problem to be expected if you have links within an area on a page
> refreshed using Ajax and then you use the browser back button to try other
> links in that area?
> >
> > Thanks,
> >
> > Peter.
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@...
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------

> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by ptrthomas :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Igor,

I now see that there is a 1.3.0-incubating-SNAPSHOT (as opposed to 1.3-incubating-SNAPSHOT which I was using earlier).

I assume this is the latest version and just switched.  But Looks like wicket.markup.html.form.validation.AbstractValidator has disappeared.  I don't see a mention of this at http://cwiki.apache.org/WICKET/migrate-13.html can you help?

Other API changes I noted:
- getObject(Component) in AbstractReadOnlyModel became getObject()
- FeedBackMessage.getMessage() returns Object not String
- IStringResourceLoader added one method signature loadStringResource(Component, String)

Thanks,

Peter.

On 3/29/07, Igor Vaynberg <igor.vaynberg@...> wrote:
peter can you try updating to the lastest snapshot and trying again?


-igor


On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
Matej - I am using wicket-1.3-incubating-SNAPSHOT.jar dated 2007-03-12

Let me know if you need any more details.  On the Page in question I had tried setVersioned with both true and false, same result.

Thanks,

Peter.


On 3/28/07, Matej Knopp <matej.knopp@...> wrote:
Peter, are you using 1.x? this can be caused by ajax requests being
non-versioned in 1.2. In 1.x, the changes should be merged to latest
version.

On 3/28/07, Igor Vaynberg <igor.vaynberg@...> wrote:

> matej didnt you fix this in 1.x svn?
>
> -igor
>
>
>
> On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
> >
> > Hi,
> >
> > I have a panel A that is replaced by another panel B over Ajax using
> Component.replaceWith ().  Panel B contains a few Links.
> >
> > Say I navigate to this Page and trigger the event that causes panel B to

> replace Panel A.  Then I click one of the Link(s) within Panel B that brings
> up another page.
> >
> > Now when I use the browser back button I see the first Page where B is
> visible as expected.  But now when I click on another Link within B - it
> causes a Wicket runtime exception: component [...] not found on page [...]
> >
> > Everywhere else across the app, browser back-button works beautifully.  Is
> this problem to be expected if you have links within an area on a page
> refreshed using Ajax and then you use the browser back button to try other
> links in that area?
> >
> > Thanks,
> >
> > Peter.
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@...
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------

> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by igor.vaynberg :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
hmm, it is briefly mentioned under

Validation Changes

i dont remember if we still have abstract validator or not, see the source of other alidators and if they extend something.

-igor



On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
Igor,

I now see that there is a 1.3.0-incubating-SNAPSHOT (as opposed to 1.3-incubating-SNAPSHOT which I was using earlier).

I assume this is the latest version and just switched.  But Looks like wicket.markup.html.form.validation.AbstractValidator has disappeared.  I don't see a mention of this at http://cwiki.apache.org/WICKET/migrate-13.html can you help?

Other API changes I noted:
- getObject(Component) in AbstractReadOnlyModel became getObject()
- FeedBackMessage.getMessage() returns Object not String
- IStringResourceLoader added one method signature loadStringResource(Component, String)

Thanks,

Peter.


On 3/29/07, Igor Vaynberg <igor.vaynberg@...> wrote:
peter can you try updating to the lastest snapshot and trying again?


-igor


On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
Matej - I am using wicket-1.3-incubating-SNAPSHOT.jar dated 2007-03-12

Let me know if you need any more details.  On the Page in question I had tried setVersioned with both true and false, same result.

Thanks,

Peter.


On 3/28/07, Matej Knopp <matej.knopp@...> wrote:
Peter, are you using 1.x? this can be caused by ajax requests being
non-versioned in 1.2. In 1.x, the changes should be merged to latest
version.

On 3/28/07, Igor Vaynberg <igor.vaynberg@...> wrote:

> matej didnt you fix this in 1.x svn?
>
> -igor
>
>
>
> On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
> >
> > Hi,
> >
> > I have a panel A that is replaced by another panel B over Ajax using
> Component.replaceWith ().  Panel B contains a few Links.
> >
> > Say I navigate to this Page and trigger the event that causes panel B to

> replace Panel A.  Then I click one of the Link(s) within Panel B that brings
> up another page.
> >
> > Now when I use the browser back button I see the first Page where B is
> visible as expected.  But now when I click on another Link within B - it
> causes a Wicket runtime exception: component [...] not found on page [...]
> >
> > Everywhere else across the app, browser back-button works beautifully.  Is
> this problem to be expected if you have links within an area on a page
> refreshed using Ajax and then you use the browser back button to try other
> links in that area?
> >
> > Thanks,
> >
> > Peter.
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@...
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------

> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by ptrthomas :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Ok, my bad - the documentation does mention the package change to wicket.validation.validator.AbstractValidator

But the API looks a lot different, can you quickly point me to the online Javadoc corresponding to 1.3.0-incubating-SNAPSHOT - also if it is downloadable as a zip or something.

Thanks,

Peter.

On 3/29/07, Igor Vaynberg <igor.vaynberg@...> wrote:
hmm, it is briefly mentioned under

Validation Changes

i dont remember if we still have abstract validator or not, see the source of other alidators and if they extend something.


-igor



On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
Igor,

I now see that there is a 1.3.0-incubating-SNAPSHOT (as opposed to 1.3-incubating-SNAPSHOT which I was using earlier).

I assume this is the latest version and just switched.  But Looks like wicket.markup.html.form.validation.AbstractValidator has disappeared.  I don't see a mention of this at http://cwiki.apache.org/WICKET/migrate-13.html can you help?

Other API changes I noted:
- getObject(Component) in AbstractReadOnlyModel became getObject()
- FeedBackMessage.getMessage() returns Object not String
- IStringResourceLoader added one method signature loadStringResource(Component, String)

Thanks,

Peter.


On 3/29/07, Igor Vaynberg <igor.vaynberg@...> wrote:
peter can you try updating to the lastest snapshot and trying again?


-igor


On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
Matej - I am using wicket-1.3-incubating-SNAPSHOT.jar dated 2007-03-12

Let me know if you need any more details.  On the Page in question I had tried setVersioned with both true and false, same result.

Thanks,

Peter.


On 3/28/07, Matej Knopp <matej.knopp@...> wrote:
Peter, are you using 1.x? this can be caused by ajax requests being
non-versioned in 1.2. In 1.x, the changes should be merged to latest
version.

On 3/28/07, Igor Vaynberg <igor.vaynberg@...> wrote:

> matej didnt you fix this in 1.x svn?
>
> -igor
>
>
>
> On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
> >
> > Hi,
> >
> > I have a panel A that is replaced by another panel B over Ajax using
> Component.replaceWith ().  Panel B contains a few Links.
> >
> > Say I navigate to this Page and trigger the event that causes panel B to

> replace Panel A.  Then I click one of the Link(s) within Panel B that brings
> up another page.
> >
> > Now when I use the browser back button I see the first Page where B is
> visible as expected.  But now when I click on another Link within B - it
> causes a Wicket runtime exception: component [...] not found on page [...]
> >
> > Everywhere else across the app, browser back-button works beautifully.  Is
> this problem to be expected if you have links within an area on a page
> refreshed using Ajax and then you use the browser back button to try other
> links in that area?
> >
> > Thanks,
> >
> > Peter.
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@...
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------

> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by Eelco Hillenius :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3.0-incubating-SNAPSHOT/wicket-1.3.0-incubating-SNAPSHOT-javadoc.jar

It would be good if someone could write a couple of scentences on how
to migrate from the old to the new ones. It's not difficult, but
indeed a bit different.

Eelco


On 3/28/07, Peter Thomas <ptrthomas@...> wrote:

> Ok, my bad - the documentation does mention the package change to
> wicket.validation.validator.AbstractValidator
>
> But the API looks a lot different, can you quickly point me to the online
> Javadoc corresponding to 1.3.0-incubating-SNAPSHOT - also if it is
> downloadable as a zip or something.
>
>
> Thanks,
>
> Peter.
>
> On 3/29/07, Igor Vaynberg < igor.vaynberg@...> wrote:
> > hmm, it is briefly mentioned under
> >
> > Validation Changes i dont remember if we still have abstract validator or
> not, see the source of other alidators and if they extend something.
> >
> >
> > -igor
> >
> >
> >
> >
> > On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
> > > Igor,
> > >
> > > I now see that there is a 1.3.0-incubating-SNAPSHOT (as opposed to
> 1.3-incubating-SNAPSHOT which I was using earlier).
> > >
> > > I assume this is the latest version and just switched.  But Looks like
> wicket.markup.html.form.validation.AbstractValidator has
> disappeared.  I don't see a mention of this at
> http://cwiki.apache.org/WICKET/migrate-13.html can you
> help?
> > >
> > > Other API changes I noted:
> > > - getObject(Component) in AbstractReadOnlyModel became getObject()
> > > - FeedBackMessage.getMessage() returns Object not String
> > > - IStringResourceLoader added one method signature
> loadStringResource(Component, String)
> > >
> > > Thanks,
> > >
> > > Peter.
> > >
> > >
> > >
> > > On 3/29/07, Igor Vaynberg <igor.vaynberg@...> wrote:
> > > > peter can you try updating to the lastest snapshot and trying again?
> > > >
> > > >
> > > > -igor
> > > >
> > > >
> > > >
> > > > On 3/28/07, Peter Thomas < ptrthomas@...> wrote:
> > > > > Matej - I am using
> wicket-1.3-incubating-SNAPSHOT.jar dated 2007-03-12
> > > > >
> > > > > Let me know if you need any more details.  On the Page in question I
> had tried setVersioned with both true and false, same result.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Peter.
> > > > >
> > > > >
> > > > >
> > > > > On 3/28/07, Matej Knopp < matej.knopp@...> wrote:
> > > > > > Peter, are you using 1.x? this can be caused by ajax requests
> being
> > > > > > non-versioned in 1.2. In 1.x, the changes should be merged to
> latest
> > > > > > version.
> > > > > >
> > > > > > On 3/28/07, Igor Vaynberg < igor.vaynberg@...> wrote:
> > > > > > > matej didnt you fix this in 1.x svn?
> > > > > > >
> > > > > > > -igor
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 3/28/07, Peter Thomas < ptrthomas@... > wrote:
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I have a panel A that is replaced by another panel B over Ajax
> using
> > > > > > > Component.replaceWith ().  Panel B contains a few Links.
> > > > > > > >
> > > > > > > > Say I navigate to this Page and trigger the event that causes
> panel B to
> > > > > > > replace Panel A.  Then I click one of the Link(s) within Panel B
> that brings
> > > > > > > up another page.
> > > > > > > >
> > > > > > > > Now when I use the browser back button I see the first Page
> where B is
> > > > > > > visible as expected.  But now when I click on another Link
> within B - it
> > > > > > > causes a Wicket runtime exception: component [...] not found on
> page [...]
> > > > > > > >
> > > > > > > > Everywhere else across the app, browser back-button works
> beautifully.  Is
> > > > > > > this problem to be expected if you have links within an area on
> a page
> > > > > > > refreshed using Ajax and then you use the browser back button to
> try other
> > > > > > > links in that area?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > >
> > > > > > > > Peter.
> > > > > > > >
> > > > > > > >
> > > > > > >
> -------------------------------------------------------------------------
> > > > > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > > > > Join SourceForge.net's Techsay panel and you'll get the chance
> to share
> > > > > > > your
> > > > > > > > opinions on IT & business topics through brief surveys-and
> earn cash
> > > > > > > >
> > > > > > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > > > >
> _______________________________________________
> > > > > > > > Wicket-user mailing list
> > > > > > > > Wicket-user@...
> > > > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> -------------------------------------------------------------------------
> > > > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > > > Join SourceForge.net's Techsay panel and you'll get the chance
> to share your
> > > > > > > opinions on IT & business topics through brief surveys-and earn
> cash
> > > > > > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > > > _______________________________________________
> > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@...
> > > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> -------------------------------------------------------------------------
> > > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > > > > > opinions on IT & business topics through brief surveys-and earn
> cash
> > > > > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > > _______________________________________________
> > > > > > Wicket-user mailing list
> > > > > > Wicket-user@...
> > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > >
> > > > >
> > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > > > > opinions on IT & business topics through brief surveys-and earn cash
> > > > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > _______________________________________________
> > > > > Wicket-user mailing list
> > > > > Wicket-user@...
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > > >
> > > >
> > > >
> > > >
> -------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > > > opinions on IT & business topics through brief surveys-and earn cash
> > > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@...
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@...
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@...
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: Ajax component replaceWith and browser back-button problems

by igor.vaynberg :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
we only have an unofficial release for it that is a zip. search the list for it, it is in martijn's dir somewhere.

other then that all the jars/src/and javadocs are available from that wicketstuff.org maven repo.

all the new classes in wicket.validator package have pretty good javadocs so that might be a place to start

-igor


On 3/28/07, Peter Thomas <ptrthomas@...> wrote:
Ok, my bad - the documentation does mention the package change to wicket.validation.validator.AbstractValidator

But the API looks a lot different, can you quickly point me to the onl