[
https://issues.jboss.org/browse/JBSEAM-4944?page=com.atlassian.jira.plugi...
]
Zandra Norman commented on JBSEAM-4944:
---------------------------------------
This seems to work for me. Can you please specify the problem? What do you mean with
"does not work correctly inside a pageflow"? What happens?
Seam annotated JSF converter breaks JPDL pageflow navigation
------------------------------------------------------------
Key: JBSEAM-4944
URL:
https://issues.jboss.org/browse/JBSEAM-4944
Project: Seam 2
Issue Type: Bug
Components: JSF Integration
Affects Versions: 2.3.0.BETA1
Environment: JBOSS 7.1 + JSF2 + RichFaces 4.2.0.Final
Reporter: Andrea Martino
Labels: navigation, pageflow
When a JSF page contains a form referencing a Seam annotated JSF converter, the pageflow
navigation does not work as expected.
For example, the following form
{code}
<h:form>
<h:inputText id="name" converter="trimConverter"
value="#{customerSearch.name}" />
<h:commandButton value="Search"
action="#{customerSearch.search}" />
</h:form>
{code}
does not work correctly inside a pageflow if the "trimConverter" is annotated
as following:
{code:title=TrimConverter.java}
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.faces.Converter;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
@Name("trimConverter")
@BypassInterceptors
@Scope(STATELESS)
@Converter
public class TrimConverter implements javax.faces.convert.Converter, Serializable {
}
{code}
Everything works fine if the converter is annotated using
@javax.faces.convert.FacesConverter as following:
{code:title=TrimConverter.java}
import javax.faces.convert.FacesConverter;
@FacesConverter("trimConverter")
public class TrimConverter implements javax.faces.convert.Converter, Serializable {
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira