Hi ,
I have to update two component in Flex (Data Grid and a Label) once i
clcik on Update button on page. Using HTTPService i m calling a JSP
that construct a XML format that creates data for Grid and it update
the Grid Data As well. On same event i want to update one label in
UI . I have logic for label in same JSP page that needs to be updated.
So can any one help me how can i update both the component .
This is what i m ding for updating Grid
private var myData:XMLList;
private var temp:XML;
private function handleResult(event:ResultEvent):void
{
//Alert.show(event.result.toString());
temp = event.result as XML;
myData = temp.children();
}
]]>
</mx:Script>
<mx:String id="jspFile">JSP/StatusSnapShot.jsp</mx:String>
<mx:HTTPService id="userRequest" url="{jspFile}" method="POST"
resultFormat="e4x" result="handleResult(event)" >
</mx:HTTPService>
and Label data is just date n Time saved in XMLfile that i m getting
by reading XML file .
Thanks
Vikram
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---