Thanks for a very interesting thread.
An elucidation of many of the topics in this thread can be found in Ted Husted's book,
Struts in
Action; especially see chapter 5, Coping with Action Forms.
It is very tempting when you first come to Struts to do a great deal of processing in
the Action
Is anyone familiar with this that can help?
- Original Message -
From: Chris Cranford [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, June 18, 2004 3:47 PM
Subject: Re: bean defines
And it may be important that I point out if I use:
bean:write
Hmm .. in your Action's execute method you should be able to do:
DynaValidatorForm myForm = (DynaValidatorForm) form;
String sort = myForm.get(sort);
String order = myForm.get(order);
This will get the current values on the form -- if the form was just
created than these will be the initial
Chris, your running into the problem because when you use bean:define
where the value is specified in the body of that tag, it create a new
String scripting variable as well as a page-scoped attribute that is
also a String.
Instead, you want the actual form bean itself. I am not too sure about
Is there a way to detect when the user closes the browser.
What I want to do is do clean-up and destroy the session.
Thanks in advance.
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi Everyone,
Depending upon the interest level, I'm willing to organize a social
gathering at a bar or restaurant in San Francisco during the upcoming
JavaOne conference. It would either be around 8:30pm on Sunday, June 27th,
after the Welcome Reception ends. Or it would be around 8:00PM on
Thanks for the reply. But, I find it hard to accept that it can't be done.
And, users may not be computer savy or follow good etiquette and log off.
Bill Siggelkow wrote:
AFAIK this cannot be done -- your best bet is to provide a Logoff link
and a reasonable session timeout.
ksitron wrote:
Is
Bill -
The point of my discussion was the following premise:
public class MyCheckboxForm extends ActionForm
public class MyForm1 extends MyCheckboxForm
public class MyForm2 extends MyCheckboxForm
I want to be able to pass MyForm1 or MyForm2 to the same JSP and have it
work because
There are ways, if you are so adamant about this that you want to use a lot
of resources. Are you?
At 04:53 PM 6/19/2004, Bill Siggelkow wrote:
AFAIK this cannot be done -- your best bet is to provide a Logoff link and
a reasonable session timeout.
ksitron wrote:
Is there a way to detect when
Rick,
Sorry if I the problem def I supplied wasn't complete enough. I
was trying to avoid keyboard diarrhea. I'm sure that I'm making this
more difficult than it need be. :-)
I have a number of mappings. Each with its own unique action,
form, and set of forwards comprising the jsp
10 matches
Mail list logo