[forge-issues] [JBoss JIRA] Commented: (SEAMFORGE-294) Common methods in scaffold controller bean should abstracted to a supper class

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Mon Sep 19 15:31:26 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFORGE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629213#comment-12629213 ] 

Lincoln Baxter III commented on SEAMFORGE-294:
----------------------------------------------

There are two different issues here. I think we can definitely simplify the created backing beans (we are planning on it!)

As to the persistence problem, try making this bean @Stateful. AS6 has some issues that were resolved in AS7 regarding this problem.

> Common methods in scaffold controller bean should abstracted to a supper class
> ------------------------------------------------------------------------------
>
>                 Key: SEAMFORGE-294
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-294
>             Project: Seam Forge
>          Issue Type: Enhancement
>          Components: Scaffold
>    Affects Versions: 1.0.0.Beta2
>            Reporter: Liu Jianhong
>             Fix For: 1.0.0.Beta3
>
>         Attachments: scaffold-metawidget-lib.zip, second.zip
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> Controller bean should as flowing:
> @Named
> @RequestScoped
> public class @{entity.getName()}Bean extends AbstractBean<@{entity.getName()}> implements MenuItem
> {
> }
> And we also can implement more than one AbstractBean such as FilterableBean and so on.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list