[ 
https://jira.jboss.org/jira/browse/RF-8068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12494715#action_12494715
 ] 

Nick Belaevski commented on RF-8068:
------------------------------------

Just sent request to saxon-help mailing list, waiting for response from them.

Issue happens because Saxon doesn't properly transform DOMSource containing 
just a text node, so the workaround is to add extra DOM node like this: 

                        <rich:progressBar 
value="#{progressBarBean.currentValue}"
                                interval="2000" label="&lt;span&gt; 
#{progressBarBean.currentValue} % &lt;/span&gt;"
                                enabled="#{progressBarBean.enabled}" 
minValue="-1" maxValue="100"
                                reRenderAfterComplete="progressPanel">
 

> progressBar doesn't render if Saxon 9 on CLASSPATH
> --------------------------------------------------
>
>                 Key: RF-8068
>                 URL: https://jira.jboss.org/jira/browse/RF-8068
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-input
>    Affects Versions: 3.3.2.SR1
>            Reporter: Richard Kennard
>            Assignee: Nick Belaevski
>         Attachments: RichFaces.war, saxon9he.jar
>
>
> Hi guys,
> There seems to be some strange incompatibility between RichFaces' progressBar 
> (and possibly other components) and Saxon9. I attach a sample of the problem:
> 1. Take the attached WAR (RichFaces.war) and deploy it into Tomcat 6
> 2. Hit /RichFaces/index.jsf and marvel how the progressBar renders correctly
> 3. Copy the (separately) attached saxon9he.jar into WEB-INF/lib
> 4. Restart Tomcat
> 5. Hit /RichFaces/index.jsf and gasp how the progressBar renders as just a 
> thin grey line
> It seems to never render anything inside the progressBar, either when using 
> the 'label' attribute or nested h:outputText components.

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to