[jira] Commented: (WICKET-2851) Ajax responses do not update DOM correctly on Opera

2010-08-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/WICKET-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903865#action_12903865
 ] 

Hudson commented on WICKET-2851:


Integrated in Apache Wicket 1.4.x #129 (See 
[https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/129/])


 Ajax responses do not update DOM correctly on Opera
 ---

 Key: WICKET-2851
 URL: https://issues.apache.org/jira/browse/WICKET-2851
 Project: Wicket
  Issue Type: Bug
  Components: wicket
Affects Versions: 1.4.7
 Environment: This issue affects just Opera, my tested version is 
 10.52.
 Other browsers I tested but are not affected by the issue: Firefox 3.6.3, IE 
 8.0, Chrome 4.1.249.1059.
 Application was deployed on Apache Tomcat 5.5.28 and Jetty 6.1.6.
 Everything runs on MS Win 7 Ultimate x64.
Reporter: Martin Petras
Assignee: Igor Vaynberg
 Fix For: 1.4.11, 1.5-M2

 Attachments: test.zip


 Having following example:
 = HTML ==
 table
   trtdbutton wicket:id=btnShowHideShow/Hide/button/td/tr
   tr wicket:id=hidingContainertdsomething goes here.../td/tr
 /table
 = PAGE ==
 final Component hidingContainer;
 this.add(hidingContainer = new 
 WebMarkupContainer(hidingContainer).setOutputMarkupId(
   true).setOutputMarkupPlaceholderTag(true).setVisible(true));
   
 this.add(new AjaxFallbackLinkVoid(btnShowHide){
   @Override
   public void onClick(AjaxRequestTarget target) {
   hidingContainer.setVisible(!hidingContainer.isVisible());
   target.addComponent(hidingContainer);
   }
 });
 On Opera browser it works well only once. Afterwards it is not possible to 
 show/hide hidingContainer.
 Ajax response doesn't update hidingContainer's DOM properly. Response is 
 correct, however after replacing existing html code with an incomming html 
 the TR tag looses its ID attribute. Hence the following Ajax response fails 
 to update the TR tag and throws error:
 ERROR: Wicket.Ajax.Call.processComponent: Component with id 
 [[hidingContainer4]] a was not found while trying to perform markup update. 
 This problem occurs only when hidingContainer is in a TR tag. If replaced 
 with p, everything works like a charm.
 It must be a bug in the Opera browser but maybe there is any workaround that 
 may get it work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (WICKET-2851) Ajax responses do not update DOM correctly on Opera

2010-04-27 Thread Martin Petras (JIRA)

[ 
https://issues.apache.org/jira/browse/WICKET-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12861615#action_12861615
 ] 

Martin Petras commented on WICKET-2851:
---

I found an issue that also describes similar problems with Opera browser. See 
WICKET-2246

 Ajax responses do not update DOM correctly on Opera
 ---

 Key: WICKET-2851
 URL: https://issues.apache.org/jira/browse/WICKET-2851
 Project: Wicket
  Issue Type: Bug
  Components: wicket
Affects Versions: 1.4.7
 Environment: This issue affects just Opera, my tested version is 
 10.52.
 Other browsers I tested but are not affected by the issue: Firefox 3.6.3, IE 
 8.0, Chrome 4.1.249.1059.
 Application was deployed on Apache Tomcat 5.5.28 and Jetty 6.1.6.
 Everything runs on MS Win 7 Ultimate x64.
Reporter: Martin Petras
 Attachments: test.zip


 Having following example:
 = HTML ==
 table
   trtdbutton wicket:id=btnShowHideShow/Hide/button/td/tr
   tr wicket:id=hidingContainertdsomething goes here.../td/tr
 /table
 = PAGE ==
 final Component hidingContainer;
 this.add(hidingContainer = new 
 WebMarkupContainer(hidingContainer).setOutputMarkupId(
   true).setOutputMarkupPlaceholderTag(true).setVisible(true));
   
 this.add(new AjaxFallbackLinkVoid(btnShowHide){
   @Override
   public void onClick(AjaxRequestTarget target) {
   hidingContainer.setVisible(!hidingContainer.isVisible());
   target.addComponent(hidingContainer);
   }
 });
 On Opera browser it works well only once. Afterwards it is not possible to 
 show/hide hidingContainer.
 Ajax response doesn't update hidingContainer's DOM properly. Response is 
 correct, however after replacing existing html code with an incomming html 
 the TR tag looses its ID attribute. Hence the following Ajax response fails 
 to update the TR tag and throws error:
 ERROR: Wicket.Ajax.Call.processComponent: Component with id 
 [[hidingContainer4]] a was not found while trying to perform markup update. 
 This problem occurs only when hidingContainer is in a TR tag. If replaced 
 with p, everything works like a charm.
 It must be a bug in the Opera browser but maybe there is any workaround that 
 may get it work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.