Menu

#24 Rich and customizable generation

0.2.*
open
Pino
features (6)
5
2009-09-26
2009-09-26
No

May be this library http://commons.apache.org/attributes/ can help us in two ways:

- improve/enrich our generated pages with support for BusinessObject collections: we can use those additional tags to declare the collections type and which kind of management should be generated, here some examples

@@Dialog (modal, editable)
on a property declares a modal dialog should be opened to change the property and the opened dialog will be editable (direct edit of associated objects)

@@Dialog (draggable, list)
on a property declares a modal dialog should be opened to change the property and the opened dialog will let user choose from a list, if the property is a collection multiple choices are allowed

@@Type (net.smartlab.web.auth.User)
on a collection property tells the type of elements it collects

@@Paginator(20, 10)
on a collection property or on a BO class tells the paginator should present 20 elements per pages, max 10 pages in the list

@@Search(display, status)
on a BO class or on a property defines the fields that should presented to search the items

@@Choice(combo,1,5)
@@Choice(radio,E,D)
on an Enumeration class or property tells which values should be available in the combo box or radio button group

- gently move toward Java 5 / 6 and annotations as those same classes will be used for annotations implementation and their usage is very similar to our target

We should have a try to this solution and this feature request is a reminder.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.