001 package railo.runtime.tag; 002 003 import railo.runtime.exp.PageException; 004 import railo.runtime.exp.TagNotSupported; 005 import railo.runtime.ext.tag.BodyTagImpl; 006 007 // MUST change behavor of mltiple headers now is a array, it das so? 008 009 /** 010 * Lets you execute HTTP POST and GET operations on files. Using cfhttp, you can execute standard 011 * GET operations and create a query object from a text file. POST operations lets you upload MIME file 012 * types to a server, or post cookie, formfield, URL, file, or CGI variables directly to a specified server. 013 * 014 * 015 * 016 * 017 **/ 018 public final class Div extends BodyTagImpl { 019 020 private String bind; 021 private boolean bindOnLoad; 022 private String id; 023 private String onBindError; 024 private String tagName; 025 026 @Override 027 public void release() { 028 super.release(); 029 this.bind=null; 030 this.bindOnLoad=false; 031 this.id=null; 032 this.onBindError=null; 033 this.tagName=null; 034 } 035 036 037 038 039 /** 040 * @param bind the bind to set 041 */ 042 public void setBind(String bind) { 043 this.bind = bind; 044 } 045 046 047 048 049 /** 050 * @param bindOnLoad the bindOnLoad to set 051 */ 052 public void setBindonload(boolean bindOnLoad) { 053 this.bindOnLoad = bindOnLoad; 054 } 055 056 057 058 059 /** 060 * @param id the id to set 061 */ 062 public void setId(String id) { 063 this.id = id; 064 } 065 066 067 068 069 /** 070 * @param onBindError the onBindError to set 071 */ 072 public void setOnbinderror(String onBindError) { 073 this.onBindError = onBindError; 074 } 075 076 077 078 079 /** 080 * @param tagName the tagName to set 081 */ 082 public void setTagname(String tagName) { 083 this.tagName = tagName; 084 } 085 086 087 088 089 @Override 090 public int doStartTag() throws TagNotSupported { 091 throw new TagNotSupported("Div"); 092 //return EVAL_BODY_INCLUDE; 093 } 094 095 @Override 096 public int doEndTag() throws PageException { 097 return EVAL_PAGE; 098 } 099 100 @Override 101 public void doInitBody() { 102 } 103 104 @Override 105 public int doAfterBody() { 106 return SKIP_BODY; 107 } 108 109 /** 110 * sets if has body or not 111 * @param hasBody 112 */ 113 public void hasBody(boolean hasBody) { 114 } 115 }