Hi,
I am currently upgrading a component from Tapestry 4.02 to Tapestry 4.1
The problem is that once I upgrade, my submit no longer works??
unfortunately I have limited Dojo skills, but this should be pretty
simple to solve...here is the code:
Tapestry 4.0.2 with tacos
var args = { url: "", processScripts: "true", updateComponents:
"forRefresh2", effects: {}, content: {dojoRequest: "true",
processScripts: "true" },
formId: "ajaxform", backLink: "", forwardLink: "",
statusElement: ""};
tacos.formSubmit(args); // actually submit
timeout = setTimeout("reloadForm()",3000); //set
the delayed refresh
In Tapestry 4.1 I tried
dojo.require("tapestry.form");
tapestry.form.registerForm(dojo.byId("ajaxform"));
var args = { url: "", processScripts: "true", updateComponents:
"forRefresh2", effects: {}, content: {dojoRequest: "true",
processScripts: "true" },
formId: "ajaxform", backLink: "", forwardLink: "",
statusElement: ""};
tacos.formSubmit(args); // actually submit
tapestry.form.submitAsync(dojo.byId("ajaxform", args)
timeout = setTimeout("reloadForm()",3000); //set delayed refresh
The JavaScript console Error: tapestry is not defined
Source File:
http://localhost:8081/IRM2/app?page=PortfolioAllocations&service=page
Line: 190 (tapestry.form.submitAsync(dojo.byId("ajaxform", args))
Kind regards,
Peter
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel