morciuch    2003/10/03 15:43:01

  Added:       xdocs    portlet_config_AppletPortlet.xml
  Log:
  Never committed doc for applet portlet
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed/xdocs/portlet_config_AppletPortlet.xml
  
  Index: portlet_config_AppletPortlet.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
    <properties>
      <title>Portlet Configuration How To</title>
      <subtitle>Applet</subtitle>
      <authors>
         <person name="Mark Orciuch" email="[EMAIL PROTECTED]"/>
      </authors>
    </properties>
    <body>
      <section name=''>
        <p>
          <font face="arial,helvetica,sanserif" size="+3">
            <center><strong>Applet</strong></center>
          </font>
          <br/>
          <font face="arial,helvetica,sanserif">      
            <center>
              <strong>Template Name : java-applet-portlet.jsp</strong>
            </center>
          </font>
          <br/>
        </p>
      </section>
  
      <section name='Description'>
        <p>
          Presents Java applet in a portlet. 
        </p>
        <subsection name="Supported Media Types">    
          <p>
            <a href="portlet_config_common.html&#35;Supported Media Types">Description 
of Media Types.</a>
            <ul>
              <li>html</li>      
            </ul>
          </p>
        </subsection>
      </section>
  
      <section name='Element: parameter'>
        <p>
          Parameter that control the how the web page is converted into a portlet.
        </p>
        <p>
          The following parameters will be used as attributes for the applet tag:
        <ul>
          <li>name</li>
          <li>codebase</li>
          <li>code</li>
          <li>width</li>
          <li>height</li>
          <li>archive</li>
          <li>border</li>
          <li>align</li>
        </ul>
        The remaining parameters will be used as applet parameters.
        </p>
        <p>    
          <a href="portlet_config_common.html&#35;Element: parameter">Parameters 
common to many portlets.</a>
        </p>
      </section>
      <section name='Example of use'>
        <strong>Portlet Entry</strong>
        <source><![CDATA[
      <portlet-entry name="JavaMine" hidden="false" type="ref" parent="AppletPortlet" 
application="false">
          <meta-info>
              <title>Mine Sweeper Game</title>
              <description>Example of Java applet</description>
          </meta-info>
          <parameter name="codebase" value="." hidden="true"/>
          <parameter name="width" value="152" hidden="false"/>
          <parameter name="code" value="jmapplet.class" hidden="true"/>
          <parameter name="height" value="195" hidden="false"/>
          <parameter name="archive" value="javamine.jar" hidden="true"/>
          <parameter name="border" value="0" hidden="false"/>        
          <parameter name="align" value="top" hidden="false"/>                
          <parameter name="rows" value="8" hidden="false"/>        
          <parameter name="marks" value="true" hidden="false"/>        
          <parameter name="mines" value="10" hidden="false"/>        
          <parameter name="graphics" value="true" hidden="false"/>        
          <parameter name="type" value="application/x-java-applet" hidden="false"/>    
    
          <parameter name="level" value="beginner" hidden="false"/>                
          <parameter name="cols" value="8" hidden="false"/>                
          <media-type ref="html"/>
      </portlet-entry>
      ]]></source>
        <strong>Resulting applet tag</strong>
        <source><![CDATA[      
  <applet archive="javamine.jar" border="0" align="top" height="195" width="152" 
codebase="http://localhost:80/jetspeed/"; code="jmapplet.class">
    <param name="level" value="beginner">
    <param name="type" value="application/x-java-applet">
    <param name="cols" value="8">
    <param name="graphics" value="true">
    <param name="marks" value="true">
    <param name="mines" value="10">
    <param name="rows" value="8">
  </applet>      
      ]]></source>      
      </section>
    </body>
  </document>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to