[jboss-cvs] jboss-seam/examples/itext/view ...

Norman Richards norman.richards at jboss.com
Tue May 15 23:31:31 EDT 2007


  User: nrichards
  Date: 07/05/15 23:31:31

  Modified:    examples/itext/view   index.xhtml
  Added:       examples/itext/view   barcodeimage.xhtml
  Log:
  update barcode example
  
  Revision  Changes    Path
  1.5       +3 -1      jboss-seam/examples/itext/view/index.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: index.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/itext/view/index.xhtml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- index.xhtml	14 May 2007 18:57:40 -0000	1.4
  +++ index.xhtml	16 May 2007 03:31:31 -0000	1.5
  @@ -35,7 +35,9 @@
           <li><s:link view="/chart.xhtml"     value="JFreeChart" /></li>
           <li><s:link view="/anchor.xhtml"    value="Anchors" /></li>
           <li><s:link view="/format.xhtml"    value="Text conversion and formatting" /></li>
  -        <li><s:link view="/barcode.xhtml"   value="Bar Code" /></li>
  +        <li><s:link view="/barcode.xhtml"   value="Bar Code" />
  +            [<s:link view="/barcodeimage.xhtml" value="HTML" />]
  +        </li>
   <ui:remove>
           <li><s:link view="/images.xhtml" value="Dynamic Images" /></li>
   </ui:remove>
  
  
  
  1.1      date: 2007/05/16 03:31:31;  author: nrichards;  state: Exp;jboss-seam/examples/itext/view/barcodeimage.xhtml
  
  Index: barcodeimage.xhtml
  ===================================================================
  <html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:p="http://jboss.com/products/seam/pdf"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:s="http://jboss.com/products/seam/taglib"
        xmlns:f="http://java.sun.com/jsf/core">
  <head>
      <title>Seam PDF</title>
  </head>
  <body>
      <table border="1">
          <tr>
              <th>Barcode Type</th>
              <th>Value</th>
              <th>Barcode</th>
          </tr>
  
          <tr>
              <td>Code128</td>
              <td>My BarCode</td>
              <td><p:barCode type="code128" code="My BarCode" /></td>
          </tr>
      
          <tr>
              <td>Code39</td>
              <td>123456</td>
              <td><p:barCode type="code39" code="123456" /></td>
          </tr>
  
          <tr>
              <td>EAN</td>
              <td>4512345678906</td>
              <td><p:barCode type="ean" code="4512345678906" /></td>
          </tr>
  
          <tr>
              <td>Codabar</td>
              <td>A123456B</td>
              <td><p:barCode type="codabar" code="A123456B" /></td>
          </tr>
      
          <tr>
              <td>Inter 2 of 5</td>
              <td>1234567896543241</td>
              <td><p:barCode type="inter25" code="1234567896543241" /></td>
          </tr>
      
          <tr>
              <td>postNet</td>
              <td>123456789</td>
              <td><p:barCode type="postnet" code="12345689" /></td>
          </tr>
      </table>
  </body>
  </html>
  
  
  
  
  



More information about the jboss-cvs-commits mailing list