3 Replies Latest reply on Mar 6, 2004 6:01 AM by julien1

    Nukes tutorial is out of date

    brain_in_vat

      The tutorial at http://jboss.org/developers/projects/nukes/tutorial is out of date. I've noticed this while working on a theme.

      The global constants which the tutorial refers to in the Page class are no longer present.
      For example,

       // called after Nukes has invoked the module
       public void footer(Page page)
       {
       page.print("</td>");
       page.print("<td>");
       page.blocks(Page.SIDE_RIGHT);
       page.print("</td>");
       page.print("</tr>");
       page.print("</table>");
       }
      

      This is quite different to what the SeaBreeze theme does:
       public void footer(Page page, String body, List[] blocks)
       {
       page.print("</td>" +
       "<td width=\"140\" valign=\"top\" bgcolor=\"\">");
       blocks(page, Constants.SIDE_RIGHT, body, blocks);
       // ...
       }
      

      nick