001    package railo.runtime.tag;
002    
003    import railo.runtime.PageContextImpl;
004    import railo.runtime.exp.ApplicationException;
005    import railo.runtime.exp.ExpressionException;
006    import railo.runtime.ext.tag.TagImpl;
007    
008    /**
009     * this tag is not used, it will ranslation over a evaluator
010     * 
011     * 
012    * Imports a jsp Tag Library or a Custom Tag Directory
013    *
014    *
015    *
016    **/
017    public final class ImportTag extends TagImpl {
018    
019            private String path;
020    
021            /**
022             * @see railo.runtime.ext.tag.TagImpl#release()
023             */
024            @Override
025            public void release() {
026                    path=null;
027                    super.release();
028            }
029    
030            /**
031             * @param prefix
032             */
033            public void setPrefix(String prefix)    {}
034            
035            public void setPath(String path)        {
036                    this.path=path;
037                    
038            }
039    
040            /**
041             * @param taglib
042             */
043            public void setTaglib(String taglib)    {}
044    
045    
046            /**
047             * @see javax.servlet.jsp.tagext.Tag#doStartTag()
048            */
049            public int doStartTag() throws ExpressionException, ApplicationException {
050                    PageContextImpl pci=null;
051                    //pci.loadComponent(compPath)
052                    
053                    return SKIP_BODY;
054            }
055    
056            /**
057            * @see javax.servlet.jsp.tagext.Tag#doEndTag()
058            */
059            public int doEndTag()   {
060                    return EVAL_PAGE;
061            }
062    }