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

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Mon Aug 30 11:17:12 EDT 2010


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
             Fix For: 4.0.0.Milestone3


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