Dear Lukasz, The radio button is working perfectly when using Struts2. I only did an upgrade the Struts6.3.0.2 without making any changes to the code. When using Struts6.3.0.2 the radio button issue arises. There is no change of code made. Thank you.
Regards Mahabir On Sat, Mar 9, 2024 at 10:37 PM Lukasz Lenart <[email protected]> wrote: > śr., 6 mar 2024 o 08:08 Mahabir Gupta <[email protected]> napisał(a): > > DotsCarRental dotsCarRental = new DotsCarRental(); > > dotsCarRental = (DotsCarRental) > session.getAttribute(DBConstants.sessionCarId); > > You don't have to create an instance if in the next line you assign a > value from session, this is enough: > > DotsCarRental dotsCarRental = (DotsCarRental) > session.getAttribute(DBConstants.sessionCarId); > > > request.setAttribute("dotsCarRentalForm",frm); > > <s:radio name="rentalReason" value="#frm.rentalReason" list="#srr" > listKey="lookupTitle" listValue="lookupTitle" /> > > You assign the form to the "dotsCarRentalForm" request attribute but > in the value attribute you call "#frm.rentalReason" - maybe this is > the problem. > > > Cheers > Łukasz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

