Here is the template.  The c1.lastName is causing the class not found
exception. Removing it and the file processes as expected.   Am I
missing something?  Thanks
 
 
<j:jelly xmlns:j="jelly:core" xmlns:define="jelly:define"
xmlns:my="myDummyTagLib">
  <define:taglib uri="myDummyTagLib">      
    <define:bean name="Customer"
className="com.diem.templates.Customer">
            <define:attribute name="lastName" required="true"/>
    </define:bean>           
  </define:taglib>
 <my:Customer var="c1" lastName="smith"/>
 <!--
    the following line ${c1.lastName} is what causes a classnotfound
exception.  If I
    remove the line then this file is processed as expected.  Also not,
to test to see that
    the Customer class is accessible, I added an X to then end of
com.diem.mda.templates.Customer in classname of
    define:bean above - got an error as expected - thus indicating that
Customer is found
  -->
  ${c1.lastName}
 ${name}'s Page
 ${name}'s Homepage
   </j:jelly>

Reply via email to