ś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]