I am new to JSF.
I am doing an application in which this is one of the requirement.
For the new entry page, I have a radio button which shows article and subscriber. The field names and the type of input tags are defined in the database. When the user selects either article or subscriber, the application need to display all the field names and the tags defined for the particular option in the database.
If I add a new field to either article or subscriber in the database, it should also be displayed automatically without any changes in the view code.
Is there any common tag for the input where the type can be changed dynamically at the run time or any other way to solve this problem?
I searched Google, but unable to get a solution to this problem. Please help.