[jira] [Created] (TOBAGO-1905) Upgrade to Bootstrap 4.1.0

2018-06-20 Thread Henning Noeth (JIRA)
Henning Noeth created TOBAGO-1905:
-

 Summary: Upgrade to Bootstrap 4.1.0
 Key: TOBAGO-1905
 URL: https://issues.apache.org/jira/browse/TOBAGO-1905
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Themes
Affects Versions: 4.2.1
Reporter: Henning Noeth






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


[jira] [Commented] (MYFACES-4240) onopen eventhandler is called only the first time

2018-06-20 Thread Harry Ring (JIRA)


[ 
https://issues.apache.org/jira/browse/MYFACES-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16518066#comment-16518066
 ] 

Harry Ring commented on MYFACES-4240:
-

Yes, I will test it as soon as possible.

>  onopen eventhandler is called only the first time
> -
>
> Key: MYFACES-4240
> URL: https://issues.apache.org/jira/browse/MYFACES-4240
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: JSR-372
>Affects Versions: 2.3.1
> Environment: java 1.8, tomcat 9.0.8, Windows 10
>Reporter: Harry Ring
>Assignee: Werner Punz
>Priority: Critical
>
> I use the socket below.
> _  _onmessage="userSocketListener"_
>  _onopen="userSocketOpened"_
>  _onclose="userSocketClosed"_
>  _onerror="alert('ERROR')"_
>  _/>_
>  
> If I call  _jsf.push.open('usersocket')_  and __ _userSocketOpened()_ is 
> called.
> Then I call   _jsf.__push.close('usersocket')_ and  _userSocketClosed()_ is 
> called.
> Then I call   _jsf.push.open('usersocket')_  and  _userSocketOpened()_ is not 
> called.
>  
> I looked into 
> myfaces-api-2.3.1-sources.jar!\META-INF\internal-resources\org.apache.myfaces.core.api\jsf.js
>  and found the _onopen_ eventhandler in line 283:
>  
> _socket.onopen = function(event) {_
>  _{color:#d04437}if (reconnectAttempts == null) {color}{_
>  _var clientIds = clientIdsByTokens[channelToken];_
>  _for (var i = clientIds.length - 1; i >= 0; i--){_
>  _var socketClientId = clientIds[i];_
>  _components[socketClientId]['onopen'](channel);_
>  _}_
>  _}_
>  _reconnectAttempts = 0;_
>  _}_
> When the socket is opened the first time reconnectAttempts is null, when the 
> socket is opened the second time reconnectAttempts is 0, so the line should be
> _if (reconnectAttempts == null || reconnectAttempts == 0)_ 



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


[jira] [Commented] (TOBAGO-1903) new attribute keepLineBreaks: tc:out should be usable without rendering a for a \n

2018-06-20 Thread Hudson (JIRA)


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

Hudson commented on TOBAGO-1903:


SUCCESS: Integrated in Jenkins build Tobago 3.0.x #47 (See 
[https://builds.apache.org/job/Tobago%203.0.x/47/])
TOBAGO-1903: new attribute keepLineBreaks: tc:out should be usable (lofwyr: rev 
b7181d093645cef5b41321bf90154bc66813ef51)
* (edit) 
tobago-core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java
* (edit) 
tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/OutTagDeclaration.java
* (edit) tobago-example/tobago-example-demo/src/main/webapp/main.xhtml
* (edit) 
tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIOut.java
* (edit) 
tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/OutRenderer.java


> new attribute keepLineBreaks: tc:out should be usable without rendering a 
>  for a \n
> ---
>
> Key: TOBAGO-1903
> URL: https://issues.apache.org/jira/browse/TOBAGO-1903
> Project: MyFaces Tobago
>  Issue Type: New Feature
>  Components: Core
>Reporter: Udo Schnurpfeil
>Assignee: Udo Schnurpfeil
>Priority: Minor
> Fix For: 4.3.0
>
>
> Normaly a \n will be rendered as  in HTML to support pre-formatted text 
> in a simple way.
> The new attribute keepLineBreaks does this in the same way (default=true), or 
> renders with keepLineBreaks=false as normal encoded  characters.
> The attribute is only used, when escape=true (default).



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


[jira] [Commented] (MYFACES-4240) onopen eventhandler is called only the first time

2018-06-20 Thread Werner Punz (JIRA)


[ 
https://issues.apache.org/jira/browse/MYFACES-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16518014#comment-16518014
 ] 

Werner Punz commented on MYFACES-4240:
--

Yes definitely... otherwise I probably will have a little bit of time next 
weekend (I am in a release phase jobwise atm) to setup everything to test it.

 

>  onopen eventhandler is called only the first time
> -
>
> Key: MYFACES-4240
> URL: https://issues.apache.org/jira/browse/MYFACES-4240
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: JSR-372
>Affects Versions: 2.3.1
> Environment: java 1.8, tomcat 9.0.8, Windows 10
>Reporter: Harry Ring
>Assignee: Werner Punz
>Priority: Critical
>
> I use the socket below.
> _  _onmessage="userSocketListener"_
>  _onopen="userSocketOpened"_
>  _onclose="userSocketClosed"_
>  _onerror="alert('ERROR')"_
>  _/>_
>  
> If I call  _jsf.push.open('usersocket')_  and __ _userSocketOpened()_ is 
> called.
> Then I call   _jsf.__push.close('usersocket')_ and  _userSocketClosed()_ is 
> called.
> Then I call   _jsf.push.open('usersocket')_  and  _userSocketOpened()_ is not 
> called.
>  
> I looked into 
> myfaces-api-2.3.1-sources.jar!\META-INF\internal-resources\org.apache.myfaces.core.api\jsf.js
>  and found the _onopen_ eventhandler in line 283:
>  
> _socket.onopen = function(event) {_
>  _{color:#d04437}if (reconnectAttempts == null) {color}{_
>  _var clientIds = clientIdsByTokens[channelToken];_
>  _for (var i = clientIds.length - 1; i >= 0; i--){_
>  _var socketClientId = clientIds[i];_
>  _components[socketClientId]['onopen'](channel);_
>  _}_
>  _}_
>  _reconnectAttempts = 0;_
>  _}_
> When the socket is opened the first time reconnectAttempts is null, when the 
> socket is opened the second time reconnectAttempts is 0, so the line should be
> _if (reconnectAttempts == null || reconnectAttempts == 0)_ 



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


[jira] [Commented] (MYFACES-4240) onopen eventhandler is called only the first time

2018-06-20 Thread Thomas Andraschko (JIRA)


[ 
https://issues.apache.org/jira/browse/MYFACES-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16517972#comment-16517972
 ] 

Thomas Andraschko commented on MYFACES-4240:


I think the easiest way is that [~Harry Ring] would build from sorc and test 
it? :)

>  onopen eventhandler is called only the first time
> -
>
> Key: MYFACES-4240
> URL: https://issues.apache.org/jira/browse/MYFACES-4240
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: JSR-372
>Affects Versions: 2.3.1
> Environment: java 1.8, tomcat 9.0.8, Windows 10
>Reporter: Harry Ring
>Assignee: Werner Punz
>Priority: Critical
>
> I use the socket below.
> _  _onmessage="userSocketListener"_
>  _onopen="userSocketOpened"_
>  _onclose="userSocketClosed"_
>  _onerror="alert('ERROR')"_
>  _/>_
>  
> If I call  _jsf.push.open('usersocket')_  and __ _userSocketOpened()_ is 
> called.
> Then I call   _jsf.__push.close('usersocket')_ and  _userSocketClosed()_ is 
> called.
> Then I call   _jsf.push.open('usersocket')_  and  _userSocketOpened()_ is not 
> called.
>  
> I looked into 
> myfaces-api-2.3.1-sources.jar!\META-INF\internal-resources\org.apache.myfaces.core.api\jsf.js
>  and found the _onopen_ eventhandler in line 283:
>  
> _socket.onopen = function(event) {_
>  _{color:#d04437}if (reconnectAttempts == null) {color}{_
>  _var clientIds = clientIdsByTokens[channelToken];_
>  _for (var i = clientIds.length - 1; i >= 0; i--){_
>  _var socketClientId = clientIds[i];_
>  _components[socketClientId]['onopen'](channel);_
>  _}_
>  _}_
>  _reconnectAttempts = 0;_
>  _}_
> When the socket is opened the first time reconnectAttempts is null, when the 
> socket is opened the second time reconnectAttempts is 0, so the line should be
> _if (reconnectAttempts == null || reconnectAttempts == 0)_ 



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


[jira] [Commented] (TOBAGO-1902) Migrate to jQuery 3

2018-06-20 Thread Hudson (JIRA)


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

Hudson commented on TOBAGO-1902:


SUCCESS: Integrated in Jenkins build Tobago 3.0.x #46 (See 
[https://builds.apache.org/job/Tobago%203.0.x/46/])
TOBAGO-1902: Migrate to jQuery 3 (lofwyr: rev 
70238151faa04bd56668dd53d149a3f04f5db2a7)
* (add) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/jquery/jquery-3.3.1.js
* (add) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/jquery/jquery-3.3.1.min.map
* (add) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/jquery/jquery-3.3.1.min.js
* (edit) 
tobago-example/tobago-example-demo/src/main/webapp/script/tobago-testAll.js
* (edit) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/tobago-config.xml


> Migrate to jQuery 3
> ---
>
> Key: TOBAGO-1902
> URL: https://issues.apache.org/jira/browse/TOBAGO-1902
> Project: MyFaces Tobago
>  Issue Type: Task
>  Components: Themes
>Affects Versions: 3.0.6, 2.1.1, 4.2.1
>Reporter: Udo Schnurpfeil
>Assignee: Udo Schnurpfeil
>Priority: Major
>
> We should switch to jQuery 3 to be up-to-date with the current development. 
> The browser support is 9+ for Internet Explorer and "last + current" for the 
> other browsers (like jQuery 2).
> Tobago 2.x (which currently uses jQuery 1) supports older IE browsers, it 
> might me a solution to render jQuery 1 for IE 8 and jQuery 3 for IE 9.



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


[jira] [Commented] (TOBAGO-1902) Migrate to jQuery 3

2018-06-20 Thread Hudson (JIRA)


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

Hudson commented on TOBAGO-1902:


SUCCESS: Integrated in Jenkins build Tobago Trunk #1462 (See 
[https://builds.apache.org/job/Tobago%20Trunk/1462/])
TOBAGO-1902: Migrate to jQuery 3 (lofwyr: rev 
e232a6f6200be42657c32c8fede2e3a12cbbd4b2)
* (delete) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/jquery/jquery-2.2.4.min.js
* (delete) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/jquery/jquery-2.2.4.js
* (delete) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/jquery/jquery-2.2.4.min.map
* (edit) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/tobago-config.xml


> Migrate to jQuery 3
> ---
>
> Key: TOBAGO-1902
> URL: https://issues.apache.org/jira/browse/TOBAGO-1902
> Project: MyFaces Tobago
>  Issue Type: Task
>  Components: Themes
>Affects Versions: 3.0.6, 2.1.1, 4.2.1
>Reporter: Udo Schnurpfeil
>Assignee: Udo Schnurpfeil
>Priority: Major
>
> We should switch to jQuery 3 to be up-to-date with the current development. 
> The browser support is 9+ for Internet Explorer and "last + current" for the 
> other browsers (like jQuery 2).
> Tobago 2.x (which currently uses jQuery 1) supports older IE browsers, it 
> might me a solution to render jQuery 1 for IE 8 and jQuery 3 for IE 9.



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