0 Replies Latest reply on Jun 19, 2008 6:23 PM by kaboel kramer

    trying to setup a UI component in seam.

    kaboel kramer Newbie

      I'm trying to setup a UI component in seam.

      I do not get real contact to the xxxxx.tld   file



      as I force a typing error in my xxxx.tld placed


      in: \WEB-INF\facelets\tags\xxxx.tld

      I do Receive the approriate error message
      so the file is recognised. As I kill the  class name (pointing in the world) no error message is produced.
      as I use  the component in my  xhtml file, the correct namespace setting is required (or I get an error message) but for

      whatever name I enter, the jsf  line"  <c:testxxx />   or any spelling error variation is straightly  igored.
      the source contains  the jsf line.
      the custemTag.class and  UICustom.class are  placed in a jar   in  Web_INf\lib  not containing the .TLD file ,
      the TLD file as mentioned before
      is in an other directory  web-inf\facelets\tag\xxxx.tld

      any Idea what can be  wrong ?

      -A)  Is it normal Jboss-seam does not complain on not finding  the module ?
      -B)  I assume not further(in the java modules error  can cause this to fail ?
      -C)  i'm I using the right version
                        
      am I missing something else  ????
      name module references  could not matter at this time no?




      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <!DOCTYPE taglib 
                  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
                  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
      <taglib>
           <tlib-version>1.0</tlib-version>
           <jsp-version>1.2</jsp-version>
           <short-name>c</short-name>
            <uri>http://site.com/tld/</uri>
                  <description>Cyclus UI extensions</description>
      <tag>
          <name>test</name>
          <tag-class>base.component.CustomTag</tag-class>
          <body-content>JSP</body-content>
          <description>Perform  binding with custom  UI  JSP (*TAG.class FILE)</description>
           <attribute>
                <name>binding</name>
                <description>Perform  binding </description>
            </attribute>
            <attribute>
                 <name>id</name>
                 <description>The client id of this component</description>
            </attribute>
            <attribute>
                 <name>rendered</name>
                 <description>Is this component rendered?</description>
             </attribute>
             <attribute>
                 <name>msg</name>
                 <description>a custom message for the Component</description>
             </attribute>
      </tag>
      </taglib>



      I hate debugging forum texts, Not sorry for posting multiple times, this formating is foolswork