[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1631) add @PageAction annotation to method

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Jul 10 18:03:31 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1631?page=all ]

Pete Muir updated JBSEAM-1631:
------------------------------

    Component/s: Core
                     (was: Tools)

JIRA is fine - on the whole design discussions are better - makes it easier to track whats going on down the line on here and the forum is busy. Just don't be 

I like this idea Dan, I mean, I'm with Hung  - I like to keep things centralised but choice is good! - one of the original things about Seam was to reduce xml - but we have crept back to it over time.

> add @PageAction annotation to method
> ------------------------------------
>
>                 Key: JBSEAM-1631
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1631
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.0.0.BETA1
>            Reporter: Dan Allen
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>
> I cannot help but to conclude that a page action ought to be able to be declared as an annotation on a method. Why not?  It is very similar to a @WebRemote method in a sense. It would also eliminate the need for the XML file if you prefer to return view ids directly in the action handler methods. Think about the love Seam would get by removing the dependency on the XML for this feature. No XMLHell, remember?
> The way it would work is that when Seam spots the annotation during initialization time, it just registers that method with the Page framework just as if it had found it in the XML file.
> I wouldn't be broken-hearted if this is rejected, but it seems consistent with the goals of Seam.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list