-
1. Re: How to add and EventHandler to an @Templated component?
csa Jan 17, 2013 12:38 AM (in response to mdhirsch30345)Hi Michael,
Which version of Errai are you using? This feature (@EventHandlers without parameters defaulting to this) was introduced in Errai 2.2.0.CR1.
Here's an example using the feature:
Cheers,
Christian
-
2. Re: How to add and EventHandler to an @Templated component?
mdhirsch30345 Jan 22, 2013 6:04 PM (in response to csa)That's it, Christian. I am still on 2.1.0. I didn't realize that the docs are available like that for the next release. I'll have to see if I can restrict myself to reading only published docs.
Would it be possible for the docs to indicate when a feature was introduced? I love that feature of the Java javadocs. If I end up reading the 1.7 docs I can tell if the feature is in 1.5.
Thanks,
Michael
-
3. Re: How to add and EventHandler to an @Templated component?
csa Jan 22, 2013 6:17 PM (in response to mdhirsch30345)Yes, we started adding "since" annotations to chapters in confluence at some point, but removed them when we realized that we had to process them manually in the exported docs for releases (because e.g. all chapters in the released docs should refer to functionality that's actually available in that release). I still think having these annotations is a good idea but we need to automate our doc export more.