Hi,
I am wondering how to design a real life input form with struts2.
Default struts2 theme is xhtml which allows only one text field in a row. Not very useful for a real life application.
I have spent a lot of time and I have only found out just one(single one) relatively good example how to extend a xhtml theme functionality - qxhtml (
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_theme). qxhtml is just fine, but if I add additional widget I could not use <s:param name="labelcolspan" value="%{1}"/> and <s:param name="inputcolspan" value="%{5}"/>.
For example:
I add a simple editor(tinymce) to my page and I could not control my layout anymore because I could not use param with tinymce.
I would like to know your experience about designing a form layout? What are your proposals to design a form? Which technique do you use? Do you extend a xhtml theme or are you using a completely different technique?
At the moment I could only use a simple theme to achieve a real flexibility but I lose a lot of good features with simple theme (validation...)
Best regards,
Javanus