webtier@glassfish.java.net

Re: [jsf2]validator attribute, composite component. Unexpected exception.

From: <webtier_at_javadesktop.org>
Date: Fri, 21 May 2010 02:07:12 PDT

I've tried this solution but still same error

used component like that:
                <cu:inputText inputVar="hello">
                    <f:validator for="input" binding="#{checker.validateF}"/>
                </cu:inputText>

component code:
    <composite:interface>
        <composite:attribute name="inputVar"/>
        <composite:editableValueHolder name="input"/>
    </composite:interface>


    <composite:implementation>
        <h:inputText value="#{cc.attrs.inputVar}"
                     id="input"/>
        <h:message for="#{cc.clientId}:input"/>
    </composite:implementation>

Problem is that by Validate System seek Validator message first of all in:
property 'validateF' i.e.
method-signature String getValidateMethodName()
[Message sent by forum member 'glich']

http://forums.java.net/jive/thread.jspa?messageID=470858