struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanen Ben Rhouma <hanen...@gmail.com>
Subject Re: Why optionscollection doesn't persist the clicked value
Date Wed, 06 Jan 2010 16:50:06 GMT
When re-rendered it displays two drop down lists filled with two collections
results but blank default value shown on both of them while I need to keep
the first selected value shown to the user.

On Wed, Jan 6, 2010 at 5:21 PM, Kawczynski, David <
david_kawczynski@merck.com> wrote:

> That's odd.
>
> If you were to <struts:write> the actionform's property
> when the page is re-rendered, what does it contain?
>
>
>
> > -----Original Message-----
> > From: Hanen Ben Rhouma [mailto:hanen105@gmail.com]
> > Sent: Wednesday, January 06, 2010 10:54 AM
> > To: Struts Users Mailing List
> > Subject: Re: Why optionscollection doesn't persist the clicked value
> >
> > Yes it is.
> >
> > On Wed, Jan 6, 2010 at 4:19 PM, Kawczynski, David <
> > david_kawczynski@merck.com> wrote:
> >
> > > To further clarify:
> > > Is the optionscollection inside an <html:select> element?
> > > Is the scope of the corresponding action-form "session"?
> > >
> > > > -----Original Message-----
> > > > From: Kawczynski, David
> > > > Sent: Wednesday, January 06, 2010 9:46 AM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: Why optionscollection doesn't persist the
> > clicked value
> > > >
> > > > Is the scope of the corresponding action-form "session"?
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Hanen Ben Rhouma [mailto:hanen105@gmail.com]
> > > > > Sent: Wednesday, January 06, 2010 5:26 AM
> > > > > To: Struts Users Mailing List
> > > > > Subject: Why optionscollection doesn't persist the clicked value
> > > > >
> > > > > Hello,
> > > > >
> > > > > I don't understand why optionscollection doesn't persist the
> > > > > clicked value.
> > > > >
> > > > > I'm using many of them: second one is filled after selecting
> > > > > one parameter
> > > > > from the first one and so on but the thing is that after each
> > > > > selection it
> > > > > reloads the jsp page without persisting the first clicked
> > > > > value in the drop
> > > > > down list.
> > > > >
> > > > > Do someone know the reason or even a tricky workaround ?
> > > > >
> > > > > Thanks in advance
> > > > >
> > > Notice:  This e-mail message, together with any
> > attachments, contains
> > > information of Merck & Co., Inc. (One Merck Drive,
> > Whitehouse Station, New
> > > Jersey, USA 08889), and/or its affiliates Direct contact
> > information for
> > > affiliates is available at
> > http://www.merck.com/contact/contacts.html)
> > > that may be confidential, proprietary copyrighted and/or
> > legally privileged.
> > > It is intended solely for the use of the individual or
> > entity named on this
> > > message. If you are not the intended recipient, and have
> > received this
> > > message in error, please notify us immediately by reply
> > e-mail and then
> > > delete it from your system.
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> Notice:  This e-mail message, together with any attachments, contains
> information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New
> Jersey, USA 08889), and/or its affiliates Direct contact information for
> affiliates is available at http://www.merck.com/contact/contacts.html)
> that may be confidential, proprietary copyrighted and/or legally privileged.
> It is intended solely for the use of the individual or entity named on this
> message. If you are not the intended recipient, and have received this
> message in error, please notify us immediately by reply e-mail and then
> delete it from your system.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message