thank you for the feedback.
It does not have to be an @Entity bean, you can use a simple POJO as well
for your form generation.
On Wed, Mar 12, 2008 at 6:41 AM, Max Rydahl Andersen <
Just wanted to say I like this idea as oppose to code generate the view.
Does the beans you provide forms for have to be @Entity'ies ?
Could I use a normal pojo ?
> Hi, Tomas, fwding to seam-dev list.
> Perhaps you would also like to share this work in the user forum?
> On Sat, Mar 8, 2008 at 7:02 AM, Tomas Cerny <tom.cerny(a)gmail.com> wrote:
>> Dear Gavin King,
>> I have developed a new tool for view form generation from entity beans
>> I think would be very useful for Seam developers. I would like to get
>> feedback on the tool and ideas if you have time. If you like my tool,
>> would like to discuss how we can best provide it to the Seam community.
>> Here are details...
>> I am a graduate student and ICPC frontend developer working on
>> that is build on JSF, facelets, Hibernate, Spring and Acegi.
>> My research is in the next generation web application frameworks for
>> next generation of our application.
>> Seam is great framework, and I love developing with it. I started with
>> seam-gen and am continuing with manual development.
>> It is great for generation of a starter application, but its
>> abilities are limited. If I try to customize code generated by
>> can no longer regenerate.
>> Another problem that I had with seam-gen is that it generates forms
>> basic input components and does not offer any customization. For
>> for properties of an enumerate type, seam-gen's form field is an input
>> field; however, what I want is a drop-down list of the enumerated type
>> To address these problems, I have developed a tool called FormBuilder
>> can fully generate view forms from entity beans and offers complete
>> customization of input fields. My tool uses Hibernate-Validation
>> (annotations). Developers can even define their own input components
>> form generation. When the input components are wrapped as facelet tag,
>> can offer even more!
>> Some features:
>> The tool is completely configurable using annotations and XML.
>> Each generated form can function in either read-only or editable model,
>> depending on the "editable" attribute.
>> The form uses configuration-by-exception for its field rendering for
>> Forms may be referenced by Facelets tags to decrease application
>> Tool forces good practice for code management (different users same
>> Entity field property propagation to the form allows client-side
>> I provide two tag libraries with client-side validation and new input
>> component types like Password, Link, Html, ColorPicker. (The first
>> is Seam+RichFaces, and the second library is simple JSF.)
>> I also created new field annotations like (password, link, html,
>> Form creation and maintenance is completely handled by the tool. After
>> entity bean updates, "fresh" forms are autogenerated to match.
>> More information is available here:
>> I have also built an example application showing new components and
>> side validation (tested on 5 main browsers!)
>> It offers also comparison to forms generated by seam-gen.
>> You can experiment with the application by going to
>> Currently, you can download FormBuilder from
Later I am planning
>> to put it on SourceForge.net
>> I welcome any feedback (even bad) on this work.
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/