hi all,
i wrote a custom tag for generating HTML from an XML file included
in the JSP page
the structure is EXACTLY the same as the example provided by Craig
McClanahan
as long as i wrote the tag WITHOUT attributes, everything works fine
however, when i add an attribute to the tag, i always receive the error
'Cannot find any information on property 'xsl' in a bean of type
'MyTagClass'
the tag should be used like this
<mytag:xml xsl="myfile.xsl">
<? xml version="1.0"?>
<document>
<content>simple example</content>
</document>
</mytag:xml>
in the corresponding java class, i add two methods:
setXsl(String xsl)
getXsl()
my taglib was like this:
....
<tag>
<name>xml</name>
<tagclass>MyTagClasss</tagclass>
<info>a Trial XML tag</info>
<attribute>
<name>xsl</name>
<required>false</required> (note that i also
tried with <required>true</required)
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
can anybody help me??
thanx in advance & regards
marco
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets