Hi. I've been trying to get xwebdoc to work generating TLD files for my classes, but I can only get it to work for the SimpleTag example.

I even moved a copy of SimpleTag.java to be a sibling of my Tag classes, and only SimpleTag's information gets put into the generated TLD.

I've copied the top portion of one of my source files below, changing the company name in some packages. You'll notice that the @jsp comments are copied right out of the SimpleTag.java file, and slightly modified.

Any ideas? Thank you very much!

--
Rick


-------------------

package com.monkeycompany.tags;




// // Java Imports //

import java.io.IOException;

import java.net.MalformedURLException;

import java.util.Calendar;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import java.text.SimpleDateFormat;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.Tag;

//
//      Apache Imports
//

import org.apache.log4j.Logger;

import org.apache.struts.util.ResponseUtils;
import org.apache.struts.util.RequestUtils;
import org.apache.struts.util.SecureRequestUtils;

import org.apache.struts.taglib.nested.NestedPropertyHelper;


// // Project Imports //

import com.monkeycompany.fo.model.ItemUtils;
import com.monkeycompany.fo.model.Publication;
import com.monkeycompany.util.StringUtils;


import com.monkeycompany.app.Issue; import com.monkeycompany.app.Item;











/**
* Simple JSP tag.
*
* @jsp.tag name="itemLink"
* display-name="ItemLinkTag"
* body-content="empty"
* description="Simple JSP tag."
*
* @author <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
*/


public
class
ItemLinkTag extends ContentLinkTag
{
        public  String                  getPage()                               
                { return mPage; }
        public  void                    setPage(String inVal)                   
{ mPage = inVal; }
        
        /**
         *  Sets the base of the generated URL.
         *
         * @jsp.attribute
         *      description="The base of generated URLs"
         *      required="false"
         *      rtexprvalue="true"
        */
        
        String
        getSrcBase()
        {
                StringBuffer srcURI = new StringBuffer("/pubs/");
                int itemID = 0;
                



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to