[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3633) @RequestParameter fails in mixed JSF/non-JSF applications

Tim Otten (JIRA) jira-events at lists.jboss.org
Sat Oct 25 02:43:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Otten updated JBSEAM-3633:
------------------------------

    Attachment: Parameters.java


This workaround can be used without patching Seam. The workaround includes two features:

1. Dynamically chooses an appropriate provider for "Parameters"
2. Use Seam's Conversions class when JSF is unavailable

> @RequestParameter fails in mixed JSF/non-JSF applications
> ---------------------------------------------------------
>
>                 Key: JBSEAM-3633
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3633
>             Project: Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.2.SP1
>            Reporter: Tim Otten
>         Attachments: Parameters.java
>
>
> If an application includes both JSF pages and servlets, then @RequestParameter injection cannot succeed.
> Currently, there are two alternative classes which resolve request parameters:
>  * org.jboss.seam.faces.Parameters which supports JSF pages
>  * org.jboss.seam.web.Parameters which supports traditional servlets
> Only one of these classes can be used at run time.
> (Note: The relevant code in trunk [r9424] appears to be the same as the code in 2.0.2.SP1, so newer releases are probably affected.)

-- 
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

        



More information about the seam-issues mailing list