Anthony
Well, your frames example may be very useful to me in another context. So does
the output generated in the form get displayed on the "target" frame? I'm doing
my own paging, a specialized calendar list, and I'd like to paint the pages in a
frame instead of flashing the entire window every time. Thanks for the idea.
I see you point about not fighting with Javascript and the user [or, fighting
the user with Javascript :) ]. your serial number scheme sounds good. I sort of
get the idea, but can you share any more about it?
Thanks
Tom
Anthony Martin wrote:
> I used frames briefly, to show the UI team it was possible. I mainly showed
> them how to make submits show up on a different frame, which is not quite
> what you're talking about:
>
> <html:form action="editThingy" target="overThere">
> .
> .
> .
> </html:form>
>
> It worked, and I stopped playing with it and let the UI team do their thing.
>
> As you probably know, just taking the controls away does not truly prevent
> users from accessing those controls. I use ALT + (LEFT||RIGHT) more than
> the nav bar.
>
> Instead of fighting with JavaScript and the user, I have a SecurityAction
> base class that among other things, issues a serial number that must match
> with one stored in the session. It can be incremented for each operation,
> but if you're really anal, it's a good idea to randomly issue them.
>
> Anthony
>
> -----Original Message-----
> From: Tom Miller [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 1:31 PM
> To: struts-user
> Subject: Opening another window from Struts
>
> Hello
>
> I'm trying to open a new window (without a location bar) from within my
> Struts application. I don't want the users to be able to page forward
> and back, etc. while they are on that new page editing a record in my
> database.
>
> I know how to open new windows via Javascript, but I'm unsure of how to
> do this in what with Struts passing beans and parameters through the
> Action servlet. Has anyone worked this out before?
>
> TIA for any ideas.
>
> --
> Tom Miller
> Miller Associates, Inc.
> [EMAIL PROTECTED]
> 641.469.3535 Phone
> 413.581.6326 FAX
--
Tom Miller
Miller Associates, Inc.
[EMAIL PROTECTED]
641.469.3535 Phone
413.581.6326 FAX