You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2006/12/16 03:25:57 UTC

[jira] Resolved: (SHALE-266) More than one pattern of URL mappings for Faces Servlet ignored.

     [ http://issues.apache.org/struts/browse/SHALE-266?page=all ]

Craig McClanahan resolved SHALE-266.
------------------------------------

    Fix Version/s: 1.0.4-SNAPSHOT
                       (was: TBD)
       Resolution: Fixed

In addition to the earlier fix provided for SHALE-178, it is now possible to specify the zero relative index of the URL pattern to use when generating URLs for resource identifiers.  Specify this with a context init parameter named "org.apache.shale.remoting.FACES_SERVLET_MAPPING_INDEX".  If not specified, the default value is zero (meaning the first, or only, mapping will be used).


> More than one pattern of URL mappings for Faces Servlet ignored.
> ----------------------------------------------------------------
>
>                 Key: SHALE-266
>                 URL: http://issues.apache.org/struts/browse/SHALE-266
>             Project: Shale
>          Issue Type: Bug
>          Components: Remoting
>    Affects Versions: 1.0.3
>            Reporter: Prashant Kadam
>             Fix For: 1.0.4-SNAPSHOT
>
>
> There was already a bug filed related to this issue:
> http://issues.apache.org/struts/browse/SHALE-178 
> I have Shale version 1.03 and still this is a issue. I stepped throught the source code and came across a bug in org.apache.shale.remoting.impl.MappingImpl source. In method --> public String mapResourceId(FacesContext context, String resourceId)    only the first pattern is considered. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira