You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> on 2006/11/08 09:25:11 UTC

clay - custom converter example

Does anyone using clay with custom converters?
I have a label which should get a converter. Tried it this way in clay
config:

...
<element renderId="2" jsfid="baseLabel">
			<attributes>
				<set name="value" value="#{user.language}" />
			</attributes>
			<element renderId="1" jsfid="f:converter">
					<attributes>
						<set name="converterId" value="language" />
					</attributes>
			</element>
</element>

registered the converter in faces-config.xml.

Exception looks like this:

 ERROR http-8080-Processor25
org.apache.myfaces.application.ApplicationImpl - Undefined component
type override
 ERROR http-8080-Processor25
org.apache.shale.clay.component.chain.CreateComponentCommand - Cannot
create Component renderId="1" jsfid="f:converter"
componentType="override" extends="f:converter" allowBody="null"
facetName="null"
 javax.faces.FacesException: Undefined component type override


Any hints how to use custom converters and clay?

Torsten