LoginComponent.java
LoginComponent.html
Or by valuing the annotation.
What do you mean?I was thinking that it could be nice to be able to use CSS selectors to bind components to DOM elements.
Hi folks, Jay, Burr, Aerogear,
I didn't realize that POH5 was a term that we have coined; I thought it was an industry term. My usage of it was only intended as a joke, and I'm sorry for unintentionally slamming part of our group's effort. I didn't mean it that way. In retrospect, I've sent two emails lately (one to Burr and one to this group,) which would have probably set off the same alarms. Please accept my apology.
I've never made it a secret that I think the "pure" HTML/CSS/JS programming model is currently popular because people are waiting for a more well integrated and finished solution, so that is the background of my choice of $subject line.
I can't apologize for that because it is certainly how I feel, but that's why we have such lively discussions that move us all forward :)
On May 30, 2012, at 11:03 AM, Lincoln Baxter, III wrote:Thanks Lincoln, and I do.
I've never made it a secret that I think the "pure" HTML/CSS/JS programming model is currently popular because people are waiting for a more well integrated and finished solution, so that is the background of my choice of $subject line.I think you'll find a lot of developers that disagree :-)
Hi Giovanni,
I really like this idea! We've already been talking very seriously about including element ID attributes in the search for injectable fields (so ID and data-field would be equivalent). Why not go all the way and allow CSS selector syntax on the argument to the @DataField annotation? This would be even more flexible if we could inject a collection of Widget or Element classes, like:
@Inject @DataField("input.expert") List<Widget> expertWidgets;
This would allow us to do things with all the Widgets in the "expert" class as a group. I'm not sure if this specific use case is an ironclad justification for the feature, since it might be best to nest all the "expert" fields inside a panel, and that would provide a grouping in its own.
Maybe this feature becomes more compelling when we think about attaching event handlers:
@EventHandler("expertWidgets")
private void onExpertKeystroke(KeyDownEvent e) {
...
}
Let's keep thinking about it. If we can point to a real use case that's not well served by the current setup, this definitely gets my vote!
-Jonathan
--
You received this message because you are subscribed to the Google Groups "JBoss-RWP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jboss-rwp+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.