Whatever message this page gives is out now! Go check it out!
public class MyHelloColdFusion implements CustomTag {
public void processRequest( Request request, Response response )
throws Exception {
String strName = request.getAttribute( "NAME" ) ;
response.write( "Hello, " + strName ) ;
}
}javac -classpath cf_root\WEB-INF\lib\cfx.jar MyHelloColdFusion.java<body>
<cfx_MyHelloColdFusion NAME="Les">
</body>
</html>Method | Description |
attributeExists | Checks whether the attribute was passed to this tag. |
debug | Checks whether the tag contains the debug attribute. |
getAttribute | Retrieves the value of the passed attribute. |
getAttributeList | Retrieves a list of all attributes passed to the tag. |
getIntAttribute | Retrieves the value of the passed attribute as an integer. |
getQuery | Retrieves the query that was passed to this tag, if any. |
getSetting | Retrieves the value of a global custom tag setting. |
Method | Description |
write | Outputs text to the calling page. |
SetVariable | Sets a variable in the calling page. |
addQuery | Adds a query to the calling page. |
writeDebug | Outputs text to the debug stream. |
Method | Description |
getName | Retrieves the name of the query. |
getRowCount | Retrieves the number of rows in the query. |
getColumnIndex | Retrieves the index of a query column. |
getColumns | Retrieves the names of the query columns. |
getData | Retrieves a data element from the query. |
addRow | Adds a new row to the query. |
setData | Sets a data element within the query. |