Is there a component like panelGrid that uses ul instead of table?
JSF 1.1 has a problem with JSP in that it can't bind components together when a page first loads. This is well documented in Improving JSF by Dumping JSP by Hans Bergsten.
The easy example of this problem is when you have <h:outputLabel> tags before <h:inputText> tags. The average JSF user might not notice the problem, but if you customize <h:outputLabel> to display "required field" indicators based on the "required" attribute of <h:inputText> - the issue slaps you in the face. The easy solution is to use <h:panelGrid> to layout your form data, and everything magically works. However, table-based forms are ugly and I'd much rather do pretty forms like this one.
In order to create pretty forms and get around the JSF sucks with JSP problem, I'm looking for a component similar to panelGrid - but it spits out <ul> and <li> instead of <table> and <tr>/<td>. Does anyone know of such a component?
I asked this question on the MyFaces list this morning, but haven't had much luck.
I'm fully aware that Facelets (or Clay) will solve this problem. However, I'm merely trying to get AppFuse 1.9.2 released without making major changes. I suppose I could always go with ugly table-based forms, but I'd rather not.
Posted by Jacob Hookom on May 23, 2006 at 07:12 PM MDT #
Posted by Matt Raible on May 23, 2006 at 07:18 PM MDT #
Posted by Jacob Hookom on May 23, 2006 at 08:25 PM MDT #
Posted by Dan Hinojosa on May 24, 2006 at 03:25 AM MDT #
Posted by Marc Logemann on May 24, 2006 at 06:20 AM MDT #
Try using JSF 1.2 as soon as possible, there the JSF/JSP problem should be non-existant.
Note: Commenting without HTML is a pain. Each blog should support plain text with keeping formatting like paragraphs. Look at my blog ;-)
Posted by Marc Logemann on May 24, 2006 at 06:24 AM MDT #
Posted by Alonso on May 25, 2006 at 02:02 AM MDT #
Posted by Dmitry on May 25, 2006 at 10:41 AM MDT #
Posted by Dmitry on May 25, 2006 at 01:26 PM MDT #
Posted by Daniel on May 25, 2006 at 09:19 PM MDT #
Posted by Matt Raible on May 25, 2006 at 11:37 PM MDT #
Posted by Juergen Hoeller on June 06, 2006 at 01:16 PM MDT #
Posted by Jacob Hookom on June 06, 2006 at 01:58 PM MDT #