Bear Bibeault wrote:What the heck is faiInspectionLocationLogHoldLocationOption? and why would it have a leading zero?
The appropriate approach would be to fix the data rather than jumping through hoops in the JSP.
Remember you asked:
My record location options from datatable are:
1 CMM Room
2 Tooling Inspection
I am providing a form that the user can fill out using barcodes.
Well, guess what? Single digit barcodes will not scan so the option is to make it 01, 02.
Now the user can choose an option to repeat the previous entries. The input for the location option is a drop down list. So the faiInspectionLocationLogHoldLocationOption is a stored session attribute that needs to match the foreach loop varStatus so it knows what should be auto selected.