Welcome to the world of Ajax. Dave
--- sathish kumar <[EMAIL PROTECTED]> wrote: > > hi... > please go through this link.... > http://struts.apache.org/2.x/docs/doubleselect.html > hope it helps u... > > and this behaviour seems like a bug... > > > setecastronomy wrote: > > > > I'm using Struts 2.0.6 > > I noticed the following behaviour of the doubleselect UI tag, present > also > > in the Struts showcase. > > A non default item is choosen in the first select and something else is > > choosen in the linked select. > > After submit if one returns to the form page using the 'back' button in > > the browser the content of the double select is inconsistent. > > What I mean is that the first select reflects the choice you made, while > > the second select shows the first element connected to the default value > > of the first select. > > For example on the Struts showcase the double select default values are: > > South > > Florida > > > > Somebody submits North, Oregon, then pushes 'back'. > > > > The double select now shows > > North (the previous choice) > > Florida (inconsitent, Florita is in the South). > > > > Surely changing the first select forward and backward a consistent state > > is restored, but it is a potential source of input errors. > > > > Thanks > > Filippo > > > > > > -- > View this message in context: > http://www.nabble.com/-S2--Doubleselect-inconsistent-if-using-%27back%27-button-tp12294147p15655922.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]