Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-tapestry Wiki" for change notification.
The following page has been changed by gabrielh: http://wiki.apache.org/jakarta-tapestry/TapestryAndApplets ------------------------------------------------------------------------------ - The HTML: + The HTML:[[br]] - You want to set the hidden input (called document.appletForm.someData.value) with the applet method result of document.myApplet.getSomeData(). + You want to set the hidden input (called document.appletForm.someData.value) with the applet method result of document.myApplet.getSomeData().[[br]] - You want to pass the data back to the applet using the <param> tag, hence the ognl:getAppletParameters() insert. + You want to pass the data back to the applet using the <param> tag, hence the ognl:getAppletParameters() insert.[[br]] + [[br]] + Form name: appletForm[[br]] + Access in javascript: document.appletForm[[br]] + [[br]] + Applet name: myApplet[[br]] + Access in javascript: document.myApplet {{{ @@ -37, +43 @@ return "<param name=\"someData\" value=\"" + getSomeData() + "\">"; } + public abstract String getSomeData(); + public abstract void setSomeData(String s); }}} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
