tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-tapestry Wiki] Update of "TapestryAndApplets" by gabrielh
Date Mon, 24 Oct 2005 20:02:12 GMT
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message