You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Francois Armand <fa...@linagora.com> on 2007/06/19 12:31:39 UTC

T5 : wiki howto contribute custom propertyeditblock for beaneditform

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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 : wiki howto contribute custom propertyeditblock for beaneditform

Posted by Daniel Jue <te...@gmail.com>.
Thanks Francois!  I will try it out soon.  I smoothed out the wording
just a tiny bit.  Thank you for your contribution.

On 6/19/07, Francois Armand <fa...@linagora.com> wrote:
> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org