You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/27 13:38:07 UTC
[jira] Commented: (TAPESTRY-603) annotation "component" parameter "id" making it impossible to define an id parameter
[ http://issues.apache.org/jira/browse/TAPESTRY-603?page=comments#action_12320253 ]
Howard M. Lewis Ship commented on TAPESTRY-603:
-----------------------------------------------
Don't follow what one has to do with the other. The id property of th @Component annotation has nothing to do with a parameter of the component named "id".
IComponent has an id property that DOES get in the way; this is one of the reasons for the future move to eliminate inheritance in Tapestry.
What you can do is:
@Parameter(name = "id")
public abstract String getIdParameter();
You' bind the parameter as <binding name="id" value="..."/> but read/update the property inside the component as getIdParameter()/setIdParameter().
> annotation "component" parameter "id" making it impossible to define an id parameter
> ------------------------------------------------------------------------------------
>
> Key: TAPESTRY-603
> URL: http://issues.apache.org/jira/browse/TAPESTRY-603
> Project: Tapestry
> Type: Wish
> Versions: 4.0
> Reporter: Ron Piterman
>
> defining @Component(id = "...") making it impossible to define id attribute to components.
> Id is a very important attribute in html, this is a serious limitation.
> Why not use jwcid instead (which is also very intuitive...)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org