[flexcoders] expanding Tree Nodes

2006-06-27 Thread Mike Wertheim



According to
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0611.html
,
the following code used to work in Flex Beta 2 but stopped working in
Beta 3.  :


...

What is the correct way to do this in the latest version?


__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] accessing HttpService in Beta 3

2006-05-31 Thread Mike Wertheim



I'm having trouble accessing an HttpService in Beta 3.

The problem I'm having is similar to the one described in the comment at the bottom of this page:
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1124.html



Here is my MXML:

http://www.adobe.com/2006/mxml" xmlns:nf="Assets.Components.*"
    layout="absolute" width="100%" height="100%" 
    paddingTop="10" paddingRight="10" paddingBottom="10" paddingLeft="10">
    
    
    
    
    
    
    
        
        
            
           
    
           
           

           
           

           
           
    
           
           
    
           
           

                    
                
            
        
    



When I try to compile this, I get the following error on the "mx:DataGrid" line:
Access of possibly undefined property result through a reference with static type mx.rpc.http.mxml:HTTPService.
			
		
	
	 
	
	
	


	
	
	
	
	 
		
	
	
	
	
	
	
	
	

	

	
	 
	
	
	
	
	
	
	
	
	
	

  
	
Any ideas on what's going wrong and how to fix it?


Thanks!
Mike









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: setting up RemoteObject to access POJO on Tomcat

2006-05-11 Thread Mike Wertheim



I found the answer, but I took a convoluted route to get there.

If folks from Adobe are reading this, it would be great if this info
was more visible in the docs. i.e. flex2_quickstart.pdf gives complete
examples of how to use HttpService, WebService, and Data Management
Service, but Remote Object to an arbitrary POJO isn't covered.

Here is how I found the answer... I dug around in the Flex Data
Services directory and saw a file called flex.war.  I then did a
google search on "flex.war tomcat", which brought me to
http://labs.adobe.com/wiki/index.php/Flex:Install_Instructions, which
answered my question.
On 5/11/06, Mike Wertheim <[EMAIL PROTECTED]
> wrote:
Is there a step-by-step guide somewhere that explains how to use a RemoteObject to access a POJO on Tomcat?

Suppose I have class com.mycompany.Foo installed on my Tomcat server, and Foo provides this method:
public int doSomething(String s);

What do I need to do on the Tomcat side to make that method invokable by a RemoteObject component?

The Flex Data Services docs give an example of how to set that up using
JRun, but I haven't been able to find a doc that describes how to do
this with Tomcat.


Thanks!
-Mike









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] setting up RemoteObject to access POJO on Tomcat

2006-05-11 Thread Mike Wertheim



Is there a step-by-step guide somewhere that explains how to use a RemoteObject to access a POJO on Tomcat?

Suppose I have class com.mycompany.Foo installed on my Tomcat server, and Foo provides this method:
public int doSomething(String s);

What do I need to do on the Tomcat side to make that method invokable by a RemoteObject component?

The Flex Data Services docs give an example of how to set that up using
JRun, but I haven't been able to find a doc that describes how to do
this with Tomcat.


Thanks!
-Mike







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.