[richfaces-issues] [JBoss JIRA] Updated: (RF-5599) Content between angle brackets is being stripped out from selected item of a suggestion box

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Jan 8 12:32:04 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-5599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-5599:
-------------------------------

    Fix Version/s: Future
                       (was: 3.2.2)


> Content between angle brackets is being stripped out from selected item of a suggestion box
> -------------------------------------------------------------------------------------------
>
>                 Key: RF-5599
>                 URL: https://jira.jboss.org/jira/browse/RF-5599
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>            Reporter: Alessandro Behling
>             Fix For: Future
>
>
> The problem presented itself when we migrated data from a legacy database. The migrated data is full of bits of descriptions that might include angle brackets. ie.
> 'XXXX - US.1     <ORIG 5 MINS> - YYYYY 1'
> On my list of results being displayed inside the the suggestion box, this gets listed as expected, but once I select this item and set it back to the input field the suggestion box is attached, it gets retrieved as 
> 'XXXX - US.1      - YYYYY 1'
> After spending the day debuging the code, I managed to find out that the snipet of html that is sent back to the client has a few TDs 
> will try to rougly write it how it looked
> <TD display:"NONE">XXXX - US.1      - YYYYY 1<TD>
> <TD>XXXX - US.1     <ORIG 5 MINS> - YYYYY 1<TD>
> and the bit that gets used is the first TD which doesn't get displayed and is picked as the value of the item inside my list
> The behaviour I would expect is that the value is honored as it is, since we cannot change the data which has been migrated from an old application and this is a major impact on the way the application will work. What seems to be happening is that RichFaces thinks the tags are dirty and wrong HTML bits and tries to be clever and cleans it up for you, but in this case what it actually does is screw the whole point of using the interface component
> Could it have an option of honoring such characters? so that it could fit to the purpose it already has, and also, suit cases like the one described
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list