Hello guys,

I have implemented an example of a custom propertyEditBlock for the bean component, to see how it could work. As I think that I'm not the only one in that need, I contribute an how-to to explain what I understand :

http://wiki.apache.org/tapestry/Tapestry5HowToCreateAPropertyEditBlock

In fact, that block editor is quite simple (it's a kind of toy example for a component which have to work with beanPropertyEditor), but perhaps it may help other user to begin with BeanPropertyEditor implementation.

Its goal is to generate a "drop down list" from a list of strings (it should be easy to generalize to type <T>, as explain in another wiki how to). The list of options is encapsulated in an object whose type is used in contributeDefaultDataTypeAnalyzer. String of the list are used as option for the select.

The links to the complete code seem to be broken for know because the viewcvs of the Object Web forge hosting the code is not up to date with the last commits, but it should be resolve as soon as batch runs.

Don't hesitate to ask me if you want some precisions or if you don't even understand a single word of what I wrote, my English is quite rough...

Francois Armand
http://interldap.org
http://linagora.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to