But what data do you have in that Window 1?
And what happens if i just open that in a different window?
Will that then suddenly be windows 2??

I still think that it is a different thing the serverside "window" thing and the
client side window thing.
A server side window thing can be in any window on the client side
Only pages made for that window (the functionality) do have that window object
for some data.
At least i guess now that window object has state? Because if that is the case
i don't like cloning that. That could be very confusing for developers

johan



On 8/2/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
Yeah, we should probably clone it as a default, but in a way that
users can customize. Like Igor proposed using some factory method.

A use case for windows is e.g. a user that can work in different
'modes'. Say a user has to select a departement, and depending on the
selected departement he'll have a different set of functionality
(you've seen that before at Topicus btw, where we used drop downs for
users to switch modes). Typically, you would keep the current mode in
the session. Which is a problem when you want to work in multiple
modes in different windows. Storing the selected mode in a window
scoped object solves this, while the user e.g. could still be stored
in the session. So for clarity, this would be the hierarchy:

Session
  |-- Default window
  |-- Window 1
  |-- Window 2

Eelco

On 8/2/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> that doesnt have to be.
> you could have a bookmarkable link that is clicked on with new window.
>
> And does a page has the window object? We then do have to take care that
> that window object is cloned?
> But then we coud clone user data.. (i guess the window object can have
> session data in it??)
>
> If we don't clone it then window object and that page keeps the same as the
> other page. Then it is not really a window object anymore....
>
> johan
>
>
>
> On 8/2/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> >
> > well
> >
> > we have a factory for windows just like we have for session so that user
> can store any data at all in the window.
> >
> > also we pass in a page into the constructor when available (user right
> clicks on a link and does open in new window) - that way the user can choose
> to init the window with that page instance - which clones it so it works the
> same as it does now.
> >
> >
> > -Igor
> >
> >
> >
> >
> > On 8/2/06, Johan Compagner < [EMAIL PROTECTED] > wrote:
> > >
> > > But what will you do with it???
> > > What data will you store in such a window object on the serverside??
> > > What happens if suddenly by what ever trigger a user wanders to a
> different window??
> > > What then? It is still a child of that window process of yours.
> Certainly if you
> > > add "session data" to that window object. Then the page that suddenly is
> in another window
> > > doesn't have access to that data.
> > >
> > >
> > > johan
> > >
> > >
> > >
> > >
> > > On 8/2/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> > > > Nope, imo window scope is the only good name. What I have in mind can
> > > > certainly not span multiple windows. There is one and only on session
> > > > object. And related to that session there are 1..n windows, which
> > > > should be one-to-one to a browser window.
> > > >
> > > > Eelco
> > > >
> > > >
> > > > On 8/1/06, Johan Compagner <[EMAIL PROTECTED] > wrote:
> > > > > don't know if i would call it window scope.
> > > > > I would call it sub session or something. But that sub session could
> be
> > > > > spanned over more then one window..
> > > > > because as far as i understand eelco wanted something like a sub
> application
> > > > > inside the great application.
> > > > > But a subwindow is not such a thing. Sub window (or the browser
> check we
> > > > > have now) are not sub applications
> > > > > pushed by the developer. No it are "sub" windows pushed by the
> user/browser.
> > > > >
> > > > >
> > > > >  On 8/1/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> > > > > > +1 on loosing the pagemap in favor of window scope.
> > > > > >
> > > > > > Eelco
> > > > > >
> > > > > >
> > > > > > On 8/1/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > > > yes, lets do away with the stupid pagemap. what about window
> scope?
> > > > > > >
> > > > > > > we can write for 1.3 and port to 2.0
> > > > > > >
> > > > > > > -Igor
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 8/1/06, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
> > > > > > > > Yeah, forgot about deferred session creation. That's a kick
> ass
> > > > > > > > feature imo for 1.3 (breaks the API like you said).
> > > > > > > >
> > > > > > > > Those stateless goodies we have in 2.0 are nice and second
> level cache
> > > > > > > > is certainly nice too.
> > > > > > > >
> > > > > > > > Eelco
> > > > > > > >
> > > > > > > >
> > > > > > > > On 8/1/06, Johan Compagner < [EMAIL PROTECTED]> wrote:
> > > > > > > > > and lazy session?
> > > > > > > > > Or is that already in 1.2.1?
> > > > > > > > > I got a bit lost in that because we needed some api breaks
> or not ..
> > > > > > > > >
> > > > > > > > > But what else do people want?
> > > > > > > > > BookmarkableForms?
> > > > > > > > > SecondLevelCache?
> > > > > > > > >
> > > > > > > > > johan
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 8/1/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > we would first like to get the feeling of what features you
> guys
> > > > > want to
> > > > > > > see
> > > > > > > > > in 1.3 then once it stabalizes a bit martijn will translate
> it to
> > > > > the
> > > > > > > wiki
> > > > > > > > >
> > > > > > > > > so far one feature i know of is the backport of converter
> > > > > simplification
> > > > > > > > >
> > > > > > > > > -Igor
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 8/1/06, Nick Heudecker < [EMAIL PROTECTED] > wrote:
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > Should this get started here or on the Wiki?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 8/1/06, Martijn Dashorst < [EMAIL PROTECTED] >
> wrote:
> > > > > > > > > > All,
> > > > > > > > > >
> > > > > > > > > > What will the roadmap for 1.3 and 2.0 be?
> > > > > > > > > >
> > > > > > > > > > Martijn
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Download Wicket 1.2.1 now! Embed Wicket components in your
> > > > > portals!
> > > > > > > > > > -- http://wicketframework.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > > > > > > 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-develop mailing list
> > > > > > > > > > Wicket-develop@lists.sourceforge.net
> > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > > > > >
> > > > > > > > > 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-develop mailing list
> > > > > > > > >   Wicket-develop@lists.sourceforge.net
> > > > > > > > >
> > > > > > >
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > > > > >
> > > > > > > > > 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-develop mailing list
> > > > > > > > >   Wicket-develop@lists.sourceforge.net
> > > > > > > > >
> > > > > > >
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > > > > > 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-develop mailing list
> > > > > > > > > Wicket-develop@lists.sourceforge.net
> > > > > > > > >
> > > > > > >
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > > > > 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-develop mailing list
> > > > > > > > Wicket-develop@lists.sourceforge.net
> > > > > > > >
> > > > > > >
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > > > 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-develop mailing list
> > > > > > > Wicket-develop@lists.sourceforge.net
> > > > > > >
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > > 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-develop mailing list
> > > > > > Wicket-develop@lists.sourceforge.net
> > > > > >
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > >
> > > > >
> > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > 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-develop mailing list
> > > > > Wicket-develop@lists.sourceforge.net
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> -------------------------------------------------------------------------
> > > > 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-develop mailing list
> > > > Wicket-develop@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > 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-develop mailing list
> > > Wicket-develop@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > >
> > >
> > >
> >
> >
> >
> -------------------------------------------------------------------------
> > 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-develop mailing list
> > Wicket-develop@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >
> >
> >
>
>
> -------------------------------------------------------------------------
> 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-develop mailing list
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>
>
>

-------------------------------------------------------------------------
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-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

-------------------------------------------------------------------------
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-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to