<http://www.prismix.com/>      
Hello Flexcoders,
 
I'm getting some strange errors after I have started developing on a
project that I haven't touched in a while. MXML which worked before,
now throws errors. I'm going to look into the log to see if I can catch
anything... TIA
 
This valid MXML : 
 
...
 
<mx:DataGrid id="dgItems" width="100%" height="100%"
dataProvider="{liveOrders.items}" multipleSelection="true"
change="setSelectedItem(dgItems.selectedItem)" dragEnabled="true">
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="" columnName=""
editable="false" width="50" >
<mx:DataGridColumn headerText="Order Id"
columnName="orderNumber" width="60" textAlign="center"/>
<mx:DataGridColumn headerText="Order Label"
columnName="orderLabel"/>
<mx:DataGridColumn headerText="Updated"
columnName="dateUpdated"
labelFunction="dateUpdatedLabelFunction"/>
<mx:DataGridColumn headerText="Company Name"
columnName="companyName"/>
<mx:DataGridColumn headerText="Started"
columnName="dateOrderStarted"/>
<mx:DataGridColumn headerText="Status"
columnName="status"
labelFunction="orderStatusLabelFunction"/>
</mx:Array>
</mx:columns>
</mx:DataGrid>
        
...
 
Throws this error:
Property elements may not have attributes 
 
Any ideas?
            
Thanks,
Allen
 
 
 
 
Allen Manning, Technical Director
Certified Flex Instructor       
Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: 
www.prismix.com <http://www.prismix.com/>       

------_=_NextPart_002_01C523FB.3449B99C
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd";>
<HTML><HEAD><TITLE>Niklas Richardson, Prismix Ltd</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY background=http://www.prismix.com/images/background.gif>
<TABLE cellSpacing=0 cellPadding=0 width=606 border=0>
<TBODY>
<TR>
<TD><A href="http://www.prismix.com/";><IMG height=82 
alt="Prismix Ltd - designing usable business solutions - MacromediaAlliance 
Partner" 
src="http://www.prismix.com/email/top2.gif"; width=606 border=0></A></TD></TR>
<TR>
<TD style="BACKGROUND-IMAGE: url(http://www.prismix.com/email/mid2.gif)" 
background=mid.gif>
<TABLE cellSpacing=0 cellPadding=0 width=520 align=center border=0>
<TBODY>
<TR>
<TD 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana, Arial, Helvetica, 
sans-serif">
<DIV><SPAN 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><SPAN 
class=194461916-08032005>Hello Flexcoders,</SPAN></SPAN></DIV>
<DIV><SPAN 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><SPAN 
class=194461916-08032005></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><SPAN 
class=194461916-08032005><FONT color=#000000 size=2>I'm getting some 
strange errors after I have started developing on&nbsp;a project 
that I haven't touched in a while.&nbsp; MXML which worked before, 
now throws errors.&nbsp; I'm going to look into the log to see if I 
can catch anything... TIA</FONT></SPAN></SPAN></DIV>
<DIV><SPAN 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><SPAN 
class=194461916-08032005><FONT color=#000000 
size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><SPAN 
class=194461916-08032005><FONT color=#000000 size=2>This valid MXML 
: </FONT></SPAN></SPAN></DIV>
<DIV><SPAN 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><SPAN 
class=194461916-08032005><FONT color=#000000 
size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><SPAN 
class=194461916-08032005><FONT color=#000000 
size=2>...</FONT></SPAN></SPAN></DIV>
<DIV><SPAN 
style="FONT-SIZE: 12px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><SPAN 
class=194461916-08032005><FONT color=#000000 
size=2>&nbsp;<BR>&nbsp;&nbsp;&lt;mx:DataGrid id="dgItems" 
width="100%" 
height="100%"<BR>&nbsp;&nbsp;&nbsp;dataProvider="{liveOrders.items}" 
multipleSelection="true"<BR>&nbsp;&nbsp;&nbsp;change="setSelectedItem(dgItems.selectedItem)"
 
dragEnabled="true"&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;mx:columns&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Array&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
 
headerText="" 
columnName=""<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;editable="false" 
width="50" 
&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn 
headerText="Order 
Id"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;columnName="orderNumber" 
width="60" 
textAlign="center"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn 
headerText="Order Label" 
columnName="orderLabel"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
 
headerText="Updated"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;columnName="dateUpdated"
 
labelFunction="dateUpdatedLabelFunction"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
 
headerText="Company Name" 
columnName="companyName"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
 
headerText="Started" 
columnName="dateOrderStarted"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
 
headerText="Status"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;columnName="status"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;labelFunction="orderStatusLabelFunction"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:Array&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/mx:columns&gt;<BR>&nbsp;&nbsp;&lt;/mx:DataGrid&gt;</FONT></SPAN></SPAN></DIV></TD></TR></TBODY></TABLE>
<DIV><SPAN class=194461916-08032005><FONT face=Verdana 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=194461916-08032005><FONT face=Verdana 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...</FONT></SPAN></DIV>
<DIV><SPAN class=194461916-08032005><FONT face=Verdana 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN 
class=194461916-08032005>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
<FONT face=Verdana size=2>Throws this error:</FONT></SPAN></DIV>
<DIV><SPAN 
class=194461916-08032005>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--StartFragment
 --> 
Property elements may not have attributes </SPAN></DIV>
<DIV><SPAN class=194461916-08032005></SPAN>&nbsp;</DIV>
<DIV><SPAN 
class=194461916-08032005>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
<FONT face=Verdana size=2>Any ideas?</FONT></SPAN></DIV>
<DIV><SPAN 
class=194461916-08032005>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</SPAN></DIV>
<DIV><SPAN class=194461916-08032005><FONT face=Verdana 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=194461916-08032005><FONT face=Verdana 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allen</FONT></SPAN></DIV>
<DIV><SPAN class=194461916-08032005><FONT face=Verdana 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=194461916-08032005><FONT face=Verdana 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=194461916-08032005><FONT face=Verdana 
size=2></FONT></SPAN>&nbsp;</DIV></TD></TR>
<TR>
<TD style="BACKGROUND-IMAGE: url(http://www.prismix.com/email/bottom2.gif)" 
vAlign=top width=606 background=http://www.prismix.com/email/bottom2.gif 
height=106>
<TABLE height=106 cellSpacing=0 cellPadding=5 width=530 align=center 
border=0>
<TBODY>
<TR height=29>
<TD>
<DIV>&nbsp;</DIV></TD></TR>
<TR height=21>
<TD 
style="FONT-SIZE: 10px; COLOR: #47476a; FONT-FAMILY: Verdana, Arial, Helvetica, 
sans-serif" 
vAlign=center><SPAN 
style="FONT-SIZE: 10px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif"><STRONG>Allen 
Manning</STRONG>, Technical Director</SPAN>&nbsp;<SPAN 
class=194461916-08032005>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>Certified
 
Flex Instructor </TD></TR>
<TR height=26>
<TD 
style="FONT-SIZE: 10px; COLOR: #47476a; FONT-FAMILY: Verdana, Arial, Helvetica, 
sans-serif" 
vAlign=top><SPAN 
style="FONT-SIZE: 10px; COLOR: #47476a; FONT-FAMILY: Verdana,Arial, Helvetica, 
sans-serif">Prismix 
Ltd <STRONG>t:</STRONG> +44 (0)870 749 1100 <STRONG>f:</STRONG>+44 
(0)870 749 1200 <STRONG>w:</STRONG> <A style="COLOR: #47476a" 
href="http://www.prismix.com/";>www.prismix.com</A> 
</SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>

------_=_NextPart_002_01C523FB.3449B99C--

<<image/gif>>

<<image/gif>>

Reply via email to