[JBoss Seam] - Re: How to get Container properties
by knuwu
Ok, perhaps I have to be more precise. The configuration properties I'm talking about do not belong to the seam configuration of components. I'm talking about application specific parameters controlling for examples the behaviour of business logic.
Example: A booking application stores all canceled booking requests in an archive. Requests older than a given number of days will be delete. So you want to configure the amout of days different for your development, test and production enviroment. And of cause the system administrator should be able to change the value while the system is running.
So it's not a good idea to store this kind of information to a configuration file inside your container. Otherwise you have to redeploy the application just for changing a value. On the other hand, this parameter is not changed often enough to justify storage in database with admin gui.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028351#4028351
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028351
19Â years, 1Â month
[JBoss Seam] - s:layoutForm
by petemuir
I've just added a s:layoutForm component to CVS which takes the pain out of laying out a form. In general, it put's each child component on a new line BUT if the child is a s:decorate it will do some clever stuff:
| * If a facet named label is present on the s:decorate, the contents is placed in a left hand column, aligned right
| * If a facet named belowLabel or/and belowField is present on s:decorate, it's content is placed below the label or the field
| * If the field contained in the s:decorate is required="true" then a star is prepended to the label.
|
Feedback on whether this is a useful component and how it can be improved would be great - especially if other facets would be useful or in relating to some (default) styling.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028345#4028345
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028345
19Â years, 1Â month