----- Original Message ----- From: Michael Jouravlev To: Struts Users Mailing List Sent: Wednesday, November 30, 2005 12:41 AM
  Subject: Re: paging in struts

  On 11/29/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
  > Michael Jouravlev on 29/11/05 16:54, wrote:
  > > Both Struts Dialogs example and DisplayTag library use session-scoped
  > > data to display in pages.
  >
  > I haven't checked out either the struts dialog pagination or the
  > displaytag, so I'm not sure how they deal with multiple browser windows,
  > but if you are keeping just one session-scoped dataset under one key,
  > then multiple windows will mix up their lists. Guess it depends how open
  > your requirements are.

  Yes, that is true. This is the major limitation of having
  session-scoped form beans or other singleton-like objects. On the
  other hand, how often you saw a regular user, who used "Open in new
  window" browser action? Also, it is harder to open a new window with a
  pushbutton, than with a link ;-) I think that benefits of
  session-scoped data weigh more than drawbacks.

Guess I'm not your regular user then. I use the middle button on my mouse to open new tabs in firefox all the time. Admittedly there are not many webapps where I would do it which I can think of as examples, but I do this in e.g. mailing list archives all the time.


Gaet on 30/11/05 16:42, wrote:
> why don't simply use 'struts-layout' taglib?

with hibernate, do you mean? I started with a taglib I inherited at my work and adapted it. In retrospect I should have thrown it out and started from scratch. Hence I didn't look for other taglibs out there.


Adam

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

Reply via email to