[
https://issues.apache.org/jira/browse/WICKET-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602715#action_12602715
]
Brian Diekelman commented on WICKET-1646:
-----------------------------------------
Good info. Thanks Lonnie.
I was concerned about compatibility of the MSXML object, so I looked this up:
http://blogs.msdn.com/xmlteam/archive/2006/10/23/using-the-right-version-of-msxml-in-internet-explorer.aspx
To keep it here for posterity:
- MSXML 6.0 - it is "in the box" on Vista and available for download on Win2k,
XP, and 2003. It has the best security, performance, reliability, and W3C
conformance
- MSXML 3.0 is our preferred "fallback" - It is installed on every OS from a
fully patched Win2k SP4 installation on up, so it requires "zero-deployment"
and is serviced regularly with the OS
- MSXML 4.0 was released to the web about 5 years ago, but at this point has
been superseded by MSXML 6.0 and is only intended to support legacy applications
- MSXML 5.0 for Microsoft Office Applications is purpose-built for Office
applications and isn't intended for broad deployment. Internet Explorer 7
actually has the MSXML5 components "off-by-default" in the Internet zone so
your customers will get a goldbar for each MSXML5 control on a page if your
code tries to instantiate it. The best recommendation is to avoid MSXML5 in
your web apps (only machines with Office 2003 or higher will have it, anyway.).
> AjaxFormComponentUpdatingBehavior not working correctly when using IE 7
> -----------------------------------------------------------------------
>
> Key: WICKET-1646
> URL: https://issues.apache.org/jira/browse/WICKET-1646
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.4
> Environment: OS: Windows XP SP2
> ServletContainer: Jetty 6.1.6
> Browser: IE 7
> Reporter: Jarmar Fowler
> Assignee: Matej Knopp
> Fix For: 1.3.4
>
>
> AjaxFormComponentUpdatingBehavior works with Firefox, but doesn't work when
> using IE7.
> I also observed similar problems when using AjaxEventBehavior as well.
> The error returned via the ajax debug console was: "Could not locate ajax
> transport. Your browser does not support the required XMLHttpRequest object
> or wicket could not gain access to it".
> Below is a simple example that should demonstrate the problem.
> Example.java
> ============================================================
> package example.page;
> import org.apache.wicket.ajax.AjaxRequestTarget;
> import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior;
> import org.apache.wicket.markup.html.WebPage;
> import org.apache.wicket.markup.html.basic.Label;
> import org.apache.wicket.markup.html.form.Form;
> import org.apache.wicket.markup.html.form.TextField;
> import org.apache.wicket.model.CompoundPropertyModel;
> import org.apache.wicket.model.PropertyModel;
> public class Example extends WebPage {
> private int age;
> public Example() {
> Form form = new Form("form", new
> CompoundPropertyModel(this));
> add(form);
> final Label label = new Label("label", new
> PropertyModel(this, "age"));
> label.setOutputMarkupId(true);
> add(label);
> final TextField age = new TextField("age");
> age.add(new
> AjaxFormComponentUpdatingBehavior("onblur") {
> /**
> *
> */
> private static final long
> serialVersionUID = 1L;
> protected void
> onUpdate(AjaxRequestTarget target) {
>
> System.out.println("onUpdate triggered");
>
> target.addComponent(label);
> }
> });
> form.add(age);
> }
> public int getAge() {
> return age;
> }
> public void setAge(int age) {
> this.age = age;
> }
> }
> Example.html
> ==================================================
> <html>
> <head>
> <title>Test</title>
> </head>
> <body>
> <div>
> <label wicket:id="label">My Label Goes
> Here</label>
> </div>
> <form wicket:id="form">
> <div>Age: <input type="text" wicket:id="age"
> /></div>
> <div>
> <input type="submit"
> value="Submit" />
> </div>
> </form>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.