Hi,

 I am trying to use a jsp file which generates a xml 

 <?xml version="1.0" encoding="utf-8" ?> 
 <clcrstatuses>
  <status label="-- Select --" data="" /> 
  <status label="Credit Hold" data="Credit Hold" /> 
  <status label="Deduct" data="Deduct" /> 
  <status label="Pending" data="Pending" /> 
  <status label="Pre-Pay" data="Pre-Pay" /> 
  <status label="Single Invoice with penalty" data="Single Invoice
with penalty" /> 
  <status label="Standard" data="Standard" /> 
  </clcrstatuses>

to populate a combobox, my mxml looks like

<mx:HTTPService id="clcrSModel" url="clcrStatus.jsp" /> 

..
..
<mx:HBox >
<mx:Label text="Credit Status" width="100"/>
<mx:ComboBox id="clCrStatus" dataProvider="{clcrSModel.status}" />
</mx:HBox>
..
..

both the mxml and jsp files are in the same directory.

I get the error

2 Errors, 1 Warning found. 
 
Warning /tutorial/apptest.mxml:57 
Changes to unknown property, mx.servicetags.HTTPService.status, will
not be detected.


56:                   
57:                 <mx:ComboBox id="clCrStatus"
dataProvider="{clcrSModel.status}" /> 
58:                 </mx:HBox>  


Error /tutorial/apptest.mxml:57 
There is no property with the name 'status'.


56:                   
57:                 <mx:ComboBox id="clCrStatus"
dataProvider="{clcrSModel.status}" /> 
58:                 </mx:HBox>  


Error /tutorial/apptest.mxml:57 
There is no property with the name 'status'.


56:                   
57:                 <mx:ComboBox id="clCrStatus"
dataProvider="{clcrSModel.status}" /> 
58:                 </mx:HBox>  


Can anyone tell me what I am doing wrong. I am trying to dynamically
populate a combobox from data in DB. 

Regards
Rajesh J




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to