<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-994179807525920101</id><updated>2024-08-29T12:15:46.844-07:00</updated><category term="coldfusion"/><category term="asp"/><category term="função"/><category term="google"/><category term="java"/><category term="script"/><category term="ajax"/><category term="faceboock"/><category term="com"/><category term="flex"/><category term="ftp"/><category term="javascript"/><category term="soa"/><category term="chrome"/><category term="apple"/><category term="banco"/><category term="dados"/><category term="response"/><category term="cfoutput"/><category term="html"/><category term="smart"/><category term="variables"/><category term="variavel"/><category term="IsDefined"/><category term="arguments"/><category term="atributo"/><category term="cfdump"/><category term="cfloop"/><category term="download"/><category term="drive"/><category term="emprego"/><category term="exemplo"/><category term="function"/><category term="gmail"/><category term="html 5"/><category term="ie"/><category term="ipad"/><category term="jquery"/><category term="oportunidade"/><category term="pc"/><category term="programa"/><category term="rede"/><category term="ria"/><category term="tutorial"/><category term="windows"/><category term="write"/><category term="acelerador"/><category term="adm"/><category term="administrador"/><category term="administrator"/><category term="adobe"/><category term="androide"/><category term="array"/><category term="backup"/><category term="blog"/><category term="cfexit"/><category term="cffunction"/><category term="cfif"/><category term="cfquery"/><category term="cfset"/><category term="compativel"/><category term="componente"/><category term="createobject"/><category term="criar"/><category term="dell"/><category term="dhtml"/><category term="flickr"/><category term="fone"/><category term="form"/><category term="galaxy"/><category term="game"/><category term="instal"/><category term="iphone"/><category term="jogo"/><category term="map"/><category term="microsoft"/><category term="obj"/><category term="orkut"/><category term="pen"/><category term="phone"/><category term="plug-in"/><category term="portable"/><category term="s5"/><category term="samsung"/><category term="seguranca"/><category term="social"/><category term="struct"/><category term="structnew"/><category term="tablet"/><category term="tim"/><category term="url"/><category term="vbscript"/><category term="wi-fi"/><category term="word"/><category term="youtube"/><category term="3g"/><category term="Access"/><category term="ActiveX"/><category term="Analytic"/><category term="ContentEditable"/><category term="GetHTTPTimeString"/><category term="MAC"/><category term="MD5"/><category term="Tumblr"/><category term="adodb"/><category term="aeroporto"/><category term="agenda"/><category term="air"/><category term="animate"/><category term="animação"/><category term="anuncio"/><category term="aplicativo"/><category term="application"/><category term="ativo"/><category term="atrix"/><category term="audiencia"/><category term="bill gates"/><category term="binario"/><category term="bit"/><category term="bloqueio"/><category term="busca"/><category term="canais"/><category term="carreira"/><category term="cdosys"/><category term="celular"/><category term="cfabort"/><category term="cfargument"/><category term="cfcatch"/><category term="cfdbinfo"/><category term="cfexecute"/><category term="cffile"/><category term="cfhttp"/><category term="cfhttpparam"/><category term="cfinvoke"/><category term="cfparam"/><category term="cfreturn"/><category term="cfstruct"/><category term="cftry"/><category term="chunk"/><category term="claro"/><category term="clone"/><category term="cobol"/><category term="compatibilidade"/><category term="computacao"/><category term="connection"/><category term="cookie"/><category term="cor"/><category term="cowboy"/><category term="cronometro"/><category term="css"/><category term="curriculo"/><category term="curtir"/><category term="date"/><category term="dateAdd"/><category term="dateDiff"/><category term="ddi"/><category term="debug"/><category term="declara"/><category term="depressao"/><category term="desenvolvedor"/><category term="dica"/><category term="dim"/><category term="dll"/><category term="dom"/><category term="drag"/><category term="drop"/><category term="dropbox"/><category term="dvd"/><category term="easing"/><category term="efeito"/><category term="effect"/><category term="element"/><category term="email"/><category term="end"/><category term="entrevista"/><category term="envio"/><category term="escondendo"/><category term="escopo"/><category term="escritorio"/><category term="estrutura"/><category term="etica"/><category term="etiqueta"/><category term="ever"/><category term="evolução"/><category term="excel"/><category term="exibição"/><category term="explicit"/><category term="explorer"/><category term="faculdade"/><category term="ferramenta"/><category term="file"/><category term="firefox"/><category term="flash"/><category term="for"/><category term="format"/><category term="fotografia"/><category term="frame"/><category term="funções"/><category term="geolocaliza"/><category term="gerenciador"/><category term="gps"/><category term="hardware"/><category term="hash"/><category term="hot spot"/><category term="hp"/><category term="http"/><category term="ie8"/><category term="if"/><category term="imagem"/><category term="imobiliario"/><category term="impressora"/><category term="imprimindo"/><category term="imprimir"/><category term="instala"/><category term="instalar"/><category term="instalação"/><category term="inteligente"/><category term="internet"/><category term="irfan"/><category term="iris"/><category term="j2ee"/><category term="japao"/><category term="jrun"/><category term="lbound"/><category term="lcase"/><category term="lideranca"/><category term="ligacao"/><category term="limpar"/><category term="linkedin"/><category term="lock"/><category term="login"/><category term="loop"/><category term="mail"/><category term="mark zuckerberg"/><category term="method"/><category term="motorola"/><category term="movel"/><category term="movenext"/><category term="ms"/><category term="muda"/><category term="mudanca"/><category term="multi"/><category term="multiplo"/><category term="next"/><category term="norte"/><category term="nothing"/><category term="novidades"/><category term="nuvem"/><category term="ocr"/><category term="oculto"/><category term="ong"/><category term="option"/><category term="orbit"/><category term="padrao"/><category term="paginacao"/><category term="passage"/><category term="pausa"/><category term="perfil"/><category term="pergunta"/><category term="php"/><category term="picasa"/><category term="plug"/><category term="plupload"/><category term="pop"/><category term="port"/><category term="posicion"/><category term="privacidade"/><category term="processo"/><category term="publicidade"/><category term="redim"/><category term="remover"/><category term="request"/><category term="rico"/><category term="rotulo"/><category term="scanner"/><category term="server"/><category term="session"/><category term="sessoes"/><category term="set"/><category term="shell"/><category term="sincronizar"/><category term="sistema"/><category term="skype"/><category term="sms"/><category term="sobre"/><category term="sortable"/><category term="spam"/><category term="sputinik"/><category term="steve jobs"/><category term="structinsert"/><category term="sujeira"/><category term="sync"/><category term="tableless"/><category term="tag"/><category term="tecnologia"/><category term="telecom"/><category term="telmex"/><category term="teste"/><category term="texto"/><category term="ti"/><category term="tirar"/><category term="toggle"/><category term="tor"/><category term="touch"/><category term="trecho"/><category term="trim"/><category term="tv"/><category term="twitter"/><category term="ubound"/><category term="ubuntu"/><category term="unetbootin"/><category term="until"/><category term="upload"/><category term="utilidade"/><category term="valor"/><category term="varias"/><category term="versionamento"/><category term="vetor"/><category term="video"/><category term="vpn"/><category term="w3c"/><category term="ware"/><category term="web"/><category term="while"/><category term="wikipedia"/><category term="xml"/><category term="xom"/><title type='text'>Desenvolvendo Sites</title><subtitle type='html'>Este blog foi criado para eu deixar algumas dicas de desenvolvimento e postar algumas novidades no mercado, mas está se tornando um banco de ajuda para coisas que não são fáceis de serem encontradas na rede.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>98</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-5493501446231016529</id><published>2015-12-06T17:55:00.001-08:00</published><updated>2015-12-06T17:55:58.927-08:00</updated><title type='text'>Carreira - Softplan : Softplan</title><content type='html'>&lt;a href=&quot;https://www.softplan.com.br/carreira/&quot;&gt;Carreira - Softplan : Softplan&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/5493501446231016529/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2015/12/carreira-softplan-softplan.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/5493501446231016529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/5493501446231016529'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2015/12/carreira-softplan-softplan.html' title='Carreira - Softplan : Softplan'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-1639943282511453892</id><published>2014-07-31T07:21:00.002-07:00</published><updated>2014-07-31T07:21:59.925-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cfexit"/><category scheme="http://www.blogger.com/atom/ns#" term="cfif"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="dateAdd"/><category scheme="http://www.blogger.com/atom/ns#" term="dateDiff"/><category scheme="http://www.blogger.com/atom/ns#" term="GetHTTPTimeString"/><category scheme="http://www.blogger.com/atom/ns#" term="hash"/><category scheme="http://www.blogger.com/atom/ns#" term="IsDefined"/><category scheme="http://www.blogger.com/atom/ns#" term="lcase"/><category scheme="http://www.blogger.com/atom/ns#" term="MAC"/><category scheme="http://www.blogger.com/atom/ns#" term="MD5"/><title type='text'>Montando um MAC ou HMAC (Hash)</title><content type='html'>Neste post eu vou montar de uma maneira bem simples como criar um MAC (&lt;span style=&quot;background-color: white; color: #545454; font-family: arial, sans-serif; font-size: x-small; line-height: 18.200000762939453px;&quot;&gt;Message Authentication Code&lt;/span&gt;).&lt;br /&gt;
No ColdFusion existe a função&amp;nbsp;Hash que gera uma chave de segurança e é super simples de usar.&lt;br /&gt;
&lt;br /&gt;
Ele converte o tamanho de uma variável do tipo string em uma string de tamanho fixo que pode ser usada como &quot;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16.079999923706055px;&quot;&gt;fingerprint&lt;/span&gt;&quot; ou identificação unica para a string original.&lt;br /&gt;
&lt;br /&gt;
Sintax:&amp;nbsp;&lt;span style=&quot;background-color: #f0f7fe; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 11px;&quot;&gt;Hash(string [, &lt;/span&gt;&lt;i style=&quot;color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;algorithm&lt;/i&gt;&lt;span style=&quot;background-color: #f0f7fe; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 11px;&quot;&gt; [, &lt;/span&gt;&lt;i style=&quot;color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;encoding&lt;/i&gt;&lt;span style=&quot;background-color: #f0f7fe; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 11px;&quot;&gt; ]])&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Apenas o primeiro parâmetro é necessário, por padrão o parâmetro &quot;algoritnm&quot; é o MD5 e no terceiro parâmetro você pode usar por exemplo o &quot;UTF-8&quot;, mas apenas se for necessário porque na maioria das vezes esse parâmetro não é usado.&lt;br /&gt;
&lt;br /&gt;
Então vamos lá... Vou montar abaixo as linhas que vão gerar o hash.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cfset variables.timestamp = &quot;&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;1406572727952&lt;/span&gt;&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;cfset variables.usuario_ID = &quot;&lt;span style=&quot;color: #222222; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;12345678910&lt;/span&gt;&lt;/span&gt;&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;cfset variables.values = &quot;#variables.timestamp##variables.usuario_ID#&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nas variáveis acima estou usando o timestamp em milisegundos, o id do usuário e estou juntando os dois numa variável que será usada para gerar o hash.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cfset variables.secret = &quot;teste_123&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Agora na variável acima eu estou criando uma senha secreta que será adicionada a minha variável values na hora da montagem do hash.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cfset variables.mac = Lcase(Hash(&quot;#variables.values##variables.secret#&quot;, &quot;MD5&quot;)) /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finalmente nosso Hash foi criado sem problema algum.&lt;br /&gt;
&lt;br /&gt;
No código abaixo eu montei um exemplo usando um formulário para testes. Estou comparando um MAC recebido com um gerado para comparar se eles são válidos.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;!--- Fontes de consulta:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;http://httpd.apache.org/docs/2.2/misc/password_encryptions.html&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;https://groups.google.com/forum/#!topic/railo/xKZaNOiymOw&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;http://www.bennadel.com/blog/2428-change-in-coldfusion-date-gettime-method-in-coldfusion-10.htm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;http://stackoverflow.com/questions/1614196/how-can-i-get-an-md5-hash-in-coldfusion&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;http://wiki.its.iastate.edu/plugins/viewsource/viewpagesrc.action?pageId=1914&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Converte milisegundos em data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;http://www.cflib.org/index.cfm?event=page.udfbyid&amp;amp;udfid=1211&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: yellow; color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;---&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;cfparam name=&quot;form.timestamp&quot; type=&quot;any&quot; default=&quot;&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;cfparam name=&quot;form.usuario&quot; type=&quot;any&quot; default=&quot;&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;cfparam name=&quot;form.MACRec&quot; type=&quot;any&quot; default=&quot;&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;style&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;.cor {background-color:#FC9;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;body&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div id=&quot;divFrm&quot; style=&quot;width:100%;&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;form name=&quot;frmMAC&quot; id=&quot;frmMAC&quot; action=&quot;teste_MD5.cfm&quot; method=&quot;post&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;table align=&quot;left&quot; border=&quot;0&quot; celspace=&quot;0&quot; celpadding=&quot;2&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;TimeStamp:&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=&quot;text&quot; name=&quot;timestamp&quot; id=&quot;timestamp&quot; value=&quot;#form.timestamp#&quot; /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Usuário:&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=&quot;text&quot; name=&quot;usuario&quot; id=&quot;usuario&quot; value=&quot;#form.usuario#&quot; /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;MAC:&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=&quot;text&quot; name=&quot;MACRec&quot; id=&quot;MACRec&quot; value=&quot;#form.MACRec#&quot; /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td colspan=&quot;2&quot; align=&quot;center&quot;&amp;gt;&amp;lt;input type=&quot;submit&quot; name=&quot;enviar&quot; id=&quot;enviar&quot; value=&quot;Enviar&quot; /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfif IsDefined(&quot;form.MACRec&quot;) AND form.MACRec NEQ &quot;&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;div id=&quot;resultado&quot; style=&quot;width:100%;&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;cfif form.timestamp EQ &quot;&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Você deve informar o valor do timestamp.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfexit /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfelseif form.usuario EQ &quot;&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Você deve informar o usuário.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfexit /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfelse&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;cfset variables.values = &quot;#form.timestamp##form.usuario#&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfset variables.secret = &quot;teste_123&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfset variables.mac = Lcase(Hash(&quot;#variables.values##variables.secret#&quot;, &quot;MD5&quot;)) /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfset variables.Datetimestamp = dateAdd(&quot;s&quot;, form.timestamp/1000, &quot;january 1 1970 00:00:00&quot;) /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfset variables.Diferenca = DateDiff(&quot;s&quot;,variables.Datetimestamp,GetHTTPTimeString(Now())) /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;table align=&quot;left&quot; border=&quot;1&quot; celspace=&quot;0&quot; celpadding=&quot;2&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr class=&quot;cor&quot;&amp;gt;&amp;lt;td&amp;gt;TimeStamp:&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;#form.timestamp#&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Usuário:&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;#form.usuario#&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr class=&quot;cor&quot;&amp;gt;&amp;lt;td&amp;gt;&amp;lt;b&amp;gt;MAC Recebido:&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;b&amp;gt;#LCase(form.MACRec)#&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;b&amp;gt;MAC Gerado:&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;b&amp;gt;#variables.mac#&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Data do TimeStamp Informado:&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;#DateFormat(variables.Datetimestamp,&quot;dd/mm/yyyy&quot;)# #TimeFormat(variables.Datetimestamp,&quot;HH:mm:ss.lll&quot;)#&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Diferença entre as datas em segundos:&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;#variables.Diferenca#&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/cfif&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/cfif&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/1639943282511453892/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/07/montando-um-mac-ou-hmac-hash.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/1639943282511453892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/1639943282511453892'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/07/montando-um-mac-ou-hmac-hash.html' title='Montando um MAC ou HMAC (Hash)'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-2376984608233905067</id><published>2014-06-25T11:26:00.001-07:00</published><updated>2014-06-25T11:27:22.205-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="animate"/><category scheme="http://www.blogger.com/atom/ns#" term="animação"/><category scheme="http://www.blogger.com/atom/ns#" term="easing"/><category scheme="http://www.blogger.com/atom/ns#" term="efeito"/><category scheme="http://www.blogger.com/atom/ns#" term="effect"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="função"/><category scheme="http://www.blogger.com/atom/ns#" term="funções"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="toggle"/><title type='text'>Efeito usando animate do jquery com o easing</title><content type='html'>&lt;p&gt;&lt;b&gt;Fala galera...!!!&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Eu precisei replicar um efeito aprovado num layout da empresa esses dias e tive dificuldades por não ter feito algo parecido antes e os exemplos que encontrei não me davam uma ideia clara.&lt;/p&gt;
&lt;p&gt;Então eu fui mexendo daqui e dali e consegui o efeito usando a biblioteca easing do jquery.&lt;/p&gt;
&lt;p&gt;Vamos então iniciar baixando o &lt;a href=&quot;http://jquery.com/download/&quot;&gt;jquery&lt;/a&gt; e a biblioteca &lt;a href=&quot;http://gsgd.co.uk/sandbox/jquery/easing/&quot;&gt;Easing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Agora vamos ao código:&lt;/p&gt;
&lt;p&gt;Cria um arquivo chamado teste.htm e copia o código abaixo para ele.&lt;br/&gt;Depois cria uma pasta js dentro da pasta onde você criou o arquivo e dentro dela coloque o jquery e a biblioteca.&lt;/p&gt;
&lt;textarea rows=&quot;43&quot; cols=&quot;100&quot;&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;pt-br&quot; lang=&quot;pt-br&quot;&gt;
&lt;head&gt;
&lt;title&gt;Teste de efeito&lt;/title&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.easing.1.3.js&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
$(function() {
var theSquare1 = $(&#39;#obj1&#39;);
var theSquare2 = $(&#39;#obj2&#39;);

theSquare2.click(
theSquare2.animate(
{ width:&quot;0px&quot;}
 ,1000
 ,&#39;easeOutCirc&#39;,function()
 { alert(&#39;Clicou no obj 2&#39;);});
);

theSquare1.click(
theSquare2.animate(
{ width:&quot;100px&quot;}
 ,1000
 ,&#39;easeOutCirc&#39;,function()
 { alert(&#39;Clicou no obj 1&#39;);});
);

});
&lt;/script&gt;

&lt;body&gt;
&lt;div id=&#39;principal&#39; style=&#39;width:100px;height:100px;overflow:hidden;&#39;&gt;
&lt;div id=&#39;obj1&#39; style=&#39;width:100px;height:100px;overflow:hidden;background-color:#b5d650;&#39;&gt;&lt;/div&gt;
&lt;div id=&#39;obj2&#39; style=&#39;width:100px;height:100px;overflow:hidden;background-color:#15386d;top:-100px;left:0px;position:relative;&#39;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;/textarea&gt;
&lt;p&gt;É simples realizar o efeito, você pode trocar os efeitos, colocar por exemplo theSquare2.toggle(function(){theSquare2.show();});&lt;/p&gt;
&lt;p&gt;Enfim...!!! É isso aí, eu não encontrei exemplos legais na net para realizar o efeito que eu queria mas fui juntando o que fui entendendo e montei esse. Espero conseguir ajudar muita gente.&lt;/p&gt;
&lt;p&gt;um grande abraço, comentem e deixem as suas opiniões que elas são super importantes e até o próximo post.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/2376984608233905067/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/06/efeito-usando-animate-do-jquery-com-o.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/2376984608233905067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/2376984608233905067'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/06/efeito-usando-animate-do-jquery-com-o.html' title='Efeito usando animate do jquery com o easing'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-4027862983748385279</id><published>2014-06-11T18:11:00.000-07:00</published><updated>2014-06-11T18:11:59.776-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arguments"/><category scheme="http://www.blogger.com/atom/ns#" term="array"/><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="atributo"/><category scheme="http://www.blogger.com/atom/ns#" term="cffile"/><category scheme="http://www.blogger.com/atom/ns#" term="cffunction"/><category scheme="http://www.blogger.com/atom/ns#" term="cfstruct"/><category scheme="http://www.blogger.com/atom/ns#" term="chunk"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="componente"/><category scheme="http://www.blogger.com/atom/ns#" term="file"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="função"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="multiplo"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="plug-in"/><category scheme="http://www.blogger.com/atom/ns#" term="plupload"/><category scheme="http://www.blogger.com/atom/ns#" term="upload"/><title type='text'>Upload Múltiplo com Jquery - PlUpload</title><content type='html'>&lt;div style=&quot;margin-botton: 10px;&quot;&gt;&lt;p&gt;&lt;b&gt;Olá galera.&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-botton: 10px;&quot;&gt;
&lt;p&gt;Neste post vou mostrar para vocês uma forma simples de realizar uploads múltiplos usando o jquery e o plug-in plupload.&lt;/p&gt;
&lt;p&gt;Primeiro vamos baixar o plugin &lt;a href=&quot;http://www.plupload.com/download/&quot;&gt;clicando aqui&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-botton: 10px;&quot;&gt;
&lt;p&gt;Agora vamos baixar o &lt;a href=&quot;http://blog.jquery.com/2011/11/21/jquery-1-7-1-released/&quot;&gt;JQuery&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Eu vou realizar o exemplo no ColdFusion porque é mais prático mas a lógica é a mesma para todos.&lt;/p&gt;
&lt;p&gt;Vamos começar então.&lt;/p&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-botton: 10px;&quot;&gt;
&lt;ul&gt;&lt;li&gt;Crie uma pasta chamada teste na raíz do seu site&lt;/li&gt;
&lt;li&gt;Agora crie uma pasta chamada JS e uma pasta chamada Upload&lt;/li&gt;
&lt;li&gt;Dentro da pasta JS você vai colocar seu arquivo jquery e a pasta do PlUpload&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-botton: 10px;&quot;&gt;
&lt;p&gt;Vamos criar dentro da pasta teste nosso arquivo index.cfm com o código abaixo:&lt;/p&gt;
&lt;/div&gt;
&lt;textarea cols=&quot;50&quot; rows=&quot;10&quot;&gt;&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
 &lt;head&gt;
  &lt;style type=&quot;text/css&quot;&gt;
            @import
            url(js/plupload/jquery.plupload.queue/css/jquery.plupload.queue.css);
        &lt;/style&gt;
        &lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.7.1.min.js&quot;&gt;&lt;/script&gt;
        &lt;script type=&quot;text/javascript&quot; src=&quot;js/plupload/plupload.full.js&quot;&gt;&lt;/script&gt;
        &lt;script type=&quot;text/javascript&quot; src=&quot;js/plupload/jquery.plupload.queue/jquery.plupload.queue.js&quot;&gt;&lt;/script&gt;
        &lt;script type=&quot;text/javascript&quot; src=&quot;js/plupload/i18n/pt-br.js&quot;&gt;&lt;/script&gt;
 &lt;/head&gt;
 &lt;script type=&quot;text/javascript&quot;&gt;
  /***********************************************************************************
  * Para exemplos, documentação e detales o link é: http://www.plupload.com/examples *
  ***********************************************************************************/
  //Configurando o plupload
  $(function() {
   $(&quot;#uploader&quot;).pluploadQueue({
    runtimes : &#39;html5,flash,silverlight,html4&#39;,
    //Aqui faz a chamada do componente para realizar o upload
    url : &#39;upload.cfc?method=upload&#39;,
    //Tamanho máximo do arquivo
    max_file_size : &#39;1024mb&#39;,
    //Quebra o arquivo em partes para realizar o upload mas rápido
    multipart: true,
    multipart_params: {
     &#39;rdn&#39;: Math.random(),
    }, 
    //Nome do arquivo
    file_data_name: &#39;file&#39;,
    multiple_queues: true,
    //Filtro de extenções que você deseja permissão para upload
    filters : [
     {title : &quot;Image files&quot;, extensions : &quot;jpg,gif,png&quot;},
     {title : &quot;PDF files&quot;, extensions : &quot;pdf&quot;},
     {title : &quot;ZIP files&quot;, extensions : &quot;zip&quot;}
    ],
    // Sort files
    sortable: true,
    
    // Enable ability to drag&#39;n&#39;drop files onto the widget (currently only HTML5 supports that)
    dragdrop: true,
    
    // Views to activate
    views: {
     list: true,
     thumbs: true, // Show thumbs
     active: &#39;thumbs&#39;
    },
    
    // Flash settings
    flash_swf_url : &#39;/plupload/js/Moxie.swf&#39;,
    
    // Silverlight settings
    silverlight_xap_url : &#39;/plupload/js/Moxie.xap&#39;
    });
  });
 &lt;/script&gt;
 &lt;body&gt;
  &lt;div id=&quot;uploader&quot;&gt;
   &lt;p&gt;
Aguarde, carregando.&lt;/p&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;/textarea&gt;
&lt;div style=&quot;margin-botton: 10px;&quot;&gt;
&lt;p&gt;Agora vamos criar o componente que vai realizar a parte de upload. Vamos criar um componente dentro da pasta teste junto com o index.cfm chamado de upload.cfc e copiar o código abaixo.&lt;/p&gt;
&lt;/div&gt;
&lt;textarea cols=&quot;50&quot; rows=&quot;10&quot;&gt;&lt;cfcomponent&gt;
  &lt;cffunction name=&quot;upload&quot; access=&quot;remote&quot; returntype=&quot;struct&quot; returnformat=&quot;json&quot; output=&quot;false&quot;&gt;
    &lt;cfscript&gt;
      var uploadDir = expandPath(&#39;.&#39;) &amp; &#39;/uploads/&#39;; // should be a temp directory that you clear periodically to flush orphaned files
      var uploadFile = uploadDir &amp; arguments.NAME;
      var response = {&#39;result&#39; = arguments.NAME, &#39;id&#39; = 0};
      var result = {};
      // if chunked append chunk number to filename for reassembly
      if (structKeyExists(arguments, &#39;CHUNKS&#39;)){
        uploadFile = uploadFile &amp; &#39;.&#39; &amp; arguments.CHUNK;
        response.id = arguments.CHUNK;
      }
    &lt;/cfscript&gt;

    &lt;!--- save file data from multi-part form.FILE ---&gt;
    &lt;cffile action=&quot;upload&quot; result=&quot;result&quot; filefield=&quot;FILE&quot; destination=&quot;#uploadFile#&quot; nameconflict=&quot;overwrite&quot;/&gt;
 
    &lt;!---cfftp
    action=&quot;putFile&quot;
    server=&quot;HOST&quot;
    username=&quot;USER&quot;
    password=&quot;PASS&quot;
    localfile=#uploadFile#
    remotefile=#arguments.NAME# ---&gt;
    
    &lt;cfscript&gt;
      // Example: you can return uploaded file data to client
      response[&#39;size&#39;] = result.fileSize;
      response[&#39;type&#39;] = result.contentType;
      response[&#39;saved&#39;] = result.fileWasSaved;

      // reassemble chunked file
      if (structKeyExists(arguments, &#39;CHUNKS&#39;) &amp;&amp; arguments.CHUNK + 1 == arguments.CHUNKS){
        try {
          var uploadFile = uploadDir &amp; arguments.NAME; // file name for reassembled file - if using a temp directory then this should be the final output path/file
          if (fileExists(uploadFile)){
            fileDelete(uploadFile); // delete otherwise append will add chunks to an existing file
          }

          var tempFile = fileOpen(uploadFile,&#39;append&#39;);
          for (var i = 0; i &lt; arguments.CHUNKS; i++) {
            var chunk = fileReadBinary(&#39;#uploadDir#/#arguments.NAME#.#i#&#39;);
            fileDelete(&#39;#uploadDir#/#arguments.NAME#.#i#&#39;);
            fileWrite(tempFile, chunk);
          }
          fileClose(tempFile);
}
        catch(any err){
          // clean up chunks for incomplete upload
          var d = directoryList(uploadDir,false,&#39;name&#39;);
          if (arrayLen(d) != 0){
            for (var i = 1; i &lt;= arrayLen(d); i++){
              if (listFirst(d[i]) == arguments.NAME &amp;&amp; val(listLast(d[i])) != 0){
                fileDelete(&#39;#uploadDir##d[i]#&#39;);
              }
            }
          }

          // you could add more error handling and return info from err
          response = {&#39;error&#39; = {&#39;code&#39; = 500, &#39;message&#39; = &#39;Internal Server Error&#39;}, &#39;id&#39; = 0};
        }
      }
      return response;
    &lt;/cfscript&gt;
  &lt;/cffunction&gt;
&lt;/cfcomponent&gt;
&lt;/textarea&gt;
&lt;div style=&quot;margin-botton: 10px;&quot;&gt;
&lt;p&gt;Pronto. Agora é só testar e ser feliz. Obs.: Não se esqueça de dar permissão de 777 na pasta upload que é onde vão ficar os arquivos.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Seu diretório de teste deve ficar assim:&lt;/p&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIUl9em6_D5HXpFNI4a7lkem7G0MMcouGyxVIuhSJA1DxlG-mosDfnb5AM6uTWnAE6-wFOCObBI6z0vUbSDSrBWK380KmDcm1myjQB1NYkZsVrE_7zqw3FSD-oiE_M3ZhVRSjJwL66Bc7S/s1600/tela_teste.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIUl9em6_D5HXpFNI4a7lkem7G0MMcouGyxVIuhSJA1DxlG-mosDfnb5AM6uTWnAE6-wFOCObBI6z0vUbSDSrBWK380KmDcm1myjQB1NYkZsVrE_7zqw3FSD-oiE_M3ZhVRSjJwL66Bc7S/s320/tela_teste.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/4027862983748385279/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/06/upload-multiplo-com-jquery-plupload.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/4027862983748385279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/4027862983748385279'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/06/upload-multiplo-com-jquery-plupload.html' title='Upload Múltiplo com Jquery - PlUpload'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIUl9em6_D5HXpFNI4a7lkem7G0MMcouGyxVIuhSJA1DxlG-mosDfnb5AM6uTWnAE6-wFOCObBI6z0vUbSDSrBWK380KmDcm1myjQB1NYkZsVrE_7zqw3FSD-oiE_M3ZhVRSjJwL66Bc7S/s72-c/tela_teste.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-8962911222750605507</id><published>2014-05-27T08:19:00.000-07:00</published><updated>2014-05-27T08:19:25.410-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ActiveX"/><category scheme="http://www.blogger.com/atom/ns#" term="cfexecute"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="etiqueta"/><category scheme="http://www.blogger.com/atom/ns#" term="impressora"/><category scheme="http://www.blogger.com/atom/ns#" term="imprimindo"/><category scheme="http://www.blogger.com/atom/ns#" term="imprimir"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><category scheme="http://www.blogger.com/atom/ns#" term="shell"/><category scheme="http://www.blogger.com/atom/ns#" term="vbscript"/><title type='text'>Imprimindo direto na impressora do cliente em CF</title><content type='html'>&lt;p&gt;Olá pessoal, um amigo (Cicero Vieira) compartilhou uma experiência num grupo de estudos que eu tenho certeza de que vai ajudar muita gente e que simplesmente você não encontra tão fácil numa pesquisa, então resolvi postar aqui a solução compartilhada por ele.&lt;/p&gt;
&lt;p&gt;&lt;blockquote&gt;
&quot;&lt;i&gt;Eu coloquei uma dúvida aqui sobre como mandar direto informação para
 lpt1: e achei uma solução, pena que só funcione no internet explorer e
 tem que mexer em algumas configurações de segurança para permitir o
 controle activex
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
Vou compartilhar ela aqui para quem sabe se algém precisar, para usar
 uma matricial, para imprimir, contra-cheque, nota fiscal , impressora
 de cheque etc etc, no meu caso resolveu para um cliente que estou
 desenvolvendo um sistema de locadora online que comprou uma impressora
 Térmica Wind não fiscal da Elgin. O lance é criar um txt na máquina
 cliente com os comandos que se deseja e depois rodar um arquivo bat
 para mandar ele para a porta desejada lpt1: com1: etc etc
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
1 - Colocar esse Javascript na página que deseja que faça a impressão
&lt;br /&gt;&lt;br /&gt;
...
&lt;br /&gt;&lt;br /&gt;
&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;
&lt;br /&gt;
 function WriteToFile()
&lt;br /&gt;
 {
&lt;br /&gt;
 var fso = new ActiveXObject(&quot;Scripting.FileSystemObject&quot;);
&lt;br /&gt;
 var s = fso.CreateTextFile(&quot;C:\\ticket.txt&quot;, true);
&lt;br /&gt;
 s.WriteLine(&#39;            bla bla bla      &#39;);
&lt;br /&gt;
 s.WriteLine(&quot;________________________________________________&quot;);
&lt;br /&gt;
 &lt;cfset texto=&quot;Ticket &quot;&amp;id&amp;&quot; Data
 &quot;&amp;dateformat(dettck.datamov,&quot;dd/mm/yyyy&quot;)&gt;
&lt;br /&gt;
 &lt;cfoutput&gt;s.WriteLine(&#39;#texto#&#39;);&lt;/cfoutput&gt;
&lt;br /&gt;
 s.Close();
&lt;br /&gt;
 var WshShell = new ActiveXObject(&quot;WScript.Shell&quot;);
&lt;br /&gt;
 var oExec = WshShell.Exec(&quot;c:\\print.bat&quot;);
&lt;br /&gt;
 }
&lt;br /&gt;
&lt;/SCRIPT&gt;
&lt;br /&gt;
&lt;/head&gt;
&lt;br /&gt;
&lt;body&gt;
&lt;br /&gt;&lt;br /&gt;
...
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
2-Arquivo print.bat
&lt;br /&gt;
type c:\\ticket.txt &gt; lpt1:
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
3-Botao para realizar a impressão
&lt;br /&gt;
&lt;form onSubmit=&quot;WriteToFile(this)&quot;&gt;
&lt;br /&gt;
 &lt;input name=&quot;botao&quot; type=&quot;button&quot; onClick=&quot;WriteToFile()&quot;
 value=&quot;Imprimir ticket&quot; /&gt;
&lt;br /&gt;
&lt;/form&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
Espero que a contribuição fique ai para ajudar quem necessite resolver
 um problema tipo o que tive.
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
Abraços a todos ae (Mas abraços a distancia pros carinhas ai que tão
 até querendo usar saia para pegar as vagas das programadoras Cold,como
 eu disse é um CF Wars hehehe tem gente até querendo usar saia para
 pegar emprego)
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Não funcionou no coldfusion 10&lt;/u&gt;&lt;/b&gt;&lt;/i&gt;&quot;
&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;Interessante a solução. Mas como meu amigo citou, com ActiveX só funciona no IE.
&lt;br /&gt;
Uma saída &quot;multiplataforma&quot; seria criando um Applet assinado. Pode fazer isso utilizando leitor de impressão digital que funciona bem.
&lt;/p&gt;
&lt;p&gt;Meu amigo Rafael Bandeiras deu a seguinte dica:&lt;br /&gt;
Da para fazer uma adaptação a esse script BAT e vincular ele ao cfexecute. Se o CF estiver na mesma rede e tiver um servidor de impressão funcionará. Uma outra solução é trabalhar com ActionScript para acessar a porta LPT1 e disparar a a ação direto no cliente.
&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/8962911222750605507/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/05/imprimindo-direto-na-impressora-do.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/8962911222750605507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/8962911222750605507'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/05/imprimindo-direto-na-impressora-do.html' title='Imprimindo direto na impressora do cliente em CF'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-7038974359521835252</id><published>2014-05-15T07:42:00.002-07:00</published><updated>2014-05-15T07:45:29.174-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adm"/><category scheme="http://www.blogger.com/atom/ns#" term="administrador"/><category scheme="http://www.blogger.com/atom/ns#" term="administrator"/><category scheme="http://www.blogger.com/atom/ns#" term="adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="instal"/><category scheme="http://www.blogger.com/atom/ns#" term="instala"/><category scheme="http://www.blogger.com/atom/ns#" term="instalar"/><category scheme="http://www.blogger.com/atom/ns#" term="instalação"/><category scheme="http://www.blogger.com/atom/ns#" term="j2ee"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="jrun"/><category scheme="http://www.blogger.com/atom/ns#" term="processo"/><category scheme="http://www.blogger.com/atom/ns#" term="sobre"/><title type='text'>Sobre a instalação do ColdFusion</title><content type='html'>&lt;p&gt;&lt;b&gt;Sobre a instalação do ColdFusion &lt;i&gt;(Aqui eu falo direto da versão 8)&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;O ColdFusion tem uma poderosa e flexível instalação e atualização de processos. O processo de instalação do ColdFusion inclui as seguintes fases:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Plano de instalação para determinar suas opções de instalação, configuração e atualização.&lt;/li&gt;
&lt;li&gt;Rodar o ColdFusion installer.&lt;/li&gt;
&lt;li&gt;Implantar e configurar o ColdFusion em seu servidor de aplicações J2EE (Apenas configuração J2EE)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;O processo de instalação do ColdFusion suporta os seguintes cenários:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New Installation&lt;/b&gt; Instala o ColdFusion em uma máquina que não tenha ainda o ColdFusion instalado.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Upgrade installation&lt;/b&gt; Você pode atualizar de uma instalação anterior do ColdFusion sem conflitos. O instalador preserva as configurações existentes e instala em um novo diretório, automaticamente acessando portas que não vão entrar em conflito com a instalação existente.&lt;/p&gt;
&lt;p&gt;Você pode instalar o ColdFusion em qualquer uma das seguintes configurações:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Server configuration&lt;/b&gt; Permite que você instale uma instância do ColdFusion com um servidor J2EE incorporado. Esta configuração mais se assemelha a versão base do ColdFusion MX e outras versões anteriores do ColdFusion MX, como ColdFusion 5 e ColdFusion 4.5. Isto era conhecido anteriormente como a configuração autônoma. Para obter informações sobre como instalar a configuração de servidor, consulte &lt;a href=&quot;http://livedocs.adobe.com/coldfusion/8/htmldocs/installserver_01.html#1112861&quot;&gt;instalando a configuração do servidor&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Multiserver configuration (Enterprise Edition only)&lt;/b&gt; Instala o JRun e automaticamente implanta o ColdFusion em uma instância separada do servidor JRun. Essa configuração oferece suporte a criação de instância de servidor e implantação do ColdFusion no ColdFusion Administrator e permite que você gerencie as implantações de ColdFusion em vários servidores JRun. Para obter informações sobre como instalar a configuração multiservidor, consulte &lt;a href=&quot;http://livedocs.adobe.com/coldfusion/8/htmldocs/installmultiserver_1.html#109411&quot;&gt;instalando a configuração multiservidor&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;J2EE configuration (Enterprise Edition only)&lt;/b&gt; Permite a você implantar o ColdFusion como um aplicativo Java em execução em um servidor de aplicativo Java 2 Enterprise Edition (J2EE), usando a licença combinada do JRun ou um servidor J2EE de terceiros, como o WebSphere da IBM ou BEA WebLogic. Quando você usar a configuração de J2EE, você pode implantar ColdFusion várias vezes em um único computador. Para obter informações sobre como instalar a configuração do J2EE, consulte &lt;a href=&quot;http://livedocs.adobe.com/coldfusion/8/htmldocs/installj2ee_01.html#109411&quot;&gt;instalando a configuração de J2EE&lt;/a&gt;.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/7038974359521835252/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/05/sobre-instalacao-do-coldfusion.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/7038974359521835252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/7038974359521835252'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/05/sobre-instalacao-do-coldfusion.html' title='Sobre a instalação do ColdFusion'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-6195342735394553173</id><published>2014-05-01T11:17:00.001-07:00</published><updated>2014-05-01T11:17:22.208-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arguments"/><category scheme="http://www.blogger.com/atom/ns#" term="cfargument"/><category scheme="http://www.blogger.com/atom/ns#" term="cfcatch"/><category scheme="http://www.blogger.com/atom/ns#" term="cfdump"/><category scheme="http://www.blogger.com/atom/ns#" term="cffunction"/><category scheme="http://www.blogger.com/atom/ns#" term="cfif"/><category scheme="http://www.blogger.com/atom/ns#" term="cfreturn"/><category scheme="http://www.blogger.com/atom/ns#" term="cftry"/><category scheme="http://www.blogger.com/atom/ns#" term="cobol"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="componente"/><category scheme="http://www.blogger.com/atom/ns#" term="createobject"/><category scheme="http://www.blogger.com/atom/ns#" term="struct"/><category scheme="http://www.blogger.com/atom/ns#" term="structinsert"/><category scheme="http://www.blogger.com/atom/ns#" term="structnew"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>Criando Componentes em CF</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Para criar componentes em CF é
muito simples. Vamos levar em conta que estamos na pasta raiz do
sistema. Então para não misturar os arquivos vamos criar uma pasta
chamada de controle dentro da pasta raiz e criar nosso componente
dentro dela.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Um arquivo de componente em CF é
identificado pela extensão &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;.cfc&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
e vou dar o nome do componente que vamos criar de &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Documentos.cfc&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;No &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;DreamWeaver&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
você pode criar um novo componente da mesma forma que faz para criar
uma nova página em ASP, como mostra a figura abaixo:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiltJY3_kaWTuROtBCeeFPz-6ZAzZ6-gldueCtdy25_D-_FQv4hR0-SaLJhLLcomu39MqBWuNRSKF7zqWwa21Or6RKxmnLQapDdaq831GhppFDnhpT6fWjBYFThwQAiAFHLQeLVtimdyfD7/s1600/DW_NovoCFC.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiltJY3_kaWTuROtBCeeFPz-6ZAzZ6-gldueCtdy25_D-_FQv4hR0-SaLJhLLcomu39MqBWuNRSKF7zqWwa21Or6RKxmnLQapDdaq831GhppFDnhpT6fWjBYFThwQAiAFHLQeLVtimdyfD7/s1600/DW_NovoCFC.jpg&quot; height=&quot;241&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Para criar nosso componente temos
que começar nosso arquivo com a tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfcomponent&amp;gt;&amp;lt;/cfcomponent&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
No código abaixo eu chamo um serviço &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;COBOL&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
nas funções criadas dentro do componente.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfcomponent&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;!--- Trás a quantidade e
lista de documentos ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;cffunction
name=&quot;listarDocsRecebidosPorUsuario&quot; access=&quot;public&quot;
returntype=&quot;any&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;!--- Argumentos passados
para a função. Deve seguir a mesma ordem ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1.25cm; margin-top: 0.21cm; text-indent: 1.25cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfargument
name=&quot;codusuario&quot; type=&quot;string&quot; required=&quot;yes&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfargument
name=&quot;data_1&quot; type=&quot;string&quot; required=&quot;yes&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfargument
name=&quot;data_2&quot; type=&quot;string&quot; required=&quot;yes&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfargument name=&quot;tipo&quot;
  type=&quot;string&quot; required=&quot;yes&quot; default=&quot;QTD&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfargument
name=&quot;flaglido&quot; type=&quot;string&quot; required=&quot;yes&quot;
default=&quot;&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;!--- Monta a estrutura de
parâmetros ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset parametros_serv =
StructNew()&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;usupesquisa&quot;,arguments.codusuario)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;databusca&quot;,&#39;&#39;)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;dataini&quot;,LSDateFormat(arguments.data_1,&#39;yyyy-mm-dd&#39;))&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;datafim&quot;,LSDateFormat(arguments.data_2,&#39;yyyy-mm-dd&#39;))&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;flaglido&quot;,arguments.flaglido)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfif arguments.tipo EQ
&quot;QTD&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfset
StructInsert(parametros_serv,&quot;tiposolic&quot;,&quot;07&quot;)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfelse&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfset
StructInsert(parametros_serv,&quot;tiposolic&quot;,&quot;08&quot;)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;/cfif&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;paginaqtd&quot;,0)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;paginaatual&quot;,1)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset srvDocumentos =
CreateObject(&quot;component&quot;,&quot;controle.leitorServicos&quot;)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset retornoServico =
srvDocumentos.chamarServico(application.srv_regControladocumento,
variables.parametros_serv)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfreturn retornoServico&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;/cffunction&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!--- Marca o documento como
lido ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;cffunction
name=&quot;marcarLidoDoc&quot; access=&quot;public&quot;
returntype=&quot;any&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfargument name=&quot;id&quot;
type=&quot;string&quot; required=&quot;yes&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset parametros_serv =
StructNew()&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;id&quot;,arguments.id)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;tiposolic&quot;,9)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;paginaqtd&quot;,0)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset
StructInsert(parametros_serv,&quot;paginaatual&quot;,1)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset srvDocumentos =
CreateObject(&quot;component&quot;,&quot;controle.Documentos&quot;)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfset retornoServico =
srvDocumentos.chamarServico(application.srv_regControladocumento,
variables.parametros_serv)&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cfreturn retornoServico&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;/cffunction&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!--- Pega o Resultado do
serviço COBOL informado em XML ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cffunction access=&quot;public&quot;
name=&quot;chamarServico&quot; returntype=&quot;any&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;cfargument name=&quot;nomeservico&quot;
 type=&quot;string&quot; required=&quot;yes&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;cfargument name=&quot;parametros&quot;
 type=&quot;struct&quot; required=&quot;yes&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;cfargument name=&quot;tiposerv&quot;
 type=&quot;string&quot; required=&quot;no&quot; default=&quot;XML&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cftry&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;!--- Buscando retorno do
Serviço (XML) ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfhttp
url=&quot;#application.host_cobol##Trim(arguments.nomeservico)#.exe&quot;
method=&quot;post&quot; charset=&quot;iso-8859-1&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;cfloop
list=&quot;#StructKeyList(arguments.parametros,&#39;,&#39;)#&quot;
delimiters=&quot;,&quot; index=&quot;i&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;     &amp;lt;cfhttpparam
name=&quot;#LCase(i)#&quot;
value=&quot;#StructFind(arguments.parametros,i)#&quot;
type=&quot;formfield&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;/cfloop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;/cfhttp&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;!---&amp;lt;cfdump
var=&quot;#cfhttp.FileContent#&quot;&amp;gt;---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfif
isXmlDoc(cfhttp.FileContent)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;cfset oXml =
cfhttp.FileContent&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfelse&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;cfset oXml =
xmlParse(cfhttp.FileContent)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;/cfif&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfcatch type=&quot;any&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    Erro na chamada de requisição
ao servidor de dados &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;     Erro CB: #cfhttp.FileContent#
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;     Erro CF:
(#arguments.nomeservico#). #cfcatch.Detail# - #cfcatch.Message#
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;cfabort&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;/cfcatch&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;/cftry&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;cftry&amp;gt; &lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;!--- Conversao ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfif arguments.tiposerv EQ
&quot;XML&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;cfreturn
xmlParaQuery(oXml)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfelse&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;cfreturn
xmlParaQuerySite(oXml)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;/cfif&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;cfcatch type=&quot;any&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    Erro na _CORE na conversão
dos dados vindos do servidor . &amp;lt;cfoutput&amp;gt;#cfcatch.Detail# -
#cfcatch.Message#&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;cfabort&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;/cfcatch&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;/cftry&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1.25cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cffunction&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cfcomponent&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
































































































&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Na linha: &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
StructInsert(parametros_serv,&quot;id&quot;,arguments.id)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
o parâmetro “&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;i&gt;&lt;u&gt;&lt;b&gt;id&lt;/b&gt;&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;”
é o nome do campo que o serviço &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;COBOL&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
espera receber, este campo não precisa ter o mesmo nome do campo na
tabela do banco. O parâmetro “&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;i&gt;&lt;u&gt;&lt;b&gt;arguments.id&lt;/b&gt;&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;”
é o valor que estou jogando para este campo e inserindo na estrutura
chamada “&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;i&gt;&lt;u&gt;&lt;b&gt;parametros_serv&lt;/b&gt;&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;”&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/6195342735394553173/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/05/criando-componentes-em-cf.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/6195342735394553173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/6195342735394553173'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/05/criando-componentes-em-cf.html' title='Criando Componentes em CF'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiltJY3_kaWTuROtBCeeFPz-6ZAzZ6-gldueCtdy25_D-_FQv4hR0-SaLJhLLcomu39MqBWuNRSKF7zqWwa21Or6RKxmnLQapDdaq831GhppFDnhpT6fWjBYFThwQAiAFHLQeLVtimdyfD7/s72-c/DW_NovoCFC.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-2974631937207377658</id><published>2014-05-01T11:07:00.001-07:00</published><updated>2014-05-01T11:07:13.878-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cfhttp"/><category scheme="http://www.blogger.com/atom/ns#" term="cfhttpparam"/><category scheme="http://www.blogger.com/atom/ns#" term="cfinvoke"/><category scheme="http://www.blogger.com/atom/ns#" term="cfloop"/><category scheme="http://www.blogger.com/atom/ns#" term="cfoutput"/><category scheme="http://www.blogger.com/atom/ns#" term="cfset"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="http"/><title type='text'>Manipulando Solicitações de HTTP em CF</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;A&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;tag&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CFHTTP&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;é
uma ferramenta&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;de
uso geral&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
a criação&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;e
manipulação de&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;solicitações&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;dos
resultados HTTP retornados. Ele permite você&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;gerar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;tipos
de solicitação&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;padrão&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;HTTP.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Você
pode usar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;as
tags&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;cfhttpparam&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;incorporadas
para&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;especificar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;cabeçalhos
de solicitação e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;conteúdo
do corpo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Quando&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ColdFusion&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;recebe
uma resposta&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;a
um pedido&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CFHTTP&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;,
pode &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;colocar
o&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;corpo
da resposta&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;(se
houver)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;em
um arquivo ou&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;a
variável de cadeia&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;cfhttp.FileContent&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Se&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;o
corpo do texto&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;está
estruturado&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;como
um&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;conjunto
de resultados,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
o &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ColdFusion&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;pode
colocar o&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;texto
do corpo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;em&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
um &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;objeto
de consulta&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Você
também pode&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;acessar
os valores&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;de
todos os cabeçalhos&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;retornados
e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;especificar
como lidar com&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;status
de erro e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;redirecionamentos&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;e
especificar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;um
tempo limite&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
evitar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;pedidos
de&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;enforcamento.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;O protocolo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;HTTP&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;é&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;a
espinha dorsal da&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;World
Wide Web e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;é
usado&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
cada transação&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;web.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Porque
a&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;tag&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CFHTTP&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;pode
gerar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;a
maioria dos tipos&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;de
solicitações,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;que&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;proporciona
uma flexibilidade significativa&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Possíveis
usos&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;incluem:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Interação
   com&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;web
   sites dinâmicos&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;e
   serviços que&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;não
   estão disponíveis como&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;serviços&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;web.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;(Use&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;a
   tag&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;cfinvoke&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
   acessar serviços&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;web&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;SOAP.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Obter
   o conteúdo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;de
   uma página&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;HTML&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ou
   outro arquivo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;como
   uma imagem&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;em
   um&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;servidor&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;web&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
   uso em&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;sua
   página&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CFML&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ou
   armazenamento&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;em
   um arquivo.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Enviar
   um pedido de&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;seguro
   para um&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;servidor
   especificando&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;o
   protocolo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;https&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;no
   atributo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;url.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Utilizando
   o método&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;POST&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
   enviar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;um
   post&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;estilo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;multipart
   /&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;form-data&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;a
   qualquer&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;URL&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;que
   pode lidar com&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;esses
   dados&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;e
   retornar resultados&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;,
   inclusive os executáveis &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial Unicode MS, sans-serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;​​&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CGI&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ou
   mesmo páginas&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;outros&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ColdFusion.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Usando
   o método&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;PUT&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;upload
   de arquivos para&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;um
   servidor que&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;não
   aceita solicitações&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;FTP.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Esta&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;tag&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;pode,
e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
pedidos&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;POST&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;PUT&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;deve,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ter
um corpo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;que
contém marcas&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;cfhttpparam&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Se
essa marca&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;tem
tags&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;cfhttpparam&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ele
deve ter uma tag&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CFHTTP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
no &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;final.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Para usar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;HTTPS&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;com
a tag&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CFHTTP&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;talvez
você precise&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;importar
manualmente&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;o
certificado&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
cada servidor&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;web&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
o keystore&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;do&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;JRE&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;que
o&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ColdFusion
usa&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Este
procedimento não deve&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ser
necessária se o&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;certificado
é assinado&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;(emitida&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;por
uma autoridade&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;que
o&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;JSSE&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Java
Secure &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Sockets&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Extension&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;)
reconhece &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;(por
exemplo,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Verisign&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;),
isto é, se a autoridade &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;de
assinatura é&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;no&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;cacerts&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;já.
No entanto, você&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;pode
precisar usar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;o
procedimento&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;se
você estiver&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;emitindo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;SSL&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;(secure
sockets layer&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;certificados
de&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;si
mesmo.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Importar
manualmente&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;um
certificado:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
 &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Ir para uma
 página&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;no
 servidor&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;SSL&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;em
 questão.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
 &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Dê um duplo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;clique
 no&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ícone
 de cadeado.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
 &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Clique na guia Detalhes.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
 &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Clique em
 Copiar para&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Arquivo.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
 &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Selecione a opção base64 e
 salve o arquivo.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
 &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Copie o arquivo CER em C: \
 ColdFusion8 \ runtime \ jre \ lib \ security (ou qualquer JRE
 ColdFusion está usando).&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
 &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Execute o
 seguinte comando&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;no
 mesmo diretório&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;keytool.exe
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;está
 localizada em&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;C:
 \&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CFusionMX7&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;\
 runtime&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;\
 jre \&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;bin):&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&lt;i&gt;keytool
 -import -keystore cacerts -alias giveUniqueName -file filename.cer&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Exemplo:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;!--- Este
exemplo exibe&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;as
informações fornecidas&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;pelo&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Designer&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Developer
Center&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;XML
feed,  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #1f86ff;&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://www.adobe.com/desdev/resources/_resources.xml&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;http://www.adobe.com/desdev/resources/_resources.xml&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Ver
http://www.adobe.com/desdev/articles/xml_resource_feed.html para mais
informações sobre&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;este
assunto. ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;!---
Definir o endereço de&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;URL.
---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfset
urlAddress=&quot;http://www..com/de&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;sdev/resources/_resources.xml&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;!--- Use&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;a
tag&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;CFHTTP&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;para
obter&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;o
conteúdo do arquivo&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;representado
por&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;urladdress&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Note
que&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;gt;,
não é fim da tag, ele &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;finaliza&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;esta
tag. ---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfhttp
url=&quot;#urladdress#&quot; method=&quot;GET&quot; resolv&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;eurl=&quot;Yes&quot;
throwOnError=&quot;Yes&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;!---
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Analisar
o XML&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;e
saída de&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;uma
lista de recursos&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfset
xmlDoc &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;=
XmlParse(CFHTTP.FileContent)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;!--- &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Obter
a matriz&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;de
elementos&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;de
recursos, o&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;xmlChildren&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;do&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;XmlRoot&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
---&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfset
resour&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;ces=xmlDoc.xmlroot.xmlChildren&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfset
nu&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;mresources=ArrayLen(resources)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfloop
index=&quot;i&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&quot;
from=&quot;1&quot; to=&quot;#numresources#&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfset
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;item=resources[i]&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1.5cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;strong&amp;gt;&amp;lt;a
href=#item.url.xmltext#&amp;gt;#item.title.xmltext#&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1.5cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;strong&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Autor&amp;lt;/strong&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;#item.author.xmltext#&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1.5cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;strong&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;Aplica-se
a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;estes
produtos&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1.5cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;cfloop
index=&quot;i&quot; from=&quot;4&quot;
to=&quot;#arraylen(item&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;.xmlChildren)#&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1.5cm; margin-top: 0.21cm; text-indent: 1.25cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;#item.xmlChil&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;dren[i].xmlAttributes.Name#&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1.5cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;/cfloop&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;pt-PT&quot;&gt;&amp;lt;/cfloop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/2974631937207377658/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/05/manipulando-solicitacoes-de-http-em-cf.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/2974631937207377658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/2974631937207377658'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/05/manipulando-solicitacoes-de-http-em-cf.html' title='Manipulando Solicitações de HTTP em CF'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-2539787582239733570</id><published>2014-04-30T08:09:00.000-07:00</published><updated>2014-04-30T08:09:03.178-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="array"/><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="cfloop"/><category scheme="http://www.blogger.com/atom/ns#" term="cfoutput"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="dim"/><category scheme="http://www.blogger.com/atom/ns#" term="lbound"/><category scheme="http://www.blogger.com/atom/ns#" term="redim"/><category scheme="http://www.blogger.com/atom/ns#" term="ubound"/><category scheme="http://www.blogger.com/atom/ns#" term="vbscript"/><category scheme="http://www.blogger.com/atom/ns#" term="vetor"/><title type='text'>Vetores e Arrays em CF e em ASP</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-indent: 1.25cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;No
CF um vetor é uma variável normal.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-indent: 1.25cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;h1&amp;gt;List
Loops&amp;lt;/h1&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;h2&amp;gt;List
Loop 1&amp;lt;/h2&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
numlist=&quot;1,2,3,4,5&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfloop
index=&quot;num&quot; list=&quot;#numlist#&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;#num#&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cfloop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;h2&amp;gt;List
Loop 2&amp;lt;/h2&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
beatles=&quot;paul john ringo george&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfloop
index=&quot;beatle&quot; list=&quot;#beatles#&quot; delimiters=&quot;
&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;cfoutput&amp;gt;#beatle#&amp;lt;/cfoutput&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cfloop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-indent: 1.25cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Abaixo
a lista de funções CF específicar para vetores e arrays&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-indent: 1.25cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;dl&gt;
 &lt;dd&gt;
 &lt;table border=&quot;1&quot; bordercolor=&quot;#ffffff&quot; cellpadding=&quot;7&quot; cellspacing=&quot;0&quot; style=&quot;width: 539px;&quot;&gt;
  &lt;colgroup&gt;&lt;col width=&quot;234&quot;&gt;&lt;/col&gt;
  &lt;col width=&quot;275&quot;&gt;&lt;/col&gt;
  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;div align=&quot;CENTER&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Função&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;div align=&quot;CENTER&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;descrição&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListLen()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Determines
    the number of elements in a list.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListFind()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Returns
    the index of the first list element in which a specified value
    occurs. Case-sensitive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListFindNoCase()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Determines
    the index of the first list element in which a specified value
    occurs. Case-insensitive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListContains()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Returns
    the index of the first list element that contains a specified
    substring. Case-sensitive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListContainsNoCase()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Returns
    the index of the first list element that contains a specified
    substring. Case-insensitive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListValueCount()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Counts
    instances of a specified value in a list. The search is
    case-sensitive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListValueCountNoCase()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Counts
    instances of a specified value in a list. The search is
    case-insensitive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListDeleteAt()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Returns
    a copy of the list without the specified element.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListGetAt()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Gets
    a list element at a specified position.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListSetAt()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Replaces
    the contents of a list element.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListSort()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Sorts
    list elements according to a sort type and sort order.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListAppend()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Appends
    a list or element to a list.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListPrepend()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Inserts
    an element at the beginning of a list.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListInsertAt()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Inserts
    an element in a list.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListFirst()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Gets
    the first element of a list.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListRest()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Gets
    a list, without its first element.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListLast()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Gets
    the last element of a list.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ArrayToList()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Converts
    a one-dimensional array to a list.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListToArray()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Converts
    a list to a one-dimensional array.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ReplaceList()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Replaces
    occurrences of the elements from a delimited list in a string
    with corresponding elements from another delimited list. The
    search is case-sensitive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListChangeDelims()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Changes
    a list delimiter.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
   &lt;td width=&quot;234&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;ListQualify()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
   &lt;td width=&quot;275&quot;&gt;
    &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Inserts
    a string at the beginning and end of list elements.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

   &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-indent: 1.25cm;&quot;&gt;
 
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-indent: 1.25cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;No
&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
para montar vetor podemos fazer da seguinte maneira:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;)=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Date&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;)=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;Lineu
Antonio de Lima Santos&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;)=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;12.45&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;)=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Now&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
Observe
que o valor armazenado em cada elemento de um array pode ser de um
subtipo diferente dos demais. Outra observação importante: arrays
têm que ser declarados explicitamente.&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;Arrays
não são limitados para uma única dimensão. Em VBScript pode-se
declarar Arrays de até 60 dimensões.&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
Construindo
uma matriz:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%
Dim MeuArray(1,1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(0,0)= &quot;Lineu Antonio de Lima Santos&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(0,1)=2225240&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(1,0)= &quot;Universidade Federal do Piauí&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(1,1)=2172000&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
Pode-se
declarar um array cujo tamanho é alterado durante a interpretação
do script. Para tal, basta declarar o array com Dim sem informar a
quantidade de elementos. Depois deve-se utilizar a declaração ReDim
para determinar o número de elementos. Caso seja necessário
redimensionar o array, utiliza-se novamente a declaração ReDim. Se
houver a necessidade de preservar o conteúdo do array a ser
redimensionado, utiliza-se a declaração ReDim Preserve.&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Sem
Preserve &amp;lt;BR&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
  &lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;% Dim MeuArray()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;ReDim MeuArray(1) &lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(0)= &quot;Lineu Antonio de Lima Santos&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(1)=12.95 &lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;ReDim MeuArray(2)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(2)=9090 &lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
   &lt;span style=&quot;font-size: x-small;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;B&amp;gt;Posição
0&amp;lt;/B&amp;gt; = &amp;lt;%=MeuArray(0)%&amp;gt;&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;B&amp;gt;Posição
1&amp;lt;/B&amp;gt; = &amp;lt;%=MeuArray(1)%&amp;gt;&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;B&amp;gt;Posição
2&amp;lt;/B&amp;gt; = &amp;lt;%=MeuArray(2)%&amp;gt;&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;HR&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Com
Preserve &amp;lt;BR&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
  &lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;% ReDim MeuArray(1) &lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(0)= &quot;Lineu Antonio de Lima Santos&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(1)=12.95 &lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;ReDim Preserve MeuArray(2)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
     &lt;span style=&quot;font-size: x-small;&quot;&gt;MeuArray(2)=0909 &lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
  &lt;span style=&quot;font-size: x-small;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;B&amp;gt;Posição
0&amp;lt;/B&amp;gt; = &amp;lt;%=MeuArray(0)%&amp;gt;&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;B&amp;gt;Posição
1&amp;lt;/B&amp;gt; = &amp;lt;%=MeuArray(1)%&amp;gt;&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;B&amp;gt;Posição
2&amp;lt;/B&amp;gt; = &amp;lt;%=MeuArray(2)%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Para
correr um vetor em ASP usamos as funções LBound() e UBound().&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;script
type=&quot;text/vbscript&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim
food(2,3)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(0,0)=&quot;Apple&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(0,1)=&quot;Banana&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(0,2)=&quot;Orange&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(0,3)=&quot;Lemon&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(1,0)=&quot;Pizza&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(1,1)=&quot;Hamburger&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(1,2)=&quot;Spaghetti&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(1,3)=&quot;Meatloaf&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(2,0)=&quot;Cake&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(2,1)=&quot;Cookie&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(2,2)=&quot;Icecream&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;food(2,3)=&quot;Chocolate&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;document.write(LBound(food,1)
&amp;amp; &quot;&amp;lt;br /&amp;gt;&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;document.write(UBound(food,1)
&amp;amp; &quot;&amp;lt;br /&amp;gt;&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;document.write(LBound(food,2)
&amp;amp; &quot;&amp;lt;br /&amp;gt;&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;document.write(UBound(food,2)
&amp;amp; &quot;&amp;lt;br /&amp;gt;&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/2539787582239733570/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/vetores-e-arrays-em-cf-e-em-asp.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/2539787582239733570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/2539787582239733570'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/vetores-e-arrays-em-cf-e-em-asp.html' title='Vetores e Arrays em CF e em ASP'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-6347957164490149043</id><published>2014-04-30T08:03:00.001-07:00</published><updated>2014-04-30T08:03:10.341-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cfdump"/><category scheme="http://www.blogger.com/atom/ns#" term="cfset"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="estrutura"/><category scheme="http://www.blogger.com/atom/ns#" term="struct"/><category scheme="http://www.blogger.com/atom/ns#" term="structnew"/><title type='text'>Criando Estrutura de Dados no CF</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;No CF para criarmos uma estrutura
de dados que pode conter &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;arrays&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
e &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;vetores&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;,
nós usamos a função &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;StructNew()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Dessa forma: &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
parametros_serv = StructNew()&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset parametros_serv.nome = #url.nome#&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&amp;lt;cfset parametros_serv.endereco = #variables.endereco#&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;Usando a tag cfdump podemos ver os detalhes:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&amp;lt;cfdump var=&quot;#&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;parametros_serv&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Times New Roman&#39;, serif; font-size: x-small; text-indent: 1cm;&quot;&gt;#&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/6347957164490149043/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/criando-estrutura-de-dados-no-cf.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/6347957164490149043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/6347957164490149043'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/criando-estrutura-de-dados-no-cf.html' title='Criando Estrutura de Dados no CF'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-1878962531165676573</id><published>2014-04-30T07:55:00.001-07:00</published><updated>2014-04-30T07:55:23.654-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arguments"/><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="cfquery"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="função"/><title type='text'>Criando Funções em CF e em ASP</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em ColdFusion para criar uma
função usamos a tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cffunction&amp;gt;&amp;lt;/cffunction&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;,
é bastante simples de usar. Com a base de dados já pronta, e
devidamente &lt;/span&gt;&lt;span style=&quot;color: #1f86ff;&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://www.mxstudio.com.br/views.tutorial.php?act=view&amp;amp;cid=11&amp;amp;aid=522&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;registrada
no Administrador do ColdFusion &lt;/span&gt;&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;vamos
construir nossas funções.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;O código abaixo é basicamente
uma função para retornar os dados da tabela noticia e uma função
para inserir dados nessa mesma tabela recebendo alguns parâmetros
passados.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!—
Função para retorno de dados da tabela Noticia. —&amp;gt;&lt;br /&gt;&amp;lt;cffunction
name=”RetornaNoticia” access=”remote”
returntype=”query”&amp;gt;&lt;br /&gt;&amp;lt;cfquery name=”q_noticia”
datasource=”lucasmarcal”&amp;gt;&lt;br /&gt;SELECT *&lt;br /&gt;FROM noticia&lt;br /&gt;ORDER
BY id_noticia&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;br /&gt;&amp;lt;cfreturn
q_noticia&amp;gt;&lt;br /&gt;&amp;lt;/cffunction&amp;gt;&lt;br /&gt;&amp;lt;!— Fim da Função —&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0.49cm; margin-left: 1cm; margin-top: 0.49cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!— Função para Inserir
dados na tabela Noticia —&amp;gt;&lt;br /&gt;&amp;lt;cffunction
name=”InserirNoticia” access=”remote”
returntype=”boolean”&amp;gt;&lt;br /&gt;&amp;lt;cfargument name=”dia”
required=”yes” type=”string”&amp;gt;&lt;br /&gt;&amp;lt;cfargument
name=”autor” required=”yes” type=”string”&amp;gt;&lt;br /&gt;&amp;lt;cfargument
name=”assunto” required=”yes” type=”string”&amp;gt;&lt;br /&gt;&amp;lt;cfargument
name=”mensagem” required=”yes” type=”string”&amp;gt;&lt;br /&gt;&amp;lt;cfquery
name=”q_inserir” datasource=”lucasmarcal”&amp;gt;&lt;br /&gt;INSERT&lt;br /&gt;INTO
noticia&lt;br /&gt;(&lt;br /&gt;data,&lt;br /&gt;autor,&lt;br /&gt;assunto,&lt;br /&gt;mensagem&lt;br /&gt;)&lt;br /&gt;VALUES&lt;br /&gt;(&lt;br /&gt;‘#Arguments.dia#’,&lt;br /&gt;‘#Arguments.autor#’,&lt;br /&gt;‘#Arguments.assunto#’,&lt;br /&gt;‘#Arguments.mensagem#’&lt;br /&gt;)&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;br /&gt;&amp;lt;cfreturn
true&amp;gt;&lt;br /&gt;&amp;lt;/cffunction&amp;gt;&lt;br /&gt;&amp;lt;!— Fim da Função —&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
uma função é montada como no exemplo abaixo:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;% @ LANGUAGE=&quot;VBSCRIPT&quot;
%&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;HTML&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;HEAD&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Função
imposto&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;HEAD&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;BODY&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;%Function
imposto(preço_artigo)&lt;br /&gt;preço_final=preço_artigo+preço_artigo*20/100&lt;br /&gt;Response.Write
preço_final&lt;br /&gt;End Function%&amp;gt;&lt;br /&gt;Um livro de $35,00 ficará em um
preço de &amp;lt;% imposto(35) %&amp;gt; &lt;br /&gt;&amp;lt;br&amp;gt;&lt;br /&gt;Um sapato de
$60,00 terá um preço final de &amp;lt;% imposto(60) %&amp;gt;&lt;br /&gt;&amp;lt;br&amp;gt;&lt;br /&gt;Um
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;CD&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
de música de $20,00 custaria &amp;lt;% imposto(20) %&amp;gt;
&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;BODY&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;HTML&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/1878962531165676573/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/criando-funcoes-em-cf-e-em-asp.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/1878962531165676573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/1878962531165676573'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/criando-funcoes-em-cf-e-em-asp.html' title='Criando Funções em CF e em ASP'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-3409240201105139828</id><published>2014-04-30T07:45:00.001-07:00</published><updated>2014-04-30T07:45:38.716-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="cfloop"/><category scheme="http://www.blogger.com/atom/ns#" term="cfoutput"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="for"/><category scheme="http://www.blogger.com/atom/ns#" term="loop"/><category scheme="http://www.blogger.com/atom/ns#" term="movenext"/><category scheme="http://www.blogger.com/atom/ns#" term="next"/><category scheme="http://www.blogger.com/atom/ns#" term="response"/><category scheme="http://www.blogger.com/atom/ns#" term="until"/><category scheme="http://www.blogger.com/atom/ns#" term="while"/><category scheme="http://www.blogger.com/atom/ns#" term="write"/><title type='text'>Fazendo loops em ColdFusion e em ASP</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;CF&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
para realizar um loop podemos fazer usando a tag
&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
ou a tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfloop&amp;gt;&amp;lt;/cfloop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;A tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
pode ser usada para apresentar dados de uma consulta, itens de uma
lista, etc. Lembrando que é sempre para apresentar dados na tela.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Ex.:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfquery name=”q_noticia”
datasource=”lucasmarcal”&amp;gt;&lt;br /&gt;SELECT *&lt;br /&gt;FROM noticia&lt;br /&gt;ORDER
BY id_noticia&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput query=”#q_noticia#”&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; Código da notícia =
#id_noticia#&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; Notícia &amp;lt;textarea rows=”5”
cols=”10”&amp;gt;#descricao#&amp;lt;/textarea&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;br /&amp;gt;&amp;lt;hr /&amp;gt;&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Com a tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfloop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
é possível fazer loops que não serão apresentados na tela mas ele
pode ser usado dentro de uma tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
normalmente de acordo com a necessidade, o exemplo acima fica assim:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfquery name=”q_noticia”
datasource=”lucasmarcal”&amp;gt;&lt;br /&gt;SELECT *&lt;br /&gt;FROM noticia&lt;br /&gt;ORDER
BY id_noticia&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;cfloop query=”#q_noticia#”&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 2.25cm; margin-top: 0.21cm; text-indent: 0.25cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Código da notícia =
#id_noticia#&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  Notícia &amp;lt;textarea rows=”5”
cols=”10”&amp;gt;#descricao#&amp;lt;/textarea&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;br /&amp;gt;&amp;lt;hr /&amp;gt;&amp;lt;br
/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;/cfloop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Outro exemplo é:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset lista =
“1,a,2,b,3,c,4,d,5”&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;cfloop list=”#lista#”
delimiters=”,” index=”i” step=”2”&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  Número #i#&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;/cfloop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;No loop acima só os números
serão apresentados.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
As tags podem ser usadas separadas, a tag cfoutput apresenta o conteúdo de todas as variáveis que estiverem dentro dela na tela e a tag cfloop não.&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
usamos as funções&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;FOR
ou Do While ou While ou Do Until&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
e para apresentar os dados continua da mesma forma, vou apresentar
alguns exemplos abaixo.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim Inicio, Fim&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Inicio = 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Fim = 10&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;For i = Inicio to Fim&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;call EnviaEmail(&quot;&amp;amp;rs(i)&amp;amp;&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;---------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim Inicio, Fim&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Inicio = 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Fim = 10&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Do until Inicio = Fim&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;call EnviaEmail(&quot;&amp;amp;rs(&quot;email&quot;)&amp;amp;&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;rs.MoveNext&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Inicio = Inicio + 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Loop&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;--------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim Inicio, Fim&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Inicio = 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Fim = 10&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;While not Inicio = Fim&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;call EnviaEmail(&quot;&amp;amp;rs(&quot;email&quot;)&amp;amp;&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;rs.MoveNext&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Wend&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;-------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim i&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;response.write &quot;&amp;lt;b&amp;gt;Contando
numeros de 1 a 50:&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;For i = 1 to 50&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;response.write i &amp;amp; &quot;&amp;lt;br&amp;gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim x&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;x = 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Do until x = 50&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;response.write x &amp;amp; &quot;&amp;lt;br&amp;gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;x = x + 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Loop&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/3409240201105139828/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/fazendo-loops-em-coldfusion-e-em-asp.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3409240201105139828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3409240201105139828'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/fazendo-loops-em-coldfusion-e-em-asp.html' title='Fazendo loops em ColdFusion e em ASP'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-3666666882889599980</id><published>2014-04-30T07:32:00.001-07:00</published><updated>2014-04-30T07:32:41.661-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adodb"/><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="banco"/><category scheme="http://www.blogger.com/atom/ns#" term="cfquery"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="connection"/><category scheme="http://www.blogger.com/atom/ns#" term="createobject"/><category scheme="http://www.blogger.com/atom/ns#" term="dados"/><category scheme="http://www.blogger.com/atom/ns#" term="nothing"/><category scheme="http://www.blogger.com/atom/ns#" term="response"/><category scheme="http://www.blogger.com/atom/ns#" term="server"/><category scheme="http://www.blogger.com/atom/ns#" term="set"/><category scheme="http://www.blogger.com/atom/ns#" term="write"/><title type='text'>Acessando Banco de Dados em CF e em ASP</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Para acessar o banco de dados no
&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;coldfusion&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
é muito simples. Uma vez que no Administrador ele esteja devidamente
configurado então apenas usamos a tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfquery&amp;gt;&amp;lt;/cfquery&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
para fazer a conexão e dentro dela usamos SQL normalmente para fazer
oque desejamos. Essa tag hoje em dia não é mais usada para acessar
o banco direto no código, normalmente quando há essa necessidade
ela fica dentro de uma função, ou um componente fora da página.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfquery name=”q_noticia”
datasource=”lucasmarcal”&amp;gt;&lt;br /&gt;SELECT *&lt;br /&gt;FROM noticia&lt;br /&gt;ORDER
BY id_noticia&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;
ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt; não tem
Administrador para configurar, as configurações são feitas no
arquivo &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;global.asa&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
que eu quase não vejo em aplicações ASPs por aí pelas empresas da
vida... Grandes empresas principalmente, mas a string de conexão eu
sempre vejo que ela normalmente é feita num arquivo abrir.asp que
fica como include no início dos arquivos e um arquivo fechar.asp
fecha a conexão no fim dos arquivos.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;1.Iniciando a conexão&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Primeiro
nós temos que criar o objeto de conexão para que possamos manipular
o banco de dados. O nome dele é ADODB.Connection e devemos
declará-lo assim no ASP:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;Set conexao =
Server.CreateObject(&quot;ADODB.Connection&quot;)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;2.Abrindo a conexão&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Agora
que já temos o objeto, podemos abrir a conexão de fato e deixá-la
pronta para abrir o objeto Recordset:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;conexao.Open
&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=&quot;&amp;amp;Server.MapPath(&quot;test_db.mdb&quot;)&amp;amp;&quot;;&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3.Iniciando a
consulta&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Agora
vamos iniciar a consulta, o objeto é ADODB.Recordset:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Set add_action =
Server.CreateObject (&quot;ADODB.Recordset&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4.Montando a string com o
SQL que vai fazer a consulta&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;strSQL
= “select * from tabela”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5.Abrindo a consulta&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;add_action.Open(“strSQL”,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;conexao,3,3&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;6.Fechando o RecordSet e a
conexão&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;add_action.Close&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;conexao.Close&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;7.Eliminando os Objetos
criados&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Set
add_action = Nothing&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Set
conexao = Nothing&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;Set
conexao = Server.CreateObject(&quot;ADODB.Connection&quot;)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;conexao.Open
&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=&quot;&amp;amp;Server.MapPath(&quot;test_db.mdb&quot;)&amp;amp;&quot;;&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Set
add_action = Server.CreateObject (&quot;ADODB.Recordset&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;strSQL
= “select * from tabela”&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;add_action.Open(“strSQL”,&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;conexao,3,3&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Total
= add_action.RecordCount&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Response.Write(Total)&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;add_action.Close&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;conexao.Close&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Set
add_action = Nothing&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Set
conexao = Nothing&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/3666666882889599980/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/acessando-banco-de-dados-em-cf-e-em-asp.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3666666882889599980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3666666882889599980'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/acessando-banco-de-dados-em-cf-e-em-asp.html' title='Acessando Banco de Dados em CF e em ASP'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-7930470309578321959</id><published>2014-04-30T07:27:00.000-07:00</published><updated>2014-04-30T07:27:01.822-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adm"/><category scheme="http://www.blogger.com/atom/ns#" term="administrador"/><category scheme="http://www.blogger.com/atom/ns#" term="administrator"/><category scheme="http://www.blogger.com/atom/ns#" term="banco"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="dados"/><title type='text'>Configurando o Bando de Dados no ADM Cold Fusion</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Quando você instala o CF ele
cria uma parte de administração onde são configurados, acessos,
permissões, banco de dados, portas, etc. Para mais informações
acesse: http://www.mxstudio.com.br/&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Abra
o administrador do coldfusion e indique o banco de dados que você
criou.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEg3P3j1teXbicOJLKNtDRit0D5_-9aop-AQioAVuBD0uIZZuDZoqTJdQs59UPQRxIzKkHXOzX1KjzJWdTNZH_Dv6YLZObfOQuRJpasuReWvJUOkh7BZFEvsMFeCePStkfwiKofRYusUEq/s1600/ADM_BD.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEg3P3j1teXbicOJLKNtDRit0D5_-9aop-AQioAVuBD0uIZZuDZoqTJdQs59UPQRxIzKkHXOzX1KjzJWdTNZH_Dv6YLZObfOQuRJpasuReWvJUOkh7BZFEvsMFeCePStkfwiKofRYusUEq/s1600/ADM_BD.jpg&quot; height=&quot;163&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/7930470309578321959/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/configurando-o-bando-de-dados-no-adm.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/7930470309578321959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/7930470309578321959'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/configurando-o-bando-de-dados-no-adm.html' title='Configurando o Bando de Dados no ADM Cold Fusion'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEg3P3j1teXbicOJLKNtDRit0D5_-9aop-AQioAVuBD0uIZZuDZoqTJdQs59UPQRxIzKkHXOzX1KjzJWdTNZH_Dv6YLZObfOQuRJpasuReWvJUOkh7BZFEvsMFeCePStkfwiKofRYusUEq/s72-c/ADM_BD.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-3213796222900847370</id><published>2014-04-30T07:19:00.002-07:00</published><updated>2014-04-30T07:19:46.715-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="cfoutput"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="form"/><category scheme="http://www.blogger.com/atom/ns#" term="response"/><category scheme="http://www.blogger.com/atom/ns#" term="variables"/><category scheme="http://www.blogger.com/atom/ns#" term="variavel"/><category scheme="http://www.blogger.com/atom/ns#" term="write"/><title type='text'>Apresentando Informações na Tela em CF e em ASP</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Coldfusion&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
para apresentarmos uma informação ou um bloco de dados na tela
usamos a tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;,
ela é usada quando queremos apresentar algo do CF na tela.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Exemplo:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;#variables.teste#&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;A linha acima vai apresentar na
tela o conteúdo da variável local teste.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Exemplo:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;form name=&quot;frmRelatorio&quot;
id=&quot;frmRelatorio&quot; method=&quot;post&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;input type=&quot;hidden&quot;
name=&quot;quantidade_registros&quot; id=&quot;quantidade_registros&quot;
value=&quot;#form.quantidade_registros#&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;input type=&quot;hidden&quot;
name=&quot;pagina&quot; id=&quot;pagina&quot; value=&quot;#form.pagina#&quot;
/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;table cellpadding=&quot;0&quot;
cellspacing=&quot;0&quot; class=&quot;tabela_form&quot; width=&quot;100%&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;tr&amp;gt;&amp;lt;td colspan=&quot;4&quot;
class=&quot;titulo_form&quot;&amp;gt;Relatório&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;tr&amp;gt;&amp;lt;td
colspan=&quot;4&quot;&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;tr&amp;gt; &amp;lt;td
class=&quot;form_label&quot;&amp;gt;Período:&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;td class=&quot;&quot;
colspan=&quot;3&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 5cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;input type=&quot;text&quot;
name=&quot;data_ini&quot; id=&quot;data_ini&quot;
value=&quot;#form.data_ini#&quot; size=&quot;10&quot; maxlength=&quot;10&quot;
readonly=” readonly”&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 5cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;amp;nbsp; a &amp;amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;     &amp;lt;input type=&quot;text&quot;
name=&quot;data_fim&quot; id=&quot;data_fim&quot;
value=&quot;#form.data_fim#&quot; size=&quot;10&quot; maxlength=&quot;10&quot;
readonly=” readonly”&amp;gt; &amp;amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 5cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;input type=&quot;submit&quot;
id=&quot;btnPesq&quot; value=&quot;Relatório&quot;
class=&quot;input_button&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;/table&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;/form&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;No código acima todas as
variáveis do CF serão apresentadas na tela.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em ASP para apresentar informação
na tela usamos &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Response.Write&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;.
Diferente do Coldfusion o &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Response.Write&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
é usado entre &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%
e %&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;.
Podemos escrever uma variável na tela também assim: &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%=
variável %&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Exemplos:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Apresentando uma informação
qualquer na tela.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%Response.Write(“Meu
primeiro acesso”)%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Apresentando o conteúdo de uma
variável na tela.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%
teste = “Meu primeiro acesso”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Response.Write(teste)%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Ou &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%=teste%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;,
neste caso se a variável existe.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;O mesmo exemplo de formulário de
cima.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;form name=&quot;frmRelatorio&quot;
id=&quot;frmRelatorio&quot; method=&quot;post&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;input type=&quot;hidden&quot;
name=&quot;quantidade_registros&quot; id=&quot;quantidade_registros&quot;
value=&quot;&amp;lt;%Response.Write(form.quantidade_registros)%&amp;gt;&quot;
/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;input type=&quot;hidden&quot;
name=&quot;pagina&quot; id=&quot;pagina&quot;
value=&quot;&amp;lt;%Response.Write(form.pagina)%&amp;gt;&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;table cellpadding=&quot;0&quot;
cellspacing=&quot;0&quot; class=&quot;tabela_form&quot; width=&quot;100%&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;tr&amp;gt;&amp;lt;td colspan=&quot;4&quot;
class=&quot;titulo_form&quot;&amp;gt;Relatório&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;tr&amp;gt;&amp;lt;td colspan=&quot;4&quot;&amp;gt;&amp;lt;br
/&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;tr&amp;gt;&amp;lt;td
class=&quot;form_label&quot;&amp;gt;Período:&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;td class=&quot;&quot;
colspan=&quot;3&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 3.75cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;input type=&quot;text&quot;
name=&quot;data_ini&quot; id=&quot;data_ini&quot;
value=&quot;&amp;lt;%Response.Write(form.data_ini)%&amp;gt;&quot; size=&quot;10&quot;
maxlength=&quot;10&quot; readonly=” readonly”&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 3.75cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;amp;nbsp; a &amp;amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;    &amp;lt;input type=&quot;text&quot;
name=&quot;data_fim&quot; id=&quot;data_fim&quot;
value=&quot;&amp;lt;%Response.Write(form.data_fim)%&amp;gt;&quot; size=&quot;10&quot;
maxlength=&quot;10&quot; readonly=” readonly”&amp;gt; &amp;amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 3.75cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;input type=&quot;button&quot;
id=&quot;btnPesq&quot; value=&quot;Relatório&quot;
class=&quot;input_button&quot; onClick=&quot;relatorio(1);&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;   &amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  &amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &amp;lt;/table&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/3213796222900847370/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/apresentando-informacoes-na-tela-em-cf.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3213796222900847370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3213796222900847370'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/apresentando-informacoes-na-tela-em-cf.html' title='Apresentando Informações na Tela em CF e em ASP'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-8646320896747967665</id><published>2014-04-30T07:12:00.001-07:00</published><updated>2014-04-30T07:12:35.642-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="cfparam"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="IsDefined"/><category scheme="http://www.blogger.com/atom/ns#" term="padrao"/><category scheme="http://www.blogger.com/atom/ns#" term="valor"/><category scheme="http://www.blogger.com/atom/ns#" term="variables"/><category scheme="http://www.blogger.com/atom/ns#" term="variavel"/><title type='text'>Definindo Valores Padrões para Variáveis</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Muitas vezes precisamos ficar
passando as variáveis de um lado para o outro e é chato ficar tendo
que verificar se uma variável existe ou não a todo o tempo.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;No &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;CF&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
a tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfparam&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
é usada para definir um valor padrão para uma variável, assim não
precisamos ficar usando o &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;IsDefined()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
toda hora para verificar se uma variável existe para usá-la.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Seu uso é muito simples:
&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfparam
name=”escopo.nome da variável” default=”Valor padrão”&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
O default pode ser vazio, ou seja, default=””.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Fica assim: &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfparam
name=”url.nome” default=””&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
você pode verificar se a variável existe, mas para deixar um valor
padrão basta nas primeiras linhas você informar este valor.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Ex.:&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%teste
= “”%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
Estou criando a variável teste e o valor dela será vazio. Se ela
não for usada desse ponto para a frente então o valor dela
continuará vazio.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/8646320896747967665/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/definindo-valores-padroes-para-variaveis.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/8646320896747967665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/8646320896747967665'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/definindo-valores-padroes-para-variaveis.html' title='Definindo Valores Padrões para Variáveis'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-181354826788884122</id><published>2014-04-30T07:04:00.001-07:00</published><updated>2014-04-30T07:07:57.514-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="if"/><category scheme="http://www.blogger.com/atom/ns#" term="IsDefined"/><category scheme="http://www.blogger.com/atom/ns#" term="trim"/><category scheme="http://www.blogger.com/atom/ns#" term="url"/><category scheme="http://www.blogger.com/atom/ns#" term="variables"/><category scheme="http://www.blogger.com/atom/ns#" term="variavel"/><title type='text'>Verificando a existência de uma Variável em CF e em ASP</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Para saber se uma variável
existe usamos a função &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;IsDefined(“variável”)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
em &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;ColdFusion&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em muitos casos as aplicações
passam variáveis de um lado para o outro e se essas não forem
identificadas o ColdFusion gera um erro padrão. Para evitar isso
usamos a função &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;IsDefined(“variável”)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
que retorna &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;i&gt;&lt;b&gt;Verdadeiro&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
ou &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;i&gt;&lt;b&gt;Falso&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Se você tem uma variável local
chamada variables.nome e outra passada pela url com o mesmo nome
(&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;i&gt;url.nome&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;)
e a variável url.nome não for informada na URL, na hora de você
usar esta variável o CF não vai identificá-la e não vai chegar
nem perto de usar a variável local. Vai gerar um erro informando que
a variável não existe. Para isso não acontecer verificamos então
se a variável url.nome existe da seguinte forma:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfif IsDefined(“url.nome”)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1.25cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;#url.nome#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;/cfif&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
se a variável não for informada não será feito nada, só vai
apresentar erro se você estiver usando ela, por exemplo, fazer uma
comparação numa consulta ao banco de dados.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%=#url.nome#%&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Wingdings;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Se
a variável não existir não vai aparecer nada&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%SQL = “select * from tabela
where campo = ” &amp;amp; #url.nome#%&amp;gt;&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Se
a variável não existir ou estiver vazia vai gerar um erro.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Para evitar o erro acima a
variável precisa ser tratada e não é muito diferente do
ColdFusion.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%If Trim(url.nome) = “”
then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; MsgErro = “O nome está vazio.”&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1.25cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQL = “select * from tabela
where campo = ” &amp;amp; #url.nome#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;End if&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/181354826788884122/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/verificando-existencia-de-uma-variavel.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/181354826788884122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/181354826788884122'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/verificando-existencia-de-uma-variavel.html' title='Verificando a existência de uma Variável em CF e em ASP'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-1200854660499902925</id><published>2014-04-30T06:52:00.001-07:00</published><updated>2014-04-30T06:52:48.109-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="application"/><category scheme="http://www.blogger.com/atom/ns#" term="asp"/><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="cookie"/><category scheme="http://www.blogger.com/atom/ns#" term="criar"/><category scheme="http://www.blogger.com/atom/ns#" term="declara"/><category scheme="http://www.blogger.com/atom/ns#" term="escopo"/><category scheme="http://www.blogger.com/atom/ns#" term="explicit"/><category scheme="http://www.blogger.com/atom/ns#" term="form"/><category scheme="http://www.blogger.com/atom/ns#" term="lock"/><category scheme="http://www.blogger.com/atom/ns#" term="method"/><category scheme="http://www.blogger.com/atom/ns#" term="obj"/><category scheme="http://www.blogger.com/atom/ns#" term="option"/><category scheme="http://www.blogger.com/atom/ns#" term="request"/><category scheme="http://www.blogger.com/atom/ns#" term="response"/><category scheme="http://www.blogger.com/atom/ns#" term="session"/><category scheme="http://www.blogger.com/atom/ns#" term="url"/><category scheme="http://www.blogger.com/atom/ns#" term="variables"/><category scheme="http://www.blogger.com/atom/ns#" term="variavel"/><title type='text'>Criando uma Variável em ColdFusion e em ASP</title><content type='html'>&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Em ColdFusion&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
para criarmos uma variável usamos a tag &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;,
com ela podemos criar variáveis estáticas e dinâmicas. Em
coldFusion podemos usar os escopos de variáveis na criação para
nos ajudar com a identificação delas.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Ex.:&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
variables.teste = “teste”&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;A variável que acabamos de criar
recebe uma string mas pode receber o conteúdo de outra variável,
por exemplo.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
variables.teste1 = teste&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;A variável acima recebe o
conteúdo da variável teste, podemos também formatar o conteúdo de
uma variável, por exemplo, se a variável for uma data, então
temos.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
variables.data = LsDateFormat(now(),&#39;dd/mm/yyyy&#39;) &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;A variável acima está recebendo
a data local formatada em Dia/Mês/Ano&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
variables.Dia = NumberFormat(DatePart(“d”,variables.data),”00”)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
variables.Mes = NumberFormat(DatePart(“m”,variables.data),”00”)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;cfset
variables.Ano = DatePart(“y”,variables.data)&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Os Escopos de variáveis são:&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
   &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Variables&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;:
   Usado para identificar variáveis locais&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
   &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;URL&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;:
   Usado para identificar variáveis passadas pela URL ou QueryString
   ou quando é usado o método GET no formulário.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
   &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Form&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;:
   Usado para identificar variáveis passadas pelo formulário usando
   o método POST.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
   &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Cookie&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;:
   Usado para guardar informações temporárias no computador do
   usuário. Não é seguro para controle de login.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
   &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Session&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;:
   Usado para indentificar as variáveis da sessão do usuário
   durante o período de navegação.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm;&quot;&gt;
   &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Application&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;:
   Usado para identificar as variáveis usadas pela aplicação.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Em&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;
ASP &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;os escopos de
variáveis são vistos como 5 objetos básicos (Application, Session,
Request, Response, Server)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;b&gt;1-)
O Objeto Application&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;O objeto
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;i&gt;Application&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
pode ser usado para compartilhar informações entre todos os
usuários de&lt;br /&gt;uma determinado aplicativo. O aplicativo é definido
como todos os arquivos .asp dentro do&lt;br /&gt;diretório virtual e seus
subdiretórios.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt;Sintaxe:
Application.method&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;br /&gt;O
objeto &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;i&gt;Application&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
tem dois métodos, chamados &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Lock
e Unlock&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;.
Como os dados são compartilhados&lt;br /&gt;entre os usuários, esses
métodos permitem que você bloqueie e desbloqueie efetivamente o
acesso&lt;br /&gt;ao objeto aplicativo, enquanto aplica alterações em suas
variáveis.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Lock&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
não permite que outros clientes modifiquem as propriedades do objeto
Application.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Unlock&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
permite que outros usuários modifiquem as propriedades do objeto
Application.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Ele também
permite que sejam criadas variáveis que estarão disponíveis para
todos os usuários ao acessarem sua aplicação.Exemplo:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;dl&gt;
 &lt;dd&gt;
 &lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; cellspacing=&quot;3&quot; style=&quot;width: 536px;&quot;&gt;
  &lt;colgroup&gt;&lt;col width=&quot;171&quot;&gt;&lt;/col&gt;
  &lt;col width=&quot;350&quot;&gt;&lt;/col&gt;
  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr&gt;
   &lt;td width=&quot;171&quot;&gt;
    &lt;div class=&quot;western&quot; style=&quot;margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Application.Lock&lt;br /&gt;Application(&quot;nome&quot;)=
    &quot;Jose&quot;&lt;br /&gt;Application.Unlock&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;td width=&quot;350&quot;&gt;
    &lt;div class=&quot;western&quot; style=&quot;margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Lock&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
    bloqueia a aplicação e &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Unlock
    &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;desbloqueia
    a aplicação durante uma atualização.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt;Eventos&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;O objeto
Application possui os eventos :&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;
OnStart e OnEnd &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;e
são utilizados no arquivo Global.asa e são chamados apenas uma
única vez.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;OnStart
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;-
entra em funcionamento quando a solicitação do primeiro cliente é
atendida.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;OnEnd &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;-
É ativada quando a aplicação ASP é descarregada do servidor ou
quando a aplicação é interrompida.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Em ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
a montagem de variáveis é feita sem a necessidade de informar o
escopo e se ela não existir ou estiver vazia será ignorada a
princípio.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Ex.:&lt;/b&gt;&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%teste
= “teste” %&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%teste1 = #teste# %&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%strData =
FormatDateTime(Now())&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;strDia = Day(strData)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;If Len(strDia) = 1 Then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; strDia = “0” &amp;amp; strDia&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;strMes = Month(strData)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;If Len(strMes) = 1 Then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; strMes = “0” &amp;amp; strMes&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;strAno = Year(strData)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-top: 0.21cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Mas em ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;
existe uma maneira de obrigar a declaração das variáveis antes de
usá-las com o comando “Option Explicit”. Ele força a declaração
(com Dim, Private, Public ou ReDim) de todas as variáveis usadas no
script, antes de serem utilizadas. Deve ser colocado no script antes
de qualquer outra instrução. Qualquer tentativa de usar uma
variável não declarada ocasionará um erro. A declaração de
variáveis antes de usá-las faz com que o script seja executado mais
rapidamente.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Utilizando Option Explicit, além
de melhorar a performance das páginas você detectará erros de
digitação imediatamente, evitando horas de depuração de código
para descobrir que o problema era uma variável com alguma letra
trocada.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%option explicit&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim variavel1, variavel2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Em ASP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;para
verificar um tipo de variável usamos a função &lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;VarType()&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dim x&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;response.write &quot;Tipo: &quot;
&amp;amp; VarType(x) &amp;amp; &quot;&amp;lt;br /&amp;gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;x = 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;response.write &quot;x=&quot; &amp;amp;
x &amp;amp; &quot;Tipo: &quot; &amp;amp; VarType(x) &amp;amp; &quot;&amp;lt;br /&amp;gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;x = &quot;texto&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;response.write &quot;x=&quot; &amp;amp;
x &amp;amp; &quot;Tipo: &quot; &amp;amp; VarType(x) &amp;amp; &quot;&amp;lt;br /&amp;gt;&amp;lt;br
/&amp;gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-indent: 1cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Resultado:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;Tipo: 0&lt;br /&gt;x=1Tipo:
2&lt;br /&gt;x=textoTipo: 8&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;b&gt;Explicando:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm; margin-left: 1cm; margin-top: 0.21cm;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;0 = vbEmpty - Indicates Empty
(uninitialized) &lt;br /&gt;1 = vbNull - Indicates Null (no valid data) &lt;br /&gt;2
= vbInteger - Indicates an integer &lt;br /&gt;3 = vbLong - Indicates a long
integer &lt;br /&gt;4 = vbSingle - Indicates a single-precision
floating-point number &lt;br /&gt;5 = vbDouble - Indicates a double-precision
floating-point number &lt;br /&gt;6 = vbCurrency - Indicates a currency &lt;br /&gt;7
= vbDate - Indicates a date &lt;br /&gt;8 = vbString - Indicates a string &lt;br /&gt;9
= vbObject - Indicates an automation object &lt;br /&gt;10 = vbError -
Indicates an error &lt;br /&gt;11 = vbBoolean - Indicates a boolean &lt;br /&gt;12 =
vbVariant - Indicates a variant (used only with arrays of Variants)
&lt;br /&gt;13 = vbDataObject - Indicates a data-access object &lt;br /&gt;17 =
vbByte - Indicates a byte &lt;br /&gt;8192 = vbArray - Indicates an array&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/1200854660499902925/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/criando-uma-variavel-em-coldfusion-e-em.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/1200854660499902925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/1200854660499902925'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/04/criando-uma-variavel-em-coldfusion-e-em.html' title='Criando uma Variável em ColdFusion e em ASP'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-3234147694372665574</id><published>2014-01-23T03:19:00.002-08:00</published><updated>2014-01-23T03:19:24.132-08:00</updated><title type='text'>Google no topo.</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://info.abril.com.br/images/materias/2014/01/thumbs/thumb-110114-google-resized.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://info.abril.com.br/images/materias/2014/01/thumbs/thumb-110114-google-resized.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Google

Posição no ranking: 1º lugar

Número de funcionários nos EUA: 42,162

Funcionários fora dos EUA: não informado

Novas contratações em um ano: 4,236

Crescimento na oferta de emprego em um ano: 20.1%

Receita anual: 50,175 milhões de dólares.</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/3234147694372665574/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/google-no-topo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3234147694372665574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3234147694372665574'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/google-no-topo.html' title='Google no topo.'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-3884430892298513142</id><published>2014-01-16T03:43:00.001-08:00</published><updated>2014-01-16T03:43:51.660-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="carreira"/><category scheme="http://www.blogger.com/atom/ns#" term="emprego"/><category scheme="http://www.blogger.com/atom/ns#" term="linkedin"/><title type='text'> LinkedIn cria página para busca por trabalhos voluntários</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://info.abril.com.br/images/materias/2014/01/thumbs/160139-linkedin.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://info.abril.com.br/images/materias/2014/01/thumbs/160139-linkedin.jpg&quot; height=&quot;154&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O LinkedIn anunciou uma nova página em seu serviço que permite aos 
usuários buscar por oportunidades de trabalho voluntário e 
filantrópico.&lt;br /&gt;
&lt;br /&gt;


Por meio do novo canal &lt;a href=&quot;http://blog.linkedin.com/2014/01/15/the-linkedin-volunteer-marketplace-connecting-professionals-to-nonprofit-volunteer-opportunities/&quot; target=&quot;_blank&quot;&gt;Volunteer Marketplace&lt;/a&gt;, os membros do LinkedIn poderão encontrar oportunidades para trabalhar com organizações de caridade.&lt;br /&gt;
&lt;br /&gt;
Os usuários poderão também indicar em seus perfis que gostariam de 
participar do conselho de uma organização sem fins lucrativos ou mesmo 
realizar algum trabalho voluntário.&lt;br /&gt;
&lt;br /&gt;


Quando um membro do LinkedIn realizar alguma atividade voluntária a 
partir da Volunteer Marketplace, a organização dará um feedback no 
perfil do usuário.&lt;br /&gt;
&lt;br /&gt;


Inicialmente a busca por trabalhos voluntários contará com 500 vagas,
 mas o LinkedIn pretende incluir mais oportunidades ao longo das 
próximas semanas.&lt;br /&gt;
&lt;br /&gt;


As organizações podem registrar uma vaga normalmente no serviço, mas 
seu custo será de apenas 10% dos valores dos trabalhos remunerados, que 
custam entre 20 e 40 dólares.&lt;br /&gt;
&lt;br /&gt;
Fonte: http://info.abril.com.br/noticias/mercado/2014/01/linkedin-cria-pagina-para-busca-por-trabalhos-voluntarios.shtml &lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/3884430892298513142/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/linkedin-cria-pagina-para-busca-por.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3884430892298513142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/3884430892298513142'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/linkedin-cria-pagina-para-busca-por.html' title=' LinkedIn cria página para busca por trabalhos voluntários'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-5344181606803256034</id><published>2014-01-13T12:39:00.002-08:00</published><updated>2014-01-13T12:41:49.446-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aeroporto"/><category scheme="http://www.blogger.com/atom/ns#" term="air"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="passage"/><category scheme="http://www.blogger.com/atom/ns#" term="port"/><title type='text'> Google trabalha em serviço para compra de passagens aéreas</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://media.contadd.com/Images/sp.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://media.contadd.com/Images/sp.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://media.contadd.com/Images/sp.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://media.contadd.com/Images/sp.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
O &lt;a href=&quot;http://info.abril.com.br/topicos/google/&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Google&lt;/b&gt;&lt;/a&gt;
 está trabalhando em uma nova ferramenta de comparação de preços e 
compra de passagens aéreas que “irá surpreender a todos no mercado”, 
segundo o presidente da companhia aérea Ryanair.&lt;br /&gt;
Em entrevista ao jornal irlandês &lt;a href=&quot;http://www.independent.ie/business/irish/oleary-reveals-ryanairgoogle-plan-to-change-how-we-buy-tickets-forever-29907730.html&quot; target=&quot;_blank&quot;&gt;Sunday Independent&lt;/a&gt;,
 Michael O’Leary, presidente da Ryanair, disse que a empresa está 
ajudando o Google a desenvolver uma nova ferramenta para compra de 
passagens.&lt;br /&gt;
&lt;br /&gt;
A Ryanair vem compartilhando seus preços com o Google, que desenvolve
 um serviço que irá exibir tarifas com valores atualizados e direcionar 
os consumidores aos canais de compra das companhias aéreas.&lt;br /&gt;
&lt;br /&gt;
“O Google, sendo quem é, quer mostrar todos os preços de todas as 
companhias aéreas disponíveis. Eles não querem nos cobrar também, já que
 fazem seu capital por meio de publicidade”, disse O’Leary.&lt;br /&gt;
&lt;br /&gt;
Segundo o executivo, o Google pretende criar um banco de dados sem 
limitações e que traga todas as rotas e companhias aéreas do mercado. A 
ideia é facilitar a busca pela tarifa mais baixa.&lt;br /&gt;
&lt;br /&gt;
Além da parceria com o Google, a Ryanair também trabalha para 
incorporar mais tecnologia em seus serviços. Conhecida como uma das 
companhias aéreas mais baratas da Europa, a empresa pretende implementar
 pagamentos móveis dentro de cinco anos para a compra de produtos 
durante os voos.&lt;br /&gt;
&lt;br /&gt;
fonte:&amp;nbsp;&lt;a href=&quot;http://info.abril.com.br/noticias/mercado/2014/01/google-trabalha-em-servico-para-compra-de-passagens-aereas.shtml&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;info&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/5344181606803256034/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/google-trabalha-em-servico-para-compra.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/5344181606803256034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/5344181606803256034'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/google-trabalha-em-servico-para-compra.html' title=' Google trabalha em serviço para compra de passagens aéreas'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-2068609655040846919</id><published>2014-01-13T12:31:00.002-08:00</published><updated>2014-01-13T12:32:24.224-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="banco"/><category scheme="http://www.blogger.com/atom/ns#" term="computacao"/><category scheme="http://www.blogger.com/atom/ns#" term="dados"/><category scheme="http://www.blogger.com/atom/ns#" term="dropbox"/><category scheme="http://www.blogger.com/atom/ns#" term="nuvem"/><title type='text'> Bug em update de banco de dados causou instabilidade no Dropbox</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://info.abril.com.br/images/materias/2014/01/thumbs/thumb-34432130159-dropbox-resized.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://info.abril.com.br/images/materias/2014/01/thumbs/thumb-34432130159-dropbox-resized.jpg&quot; height=&quot;214&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
O serviço de armazenamento na nuvem &lt;a href=&quot;http://info.abril.com.br/tags/dropbox&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Dropbox&lt;/b&gt;&lt;/a&gt;
 ficou instável para muitos usuários neste último fim de semana. E os 
problemas não tiveram nada a ver com invasões de crackers ou&lt;a href=&quot;http://info.abril.com.br/noticias/seguranca/2014/01/dropbox-fica-fora-do-ar-e-hackers-se-dizer-responsaveis-por-ataque.shtml&quot; target=&quot;_blank&quot;&gt; ataques DDoS&lt;/a&gt;, mas sim com um bug na atualização do SO dos servidores, como explica &lt;a href=&quot;https://tech.dropbox.com/2014/01/outage-post-mortem/&quot; target=&quot;_blank&quot;&gt;um post do engenheiro&lt;/a&gt; e chefe de infraestrutura Akhil Gupta no Dropbox Tech Blog.&lt;br /&gt;
&lt;br /&gt;
De acordo com o texto, tudo começou com uma manutenção agendada feita
 pela equipe do serviço na tarde de sexta-feira. Nela, seria atualizado o
 sistema operacional de algumas das máquinas que funcionam como bancos 
de dados. Tudo seria auxiliado por um script de upgrade, que confere se 
não há dados ativos em cada computador antes de iniciar a atualização.&lt;br /&gt;
&lt;br /&gt;
O problema é que, como explica o texto, “um bug súbito no script fez 
com que o processo fosse feito em um pequeno número de máquinas ativas”.
 Na teoria, isso não seria o suficiente para derrubar o serviço – o 
Dropbox conta com milhares de bancos de dados, e cada um possui três 
máquinas, sendo uma “mestra” (Master) e outras duas “escravas” (Slaves),
 para redundância. Só que a falha acabou por afetar grupos inteiros, 
“matando” o serviço.&lt;br /&gt;
&lt;br /&gt;
De acordo com Gupta, a equipe tentou restaurar o funcionamento 
recuperando os dados por backups. O sucesso foi relativo, já que a maior
 parte das funcionalidades voltou ao ar em cerca de três horas. No 
entanto, “a extensão de alguns bancos de dados atrasou a recuperação”, o
 que fez com que o processo só fosse concluído de fato na tarde de 
domingo.&lt;br /&gt;
&lt;br /&gt;
Apesar de a falha ter atingido servidores, o Dropbox garante que os 
documentos, fotos e vídeos dos usuários nunca estiveram em risco. “Esses
 bancos de dados não contêm informações de arquivos”, segundo o post do 
engenheiro. Eles são usados para fornecer recursos, “como o 
compartilhamento de álbuns, uploads da câmera e funcionalidades da API”.&lt;br /&gt;
&lt;br /&gt;
Gupta ainda usou o post para dizer que a falha não deverá se repetir.
 Uma camada extra de checagem foi adicionada ao processo de atualização,
 de forma que a situação das máquinas passará a ser verificado também 
localmente – assim, computadores com processos em execução por “recusar 
operações potencialmente destrutivas”.&lt;br /&gt;
&lt;br /&gt;
Mas caso isso não resolva e um acidente do tipo volte a acontecer, a 
equipe diz ter desenvolvido uma ferramenta que acelera a recuperação de 
backups MySQL. O código fonte dela&amp;nbsp;será liberada&amp;nbsp;para outras pessoas&amp;nbsp;em 
breve, segundo o engenheiro. Aliás, o&amp;nbsp;&lt;a href=&quot;https://blog.dropbox.com/2014/01/back-up-and-running/&quot; target=&quot;_blank&quot;&gt;Dropbox deve voltar a funcionar&lt;/a&gt;
 normalmente&amp;nbsp;ainda nesta segunda-feira, com exceção de alguns recursos 
de fotos, segundo a VP de engenharia do serviço&amp;nbsp;Aditya Agarwal.</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/2068609655040846919/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/bug-em-update-de-banco-de-dados-causou.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/2068609655040846919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/2068609655040846919'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/bug-em-update-de-banco-de-dados-causou.html' title=' Bug em update de banco de dados causou instabilidade no Dropbox'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-4108857818733434961</id><published>2014-01-10T03:03:00.001-08:00</published><updated>2014-01-10T03:04:15.035-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="galaxy"/><category scheme="http://www.blogger.com/atom/ns#" term="iris"/><category scheme="http://www.blogger.com/atom/ns#" term="s5"/><category scheme="http://www.blogger.com/atom/ns#" term="samsung"/><title type='text'> Galaxy S5 será lançado em abril e terá leitor de íris, diz site</title><content type='html'>A Samsung deve lançar o smartphone Galaxy S5 em abril e o dispositivo
 poderá incluir uma tecnologia para leitura da íris, segundo informações
 do site da Bloomberg.&lt;br /&gt;
&lt;br /&gt;
“Muitas pessoas são fanáticas pela tecnologia de reconhecimento da 
íris. Nós estamos estudando esta possibilidade”, disse Lee Young Hee, 
vice-presidente executivo da Samsung em &lt;a href=&quot;http://www.bloomberg.com/news/2014-01-09/samsung-plans-galaxy-s5-by-april-with-possible-eye-scan-security.html&quot; target=&quot;_blank&quot;&gt;entrevista&lt;/a&gt; a Bloomberg durante a feira CES. &lt;br /&gt;
&lt;br /&gt;
A executiva não revelou detalhes sobre o aparelho, mas mencionou os 
planos da empresa de “voltar ao básico”, com foco na tela do dispositivo
 e na qualidade de seu case.&lt;br /&gt;
&lt;br /&gt;
A Samsung costuma anunciar seus modelos topo de linha alguns dias 
antes da feira Mobile World Congress, que ocorre anualmente em meados de
 fevereiro na cidade de Barcelona.&lt;br /&gt;
Segundo a executiva, as vendas do Galaxy S5 podem ocorrer então entre os meses de março e abril.&lt;br /&gt;
&lt;br /&gt;
Além do Galaxy S5, a executiva confirmou que o lançamento do 
smartphone será acompanhado do anúncio da nova geração do relógio 
inteligente Galaxy Gear.&lt;br /&gt;
&lt;br /&gt;
“Quando lançarmos nosso Galaxy S5, vocês também poderão esperar pelo 
sucessor do Gear com funções mais avançadas e um novo e melhorado 
design”, disse.</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/4108857818733434961/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/galaxy-s5-sera-lancado-em-abril-e-tera.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/4108857818733434961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/4108857818733434961'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/galaxy-s5-sera-lancado-em-abril-e-tera.html' title=' Galaxy S5 será lançado em abril e terá leitor de íris, diz site'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-5336598747838824779</id><published>2014-01-06T12:14:00.002-08:00</published><updated>2014-01-06T12:14:07.595-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="acelerador"/><category scheme="http://www.blogger.com/atom/ns#" term="galaxy"/><category scheme="http://www.blogger.com/atom/ns#" term="s5"/><category scheme="http://www.blogger.com/atom/ns#" term="samsung"/><title type='text'> Samsung confirma apresentação do Galaxy S5 em fevereiro, diz site</title><content type='html'>Um executivo da Samsung confirmou nesta segunda-feira (6) a 
apresentação oficial do smartphone topo de linha Galaxy S5 para 
fevereiro, durante o Mobile World Congress, que acontece em Barcelona, 
Espanha, entre os dias 24 e 27.&lt;br /&gt;
&lt;br /&gt;
Dong-hoon Chang,&amp;nbsp;vice-presidente executivo da Samsung, informou ao site sul-coreano &lt;a href=&quot;http://news.inews24.com/php/news_view.php?g_serial=794997&amp;amp;g_menu=020800&amp;amp;mains=News&quot;&gt;&lt;i&gt;iNews24&lt;/i&gt;&lt;/a&gt;. Entretanto,&amp;nbsp;a publicação americana&amp;nbsp;&lt;a href=&quot;http://crave.cnet.co.uk/mobiles/samsung-confirms-galaxy-s5-will-launch-at-mwc-in-february-50013157/&quot;&gt;&lt;i&gt;CNET&lt;/i&gt;&lt;/a&gt;&amp;nbsp;entrou
 em contato com a empresa que não quis comentar o caso. Chang diz que 
ainda está &quot;sob análise&quot; se o novo aparelho terá tela curva, como o 
Galaxy Round, e carcaça de metal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O Galaxy S5 será o novo smartphone topo de linha da companhia, substituindo o &lt;a href=&quot;http://info.abril.com.br/reviews/smartphones/samsung-galaxy-s4.shtml&quot;&gt;Galaxy S4&lt;/a&gt;, que vendeu mais de 40 milhões de unidades no ano passado, em todo o mundo.&lt;br /&gt;
&lt;br /&gt;
Não foram reveladas informações sobre processador, tamanho da tela ou demais especificações técnicas do dispositivo.&lt;br /&gt;
&lt;br /&gt;
Fonte: http://info.abril.com.br/noticias/tecnologia-pessoal/2014/01/samsung-confirma-apresentacao-do-galaxy-s5-em-fevereiro-diz-site.shtml </content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/5336598747838824779/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/samsung-confirma-apresentacao-do-galaxy.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/5336598747838824779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/5336598747838824779'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2014/01/samsung-confirma-apresentacao-do-galaxy.html' title=' Samsung confirma apresentação do Galaxy S5 em fevereiro, diz site'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-994179807525920101.post-5788930830315908619</id><published>2011-06-01T12:53:00.000-07:00</published><updated>2011-06-01T12:53:22.089-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion"/><category scheme="http://www.blogger.com/atom/ns#" term="paginacao"/><title type='text'>Paginação em ColdFusion</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfquery datasource=&quot;mysql&quot; name=&quot;aaa&quot;&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;select id, produto, preco from loja&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;/cfquery&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfparam name=&quot;final&quot; default=4&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfparam name=&quot;url.pgatual&quot; default=1&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfoutput query=&quot;aaa&quot; startrow=&quot;#url.pgatual#&quot; maxrows=&quot;#final#&quot;&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;p&amp;gt;ID: #aaa.id#&amp;lt;br&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;Produto: #aaa.produto#&amp;lt;br&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;Preço: #aaa.preco#&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfset final=final+4&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfset z=1&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfloop index=&quot;controle&quot; from=&quot;1&quot; to=&quot;#aaa.recordcount#&quot; step=&quot;5&quot;&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;a href=&quot;teste.cfm?pgatual=#controle#&quot;&amp;gt;#z#&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;cfset z = IncrementValue(z)&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&amp;lt;/cfloop&amp;gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://desenvolvendosites.blogspot.com/feeds/5788930830315908619/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://desenvolvendosites.blogspot.com/2011/06/paginacao-em-coldfusion.html#comment-form' title='5 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/5788930830315908619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/994179807525920101/posts/default/5788930830315908619'/><link rel='alternate' type='text/html' href='http://desenvolvendosites.blogspot.com/2011/06/paginacao-em-coldfusion.html' title='Paginação em ColdFusion'/><author><name>Robson Cabral</name><uri>http://www.blogger.com/profile/14716259356085316643</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry></feed>