[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to