[flexcoders] (unknown)

2012-07-04 Thread e baggg
http://comqueen.com/images/cpk3qijb.php
7/4/2012 5:17:22 AM

[flexcoders] Re: Is there a simple Cairngorm 2 walkthrough out there?

2006-08-31 Thread e baggg



http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_1.cfm 
	

	
		Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

__._,_.___





--
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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Cairngorm / Hibernate Best Practices

2006-08-30 Thread e baggg



Brennan, I haven't seen the word "Hithero" used since I was forced to read Shakespeare back in high school. Way to bring it back! Anyway, Adobe has provided Hibernate support via the Hibernate Assembler:http://livedocs.macromedia.com/flex/2/fds2javadoc/flex/data/assemblers/HibernateAssembler.htmlI actually created an app that is front-to-end using the RemoteObject. I have my Java pojos which are mapped to my hibernate mapping files and I also have the AS classes that correlate to them too, using the:[Managed][RemoteClass(alias="com.project.MyClass")]I pass all my objects to a pojo facade class which in turns invokes my Sprign beans. Within the facade, all the hibernate and trasactions are taken care. My objects are pretty light, so to avoid lazy-loading issues on the client side, i set lazy=false at the class level for all my hibernate mappings. This works well for me and I have not faced any performance issues.  
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

__._,_.___





--
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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: how to call a method in a custom mxml component

2006-08-30 Thread e baggg



You can call the method just about anyway imaginable.mx:Button label="Fire event" click="init()"/My advice would be to look at the API. If you put your cursor on a mxml component, like in the above example, put the cursor on any of the letters in "Button" and hot "SHift + F2". This will take you to the API. Scroll down to the "Events" section. Any of those you treat as an attribute where you pass in the name of your function as the value. 
	

	
		Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

__._,_.___





--
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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___



Re: [flexcoders] Passing data from JSP to Flex

2006-08-28 Thread e baggg



Anas- Please see the HTTPService class. This is the code from the API docs. The "url" attribute would the URL link to your server side java Delegate. If you are using FDS (Flex Data Services), then you can actually return your java domain objects, otherwise, you'll have to return XML or Strings.Notice how the Datagrid is bound to the XML that the httpservice returns : feedRequest.lastResult ?xml version="1.0"?!-- Simple example to demonstrate the HTTPService tag. --mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"creationComplete="feedRequest.send();"!-- The url property specifies the location of the requested file, in this case the RSS 2.0 feed of Matt Chotin's blog. As of this writing, the URL was still valid, but you should check to make sure it hasn't changed. You should use the latest RSS 2.0 URL listed on the right side of the blog at
 http://www.adobe.com/go/mchotinblog. --mx:HTTPService id="feedRequest" url="" useProxy="false" /mx:Panel title="HTTPService Example" height="75%" width="75%" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10"mx:DataGrid id="dgPosts" height="50%" width="75%" dataProvider="{feedRequest.lastResult.rss.channel.item}"mx:columnsmx:DataGridColumn headerText="Posts" dataField="title"/mx:DataGridColumn headerText="Date" dataField="pubDate"//mx:columns/mx:DataGridmx:TextArea height="50%" width="75%" htmlText="{dgPosts.selectedItem.description}"//mx:Panel/mx:ApplicationAnas Mughal
 [EMAIL PROTECTED] wrote: I am new to Flex. Could someone help me with the following question.We have a struts-based application that we are gradually porting over to Flex. Currently, the user authentication (login screen) is done via a JSP page. A new module of the application is wrriten in Flex.We would like to pass the logged-in user information to Flex. How should we do that?Thank you very much for your kind assistance. 
 --  Anas MughalGet your email and more, right on the  new Yahoo.com
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail.
__._,_.___





--
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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___



Re: [flexcoders] Re: How to refresh a tree

2006-08-23 Thread e baggg



I too have had problems with XML nodes in tree. One thing that eliminated a lot of the issues was reassigning the dataProvider of the tree explictly (right after you update the node.so...[Bindable]private var xmlN : XML private function updateTreeDataProvider : void {//code that updates xmlN treeNav.dataProvider= xmlN;}mx:Tree id="treeNav" Marcel Fahle [EMAIL PROTECTED] wrote: Hi Dave,  did you found a solution on that? I've got a similar problem
 here.  Marcel  Dave Bobby wrote:This is flaky, might be a bug.root -a --aa --ab --ac -b -c --ca --cb --ccsay the last server retrieval got ca, cb and cc. but the tree did not  show a scrollbar. this tree is in a vDivided box, so when i move the  divider upto b, i see a scrollbar, but when i move divider to cb or  cc, ca-cb and cc disappear and no scrollbar.bug? or am i doing something wrong? i think that the tree should be  refreshing when i do such operations.thanks.--- In [EMAIL PROTECTED]ups.com, "Dave Bobby" [EMAIL PROTECTED]. wrote:   I am trying to append data retrieved to selectedItems in the tree   represented by an XMLListCollection.
 During the trace I see that  the   retrieived items have been added to the XMLListCollection correctly   and this collection in Bindable.But the tree itself behaves wierd. Sometimes it shows the  scrollbars,   sometimes not. Sometimes, when I scroll up and down, it collates   different nodes to different parents visually. Any ideas?Thanks.Dave.  
__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 
__._,_.___





--
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.



  






__,_._,___



Re: [flexcoders] Dynamic ViewStack (Cairngorm)

2006-08-16 Thread e baggg



Kenny,   I think States would be a better fit for what you are trying to do. Regardless, you could have the viewstack selected property index set to a bindable value  so,  selectedIndex="{model.accessLevel}"And in your ModelLocator (Cairngorm [Bindable] singleton)accessLevel : Number = 0;Then, any part of your application could update the value of the accessLevel attribute, say to 1, which would automatically make the screen change to the next View.lostinrecursion [EMAIL PROTECTED] wrote:  Hi all,Quick one, I think. :)I have two Components in my application, based on a ViewStack. For thepurpose of simplicity, let's call them "AdminView" and "UserView".Essentially the two ViewStacks contain different screens (or the sameif applicable) dependent on the access level returned from the database.So we've got the application looking like this:ApplicationApplicationControlBar (with dataProvider set to a static id of"myViews", which will be the id of the loaded stack so that the menudisplays the correct screens)And then I want to load one of the views depending on the access levelwhich I will store in the Controller. So the Controller will dispatchthe event to the view once the access level is set. I know how to do that with no issue.I
 just don't know how I would "dynamically" set the MX tag to theproper view stack. For example, if it's an admin, the view would beview:AdminView and if it's a normal user, it would be view:UserViewAny suggestions?Thanks so much!-Kenny 
		Get your email and more, right on the  new Yahoo.com 

__._,_.___





--
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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___



Re: [flexcoders] DataGridColumn custom itemRenderers

2006-08-16 Thread e baggg



Barry,   An itemRenderer can be a mxml component.It needs to be the fully-qualified class name. ie no namespaces here.It should be like:  mx:DataGridColumnheaderText="Search" dataField=""itemRenderer="view.customcontrol.AcademicSearch"/ 
		Get your email and more, right on the  new Yahoo.com 

__._,_.___





--
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.



  






__,_._,___



Re: [flexcoders] Calling functions from an itemRenderer

2006-08-16 Thread e baggg



Rick-   Whenever you declare a method such as click="someMethod()"...you cannot have double quotes between the wrapping double-quotes of the click. The compiler always assumes the second quote is the end of the method name. If you changed your code to -- click="callMethod()" and then above it within a mx:Script tag hadprivate function callMethod() : void  {   navigateToURL(new URLRequest("_javascript_:popup_ultraslim('/tools/entityLookup3/entity_details.cfm?ENTITYID=" + this.label + "',750,550)"), '_self');  }Then it work. Your LinkButton example does not have a double quote b/w the quotes around the click method. I'm guessing you don't have a function named "launchDetailsWindow()" defined which is causing your compiler error.Rick Root
 [EMAIL PROTECTED] wrote:  I've got an itemRenderer in a datagrid that's rendering a linkbutton with a script.The following doesn't work because it's not valid XML, with the " symbols in the click value...mx:DataGridColumn headerText="Entity ID" width="100" dataField="ENTITYID"mx:itemRenderermx:Componentmx:LinkButton label="{data.ENTITYID}" click="navigateToURL(new
 URLRequest("_javascript_:popup_ultraslim('/tools/entityLookup3/entity_details.cfm?ENTITYID=" + this.label + "',750,550)"), '_self');"//mx:Component/mx:itemRenderer/mx:DataGridColumnI originally had a function defined in the same file that did that and I called like like this:mx:LinkButton label="{data.ENTITYID}" click="launchDetailsWindow(this.label);"/But it kept telling me that launchDetailsWindow was a "possibly undefined function", leading me to believe that I don't understand scoping in itemrenders :)Rick 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

__._,_.___





--
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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___