I don't know if it the right place ... but I am looking for something similar to beans customizer, except that I would like to edit/customize my beans through an HTML interface.
 
To be more concrete, I would like to customize a bean (or any java object) through an HTML forms in a generic way.
 
In the simplest way, we could imagine somthing like this with a BeanServlet
The BeanServlet could work like this:
- take the bean class as paramater (BeanServlet?bean=className&todo=getForm)
- get the BeanInfo object, and the property editors
- return a form where input fields such as
    <input name=propertyname  value="getAsText() method of the propertyeditors">
 
On the return way, we can simply get string values and use setAsText() (BeanServlet?bean=className&todo=update&property1=value1& ....)
 
This looks simple for simple bean; But what happen when the property does not support simple get/setAsText
What could be the conterpart of getCustomEditor() and the component ?
it could be html string elements to edit the property (such as radio button, ...) getCustomEditor() could return an ECS representing this component.
 
We can extend this subject to browsing object database with servlet (but in a way that could be customized)
 
Once again I am sure that this subject has already been addressed somewhere .. sorry for that (but I am newbie in servlet and beans)
 
 
Please could tell me where I can find more information on this subject: that is "Browsing Java Objects  with HTML"
 

Reply via email to