[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3771) URL Rewriting Not Occurring
by Dave Everson (JIRA)
URL Rewriting Not Occurring
---------------------------
Key: JBSEAM-3771
URL: https://jira.jboss.org/jira/browse/JBSEAM-3771
Project: Seam
Issue Type: Bug
Affects Versions: 2.1.1.CR1
Environment: Windows Vista, JBoss 4.2.0, JRockit 1.5
Reporter: Dave Everson
We have just updated Seam to 2.1.1CR1
We started to use the rewrite functionality within pages.xml.
We have the following pages defined:
<page view-id="/pages/account/check.xhtml">
<rewrite pattern="/newFamilyAccount" />
<begin-conversation join="true"/>
<action execute="#{registerFamily.startEdit}"/>
<navigation from-action="#{registerFamily.doAccountCheck}">
<rule if-outcome="exists">
<redirect view-id="/pages/account/existing.xhtml"/>
</rule>
<rule if-outcome="new">
<redirect view-id="/pages/account/new.xhtml"/>
</rule>
</navigation>
</page>
<page view-id="/pages/account/existing.xhtml">
<rewrite pattern="/existingAccounts" />
<begin-conversation join="true"/>
</page>
We are able to access /newFamilyAccount without issue and a conversation is started
After entering data that already exists in the database, we should be taken to the /existingAccounts (/pages/account/existing.xhtml) view. We are taken to the view, however the URL shows: https://localhost/a/pages/account/existing.seam?cid=9.
We have tried several things and can't see to ever have the rewritten URL appear. Does anyone have any suggestions on what we are doing incorrectly. Thanks.
--
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, 9 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3726) Methods with an InvocationContext parameter annotated with javax.ejb.PostActivate cause a validation exception in WebSphere v7.0
by Denis Forveille (JIRA)
Methods with an InvocationContext parameter annotated with javax.ejb.PostActivate cause a validation exception in WebSphere v7.0
---------------------------------------------------------------------------------------------------------------------------------
Key: JBSEAM-3726
URL: https://jira.jboss.org/jira/browse/JBSEAM-3726
Project: Seam
Issue Type: Bug
Components: EJB3
Affects Versions: 2.1.0.SP1
Environment: WebSphere v7.0
Reporter: Denis Forveille
When starting our app in WebSphere v7.0 with seam v2.1.0.SP1, we receive the exception below
Is it possible that annotation "javax.ejb.PostActivate" is used instead of "org.jboss.seam.annotations.intercept.PostActivate" annotation and that the former does not accept any parameter for the annotated method (At least in WebSphere v7.0) and the latter does...
The method in question is declared as
@PostActivate
public void postActivate(InvocationContext invocation) throws Exception
This method siganture is present in classes SessionBeanInterceptor, EntityManagerProxyInterceptor and HibernateSessionProxyInterceptor
Exception:
[18/11/08 16:17:51:537 EST] 0000001a annotations E AnnotativeMetadataManagerImpl merge Caught exception while merging
com.ibm.wsspi.amm.validate.ValidationException: For method, org.jboss.seam.persistence.EntityManagerProxyInterceptor.postActivate(Lorg/jboss/seam/intercept/InvocationContext;)V[com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@1b8e1b8e], parameters were specified, but null was the expected comparison
--
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, 9 months