[richfaces-issues] [JBoss JIRA] Resolved: (RF-9273) CDK schemas: error in template (seems caused by errors in schema).

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Wed Sep 29 13:54:40 EDT 2010


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

Alexander Smirnov resolved RF-9273.
-----------------------------------

    Resolution: Done


> CDK schemas: error in template (seems caused by errors in schema).
> ------------------------------------------------------------------
>
>                 Key: RF-9273
>                 URL: https://jira.jboss.org/browse/RF-9273
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: CDK
>    Affects Versions: 4.0.0.Milestone2
>            Reporter: Ilya Shaikovsky
>            Assignee: Alexander Smirnov
>             Fix For: 4.0.0.Milestone3
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> Need to investigate.. This panel template :
> <?xml version="1.0" encoding="UTF-8"?>
> <cdk:root xmlns="http://jboss.org/schema/richfaces/cdk/xhtml-el"
> 	xmlns:cdk="http://jboss.org/schema/richfaces/cdk/core"
> 	xmlns:c="http://jboss.org/schema/richfaces/cdk/jstl/core"
> 	xmlns:cc="http://jboss.org/schema/richfaces/cdk/jsf/composite"
> 	xmlns:javaee="http://java.sun.com/xml/ns/javaee">
> 	<cc:interface>
> 		<cdk:class>org.richfaces.renderkit.html.PanelRenderer</cdk:class>
> 		<cdk:superclass>org.richfaces.renderkit.html.PanelBaseRenderer</cdk:superclass>
> 		<cdk:component-family>org.richfaces.Panel</cdk:component-family>
> 		<cdk:renderer-type>org.richfaces.PanelRenderer</cdk:renderer-type>
> 	</cc:interface>
> 	<cc:implementation>
> 		<div cdk:passThroughWithExclusions="id,value,styleClass,class" id="#{clientId}" class="rf-p #{component.attributes['styleClass']}">
> 		 <c:choose>
> 		 <c:when test="#{component.getFacet('header') != null and component.getFacet('header').rendered}"> 
> 				<div id="#{clientId}_header" class="rf-p-hr #{component.attributes['headerClass']}">
> 					<!--  <cc:renderFacet name="header" />-->
> 					<cdk:call expression="renderHeaderFacet(facesContext, component)" />
> 				</div>
> 			 </c:when>
> 			 <c:when test="#{component.attributes['header']!= null and not component.attributes['header'].equals('')}"> 
> 				<div id="#{clientId}_header" class="rf-p-hr #{component.attributes['headerClass']}">
> 					#{component.attributes['header']}
> 				</div>
> 			 </c:when>
> 			<c:otherwise>
> 			 </c:otherwise>
> 			</c:choose>
> 			<div id="#{clientId}_body" class="rf-p-b #{component.attributes['bodyClass']}">
> 				<cdk:call expression="renderChildren(facesContext, component)" />
> 			</div>
> 		</div>
> 	</cc:implementation>
> </cdk:root>
> produces next errors on IDE validation(xsd loaded fine):
> cvc-attribute.3: The value 'id,value,styleClass,class' of attribute 'cdk:passThroughWithExclusions' on element 'div' is not valid with respect to its type, 'null'.
> cvc-datatype-valid.1.2.1: 'id,value,styleClass,class' is not a valid value for 'NMTOKEN'.

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

        


More information about the richfaces-issues mailing list