It was late yesturday, my mistake...
can be closed for me...
ציטוט Howard M. Lewis Ship (JIRA):
[ http://issues.apache.org/jira/browse/TAPESTRY-603?page=comments#action_12320261 ]
Howard M. Lewis Ship commented on TAPESTRY-603:
-----------------------------------------------
First off; it's early here so I was confusing the @ComponentClass and
@Component annotations.
Annotations are much like XML with a fixed DTD. Take a careful look at the
documentation at
http://jakarta.apache.org/tapestry/tapestry-annotations/index.html#Component
You example would be
@Component(type = "PageLink" id="MyLink" bindings={"page=MyPage" })
public abstract IComponent getMyLink();
The @Parameter annotation is for DEFINING a parameter within a @ComponentClass; the
bindings property of the @Component annotation is used to define the bindings for a
contained component, as with the <binding> element in the XML, and with a
pretty similar syntax.
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...)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]