Contents

New Tags in Railo

Below you will find a list of tags that are only available in Railo and are not part of the CMFL standard.

cfadmin

The tag cfadmin is used in the web and server administrator to manage and edit Railo settings. Further <cfadmin> documentation is available.

cfimap

This works exactly the same way as the cfmail tag. It has the same attributes.

The Internet Message Access Protocol or IMAP is one of two of the most prevalent Internet standard protocols for e-mail retrieval, the other being POP3. Virtually all modern e-mail clients and servers support both protocols as a means of transferring e-mail messages from a server, such as those used by Gmail, to a client, such as Mozilla Thunderbird and Microsoft Outlook.

Many implementations of webmail use IMAP to retrieve e-mail messages from a server and display them within a web browser, making the use of this protocol transparent to the user (read more on Wikipedia),

cfforward

Analog to the method getPageContext().forward()(Java-Doc PageContext). Leads the request to a different page. This tag acts like the tag cflocation except that the relocation is done directly on the server.

cffinally

The tag CFFINALLY inside a CFTRY/CFCATCH block will always be executed, no matter whether an error occured or not. It is used in the following way:

Example:

   <cftry>
    code that might produce an error
       <cfcatch>
           catch a certain error
       </cfcatch>
       <cffinally>
           ... code that needs to be executed always
       </cffinally>
   </cftry>

It can be used in order to close a file for example.

cfvideoplayer

The tag CFVIDEOPLAYER allows you to display a video in flash (flv) format. It includes the complete functionality to display the player with the necessary html code. Read more on the multimedia functionality.

cfvideoplayerparam

The tag CFVIDEOPLAYERPARAM is needed when you want to display a playlist in your flash player. Read more on the multimedia functionality.

cfwhile

Simplification of the tag <cfloop contition="cont">, analog to the cfscript "while" loop.

Example:

   <cfset count=0>
   <cfwhile count LT 10>
      <cfset count=count+1>
      <cfoutput>#count#</cfoutput>
   </cfwhile>