This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
what is best-practice to get a dynamic generation of UI-Components like selectBoolean, Checkboxes, tables and so on. Now, I do heavily use tags such as c:forEach or ui:repeat to create my Components dynamically. I use Facelets, JSF and I know, I should avoid using such tags from JSTL..but how should I do it else? I know the framework SMILE but I do not want to use it..
Is there a good tutorial to learn how to dynamically create such views? I looked at the GWT..all UI are developed by JAVA and not by XHTML or JSF. SO whats best practice for JSF??
The Best way to use the JSF tags like h:selectBooleanCheckbox, h:dataTable in the JSP to render the components.
You can also create components in the pagebean (like HtmlSelectBooleanCheckbox, HtmlDatatable) and add them as children of the view tag in the jsp and you will get the components without putting the tag in the jsp, but the data in the screen will not bind back to the bean because, the data binding functionality us written in the setProperty method of the respective TagHandler classes
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com