5 Replies Latest reply on Aug 17, 2007 4:27 PM by Norman Richards

    Define namespace in every single page - any alternatives?

    super man Newbie

      hi guys,

      i was wondering if it was possible to declare the namespaces only in the template.xhtml file and thus not having to duplicate the declaration in every single xhtml page that's used in the template e.g.

      define

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:rich="http://richfaces.ajax4jsf.org/rich"
      xmlns:a="https://ajax4jsf.dev.java.net/ajax"
      template="layout/template.xhtml">
      only in the template file.

      any suggestions or workaround would be much appreciated. thanks