• coldfusion reference manual

    coldfusion reference manual

    Download Link: ➡ coldfusion reference manual



    File Name: coldfusion reference manual.pdf
    Size: 3177 KB
    Type: PDF, ePub, eBook
    Category: Book
    Uploaded: 22 May 2019, 18:39 PM
    Rating: 4.6/5 from 697 votes.


    Last checked: 12 Minutes ago!









    ⬆ LINK ⬆




















    In order to read or download coldfusion reference manual ebook, you need to create a FREE account.

    eBook includes PDF, ePub and Kindle version



    ✔ Register a free 1 month Trial Account.
    ✔ Download as many books as you like (Personal use)
    ✔ Cancel the membership at any time if not satisfied.
    ✔ Join Over 80000 Happy Readers


    Book Descriptions:

    coldfusion reference manual

    CFML Basics Co mme n ts Ta g s Fun ct i ons C oldFusi on comp onents Co nst an ts Va r i a b l e s Expression s Data types Flow co n trol Chara cter case Spe ci al c hara ct ers Reser ved word s in ColdFusion cfscript ta g Ad obe ColdFusion also su pports structures for ma naging lists o f key-va lue pairs. Because structures can co ntain o t h e r s t r u c t u r e s o r c o m p l e x d a t a t y p e s a s i t v a l u e s, t h e y p r o v i d e a f l e x i b l e a n d p o w e r f u l t o o l f o r m a n a g i n g c o m p l e x d a t a. A bout arra ys Basic array tech niques P opula tin g a rra ys wi th da ta Array functions-Develop ing guide Ab ou t st r u c tu r e s Creatin g and using structures Structure exam ples Str uc ture f unc ti ons - D e velopi ng gu ide A variable is usually re ferenced by scoping it acco rding to i ts type: naming it acco rding to t he code co ntext in which it is available; for example, Session.varname, or Application.varname. F or more information on ColdFusion s copes, see Using C oldFusion V a r i a b l e s in the Developing ColdFusion Applications Y o u use the cflock ta g to li mit the scope of CFML constructs that modify sh ared data structures, files, and CFXs, to ensure that m odifications occur sequentiall y. For m ore information, see cflock, an d Using Persistent Data a nd Locking in the Developi ng ColdFusion Applications.CGI En vironmen t varia bles co ntain da ta abou t the transacti on betw een the b rowser a nd the server, such a s the IP A ddress, br owser type, a nd a uthenti ca ted username. The available CGI variables depend on the bro wser and ser ver software. The CGI variables are a vailable to ColdFusion pages in the CGI scope. They ta ke the CGI prefix rega rdless of whether the ser ver uses a ser ver API or CGI to comm unicate wi th the ColdFusion server. Y ou ca n ref erence CGI envir onment variables f or a given pag e reques t an ywhere in the page. CGI variables are r ead-only.

    • coldfusion reference manual, coldfusion reference manual, coldfusion reference manual, coldfusion reference manual download, coldfusion reference manual free, coldfusion reference manual online, coldfusion reference manual template, coldfusion reference manual software, coldfusion reference manual downloads, coldfusion reference manual 2017, coldfusion reference manual 2016, coldfusion reference manual.

    Use this manual to learn about CFML tags and functions, ColdFusion expressions, and using JavaScript objects for WDDX in Adobe ColdFusion. For more in formation, se e SpreadsheetAddRows function des cription an d examples. ReplaceList There is a ne w parameter, i ncludeEmptyFields, in this function. For more information, se e ReplaceList func tion description an d examples.F or mo re inf orma tion, see cfsear ch. The attribu te, index, is now optional. For mo re informa t ion, see cflo op.For mo re informa t ion, see cfmailparam.For mo re informa t ion, see cfout put.Cach eR em ove The CacheRemove function has an updated syn tax: CacheRemove(Object id, bo olean throwOnErro r, String key, b oolean exact) For mo re informa t ion, see CacheR emove. Ti m e Fo r m at The T imeFormat function has new masks to represent time zones in different fo rmats. F or mor e information, see Ti m e F o r m a t f unction desc ription and examples. Replace The Replace function has an updated d escription and syntax. This func tion can ta ke either stri ng or callback function as an ar gumen t in stead o f the argum en t to r eplace the s tring. Fo r more info rmation, see Replace funct ion desc ription. Struct New The functio n has a new para meter, structT ype, tha t r epr es en ts the type o f str uct to be cr eated. For mo re informa t ion, see St ru ct New. Wr i t e O u t p u t The function, W riteOutp ut, has a ne w parameter, encodefor.For mo re informa t ion, see Wr i t e O u t p u t. Elements of CFML The basic elements of CFML, incl uding tags, functions, cons tan ts, variables, exp ressio ns, and CFScrip t, make it a power fu l to ol for de velopi ng interac t ive web appli cations.

    cancelUpload Cancels the fi le upload at an y point during the file upload. ColdFusion.F ileUpload.clearAllFiles Clea rs all the files sele cted for upload. ColdF usion.Grid.getGridObject Gets the underlying Ex t JS - JavaScript Librar y objec t for the specified HTML cfgrid control. ColdFusion.grid.getSel ectedR ows Fetches data for the selec ted rows in the grid. ColdFusion.Grid.getT opT ool bar Gets the top toolbar that can b e used to ad d a control, for example icon or button. ColdF usion.Grid.hideBo ttom T o olbar Hides th e bottom toolbar th at can be used to add a control, for example icon or button. ColdF usion.Grid.hideT op T oolbar Hides the top toolbar that can be used t o add a contr ol, f or example icon or button. ColdFusion.Grid.refresh Manual ly refr eshes a displ ayed grid. ColdFusion.Grid.refreshBottom T oolbar Refreshes the bottom tool bar that can be us ed to add a control, for example icon or button. ColdFusion.Grid.refresh T opT oolbar Refreshes t he top toolbar that can be us ed to add a co ntrol, for example icon or button. ColdF usion.Grid.showBottomT oolbar Shows bottom toolbar th at can be used to add a control, for example icon or button. ColdF usion.Grid.showT op T oolbar Displays the top toolbar th at can be used to add a control, for example icon or button. ColdF usion.Layout.disableT ab Disables the speci fied tab so it canno t be selected. ColdFusion.Layout.enableSourceBind If disabled, enab les the sour ce bind. ColdF usion.Layout.enableT ab Enables the specified tab so users can sele ct it and displa y the are a contents. ColdFusion.Layout.expandAccordion Expands a coll apsed area of an accordion l ayout. ColdFusion.Layout.expandArea Expands a coll apsed area of a border layout. ColdF usion.Layout.getT abLayout Gets the underlying Ext JS - JavaScri pt Library objec t for the specified tab type cflayout contr ol. ColdFusion.Layout.hideAccordion Hides an accordion. ColdFusion.Layout.hideArea Hides a bor dered la yout ar ea.

    By default, when you use the cfdum p t ag to displa y t he CGI scope, or wh en you requ est d ebug output of t he C GI sc ope, Co ldFus ion atte mpts to d isplay a f ixed list of stan dard C G I enviro nment variables. B ecause the available variables depend on the ser ver, br owser, and the types of interactions between the two, not all va riables are no rmally available. They are re presen ted by em pty strings in the debug outpu t. Y o u can reque st an y CGI variab le in yo ur appli catio n code, includ ing va riab les tha t ar e no t in the lis t varia bles disp layed by dump and debug outpu t. Cold Fusion checks for the following var iables for th e cfdump tag and debug output: CFML tag syntax is similar to HTML element syntax.The ta g crea tes a re ferenc e to the W ebSocket JavaScript object at the client - side. CFML tag Categor y Description cfabort Flow- control tags S tops the processing of a ColdFusion page at the tag locati on cfajax import Internet protocol tags Controls importation of JavaScript files used for Col dF usion AJAX -based features cfajaxproxy Internet proto col tags Gene rates an A JAX proxy class on the client page for a Cold F usion componen t cfapplet Fo rm s t a g s Embeds Java applets in a cfform tag cfapplication Ap plication framework tags Defines an ap plication name; ac tivates client variables; specifies client variable storage mechanism cfargument Extensibility tags Creates a parameter definiti on within a component definitio n; defines a func tion argument U sed only with the merge action to merge multiple pa ges or PDF documents in to one file cfpdfsubform Fo r ms t a g s Creates subforms within a PDF form.The ta g crea tes a re ferenc e to the W ebSocket JavaScript object at the client - side.ColdF usion.Autosuggest.getAuto suggestObject Lets you access underlying YUI AutoComplete object thereby providing fine -gra ined control over the obje ct, for example attaching an event. ColdFusion.FileUpload.

    ColdF usion.MessageBox.update Updates message box properties. ColdF usion.Message Box.updateMessage Updates th e message pr operty. ColdF usion.MessageBox.updateT itle Updates the message bo x title. ColdF usion.navigate Displays the o utput of a li nk URL in a specif ied cfdiv, cflayoutarea, cfpod, or cfwindow container. ColdFusion.ProgressBar.getProgressBarObjec t Gets the progress bar object. ColdFusion.Pr ogressBar.hid e Hides the progr ess bar if it is dis played. ColdFusion.Pr ogressBar.reset R esets the progress. ColdFusion.Pr ogressBar.sh ow Shows the progress ba r if it is h idden. ColdFusion.Pr ogressBar.st art Stops the underlying progress bar object that is running. ColdFusion.Pr ogressBar.stop Star ts the u nderlying prog ress bar objec t. ColdFusion.Pr ogressBar.update Updates t he attributes duration, inter val, and oncomplete. ColdF usion.ProgressBar.updatestatus Lets you man ually update the s tatus and message of the progress bar. ColdFusion.setGlobalErrorHandl er Replaces the global JavaScript error handler for displaying information about Cold F usion Ajax errors. ColdFusion.Slider.dis able Disables t he slider control. ColdFusion.Slider. enable Enables the slid er contro l. ColdFusion.Slider. getSliderObj ect Gets the slid er control. ColdFusion.Slider. getValue Gets the numeric value of the slider control. ColdFusion.Slider.hid e Hides the slider control. ColdFusion.Slider.setValue Sets t he numeric value of the slider control. ColdFusion.Slider. show Shows the slider cont rol. ColdF usion.Tr ee.getT reeObject Gets the underlying Y ahoo YUI Libr ar y object for the specified HTML cftree c ontr ol. ColdFusion.T ree.refresh Manually r efres hes a di splay ed HTML t ree. ColdFusion.Window.create Creates a ColdFusion pop-up window. Equivalent to the cfwindow ta g. ColdF usion.Window.getWindowObject Gets the underlying Ex t JS - JavaScript Librar y objec t for the specified HTML cfwindow control. ColdFusion.Window.hide Hides a window ColdFusion.

    ColdFusion.Layout.hide T ab Hides a tab. ColdFusion.Layout.selectAccordion Selects an accor dion and displa ys the l ayo ut area cont ents. ColdF usion.Layout.selectT ab Selects a tab an d displa ys the lay out are a cont ents. ColdFusion.Layout.showAccordion Shows an accordion that wa s hidden us ing the in ithide attribute or the hideArea() func tion. ColdFusion.Layout.showArea Shows an area of a border layout that was hidden using the inithide attribute or the hideArea() func tion. ColdFusion.Layout.show T ab Shows a tab that was hidden using the init hide attribute or the hide T ab() function. ColdF usion.Log.debug Displays a debug-level messa ge in the l og window. ColdF usion.Log.dump Displays information about a complex variable in the log window. ColdF usion.Log.error Display s an erro r-lev el messag e in the log wind ow. ColdF usion.Log.info Displays an information-leve l message in the log window. ColdFusion.Map.addEv ent Enables event handli ng in a map. ColdF usion.Map.addMarker Adds a marker to the map. ColdF u sion.Map.getMapObject G ets the Googl e map component. ColdF usion.Map.hide Hides the map if display ed. ColdFusion.Map.refresh Reloads the map. ColdF usion.Map.setCenter Sets the center of map to the address that y ou specify. ColdFusion.Map.setZoomlevel Sets the zoom leve l of the map to the new val ue. ColdF usion.Map.show Shows the map if it is hidden. ColdF usion.Mediaplayer.resiz e C hanges the current size of the media player. ColdF usion.Mediaplayer.setMute Mutes or unmutes the sound of the media player. ColdF usion.Mediaplayer.setSource Sets the URL of the FL V file. ColdF usion.Mediaplayer.setV olume Sets the vo lume of sound of the media play er. ColdFusion.Mediaplayer.star tPlay Plays the FL V fi le. ColdF usion.Mediaplayer.stopPlay Stops playing the FL V file. ColdF usion.MessageBox.create Creates a ColdF usion mes sage box. Equivalent to the cfmessagebox tag. ColdF usion.MessageBox.show Displays a ColdFusion message box.

    sho wT opT oolbar Descrip tion Displays the to p toolbar that can be used to add a control, for exa mple icon or bu tton. Co ld Fu sio n.G rid.hi deT opT ool ba r Descrip tion Hides t he top to olb ar that can be us e d to ad d a control, for ex ample icon or button.Exa mp le See exam ple in ColdFu sion.Grid.r efreshBottom T oolbar. C oldFusi on.Gr id. refre shB ottom T o olb ar Descrip tion Refreshes the botto m toolbar that can be u sed to add a con t rol, for exa mple ico n or butto n. This f unction internally calls the J avaScri pt function ColdF usion.Grid.showBotto m T o olbar. Fun ct i on s ynt a x ColdFusio n.Grid.r efresheBotto m T o olbar(I d) Accessing the functions Function s ummary ftp http mail pdf query storedproc Script functions im plemented as CFCs in ColdFusion 9 U pdate 1 F unc tion summar y The fo llowin g table lists the scri pt functio ns and the eq uivalen t C oldF usion tag.They ar e n ot accessible after the action completes. Accessing the attributes using impli cit getters results in error wh er eas any attributes set using e ither implicit se tters or the init method call are retained and ca n be accessed using implicit getters.See also cfftp, Fun c t i on s um m ar y Histor y ColdFusion 9: Added this function. Met h o d s The followin g FTP actions ar e ava ilable as methods. For details of each method, refer to the relevant section for the tag cfftp. Returns All methods retur n a component with the following propertie s set: Descriptio n Sets attributes for the ft p functi on. Returns Nothing Syntax ftpSer vice.setAttributes (attr ibute-value pair) Arguments All attributes suppor ted by the tag cfftp. Descriptio n Gets the attr ibutes that were set for the ftp func tion. Returns Returns a struct with al l or some attribute values. I f no list is specif ied, all defined attribu tes ar e returned. Descriptio n Removes all attributes added for the ftp func tion. Returns Nothing Syntax ftpS ervi ce.

    clear() Arguments None Specifie s parameters to build an HT TP request. Syntax httpSer vice.addP aram(attribute-value pair) Returns Nothing Arguments All attributes suppor ted by cfhttpparam tag can be used as attribute -value pairs. Descriptio n Used to generate an HT TP request and handl e the response from the ser ver. Descriptio n Sets attributes for the http func tion. Returns Nothing Syntax httpSer vice.setAttributes (attribute -value pair) Arguments All arguments suppo rted by the cfhttp tag. Returns Returns a struc t with all or so me of the se rvice tag attribute values. Descriptio n Removes all attributes added for the http fun ction. Descriptio n Remov es cfhttpparam tags t hat were added using the addParam method. Returns Nothing Syntax httpSer vice.clearP arams() Arguments None Descriptio n Removes all attributes and cfhtt pparam tags that were added using the addParam method. Returns Nothing Syntax httpSer vice.clear() Arguments None For example, to attach a file or add a header to an e-mail mes sage. Syntax mailSer vice.addParam(attribute-value pair) Returns Nothing Arguments All attributes suppor ted by the cfmailparam tag can be used as attribute -value pairs. Descriptio n Used to add cfmailpar t tags. Fo r example, one par t of a multipart e- mail message. Syntax mailSer vice.addPart(attribute -value pair) Returns Nothing Arguments All attributes suppor ted by the cfmailpar t tag can be used as attribute -value pairs. Descriptio n Sets attributes for the mail f unction. Returns Nothing Syntax mailSer vice.setAttributes (attribute -value pair) Arguments All attributes suppor ted by the cfmail tag. Descriptio n Gets attributes t hat were set for the mail func tion. Returns Returns a struct with al l or some of the attribute values. Descriptio n Removes all attributes ad ded for the mail func tion. Descriptio n Remov es cfmailparam tags that were added using the addParam method. Returns Nothing Syntax mailSer vice.

    Window.onHide Speci fies a JavaScript funct ion to run each time a specif ic window hides. ColdFusion.Window.onShow Specifies a JavaScript function to run each time a specific window shows. ColdFusion.Window.show Shows a hidden window. Parameters Return s If th e asyn ch ar gument is false, ret urns the respo nse body. Otherwise, the function does no t ret urn a value. URL The URL to which to submit the form.The function must take a s ingle argument, that contain s the response body. This method is used only if the form submission is asyn chronous.The function must t ake two argume nts: the H TTP status code, and the error message. This method is used on ly if the form submission is asynchronous. The default value is true. Note: This func tion does no t submit the co ntents of file f ields. Exa mp le See exam ple in Cold Fusion.L ayout.d is ableS ou rceBi nd. ColdFusion.F i leU pload.getS electedFiles Descrip tion Returns an arra y of objects con taining the filename and size of the files selec ted for u pload. The file size is returned in bytes. Us a g e In a r eal life scenario, yo u normally use the uploader with other contr ols. F or exam ple, a fo rm with three fields: name, e m a i l, a n d u p l o a d e r. A s s u m e t h a t y o u u p l o a d t h e f i l e s, b u t f o r g e t t o c l i c k S u b m i t o r y o u s e l e c t t h e f i l e s, s u b m i t t h e f o r m, but f orget to click U pload. Exa mp le The followin g examp le illustrat es a scenario where the user clicks Submi t and is informed about the files selected for uplo ad: Fun ct i on s ynt a x See also ColdFusio n.Progr essBar.start, ColdF usion.Pr ogressBar.sto p Histor y ColdFusion 9: Added this function Parameters Return s This func tion returns the underlying Ex t J avaScript progress bar object. Us a g e Y o u call this func tion to get the progr ess bar object. ---- See also ColdFusion.P rogressBar.hide ColdFusion.P rogressBar.reset ColdFusion.P rogressBar.show ColdFusio n.Progr essBar.

    start ColdFusion.P rogressBar.stop ColdFusion.P rogressBar.update ColdFusio n.Progr essBar.updat estatus Parameter Desc ription name The name of the message box object. ColdFusion.ProgressBar.getProgressBarOb ject(n ame) Parameter Desc ription name The name of the progr ess bar object. Exa mp le C oldFus ion. L ayout.d is able Sou rceBi nd Descrip tion Disables the source bind.The file size is returned in bytes. Exa mp le The followin g examp le illustrat es a scenario where the user clicks Submi t and is informed about the files selected for uplo ad: Co ld fus io n.f ileU plo ad. setU rl Descrip tion U sed to set URL for the fileupload con t rol d ynamically.Return s An ar ray of obje ct s th at contains row d ata. See also Fil e Uploa d Us a g e See t he exam ple in ColdF usion.gri d.c learSelect edRows. Exa mp le See t he exam ple in ColdF usion.gri d.c learSelect edRows. ColdFusio n.grid.clearSelectedRows Descrip tion U sed to clea r the selected r ows in the grid.T o se e d ele ti on, uncommen t the co de.The f orm has a delet eAllS electedRows button that i llust rates how re cords can be d elete d exte rna lly. T hat is, w ithout using the d elete button built in to th e gr id. The s ame appro ach c an b e us ed t o p erfor m ot her b atch ope rati ons such as movi ng mult iple f il es to anothe r fol der or bat ch u pdates. ColdFusion.M ap.sho w Descrip tion Shows the map if i t is hidden.Exa mp le See exam ple in ColdFusion.Ma p.show ColdFusion.M ap.r ef resh Descrip tion Reload s the ma p. Us a g e If th e ma p is embedded within sp r y colla psible pa nels o r divs that ar e hidden on disp lay, that is the map co ntainer is display e d while the ac tual map is hidden, use this function to force the ma p to display.C oldFusi on.Gr id.ge tB ottom T o olb ar Descrip tion Gets botto m toolbar tha t can be used to add a con trol, fo r exam ple icon or bu tton. Exa mp le See exam ple in ColdFu sion.Grid.r efreshBottom T oolbar. ColdFusio n.Grid.

    clearParams() Arguments None Exa mp le pdf Descrip tion Pro vides ser vices to manipulate existing PD F documents in CFScript. Synta x Descriptio n Remov es cfmailpart tags that were added using the addPart method. Returns Nothing Syntax mailSer vice.clearProcResults() Arguments None Descriptio n Removes all attributes, cfmailparam tags, and cf mailpart tags th at were added using the methods addParam and addPart.Descriptio n All methods co rrespond to the P DF actions specified for the tag cfpdf. For details of each method, refer to the cor responding section for cfpdf. Returns Depends on the action. If the name att ribute is specified, the result of the pdf opera tion is ret urned. Else, an empty st ring. This is why, you must specify the name a ttribute. Syntax ser viceName.methodName(attrib ute -value pair) Arguments All attributes suppor ted by the cfpdf tag for a given action are supported. Descriptio n Sets attrib utes for the pdf functi on. Returns Nothing Syntax pdfSer vice.setAttributes ( attribute-value pair) Arguments All attributes suppor ted by the cfpdf tag. For usage details, refer to the U sage sec tion for cfpdf. Exa mp le Descriptio n Gets the attr ibutes that were set for the pdf func tion. Descriptio n Removes all attributes added for the pdf function. Descriptio n Removes params that were added using addParam method. Returns Nothing Syntax pdfSer vice.clearParams() Arguments None Descriptio n Removes all attributes and params added using the addParam method. Returns Nothing Syntax pdfSer vice.clear() Arguments None Returns A componen t with the fo llowing pr operties set: Syntax querySer vice.ex ecute(attribut e-value pair) Arguments All attributes suppor ted by the cfque ry tag. Descriptio n Sets attributes for the quer y func tion. Returns Nothing Syntax querySer vice.setA ttributes (a ttribute-value pair) Arguments All attributes suppor ted by the cfque ry tag. Descriptio n Gets attri butes that wer e set fo r the query function.

    Exa mp le Returns Returns a struct with al l or some of the attribute values. Descriptio n Removes all attributes ad ded for the query function. Descriptio n Removes queryparams that were added using the addParam method. Returns Nothing Syntax querySer vice.clearP arams() Arguments None Descriptio n Removes all attributes and querypar ms that were added using the addParam method. Returns Nothing Syntax querySer vice.clear() Arguments None See also Fun ct i on s um ma r y Histor y Cold Fusion 9.0. 1: Added th is func tion. Met h o d s The following db info typ es are a vail able as methods. Fo r details, see Me thods common t o all functions. Us a g e This functio n corres pond s to the tag cfd binf o. F or details, see the U sage sectio n for the tag cf dbinfo. Initializing the attr ibutes See Initia lizing the attributes below. Getting the CFC pr operties See Getting the CFC Pr oper ties below. F or details of each method, se e the relevant section for the tag cf dbinfo in Cold F usion 9 CF ML Referenc e. Returns All methods r eturn a query object. Syntax dbinfoService.methodName(a ttribute-value pair); Arguments All attributes suppor ted by the tag cfdbinfo. For exa mp le, can be used as Fo r details of the a ttribu tes, see the A ttribu tes sectio n fo r the tag cfimap. Therefore, you need not specify the proper ties for further ac tions. If sa ndbox security is turned on, the director y referred to by the property attachme ntPath must be given the required permission. By defaul t, the temp directory is used. For details, see M ethods co mmon t o all functions. Us a g e This function corresponds to the tag cfimap. S ee the U sage sect ion fo r cfimap in the ColdFusion 9 CFML Refer ence for details. Exa mp le pop Descrip tion U sed in CFS cript to r etrieve or delete e-mail messages fr om a POP ma il ser ver.

    Synta x getAll delete open close markRead createFolder deleteF older renameF older listAllFolders moveMail getHeaderOnly Descriptio n All methods correspond to the ty pe of information suppor ted by the tag cfimap. Fo r details of each method, see the relevant section of cfimap in the ColdFusion 9 CFML Reference. Returns A query o bject for metho ds getAll, getHea derOnly, and listAllFolders. Else, nothing. Syntax imapSer vice.methodName(attribute-value pair); Arguments All attributes supported by the tag cfimap.Met h o d s The followin g pop actions ar e available as methods. F o r any other method, nothing is returned.Us a g e This functio n corres pond s to th e tag cfpop. Exa mp le ldap Descrip tion U s ed in C FS cript to provide an inter face to a Lig htweight Direc tor y Access Proto col (L D AP) di rector y ser ver, such as the Netscape Directory S er ver. Synta x Pro pert ies Descriptio n All methods correspond to the ty pe of information suppor ted by the tag cfpop. For details of each method, see the rel evant section of cfpop in the ColdFusion 9 CFML Reference. Returns All methods except delete returns a quer y objec t. Syntax popService.methodName(attribute -value pair) Arguments All attributes suppor ted by the tag cfpop.F or details of each method, se e the rele vant section of cfldap in the ColdFusion 9 CFML Reference. Returns If method is quer y, returns a query object. Else, none. Syntax ldapSer vice.methodName(attribute -value pair) Arguments All attributes suppor ted by the tag cfldap. Descriptio n Sets the pro perty attributes. Fo r usage details, see the U sage sectio n for cflda p. Exa mp le feed Descrip tion U sed in CFS cript to r ead or cr eate a n RSS or A tom syndic a t ion feed. This ser vice reads RSS version s 0.90, 0.91, 0.92, 0.93, 0.94, 1.0, and 2.0, and A tom 0.3 o r 1.0. I t can creat e RSS 2.0 or A tom 1.0 f eeds. Synta x Returns Nothing Syntax ldapService.

    setL dapAttributes(attribut e-value); Arguments A string that contai ns the value of the proper ty attributes. Descriptio n Gets the pr operty attribute s. Returns A string that contai ns the value of the proper ty attributes.Returns String representing the xmlvar Syntax feedService.creat e (attribute-value pair); Arguments All attributes suppor ted by the tag cffeed. Descriptio n Parses an RSS or Atom feed from a URL or an XML f ile and saves it in a struc ture or quer y. Y ou can also get feed metadata in a separat e structure. Returns Struct with the following ke ys: Descriptio n Returns the valu e of the prope rt y proper ties. Returns Struct or er ror (if propert y is not set) Syntax feedSer vice.getFeedProeprti es() Arguments None Descriptio n Sets the value of the prope rty properties.I f no list is specif ied, all defined attribu tes ar e returned. Descriptio n Removes all attributes ad ded for the function. Descriptio n Removes all attributes ad ded for the function.Returns Returns a struct with al l or some attribute values. I f no list is specif ied, all defined attribu tes ar e returned. Syntax storedpr ocSer vice.addP aram(attribute-value pair) Returns Nothing Arguments All attributes suppor ted by cfprocparam tag can be used as attribute -value pairs. Descriptio n Used to execute a stored procedure. Returns A component on which the following methods can be invoked: Syntax storedpr ocSer vice.ex ecute(attribute-value pair) Arguments All attributes suppor ted by the cfstor edproc tag. Descriptio n Sets attribu tes for the stored proc func tion. Returns Nothing Syntax storedP rocSer vice.setA ttributes (at tribute-value pair) Arguments All attributes suppor ted by the cfstor edproc tag. Descriptio n Gets attri butes tha t wer e set for the stor edpr oc function. Descriptio n Removes all attributes added for the storedPr oc f unction. Descriptio n Remov es cfprocparam tags added using the addP aram method. Returns Nothing Syntax storedP rocSer vice.

    clearP arams() Arguments None Descriptio n Remov es cfprocresult tags added using the addPr ocResults method. Returns Nothing Syntax storedP rocSer vice.clearP rocResults() Arguments None Descriptio n Removes all attributes and params that were added using the methods addProcResults and add Param. Returns Nothing Syntax storedP rocSer vice.clear() Arguments None Style Inh Description background Alpha N Alpha (t ransparenc y) level of t he SWF file or image defin ed by backgroun dImage. Valid values range fr om 0 (transpare nt) to 100 (opaque). The default value is 100.Has no effect if specified in a cfform control tag, which uses the back ground-color style to control the co lor. Also ignored by cfinput tags of t ype button, img, submit, radio, and checkbox, be cause they are filled with the button f ace or other gra phics.By default, the va lue is auto, which maintains the original s ize of the image. A value of 100% stretches the image to fit the entire screen. Include the percent sign with the value.Space- delimited string containi ng the sides of th e border t o show. Order is not impo rtant.The defau lt value is 0. disabledColor Y Format: color; color of the component if it is disabled.F or dro p shadow s to appear on containers, se t backgroun dColor or backgroundImage. O therwise, sin ce the default background of a container is transparent, the sh adow appears behind the container.Y ou can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. Flash can only use fonts that are installed o n the client system.Recognized values are normal and itali c. The default valu e is normal.Recogniz ed values are no rmal and bold. Th e default valu e is normal.The default value is no leading.The default value is undefined, which means the colors are deriv ed from th emeC olor.Recognized values are left, righ t, and center. The default va lue is right.Reco gnize d values ar e none and underline.


  • Commentaires

    Aucun commentaire pour le moment

    Suivre le flux RSS des commentaires


    Ajouter un commentaire

    Nom / Pseudo :

    E-mail (facultatif) :

    Site Web (facultatif) :

    Commentaire :