Hi, I'm having problems with turning on the code completion in IntelliJ Idea as it comes to component renderer tempates.
First, minor thing is that if i put xmlns:h="http://java.sun.com/jsf/html" into cdk:root then IntelliJ displays tab "Enable facelets support" which is ridiculous, especially that even if I click on it, it can't turn it on.
{code:xml}<?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">
<cc:interface>
<cdk:class>org.richfaces.renderkit.ScheduleRenderer</cdk:class>
<cdk:superclass>org.richfaces.renderkit.ScheduleRendererBase</cdk:superclass>
<cdk:component-family>org.richfaces.Schedule</cdk:component-family>
<cdk:renderer-type>org.richfaces.ScheduleRenderer</cdk:renderer-type>
</cc:interface>
<cc:implementation>
<cdk:callexpression="org.richfaces.renderkit.util.FormUtil.throwEnclFormReqExceptionIfNeed(facesContext,component);"/>
<div id="#{clientId}" class="rich-schedule #{component.attributes['styleClass']}">
<script type="text/javascript">
<cdk:call expression="writeInitFunction(facesContext,component);"/>
</script>
</div>
</cc:implementation>
</cdk:root>
{code:xml}
Second bigger problem is that cdk namespace inside "cc:implementation or cc:interface" doesn't exist in IntelliJ's opinion (no completion).
Am I missing something or is there a problem with namespaces declarations in xsd?