--Original Message-
> From: Tito Eritja [mailto:[EMAIL PROTECTED]
> Sent: 24 November 2004 19:41
> To: struts
> Subject: loosing request attributes from jsp to action
>
>
> Hi everybody.
>
> We are working on a fleet trucking system. One user can have several
>
Tito Eritja wrote the following on 11/24/2004 2:41 PM:
We get that identifier in jsp "window" with
request.getAttribute("index") (with JSTL tags works fine), set it on
request with ,
and submit the form to the action, The problem comes when trying to get
the identifier bean from this request in the
Hi everybody.
We are working on a fleet trucking system. One user can have several
windows opened, each window can manage several trucks.
In order to manage this, the actionform has a Vector of this "window"
information (and it's set in a session scope).
As all this "windows" are managed by th
On Fri, 13 Aug 2004 20:29:53 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> I notice this problem ( validation fails now lost select list on page )
> comes up a lot on this mailing list. Probably time I updated a wiki
> somewhere of the various approaches you can take to accomodate this
> prob
Craig McClanahan wrote:
That makes more sense now.
I tend to put all my lookup data (for dropdown lists and such) into
application scope (if its global) or session scope (if it's user
specific), primarily as a performance enhancement ... I only have to
look it up once, instead of once per request.
On Fri, 13 Aug 2004 17:37:20 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Craig McClanahan wrote:
>
> >>>I can then
> >>>call a private setUp() method in my Action that is used to set up my
> >>>form with any other request attributes that should always be there.
> >>
> >>I'm curious why using
Craig McClanahan wrote:
I can then
call a private setUp() method in my Action that is used to set up my
form with any other request attributes that should always be there.
I'm curious why using the input parameter doesn't work for you?
Indeed ... the feature is working as it was designed, based on
On Fri, 13 Aug 2004 12:51:44 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Rick Reumann [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 13, 2004 1:06 PM
> > To: Struts Users Mailing List
> > Subject: Re:
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 13, 2004 1:06 PM
> To: Struts Users Mailing List
> Subject: Re: Loosing request attributes
> The problem you are describing comes up a lot on this list - when
> validation f
Vary nice Rick!
Interesting solution, i'll work on that!
--- Rick Reumann <[EMAIL PROTECTED]> escreveu:
> Leandro Melo wrote:
>
> > Suppose a user submits a request that is handled
> by
> > MyActionDoSomething. Then this action sets a
> request
> > attribute like this:
> >
> > request.setAttr
Leandro Melo wrote:
Suppose a user submits a request that is handled by
MyActionDoSomething. Then this action sets a request
attribute like this:
request.setAttribute("MyObject", obj);
and forwards the request to the page
myPageDoSomeOtherThing.jsp, wich has some inputs for
the user to fill in.
T
Robert Taylor <[EMAIL PROTECTED]> escreveu:
>
> >
> >
> >>form.reset();
> >>
> >>robert
> >>
> >>
> >>
> >>>-Original Message-
> >>>From: Leandro Melo
> >>>
> >>
> > -Original Message-
> > > From: Leandro Melo
> > [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 13, 2004 10:50 AM
> > > To: Struts Users Mailing List
> > > Subject: RE: Loosing request attributes
> > >
> > >
> &
that i'm not talking about the
formBean attributes, right !?
--- Jim Barrows <[EMAIL PROTECTED]> escreveu:
>
>
> > -Original Message-
> > From: Leandro Melo
> [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 13, 2004 10:50 AM
> > To: Struts
t; then changing it to false will solve the problem.
> >
> > Thanx,
> > Satish Kataria
> >
> > -Original Message-
> > From: Leandro Melo
> > [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 13, 2004 7:39 AM
> > To: struts jakarta
>
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 13, 2004 10:50 AM
> To: Struts Users Mailing List
> Subject: RE: Loosing request attributes
>
>
> No i'm not Kataria. Is this the default option???
> Ac
" in ur action mapping. If so
> then changing it to false will solve the problem.
>
> Thanx,
> Satish Kataria
>
> -Original Message-
> From: Leandro Melo
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 13, 2004 7:39 AM
> To: struts jakarta
> Subject: Lo
:
form.reset();
robert
-Original Message-
From: Leandro Melo
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 11:20 AM
To: Struts Users Mailing List
Subject: Re: Loosing request attributes
I was taking a look at the HttpServeltRequest and
ServletRequest apis and noted that theres
creveu:
> form.reset();
>
> robert
>
> > -Original Message-
> > From: Leandro Melo
> [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 13, 2004 11:20 AM
> > To: Struts Users Mailing List
> > Subject: Re: Loosing request attributes
> >
form.reset();
robert
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 13, 2004 11:20 AM
> To: Struts Users Mailing List
> Subject: Re: Loosing request attributes
>
>
> I was taking a look at the HttpServeltRequest and
&
I was taking a look at the HttpServeltRequest and
ServletRequest apis and noted that theres a method
"getParameterMap()" wich returns a map of the
parameters, BUT there isn`t such a "setParameterMap()"
method.
So, what`s an automated way to re-set all my request
parameters in the ActionForm??? Do
Ru using redirect="true" in ur action mapping. If so then changing it to false will
solve the problem.
Thanx,
Satish Kataria
-Original Message-
From: Leandro Melo [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 7:39 AM
To: struts jakarta
Subject: Loosing request attri
Ensure that the request attributes are set in the ActionForm, this is
the only way that you can ensure that they'll still be there when the
validate fails.
Leandro Melo wrote:
Hi,
when a user request hits the ActionForm's validate
method and bounces back, i'm loosing some request
attributes that
Hi,
when a user request hits the ActionForm's validate
method and bounces back, i'm loosing some request
attributes that i had set for the page. In other
words, if the user inputs some data that don't pass
the validate method,
the page comes back with a few request scope
attributes missing.
Is the
24 matches
Mail list logo