You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jean-Claude Pace (JIRA)" <de...@myfaces.apache.org> on 2006/02/20 15:15:26 UTC

[jira] Created: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly

InputSuggestAjax does not handle < and > correctly
--------------------------------------------------

         Key: MYFACES-1143
         URL: http://issues.apache.org/jira/browse/MYFACES-1143
     Project: MyFaces
        Type: Bug
  Components: Sandbox  
    Reporter: Jean-Claude Pace


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 <em...@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


[jira] Resolved: (TOMAHAWK-379) InputSuggestAjax does not handle < and > correctly

Posted by "Gerald Müllan (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerald Müllan resolved TOMAHAWK-379.
------------------------------------

    Resolution: Fixed
      Assignee: Gerald Müllan

Fixed with https://issues.apache.org/jira/browse/TOMAHAWK-322

> InputSuggestAjax does not handle < and > correctly
> --------------------------------------------------
>
>                 Key: TOMAHAWK-379
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-379
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: InputSuggestAjax
>            Reporter: Jean-Claude Pace
>         Assigned To: Gerald Müllan
>
> 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 <em...@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.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1143?page=all ]
     
Werner Punz closed MYFACES-1143:
--------------------------------

    Fix Version: Nightly
     Resolution: Fixed

Ok I am closing it now, the dojo people have solved this one for us...
Thanks Gerald for checking it and commenting on it.


> InputSuggestAjax does not handle < and > correctly
> --------------------------------------------------
>
>          Key: MYFACES-1143
>          URL: http://issues.apache.org/jira/browse/MYFACES-1143
>      Project: MyFaces Core
>         Type: Bug
>   Components: Sandbox
>     Reporter: Jean-Claude Pace
>      Fix For: Nightly

>
> 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 <em...@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


[jira] Commented: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly

Posted by "Jean-Claude Pace (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1143?page=comments#action_12367042 ] 

Jean-Claude Pace commented on MYFACES-1143:
-------------------------------------------

No, I only used the release version

> InputSuggestAjax does not handle < and > correctly
> --------------------------------------------------
>
>          Key: MYFACES-1143
>          URL: http://issues.apache.org/jira/browse/MYFACES-1143
>      Project: MyFaces
>         Type: Bug
>   Components: Sandbox
>     Reporter: Jean-Claude Pace

>
> 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 <em...@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


[jira] Commented: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly

Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1143?page=comments#action_12369464 ] 

Mario Ivankovits commented on MYFACES-1143:
-------------------------------------------

could you please double check if there is any old myfaces library in your classpath e.g myfaces-common which is obsolete now.

Thanks!

> 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 <em...@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


[jira] Commented: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly

Posted by "Gerald Müllan (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1143?page=comments#action_12367108 ] 

Gerald Müllan commented on MYFACES-1143:
----------------------------------------

Yes, matthias is right. Now the suggest component runs under the dojo framework.

I have tried your suggestions with this new build, it seems to work now. 
But the next days/weeks some issues may change on this component, so do not rely too heavily on it.

The reported bug works with the curent build, so I think this issue can be closed!







> InputSuggestAjax does not handle < and > correctly
> --------------------------------------------------
>
>          Key: MYFACES-1143
>          URL: http://issues.apache.org/jira/browse/MYFACES-1143
>      Project: MyFaces
>         Type: Bug
>   Components: Sandbox
>     Reporter: Jean-Claude Pace

>
> 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 <em...@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


[jira] Commented: (TOMAHAWK-379) InputSuggestAjax does not handle < and > correctly

Posted by "Pawel Koloszko (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-379?page=comments#action_12376977 ] 

Pawel Koloszko commented on TOMAHAWK-379:
-----------------------------------------

I am not sure if my problem has the same origin, but I have problem with displaying polish letters in inputSuggestAjax. For example polish word "węgierski" (with special polish e) is displayed as "w&#281;gierski"

> InputSuggestAjax does not handle < and > correctly
> --------------------------------------------------
>
>          Key: TOMAHAWK-379
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-379
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>     Reporter: Jean-Claude Pace

>
> 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 <em...@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


[jira] Commented: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1143?page=comments#action_12367037 ] 

Matthias Weßendorf commented on MYFACES-1143:
---------------------------------------------

did you test the nightly build?

this component is in change... dojo will be used asap

> InputSuggestAjax does not handle < and > correctly
> --------------------------------------------------
>
>          Key: MYFACES-1143
>          URL: http://issues.apache.org/jira/browse/MYFACES-1143
>      Project: MyFaces
>         Type: Bug
>   Components: Sandbox
>     Reporter: Jean-Claude Pace

>
> 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 <em...@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


[jira] Reopened: (MYFACES-1143) InputSuggestAjax does not handle < and > correctly

Posted by "Jean-Claude Pace (JIRA)" <de...@myfaces.apache.org>.
     [ 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 <em...@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