[richfaces-issues] [JBoss JIRA] Created: (RF-4303) CDK's generates a table of InternetResources in component's renderer incorectly

Piotr Kawiak (JIRA) jira-events at lists.jboss.org
Wed Aug 27 02:15:38 EDT 2008


CDK's generates a table of InternetResources in component's renderer incorectly
-------------------------------------------------------------------------------

                 Key: RF-4303
                 URL: https://jira.jboss.org/jira/browse/RF-4303
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.1
            Reporter: Piotr Kawiak
            Priority: Minor
             Fix For: 3.2.2


It is a bug connected with the one I've described in https://jira.jboss.org/jira/browse/RF-4119.

The CDK will generate bad output while parsing a file where spaces are used as indentation (inside <h:scripts> tag).

The solution proposed in RF-4119 in not sufficient as in the constructor of HeaderResourceElement the following
line:

String resourcesAsString = element.getTextContent();

should be changed to:

String resourcesAsString = element.getTextContent().trim();

(without that trim the tokenizer will generate an empty token)


-- 
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