Skip to main content

Composite Component problem - Unhandled by MetaTagHandler for type

2 replies [Last post]
laliluna
Offline
Joined: 2005-10-11

Hello,
I wrote a composite component which renders a label, an input text field with Ajax validations.
I am using it like this:


The component works but I find the following error messages in the log file.

21:07:47,636 FATAL meta:97 - /composites.xhtml @18,66 for="input" Unhandled by MetaTagHandler for type javax.faces.validator.DoubleRangeValidator

If I remove the for, I get the error message:
validator tags nested within composite components must have a non-null "for" attribute

Do you have any idea?

Best Regards

Sebastian Hennebrueder
http://www.laliluna.de

the component:

This will not be present in rendered output

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
laliluna
Offline
Joined: 2005-10-11

Yes it was to insert the validation. Thank you for the hint.

Best Regards

Sebastian Hennebrueder
http://www.laliluna.de

Ryan Lubke

This message can be ignored, but we'll look into correcting it.

I do need to ask, what's the purpose of the insertChildren reference
nested
within the h:inputText?

If that's to insert the f:validateDoubleRange validator, it's unecessary.
By specifying:

and using the 'for' attribute on the validator reference within the
using page,
the validator will automatically be assigned to the inputText with the id
'input'.

On 10/15/09 12:33 PM, webtier@javadesktop.org wrote:
> Hello,
> I wrote a composite component which renders a label, an input text field with Ajax validations.
> I am using it like this:
> [i]
>
>

> [/i]
> The component works but I find the following error messages in the log file.
>
> 21:07:47,636 FATAL meta:97 - /composites.xhtml @18,66 for="input" Unhandled by MetaTagHandler for type javax.faces.validator.DoubleRangeValidator
>
> If I remove the for, I get the error message:
> validator tags nested within composite components must have a non-null "for" attribute
>
> Do you have any idea?
>
> Best Regards
>
> Sebastian Hennebrueder
> http://www.laliluna.de
>
> the component:
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:composite="http://java.sun.com/jsf/composite">
>
> This will not be present in rendered output
>
>
>
>
>
>
>
>
>

>
>
>
>
>
>
>

>
>

>
>
> [Message sent by forum member 'laliluna' (i@laliluna.de)]
>
> http://forums.java.net/jive/thread.jspa?messageID=368130
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net