[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3663) @Begin can annotate constructors in wicket

Clint Popetz (JIRA) jira-events at lists.jboss.org
Thu Nov 6 17:08:36 EST 2008

     [ https://jira.jboss.org/jira/browse/JBSEAM-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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


More information about the seam-issues mailing list