[ 
https://issues.apache.org/jira/browse/TOBAGO-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16655265#comment-16655265
 ] 

Udo Schnurpfeil commented on TOBAGO-1945:
-----------------------------------------

As a workaround, exclude jQuery 3 and include jQuery 1. Excample: 
{code}
<tobago-config
    xmlns="http://myfaces.apache.org/tobago/tobago-config";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://myfaces.apache.org/tobago/tobago-config 
http://myfaces.apache.org/tobago/tobago-config-2.3.xsd";
    version="2.3">
  <name>tobago-theme-speyside</name>
  <ordering>
    <after>
      <name>tobago-theme-scarborough</name>
    </after>
  </ordering>
  <resource-dir>org/apache/myfaces/tobago/renderkit</resource-dir>
  <theme-definitions>
    <theme-definition>
      <name>speyside</name>
      <display-name>Speyside</display-name>
      <resource-path>org/apache/myfaces/tobago/renderkit</resource-path>
      <fallback>scarborough</fallback>
      <versioned>true</versioned>
      <resources production="true">
        <excludes>
          <script name="script/contrib/jquery-3.3.1.js"/>
        </excludes>
        <script priority="10" name="script/contrib/jquery-1.12.4.js"/>
      </resources>
      <resources production="false">
        <excludes>
          <script name="script/contrib/jquery-3.3.1.js"/>
        </excludes>
        <script priority="10" name="script/contrib/jquery-1.12.4.js"/>
      </resources>
    </theme-definition>
  </theme-definitions>
</tobago-config>
{code}
 

> Rendering in the browser sometime flickering after normal JSF request.
> ----------------------------------------------------------------------
>
>                 Key: TOBAGO-1945
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1945
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Themes
>    Affects Versions: 2.2.0
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>
> It seems, that the update of jQuery from 1 to 3 (in Tobago 2.2.0) is the 
> reason.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to