myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Claude Pace (JIRA)" <>
Subject [jira] Reopened: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly
Date Wed, 08 Mar 2006 14:48:39 GMT
     [ ]
Jean-Claude Pace reopened MYFACES-1143:

I hope I'm not doing something wrong but I tried the nightly build and the InputSuggestAjax
control is failing altogether with:

java.lang.NoClassDefFoundError: org/apache/myfaces/component/html/util/AddResource
	at org.apache.myfaces.custom.inputsuggestajax.InputSuggestAjaxRenderer.encodeJavascript(
	at org.apache.myfaces.custom.inputsuggestajax.InputSuggestAjaxRenderer.encodeEnd(
	at javax.faces.component.UIComponentBase.encodeEnd(

I guess that some class is missing from the JAR file. As it is, I couldn't confirm that the
issue reported has been fixed.

> InputSuggestAjax does not handle < and > correctly
> --------------------------------------------------
>          Key: MYFACES-1143
>          URL:
>      Project: MyFaces Core
>         Type: Bug
>   Components: General
>     Reporter: Jean-Claude Pace
>      Fix For: 1.1.2-SNAPSHOT

> When using InputSuggestAjax, if the list of suggestions contains the characters <
and >, the string is not shown correctly in the popup. For example, if the component wants
to suggest something like "Name <>" the popup will only show "Name".
Leaving out either the < or the > will result in correct behaviour.
> My guess is that the characters are confusing the XML encoding used by Ajax. Substituting
the characters with something like &lt; or &gt; results in an ugly display in the
popup but at least the text in the input box is displayed correctly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message