>I don’t think having the MXML generated all the time is a great idea.
 
There is no problem here. Flex and ColdFusion both cache files. If u disable caching of ColdFusion files, the files that are generated by flex are still cached. There is another flex-config.xml file created for the use of the jsp tag library. Its located in the cfform directory (with ColdFusion 7 that is).
 
Greetz Erik
 
 

From: Matt Chotin [mailto:[EMAIL PROTECTED]
Sent: vrijdag 25 februari 2005 7:28
To: [email protected]
Subject: RE: [flexcoders] Binding attributes in Flex

Unfortunately you cannot bind into styles in Flex 1.5.  This is because styles are set using the setStyle method and binding requires the set to be done using the = operator.  We’ll hopefully address this in the next version.

 

I don’t think having the MXML generated all the time is a great idea, but if may be if you have a limited # of variations of inputs you could use the JSP tag library to generate a limited number of versions that could then be cached and delivered appropriately.  The JSP tag library does work in CF.

 

Matt

 


From: deptquote [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 7:08 PM
To: [email protected]
Subject: [flexcoders] Binding attributes in Flex

 


Is there a way to bind a value of the attributes

Those one are not working:
    <mx:NumberValidator field="valeur.nombre"
     listener="chiffre" maxValue="{allo.enveloppe.valeur}"/>

    <mx:Label text="First Name" color="{envelope.text}"/>

This one is working:
    <mx:Label text="Maximum: {envelope.value}"/>

Our idea is to bind all data (labels,TextInputs, etc) to a XML file
containing all the information (validation, style, etc) about those
data.

or would it preferable to use ColdFusion to generate MXML files on
the fly for such task?

Thanks






Reply via email to