I have a strange situation. I have a form and 5 of the form fields are user defined. So I have a table in my database that contains a userid and then 5 userdefined columns. The user can go into his profile and set each user defined column to be whatever he wants.
Now, when the Input Form is displayed I want to replace the User Defined n label with whatever the user has defined for his columns.
My question is basically the best approach to do this without using too many scriplets.
My first idea was to add a parameter to my UserBean that basically holds in a collection or array of some sort all 5 of these and then to use that UserBean in my
JSP page to display the Labels. Is this a good idea?
My other idea was to make a seperate Bean that was UserDefinesBean and just 5 parameters, 1 for each UserDefined column, and use that bean in the JSP page. Is this a good way?
Is there a better way?
[ September 24, 2003: Message edited by: Gregg Bolinger ]