myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Claude Pace (JIRA)" <...@myfaces.apache.org>
Subject [jira] Reopened: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly
Date Wed, 08 Mar 2006 14:48:39 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-1143?page=all ]
     
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(InputSuggestAjaxRenderer.java:72)
	at org.apache.myfaces.custom.inputsuggestajax.InputSuggestAjaxRenderer.encodeEnd(InputSuggestAjaxRenderer.java:125)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)


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: http://issues.apache.org/jira/browse/MYFACES-1143
>      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 <email@address.com>" 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message