[jbosstools-issues] [JBoss JIRA] (JBIDE-9635) Duplicate view-handler in faces-config.xml in JBoss Seam/Portlet Project

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Wed Feb 1 14:31:48 EST 2012


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

Snjezana Peco resolved JBIDE-9635.
----------------------------------

    Resolution: Done

    
> Duplicate view-handler in faces-config.xml in JBoss Seam/Portlet Project
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-9635
>                 URL: https://issues.jboss.org/browse/JBIDE-9635
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Portal/GateIn
>         Environment: JBDS 4.1
>            Reporter: Joao Viragine
>            Assignee: Snjezana Peco
>             Fix For: 3.3.0.Beta1
>
>
> When we create a Seam Web Project with JBoss Seam Portlet Facet, JBDS generates a duplicate entry for view-handler in faces-config.xml as follow:
> <?xml version="1.0" encoding="UTF-8"?>
> <faces-config
>     xmlns="http://java.sun.com/xml/ns/javaee"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
>     version="1.2">
> 	<application>
> 		<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
> 		<view-handler>org.jboss.portletbridge.application.PortletViewHandler</view-handler>
> 		<state-manager>org.jboss.portletbridge.application.PortletStateManager</state-manager>
> 		<locale-config>
> 			<default-locale>en</default-locale>
> 			<supported-locale>bg</supported-locale>
> 			<supported-locale>de</supported-locale>
> 			<supported-locale>en</supported-locale>
> 			<supported-locale>fr</supported-locale>
> 			<supported-locale>tr</supported-locale>
> 		</locale-config>
> 	</application>
> </faces-config>
> We should remove the entry: 
> <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list