I have to get all the fields from the database and display it on the front end. The database provides all the details of the fields like id, value, fieldType, valueType. for some reason, I am not able to mix JSTL and JSF (most probably version problem).So, I can not do anything in the jsf file. Now, I am trying to write the whole script which contains the fields. e.g.
and then I try to output this string into the jsf file, but the output is this
what I need is, to render these components. Any suggestions how to do this? please help.
my problem is that the number of fields may vary as I am getting it from the database, so I cannot put this code into the jsp. e.g. there might be 5 fields for one item and any no. of fields for the other. Also, I have to show multiple items and and their no. of attributes can differ.
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop