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            @Override
017            public void release()   {
018                    super.release();
019                    bind=null;
020                    cfc=null;
021                    jsClassName=null;
022                    onError=null;
023                    onSuccess=null;
024            }
025    
026    
027            /**
028             * @param bind the bind to set
029             */
030            public void setBind(String bind) {
031                    this.bind = bind;
032            }
033    
034    
035            /**
036             * @param cfc the cfc to set
037             */
038            public void setCfc(String cfc) {
039                    this.cfc = cfc;
040            }
041    
042    
043            /**
044             * @param jsClassName the jsClassName to set
045             */
046            public void setJsclassname(String jsClassName) {
047                    this.jsClassName = jsClassName;
048            }
049    
050    
051            /**
052             * @param onError the onError to set
053             */
054            public void setOnerror(String onError) {
055                    this.onError = onError;
056            }
057    
058    
059            /**
060             * @param onSuccess the onSuccess to set
061             */
062            public void setOnsuccess(String onSuccess) {
063                    this.onSuccess = onSuccess;
064            }
065     
066    
067            @Override
068            public int doStartTag() throws PageException    {
069                    throw new TagNotSupported("AjaxProxy");
070                    //return SKIP_BODY;
071            }
072    
073            @Override
074            public int doEndTag()   {
075                    return EVAL_PAGE;
076            }
077    }