[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3056) JPDL navigation and seam
by Florian Keusch (JIRA)
JPDL navigation and seam
------------------------
Key: JBSEAM-3056
URL: http://jira.jboss.com/jira/browse/JBSEAM-3056
Project: Seam
Issue Type: Task
Components: BPM
Reporter: Florian Keusch
hi
In our applications we have a navigation menu. When we use seam and some jpdl pageflows we have the following problem:
if we leave the pageflow with a <s:link propagation="end"> (e.g. clicking on the menu), then the pageflow conversation is ended but also an illegal navigation exception is thrown.
This issue was described on the seam framework: http://www.seamframework.org/Community/ProblemWithJPDLIllegalNavigation but I could not find it in this Jira.
It's not solved. In the code (PageFlow.java) there's a TODO where the illegal navigation ecxeption is thrown:
//now check that the restored view id matches what we expect
//from the pageflow node
//TODO: we need some way to disable this check, since users
// might want some adhoc nav in and out of a pageflow?
String viewId = Pages.getViewId(facesContext);
if ( !viewId.equals( getPage().getViewId() ) )
{
illegalNavigationError();
}
If we use <s:link propagation="none"> in our menu navigation then this will not cause a illegal navigation exception, but in the background the conversations are still there not ended.
fke
--
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
15 years
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4180) Error in <s:convertEntity/> when orm.xml is the only mechanism for persistence
by Cristian Fabiano (JIRA)
Error in <s:convertEntity/> when orm.xml is the only mechanism for persistence
------------------------------------------------------------------------------
Key: JBSEAM-4180
URL: https://jira.jboss.org/jira/browse/JBSEAM-4180
Project: Seam
Issue Type: Bug
Affects Versions: 2.1.1.GA
Environment: Windows XP SP2
Reporter: Cristian Fabiano
When my entities are mapped only in orm.xml, they do not have the @Entity annotation, and I use a one <s:convertEntity/> with one, I got the exception:
org.jboss.seam.Entity $ NotEntityException: Unable to establish name of entity class com.emmsistemas.emmvendas.entidade.Grupo
my orml.xml for this Entity:
<entity class="com.emmsistemas.emmvendas.entidade.Grupo">
<table name="GRUPO"></table>
<attributes>
<id name="id">
<column name="gru_id"/>
<generated-value strategy="IDENTITY"/>
</id>
<basic name="nome">
<column name="gru_nome"/>
</basic>
<basic name="descricao">
<column name="gru_descricao"/>
</basic>
<basic name="condicional">
<column name="gru_condicional"/>
</basic>
</attributes>
</entity>
Seam does not recognize the Entity when it not have a @Entity?
--
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
15 years, 1 month