dmkarr      2002/10/23 22:39:07

  Added:       contrib/struts-el/src/share/org/apache/strutsel/taglib/html
                        package.html
  Log:
  first draft of html package description
  
  Revision  Changes    Path
  1.1                  
jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/package.html
  
  Index: package.html
  ===================================================================
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <html>
   <head>
    <base/>
    <title>Package Documentation for org.apache.strutsel.taglib.html Package</title>
   </head>
   <body bgcolor="white">
    <p>
     <a name="doc.Description">The "struts-html-el" tag library</a> contains JSP
     custom tags useful in creating dynamic HTML user interfaces, including input
     forms.
    </p>
    <br>
    <a name="doc.Description"></a>
    <div align="Center">
     <a href="#doc.Intro">[Introduction]</a>
     <a href="#doc.Functionality">[Html-EL Functionality]</a>
     <a href="#doc.Examples">[Html-EL Examples]</a>
    </div>
    <hr>
    <a name="doc.Intro"></a>
    <h3>Introduction</h3>
    <p>
     The functionality of this tag library is entirely provided by the base
     "struts-html" tag library in the Struts distribution.  This derived tag
     library, "struts-html-el", only provides a different way to evaluate
     attribute values, which is using the JavaServer Pages Standard Tag Library
     expression language engine, or the "JSTL EL" for short.
    </p>
    <a name="doc.Functionality"></a>
    <h3>Html-EL Functionality</h3>
    <p>
     The functionality of the "html-el" tags can be almost entirely understood
     from the documentation of the "struts-html" base tag library.
    </p>
    <a name="doc.Examples"></a>
    <h3>Html-EL Examples</h3>
    <p>
     The following are discrete examples of uses of the "html-el" tags, in no
     paticular order, but emphasizing the use of JSTL EL values as attribute
     values.
    </p>
    <p><i>Example:</i></p>
    <pre>
     &lt;html-el:button onblur="handler('${arg}')"
                     styleClass='${styleClass["button"]'
                     titleKey='${titleKey["button"]}'
                     value='${buttonValue["button"]}' /&gt;</pre>
    <p><i>Example:</i></p>
    <pre>
     &lt;html-el:checkbox property="button" value="${flagValue}"/&gt;</pre>
    <p><i>Example:</i></p>
    <pre>
     &lt;html-el:link page="/doit.do" accesskey='${linkkey["doit"]}' &gt;
      A link
     &lt;/html-el:link&gt;</pre>
    <p><i>Example:</i></p>
    <pre>
     &lt;html-el:link page="/doit.do" 
onclick="openModal('/editSalary.do?id=${employee.id}')" &gt;
      A link
     &lt;/html-el:link&gt;</pre>
   </body>
  </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to