I didn't say to put the ID in EL, I said to put a bean in the EL. Did you try that?

If the ID is working for h tags in facelets, then find the TagHandler it is using and the meta ruleset that it is setting up. Then just make sure you do the same for your component.

Andrew

Sent from my iPod

On Apr 25, 2008, at 4:10 AM, "arne anka" <[EMAIL PROTECTED]> wrote:

well, but (xmlns:h="http://java.sun.com/jsf/html";)

<h:outputText value="foobar" converter="contentConverter"/>

works. and

<h:outputText value="foobar" converter="#{contentConverter}"/>

does not.


<my:component value="foo" converter="contentConverter" />

Is definitely nod valid syntax. The converter must evaluate to a
converter instance, not a converter ID:

public void setConverter(Converter converter) {...}

So you have to use EL:

<my:component value="foo" converter="# {bean_that_implements_converter}" />


could you post a snippet or a link for the taglib.xml part? i am not sure if i did it alright.

thanks

Reply via email to