Link to home
Start Free TrialLog in
Avatar of pixarsol
pixarsolFlag for Pakistan

asked on

Dynamic struts form generation

I have a table in database, which stores struts tags, so that i can query and generate a standard form dynamically, but when i run the application and load the form, only the labels are showing and the struts text fields are not visible.

the html source code in the browser show my struts tags as is, not compiled. only the normal html fields are visible in the form

What can be a good solution for my dynamic struts form generation?

attaching some image and html file for your reference.
-- SAMPLE table with html-struts code
insert into PRODUCT_FIELDS(HTML_CODE_LABEL, 	HTML_CODE_FIELD) 
values ('<label>Sale Price</label>', '<html:text styleId="menu_txtfield" property="salePrice" value="" />');

Open in new window

html.txt
temp.JPG
ASKER CERTIFIED SOLUTION
Avatar of enggagrawal
enggagrawal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pixarsol

ASKER

No other way to do it in struts i guess