[flexcoders] what's the difference between remoting service and URLStream

2010-01-19 Thread loveewind
so far as I know, calling remoting service (Remote object) is asynchronous , however URLStream is not asynchronous. if the data on Flex are streamed as AMF in URLStream,compare this data service with remoting server, how about is the performance? below is the code: public function

[flexcoders] SSL Https communication between swf and data service / life cycle is failed

2008-08-11 Thread loveewind
below is the source code of swf: mx:RemoteObject id=authenticationRemoteService destination=authentication-remoteobject showBusyCursor=true result=result( event ); fault=fault( event ); /mx:RemoteObject public function getUserData():void{

[flexcoders] How to enable the data grid editable if the data grid has no data

2008-04-29 Thread loveewind
If the data grid has no data, even the editable property is set as 'true' ,the column in data grid can not be editable. For example, mx:DataGrid width=100% editable=true id=productGrid height=100% doubleClick=viewProduct() mx:columns mx:DataGridColumn headerText=Product Code editable=true

[flexcoders] How to get the selected text in textArea

2006-05-09 Thread loveewind
Hi All, I glad to get your help. I can not find the method in flex document, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED

[flexcoders] How to user setInterval() to call the remoteobject method?

2006-04-25 Thread loveewind
Hi All, I have a piece of code below: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml initialize=test() mx:RemoteObject id=EJBUserProxy source=net.wind.proxy.UserProxy mx:method name=getUserInfo result=setCurrentUser (event.result)/mx:method

[flexcoders] How to detect the session time out in flex application

2006-01-04 Thread loveewind
I have a approach that use setInterval() in application page to detect the session time out,howerver, it seems difficult, who have experience in detecting session ? I'd like to get your help. Thanks. -- Flexcoders Mailing List FAQ:

[flexcoders] why does the data in datagrid cellrender lose?

2005-07-04 Thread loveewind
I used the textInput cellrenderer in datagrid, and input text in textInput, but after add two items, the inputed data lost, 1.flex page: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; initialize=initDg() mx:Script ![CDATA[ import

[flexcoders] Re: how to add cellRender CheckBox to Tree?

2005-06-29 Thread loveewind
--- In flexcoders@yahoogroups.com, loveewind [EMAIL PROTECTED] wrote: 1.as referred in Developing Flex Applications document display custom cell content for each of Tree's rows, This customized cell can contain a prebuilt component, such as a CheckBox control, or any user interface

[flexcoders] how to add cellRender CheckBox to Tree?

2005-06-28 Thread loveewind
1.as referred in Developing Flex Applications document display custom cell content for each of Tree's rows, This customized cell can contain a prebuilt component, such as a CheckBox control, or any user interface component that you create. and I want to add CheckBox behind each Node and

[flexcoders] how to generate the bullet in DataGridColumn?

2005-06-07 Thread loveewind
generate the bullet in first DataGridColumn when user inputing words, also the DataGridColumn is editable,how to set the dataGridColumn's htmlText? use the cellRender? 1.this is my flex page: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

[flexcoders] Re: why the textarea can not display the value?

2005-06-01 Thread loveewind
great!thanks! --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 6/1/05, loveewind [EMAIL PROTECTED] wrote: Function: User inputs the word in textarea,enter the key Enter, the head of next line need display the character *, Do it in the 'change' event

[flexcoders] how to use the setInterval() in flex actionscript ?

2005-05-25 Thread loveewind
the code run normally in swf, ActionScript: function checkOut() { TextToCheck = spellCheck_txt.text; url_string = javascript:SpellCheck();; getURL(url_string, ); checkOut_interval = setInterval(function () { if (spellResult != undefined) {

[flexcoders] who have the experience of print preview in flex page

2005-05-20 Thread loveewind
hi: I know flex page can be printed, but don't know how to use the printjob actionscript to print preview page, who have such experience? thanks, Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this

[flexcoders] Re: why can not pass arguments to flex in portal js p page

2005-05-12 Thread loveewind
stuff and the table, I don't think that would make a difference but who knows. I assume the println is writing the expected value? _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of loveewind Sent: Tuesday, May 10, 2005 1:52 AM To: flexcoders

[flexcoders] Re: why can not get the value?

2005-05-10 Thread loveewind
(oEvent:Object):Void { sLocale = oEvent.result.locale.country; } Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of loveewind Sent: Sunday, May 08, 2005 5:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] why can not pass arguments to flex in portal jsp page

2005-05-10 Thread loveewind
if I run this locale.jsp mx.controls.Alert.show(language); can show the language value 1.locale.jsp %@ taglib uri=FlexTagLib prefix=mm % mm:mxml % String s =request.getHeader(Accept-Language); System.out.println(locale:+s); String l = s.substring(0,2); String c = s.substring(3,5); %

[flexcoders] flex how to invoke the servlet in server?

2005-05-07 Thread loveewind
hi: flex can invoke the Java class, is flex support to invoke the servlet ? how to invoke? thanks! 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] *

[flexcoders] Re: how to add multi-language feature in flex page?

2005-04-27 Thread loveewind
great ,thank you --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, You can use ResourceBundle written by Benoit Hediards (http://groups.yahoo.com/group/flexcoders/message/8730) Also look at some of the possible ways, which Manish has put together on

[flexcoders] how to add multi-language feature in flex page?

2005-04-26 Thread loveewind
who has such experiences? is like using in struts frame? thanks! 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

[flexcoders] Re: how to display the HashMap data in flex mx: Data Grid?

2005-04-21 Thread loveewind
easily by iterating over the hash map and simply filling an array with each time). Matt _ From: loveewind [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to display the HashMap data in flex

[flexcoders] Re: how to display the HashMap data in flex mx:Data Grid?

2005-04-17 Thread loveewind
the dataProvider of the DataGrid? That's not going to work, you need a linear list for that to happen (which you could create pretty easily by iterating over the hash map and simply filling an array with each time). Matt _ From: loveewind [mailto:[EMAIL PROTECTED] Sent

[flexcoders] how to display the HashMap data in flex mx:DataGrid?

2005-04-13 Thread loveewind
my java object below: public class UserVO { private HashMap accessMap = null; private String active= null; private String firstName = null; private String lastName = null; private String loggedOn = null; private String networkId = null;

[flexcoders] how to solve this problem about using HashMap in actionscript

2005-04-11 Thread loveewind
return a Java object from my back_end system below: public class UserVO { private HashMap accessMap = null; private String active= null; public HashMap getAccessMap() { return accessMap; } /** * @param map */ public void