You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2010/12/22 23:41:01 UTC
[jira] Created: (CLK-742) Remove auto binding from examples
Remove auto binding from examples
---------------------------------
Key: CLK-742
URL: https://issues.apache.org/jira/browse/CLK-742
Project: Click
Issue Type: Improvement
Components: examples
Affects Versions: 2.3.0-M1
Reporter: Bob Schellink
Assignee: Bob Schellink
Priority: Minor
Fix For: 2.3.0-RC1
I'd like to minimize the use of auto binding in the examples as much as possible as they do more harm than good. The one line of code saved is paid back through complexity.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (CLK-742) Remove auto binding from examples
Posted by Bob Schellink <sa...@gmail.com>.
On 25/12/2010 21:31, Adrian A. wrote:
>
> It's true that it's a "complex" concept, but mainly because it's not present like that in every
> other framework.
It's not a complex feature it's a misfeature leading to maintenance issues. I think Lorenzo
mentioned to use @InputParam instead and I think that is a better approach than @Bindable which
combines too many concepts such as binding params, add to model, set control name and add control.
The only feature I think is worth preserving is bind request parameter. The others should be done
explicitly in code to make the intent clear. For now the examples are fixed up and in a future
release we can work on replacing Bindable.
Bob
Re: [jira] Created: (CLK-742) Remove auto binding from examples
Posted by "Adrian A." <a....@gmail.com>.
> I'd like to minimize the use of auto binding in the examples as much as possible as they do more harm than good.
I think adding a comment line (where missing) would help more(instead of
removing autobinding), since these examples are the main source for
learning.
It's true that it's a "complex" concept, but mainly because it's not
present like that in every other framework.
Adrian.
[jira] Resolved: (CLK-742) Remove auto binding from examples
Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLK-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bob Schellink resolved CLK-742.
-------------------------------
Resolution: Fixed
done
> Remove auto binding from examples
> ---------------------------------
>
> Key: CLK-742
> URL: https://issues.apache.org/jira/browse/CLK-742
> Project: Click
> Issue Type: Improvement
> Components: examples
> Affects Versions: 2.3.0-M1
> Reporter: Bob Schellink
> Assignee: Bob Schellink
> Priority: Minor
> Fix For: 2.3.0-RC1
>
>
> I'd like to minimize the use of auto binding in the examples as much as possible as they do more harm than good. The one line of code saved is paid back through complexity.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.