001    package railo.runtime.tag;
002    
003    import railo.runtime.exp.PageException;
004    import railo.runtime.exp.TagNotSupported;
005    import railo.runtime.ext.tag.TagImpl;
006    
007    public class AjaxProxy extends TagImpl {
008            private String bind;
009            private String cfc;
010            private String jsClassName;
011            private String onError;
012            private String onSuccess;
013            
014    
015    
016            /**
017            * @see javax.servlet.jsp.tagext.Tag#release()
018            */
019            public void release()   {
020                    super.release();
021                    bind=null;
022                    cfc=null;
023                    jsClassName=null;
024                    onError=null;
025                    onSuccess=null;
026            }
027    
028    
029            /**
030             * @param bind the bind to set
031             */
032            public void setBind(String bind) {
033                    this.bind = bind;
034            }
035    
036    
037            /**
038             * @param cfc the cfc to set
039             */
040            public void setCfc(String cfc) {
041                    this.cfc = cfc;
042            }
043    
044    
045            /**
046             * @param jsClassName the jsClassName to set
047             */
048            public void setJsclassname(String jsClassName) {
049                    this.jsClassName = jsClassName;
050            }
051    
052    
053            /**
054             * @param onError the onError to set
055             */
056            public void setOnerror(String onError) {
057                    this.onError = onError;
058            }
059    
060    
061            /**
062             * @param onSuccess the onSuccess to set
063             */
064            public void setOnsuccess(String onSuccess) {
065                    this.onSuccess = onSuccess;
066            }
067     
068    
069            /**
070            * @see javax.servlet.jsp.tagext.Tag#doStartTag()
071            */
072            public int doStartTag() throws PageException    {
073                    throw new TagNotSupported("AjaxProxy");
074                    //return SKIP_BODY;
075            }
076    
077            /**
078            * @see javax.servlet.jsp.tagext.Tag#doEndTag()
079            */
080            public int doEndTag()   {
081                    return EVAL_PAGE;
082            }
083    }