[
https://issues.jboss.org/browse/SEAMFORGE-47?page=com.atlassian.jira.plug...
]
Mario Marques Junior commented on SEAMFORGE-47:
-----------------------------------------------
Arquillian made me add {{getEntityManager().joinTransaction();}} on {{create()}} too,
because of this test:
{code}
@Test
public void shouldGetList() throws Exception {
bean.create();
bean.setSeamBean(new SeamBean());
bean.create();
assertEquals(2, bean.getList().size());
}
{code}
Maybe I should reinject the bean to simulate the {{@RequestScoped}} behavior, but looks
less natural for me.
Default scaffolding does not generate working Update or Delete
actions
----------------------------------------------------------------------
Key: SEAMFORGE-47
URL:
https://issues.jboss.org/browse/SEAMFORGE-47
Project: Seam Forge
Issue Type: Bug
Components: Builtin Plugins
Affects Versions: 1.0.0.Alpha2
Reporter: Lincoln Baxter III
Assignee: Lincoln Baxter III
Fix For: 1.0.0.Alpha4
Attachments: PersistenceUtil.jv, view.xhtml
'Cancel' does not do anything
'Delete' does not delete
'Save' does not take you back to the summary view
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira