[jira] [Issue Comment Edited] (MYFACES-3521) javax.faces.ViewState is not updated after ajaxResponse

2012-04-03 Thread Werner Punz (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13245097#comment-13245097
 ] 

Werner Punz edited comment on MYFACES-3521 at 4/3/12 10:08 AM:
---

Hello the viewstate update should work, i am testing automatically for that 
before every release in one of my testcases, can you isolate your usecase into 
a single war and post it here so that I can have a deeper look at the webapp 
configuration and which version of richfaces, myfaces etc...
My personal guess is something in richfaces breaks it or in the version of 
richfaces you use.



  was (Author: werpu):
Hello the viewstate update should work, can you isolate your usecase into a 
single war and post it here so that I can have a deeper look at the webapp 
configuration and which version of richfaces, myfaces etc...


  
 javax.faces.ViewState is not updated after ajaxResponse
 ---

 Key: MYFACES-3521
 URL: https://issues.apache.org/jira/browse/MYFACES-3521
 Project: MyFaces Core
  Issue Type: Bug
  Components: JSR-314
Affects Versions: 2.1.6
 Environment: all
Reporter: wojtask

 click 2x times on link
   h:form
   script
   var x= new String(a)
   /script
   script
   (1==3)? 'd':'e';
   /script
   h:commandLink value=link
   f:ajax render=@form/
   /h:commandLink
   /h:form
 I'm not sure that is bug but works in jsf-ri.
 In real scenario problem occurs for example if AUTO_SCROLL in contex-param is 
 set to true and rich:tooltip is used.
 Rendered HTML markup:
 script
 !--
 new RichFaces.ui.Tooltip(j_id_v:j_id_3y,{ajax:{incId:1} 
 ,target:j_id_v:j_id_3y,offset:[10,10] } )
 //--
 /script
 script
 !--
 (!window.myfaces) ? window.myfaces = {} : null;(!myfaces.core) ? myfaces.core 
 = {} : null;(!myfaces.core.config) ? myfaces.core.config = {} : 
 null;myfaces.core.config.autoScroll = true;
 //--
 /script
 see
 https://issues.jboss.org/browse/RF-12130

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (MYFACES-3521) javax.faces.ViewState is not updated after ajaxResponse

2012-04-03 Thread Werner Punz (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13245251#comment-13245251
 ] 

Werner Punz edited comment on MYFACES-3521 at 4/3/12 12:23 PM:
---

I tried to reproduce this bug with following markup: 
https://gist.github.com/2291512
and with MyFaces 2.1.6 and Richfaces 4.2.0-Final. The viewstate was properly 
set.

Autoscroll was on.

  was (Author: werpu):
I tried to reproduce this bug with following markup: 
https://gist.github.com/2291512
and with MyFaces 2.1.6 and Richfaces 4.2.0-Final. The viewstate was properly 
set.

  
 javax.faces.ViewState is not updated after ajaxResponse
 ---

 Key: MYFACES-3521
 URL: https://issues.apache.org/jira/browse/MYFACES-3521
 Project: MyFaces Core
  Issue Type: Bug
  Components: JSR-314
Affects Versions: 2.1.6
 Environment: all
Reporter: wojtask

 click 2x times on link
   h:form
   script
   var x= new String(a)
   /script
   script
   (1==3)? 'd':'e';
   /script
   h:commandLink value=link
   f:ajax render=@form/
   /h:commandLink
   /h:form
 I'm not sure that is bug but works in jsf-ri.
 In real scenario problem occurs for example if AUTO_SCROLL in contex-param is 
 set to true and rich:tooltip is used.
 Rendered HTML markup:
 script
 !--
 new RichFaces.ui.Tooltip(j_id_v:j_id_3y,{ajax:{incId:1} 
 ,target:j_id_v:j_id_3y,offset:[10,10] } )
 //--
 /script
 script
 !--
 (!window.myfaces) ? window.myfaces = {} : null;(!myfaces.core) ? myfaces.core 
 = {} : null;(!myfaces.core.config) ? myfaces.core.config = {} : 
 null;myfaces.core.config.autoScroll = true;
 //--
 /script
 see
 https://issues.jboss.org/browse/RF-12130

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (MYFACES-3521) javax.faces.ViewState is not updated after ajaxResponse

2012-04-03 Thread wojtask (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13245274#comment-13245274
 ] 

wojtask edited comment on MYFACES-3521 at 4/3/12 1:00 PM:
--

added testcase.

in browser type localhost:8080/test_js/index.xhtml

If you add ; after new String(a) everything works 

  was (Author: wojtask9):
added testcase
  
 javax.faces.ViewState is not updated after ajaxResponse
 ---

 Key: MYFACES-3521
 URL: https://issues.apache.org/jira/browse/MYFACES-3521
 Project: MyFaces Core
  Issue Type: Bug
  Components: JSR-314
Affects Versions: 2.1.6
 Environment: all
Reporter: wojtask
 Attachments: test_js.rar


 click 2x times on link
   h:form
   script
   var x= new String(a)
   /script
   script
   (1==3)? 'd':'e';
   /script
   h:commandLink value=link
   f:ajax render=@form/
   /h:commandLink
   /h:form
 I'm not sure that is bug but works in jsf-ri.
 In real scenario problem occurs for example if AUTO_SCROLL in contex-param is 
 set to true and rich:tooltip is used.
 Rendered HTML markup:
 script
 !--
 new RichFaces.ui.Tooltip(j_id_v:j_id_3y,{ajax:{incId:1} 
 ,target:j_id_v:j_id_3y,offset:[10,10] } )
 //--
 /script
 script
 !--
 (!window.myfaces) ? window.myfaces = {} : null;(!myfaces.core) ? myfaces.core 
 = {} : null;(!myfaces.core.config) ? myfaces.core.config = {} : 
 null;myfaces.core.config.autoScroll = true;
 //--
 /script
 see
 https://issues.jboss.org/browse/RF-12130

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (MYFACES-3521) javax.faces.ViewState is not updated after ajaxResponse

2012-04-03 Thread wojtask (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13245274#comment-13245274
 ] 

wojtask edited comment on MYFACES-3521 at 4/3/12 1:10 PM:
--

added testcase.

in browser type localhost:8080/test_js/index.xhtml

If you add ; after new String(a) everything works 

To be clear :)
I'm not sure is this myfaces bug but with jsf-ri it works.



  was (Author: wojtask9):
added testcase.

in browser type localhost:8080/test_js/index.xhtml

If you add ; after new String(a) everything works 
  
 javax.faces.ViewState is not updated after ajaxResponse
 ---

 Key: MYFACES-3521
 URL: https://issues.apache.org/jira/browse/MYFACES-3521
 Project: MyFaces Core
  Issue Type: Bug
  Components: JSR-314
Affects Versions: 2.1.6
 Environment: all
Reporter: wojtask
 Attachments: test_js.rar


 click 2x times on link
   h:form
   script
   var x= new String(a)
   /script
   script
   (1==3)? 'd':'e';
   /script
   h:commandLink value=link
   f:ajax render=@form/
   /h:commandLink
   /h:form
 I'm not sure that is bug but works in jsf-ri.
 In real scenario problem occurs for example if AUTO_SCROLL in contex-param is 
 set to true and rich:tooltip is used.
 Rendered HTML markup:
 script
 !--
 new RichFaces.ui.Tooltip(j_id_v:j_id_3y,{ajax:{incId:1} 
 ,target:j_id_v:j_id_3y,offset:[10,10] } )
 //--
 /script
 script
 !--
 (!window.myfaces) ? window.myfaces = {} : null;(!myfaces.core) ? myfaces.core 
 = {} : null;(!myfaces.core.config) ? myfaces.core.config = {} : 
 null;myfaces.core.config.autoScroll = true;
 //--
 /script
 see
 https://issues.jboss.org/browse/RF-12130

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira