[
https://issues.jboss.org/browse/SEAMFORGE-294?page=com.atlassian.jira.plu...
]
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<(a){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