Rss Feed

ColdFusion et Flex : la compilation main dans la main

compilFlex.jpgVoici une des nombreuses possibilités qu’offre ColdFusion 8, la génération de code mxml à l’intérieur de vos pages CFM. Voici l’exemple du code avec un Output et le passage de la variable dans l’URL :

<cfimport prefix="cfmxml" taglib="/WEB-INF/lib/cf-bootstrap-for-flex.jar">
 
<cfmxml>
 
<mx xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" width="400" height="300"></mx></cfmxml></cfimport>   <mx>
 
Application {
 
backgroundGradientColors: #000000, #0066cc;
 
color:#ffffff;
 
}</mx>
 
TabNavigator {
 
tabStyleName: "myTabs";
 
firstTabStyleName: "myTabs";
 
lastTabStyleName: "myTabs";
 
}
 
.myTabs {
 
color: #000000;
 
}
 
<mx text="ColdFusion 8 et Flex " fontsize="13" fontweight="bold">
 
   </mx><mx width="328">
 
      </mx><mx label="Société : ">
 
<cfoutput>
 
<mx text="#url.societe#" color="#EE2B70">
 
</mx>
 
      </cfoutput></mx>
Partager :
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Technorati
  • Twitter

Articles sur le même sujet :

  1. Compilation Flex via ColdFusion
  2. RoR et Flex main dans la main en 2 minutes
  3. Scorpio (ColdFusion) supportera Json

Commentaires

  1. Pier92 says:

    Intéressant les possibilités de coldfusion !!! merci pour ce post.

Laisser un commentaire

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word