SendToSelf

Test Case

Description

This place sends a signal to itself when the button is pushed. This shall trigger the overload detector. (NYI)


Source code:

<xslt:stylesheet xmlns:dsssl="http://www.askemos.org/2000/NameSpaceDSSSL" xmlns:mind="http://www.askemos.org/2000/CoreAPI" xmlns:xslt="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xslt:template match="*[@type=&quot;read&quot;]">
  <html>
   <body bgcolor="white">
    <h1>Test Case</h1>
    <h2>Description</h2>
    <p>This place sends a signal to itself when the button is pushed.
This shall trigger the overload detector. (NYI)</p>
    <p>
     <dsssl:form action="&apos;()" method="post">
      <input type="submit"></input>
     </dsssl:form>
    </p>
   </body>
  </html>
 </xslt:template>
 <xslt:template match="*[@type=&quot;write&quot;]">
  <mind:reply>
   <dsssl:copy-of select="(grove-root (current-node))"></dsssl:copy-of>
   <mind:send type="write">
    <to>
     <dsssl:copy-of select="(literal (oid-&gt;string (me &apos;get &apos;id)))"></dsssl:copy-of>
    </to>
    <Body></Body>
   </mind:send>
  </mind:reply>
 </xslt:template>
</xslt:stylesheet>

Diese Seite findet man von: overview, .




Letzte Modifikation: Thu, 06 Feb 2003 14:41:42 +0100

Autor(en): jfw,

Dokument Nummer A67bb0753e1676f81983e0ecf3a15b391 geliefert an public um Mon, 08 Sep 2008 20:37:14 +0200