Hi Axel,

I personally avoid it. The bit of code it saves is more than made up in 
complexity down the road.

In Click 2.3.0 we've removed Bindable from most of the examples. I hope a 
future version will remove
or replace it altogether.

Kind regards

Bob

On 2011/02/17 19:07 PM, Axel Morgner wrote:
> Hi,
>
> recently, I had some issues with using @Bindable on Form controls, leading to 
> Pages (and actions)
> being processed twice after a submit to the same page.
>
> Is there a "best practice" or recommendation when (and how) to use @Bindable, 
> or is it safe to say
> that @Bindable should be avoided?
>
> Best regards
>
> Axel
>
> BTW: The links to Autobinding
> <http://click.apache.org/docs/user-guide/html/ch04s02.html#application-autobinding>
>  and Autobinding Using
> Annotations
> <http://click.apache.org/docs/user-guide/html/ch04s02.html#application-autobinding-annotation>
> seem to be dead on 
> http://click.apache.org/docs/click-api/org/apache/click/util/Bindable.html
>

Reply via email to