[
https://jira.jboss.org/jira/browse/JBSEAM-3663?page=com.atlassian.jira.pl...
]
Clint Popetz updated JBSEAM-3663:
---------------------------------
Attachment: Wicket-BeginOnConstructors.patch
Pete pointed out that we need to maintain compile-time errors for putting @Begin on a
constructor for non-wicket classes. So this patch adds a wicket version of Begin, which
can target Methods or Constructors (the former so that you can just use this @Begin for
both methods and constructors in a class, rather than needing both, and thus having to
have one be qualified.) The wicket interceptor and WicketComponent are modified to
recognize both.
@Begin can annotate constructors in wicket
------------------------------------------
Key: JBSEAM-3663
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3663
Project: Seam
Issue Type: Patch
Reporter: Clint Popetz
Attachments: Begin.java.patch, Wicket-BeginOnConstructors.patch
Constructors are frequently the only method in a component, and are the logical place to
begin conversations for wicket apps. The current Begin annotation doesn't allow
placement on constructors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira