At the moment you e.g. click on links of the pageable list component,
you'll be increasing versions - unless that pageable list is
unversioned - and your tab links will thus point to older versions.

Eelco


On 4/30/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
I guess I'm bit slower today :) as I have problem understanding this.

The links are regular wicket 'Link's?
(e.g. new Link() { onClick() { tab.switchPage(X); } }?

I just don't understand. Clicking on navigator increases page versions.
Why are the links pointing to older page version?

-Matej

Eelco Hillenius wrote:
> For instance, if you have a tab bar, where the tabs consist of
> internal links. Say one of these panels diplays a pageable list. When
> the user navigates this list beyond the number of page versions, a
> click on a tab will give a page expired exception, as those tabs
> really point to a link in 'history'. That in itself sucks enough, but
> there is also the theoretical problem that if you register model
> changes for your versions, they would be rolled back too, while that's
> probably not something you would expect from clicking on a tab. The
> solution to this is easy: use bookmarkable page links for things like
> tabs. But it also destroys part of Wicket's programming model.
>
> Eelco
>
>
> On 4/30/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
>> Eelco Hillenius wrote:
>> > Yeah there's just no perfect world as long as browsers work the way
>> > they work. The big, really big advantage of client state saving is
>> > that there is no limit to history. You can work with internal links
>> > everywhere without ever having to worry they'll get stale. I found
>> > this an ugly limitation of keeping server state currently; if you want
>> > to create tabs etc, you generally have to use bookmarkable page links
>> > as otherwise you might run into the trouble of running out of
>> > versions.
>> Could you be more specific here? What kind of tabs?
>>
>> -Matej
>> >
>> > Eelco
>> >
>> > On 4/30/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
>> >> as always igor can say it so much better then i can :)
>> >>
>> >> But ajax and clientside state really isn't the best combination to
>> have.
>> >> Because for every request the page state must be sent over and sent
>> back.
>> >>
>> >> johan
>> >>
>> >>
>> >> On 4/30/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On 4/29/06, Matej Knopp < [EMAIL PROTECTED]> wrote:
>> >> > > Johan Compagner wrote:
>> >> > > > this is pretyt much all in place.
>> >> > > > I don't believe in a cookie and or url state what is that?
>> >> storing a
>> >> > > > page in an url?
>> >> > > >
>> >> > > > We have a branch where we have a first draft of ClientSide Page
>> >> saving
>> >> > > > (in an javascript variable that is then set in a hidden field of
>> >> all
>> >> the
>> >> > > > forms)
>> >> > > How will hidden field work with ajax? Will every response have to
>> >> carry
>> >> > > the whole (new) page state?
>> >> > >
>> >> >
>> >> >
>> >> > yep, ajax + clientstate = the suck
>> >> >
>> >> >
>> >> > -Igor
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>> > -------------------------------------------------------
>> > Using Tomcat but need to do more? Need to support web services,
>> security?
>> > Get stuff done quickly with pre-integrated technology to make your job
>> > easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
>> > _______________________________________________
>> > Wicket-user mailing list
>> > Wicket-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to