Hi Susan,

I've got a similar situation and originally wanted to minimise JavaScript..
I do it 2 ways:
    1) Ed Hill's display tag (kewl) will easily allow pagination of long
lists so I built a tile.. and inserted my list into the same page.. I can
then use his decorators to create selection links in the resulting table to
select any item to insert into my selected list.. again on the same page..
again using the Display tag.
    2) I also use state management to enable me to swap back and forth
between a looooong list and a detail of an item on that list.. I just create
the appropriate buttons on each page to jump back and forth and manage state
in my server.  I don't use popups at all..  Now Because I'm dealing with a
database search here.. it's possible to get really long lists... and
dragging all that back is not scalable.  Soo.. I've recently gone back to
using the pager-tag and yet more state-management (and the LIMIT tag on the
database) to allow me to set up all the page numbers but only drag back the
data for the current page.. as the user traverses through the pages.. each
gets cached so going back is much quicker - and I believe the whole thing
becomes scalable.

Having said all this.. I'm finding that it's really hard to write a
compelling web-app without some Java-Script.  So I'm planning on just
supporting the main 2 browsers.

Hope this helps.

Jon

Architect/Developer Omega Software Ltd.

----- Original Message -----
From: "Susan Bradeen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 7:23 PM
Subject: Simulating Client field prompting


> I have a few fields in some JSPs that will need to provide "client/server
> type field prompting" (user double-clicks on a field to open a selection
> window). In reviewing the Struts docs and archives, it appears that there
> is no "Struts-specific" functionality for this, and I noticed that other
> people have used JavaScript pop-up windows in similar situations. Although
> I've used pop-ups before, I am not confident they *will* be cross-browser
> compatible, which is important in this application, so I am shying away
> from using them this time. Unfortunately, I cannot use Struts
> selection/drop boxes for these fields, since my list of selections is
> quite large (user name lists, etc).
>
> I am wondering ... has anyone has come up with a different (less
> JavaScript) approach to making a field value selection from another list?
>
> Thanks for any ideas,
> Susan Bradeen
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to