noob question alert.

Just starting on flex.   I'm doing a simple CRUD page working with a calendar.  
 Do I need 
to do seperate HTTPService components for the different CRUD operations or is 
it possible 
to dynamically pass in requests to one service since I'm doing all of the 
operations on the 
same backend php page.

i.e. do you need to seperate:

        <mx:HTTPService id="getEvent" url="_calendar.php" resultFormat="text" 
method="GET">
                <mx:request>
                        
<calDate>{fmtDate.format(dateChoose.selectedDate)}</calDate>
                </mx:request>
        </mx:HTTPService>
        
        <mx:HTTPService id="updateEvent" url="_calendar.php" method="GET" 
result="getEvent.send()">
                <mx:request>
                        
<calDate>{fmtDate.format(dateChoose.selectedDate)}</calDate>
                        <_update>true</_update>
                </mx:request>
        </mx:HTTPService>


or can I dynamically pass in the in "update=true" and just use one service for 
both Get and 
Update.

Thanks.

Reply via email to