Re: [flexcoders] flex - relative newbie
jason davey wrote: can anyone tell me which file the xml data for the flexstore is kept in? I know the data is held in the dataObject - but where is the product id, and descriptions etc? It comes from your catalog.xml (WEB-INF/classes/...)
Re: [flexcoders] App Display in (Firefox) Browser Problem
extensive_systems wrote: I notice that Flex applications do not behave correctly when Full Screen View is selected in the Firefox browser (works correctly with IE)... application dimensions increase properly but do not shrink when Full Screen View is deselected, leaving the application clipped at the bottom of the Firefox display area. I can't see to reproduce this problem. Are you using Firefox 1.0? The app should never get clipped -- it'll show a scrollbar in the worst case.
Re: [flexcoders] flex - relative newbie
a, thanks Manish --- Manish Jethani [EMAIL PROTECTED] wrote: - jason davey wrote: can anyone tell me which file the xml data for the flexstore is kept in? I know the data is held in the dataObject - but where is the product id, and descriptions etc? It comes from your catalog.xml (WEB-INF/classes/...) Yahoo! Groups Sponsor ADVERTISEMENT - 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 subject to the Yahoo! Terms of Service. Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com
Re: [flexcoders] disabling Image from drag'n'drop
Krzysztof Szlapinski wrote: I've got an image with mouseDown event wich starts the drag'n'drop operation After finishing the drag'n'drop the image stays in place and its copy goes into another container I want to disable the original image from further dragging. Just make it invisible, 0-size, and disabled. If it still remains draggable, you might have to handle in code by setting a flag. visible = false width = 0 height = 0 enabled = false
Re: [flexcoders] sth wrong about the dragEnter event in canvas
Jim Miao wrote: * sometimes, the dragEnter event cannot working in canvas.* ** * I defined a component using DragManager. if I use it in a mxml file, it works fine, but when I insert it into some mxml file including many other components, it cannot work, and I find the key is dragEnter event cannot work.* ** It's hard to say without looking at code. Can you post some sample code, please?
Re: App Display in (Firefox) Browser Problem
Yes, I'm using Firefox 1.0. I noticed this issue with my own application and then thought I'd better try another: the Coenraets Restaurant Finder application exhibited the same problem. Both were not clipped in IE, just Firefox. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: extensive_systems wrote: I notice that Flex applications do not behave correctly when Full Screen View is selected in the Firefox browser (works correctly with IE)... application dimensions increase properly but do not shrink when Full Screen View is deselected, leaving the application clipped at the bottom of the Firefox display area. I can't see to reproduce this problem. Are you using Firefox 1.0? The app should never get clipped -- it'll show a scrollbar in the worst case.
Re: App Display in (Firefox) Browser Problem
Ok, I just tried again - after a reboot - now the problem is no longer occurring. So it goes, as Vonnegut would say... --- In flexcoders@yahoogroups.com, extensive_systems [EMAIL PROTECTED] wrote: Yes, I'm using Firefox 1.0. I noticed this issue with my own application and then thought I'd better try another: the Coenraets Restaurant Finder application exhibited the same problem. Both were not clipped in IE, just Firefox. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: extensive_systems wrote: I notice that Flex applications do not behave correctly when Full Screen View is selected in the Firefox browser (works correctly with IE)... application dimensions increase properly but do not shrink when Full Screen View is deselected, leaving the application clipped at the bottom of the Firefox display area. I can't see to reproduce this problem. Are you using Firefox 1.0? The app should never get clipped -- it'll show a scrollbar in the worst case.
RE: [flexcoders] Experienced programmer new to java app servers, quick question
Douglass, Are you using an IDE to compile the server-side class, or are you trying to achieve this from the command line ? Using an IDE such as Eclipse, or IntelliJ, etc, you shouldn't have to do anything to compile the class, other than have a Java SDK in your classpath for compilation. Can you compile *any* Java classes ? I don't believe this is an issue that is anything to do with Cairngorm or CustomerDelegate.java; sounds more like you don't have your machine configured for Java development ? What OS are you on ? Is the JAVA_HOME environment variable set for instance ? Best, Steven -Original Message- From: dduuggllaa [mailto:[EMAIL PROTECTED] Sent: 27 February 2005 22:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] Experienced programmer new to java app servers, quick question Hello, A quicky: I'm trying to install Cairngorm into my Tomcat installation and can't get CustomerDelegate.java to compile. It's a classpath thing and I am completely stumped. Could an old Java hand please take 10 seconds and tell me how to properly construct the classpath incantation for javac so I can get some real work done? Unless I can get this sorted Cairngorm will sit on my hard disk gathering bit rot. Thanks. Cheers, Douglass Turner email: douglass_dot_turner_at_gmail_dot_com Yahoo! Groups Links --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.853 / Virus Database: 581 - Release Date: 01/02/2005
Re: App Display in (Firefox) Browser Problem
Final (I hope) observation on this issue: yes, I can still cause a Flex app be clipped (by changing selecting browser tabs and selecting/deselecting Full Screen view), but now after switching back to the Flex app's browser tab (in which the Flex app is clipped), a final toggle of Full Screen view unclips the Flex app in Normal View. --- In flexcoders@yahoogroups.com, extensive_systems [EMAIL PROTECTED] wrote: Ok, I just tried again - after a reboot - now the problem is no longer occurring. So it goes, as Vonnegut would say... --- In flexcoders@yahoogroups.com, extensive_systems [EMAIL PROTECTED] wrote: Yes, I'm using Firefox 1.0. I noticed this issue with my own application and then thought I'd better try another: the Coenraets Restaurant Finder application exhibited the same problem. Both were not clipped in IE, just Firefox. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: extensive_systems wrote: I notice that Flex applications do not behave correctly when Full Screen View is selected in the Firefox browser (works correctly with IE)... application dimensions increase properly but do not shrink when Full Screen View is deselected, leaving the application clipped at the bottom of the Firefox display area. I can't see to reproduce this problem. Are you using Firefox 1.0? The app should never get clipped -- it'll show a scrollbar in the worst case.
help me, please, to make things clear
I have attached a small project, I don't know very well flash remoting, but I am trying to use to integrate me to it with a j2ee architecture. I wanted to ask you two things out of politeness, 1)se look the file Test.mxml, according to you it is all right as I approach for popolore one Pojo ActionScrtipt 2)Ma the true problem, is that flex when I try to use the class pojo vopf[0]. stagione.cdc_stag it lifts me some wornings telling me that cdc_Stag is not a known type, but he works well the same,??? about you it's a bug Last very important thing, is that in the function function Aggiorna(vo:PfVO):Void { Campionario.Lista(vo); } flex throws Method Lista not found, but the think that macaws to problem with to cast? 3) is it possible to use editField with a class pojo ActionScript, can you explain me as? Khan you give me your help, also of the suggestions, on as to resolve these problems Thanks thousand to everybody Devis package vo.as400; public class CStagione implements java.io.Serializable { private String cdc_stag; private String dsc_stag; public String _remoteClass = vo.as400.CStagione; public String getCdc_stag() { return cdc_stag; } public void setDsc_stag(String dsc_stag) { this.dsc_stag = dsc_stag; } public void setCdc_stag(String cdc_stag) { this.cdc_stag = cdc_stag; } public String getDsc_stag() { return dsc_stag; } } package vo.as400; public class PfVO implements java.io.Serializable { private String strepf; private String de50pf; private String fl20pf; private PfVOPK pfvopk; private CStagione stagione; public String _remoteClass = vo.as400.PfVO; public String getFl20pf() { return fl20pf; } public String getStrepf() { return strepf; } public void setDe50pf(String de50pf) { this.de50pf = de50pf; } public void setFl20pf(String fl20pf) { this.fl20pf = fl20pf; } public void setStrepf(String strepf) { this.strepf = strepf; } public void setPfvopk(PfVOPK pfvopk) { this.pfvopk = pfvopk; } public void setStagione(CStagione stagione) { this.stagione = stagione; } public String getDe50pf() { return de50pf; } public PfVOPK getPfvopk() { return pfvopk; } public CStagione getStagione() { return stagione; } public PfVO() { } } package vo.as400; import java.io.Serializable; import util.*; public class PfVOPK implements Serializable { private String stagpf; private String modepf; private String matepf; public String getStagpf() { return stagpf; } public String getModepf() { return modepf; } public void setMatepf(String matepf) { this.matepf = matepf; } public void setStagpf(String stagpf) { this.stagpf = stagpf; } public void setModepf(String modepf) { this.modepf = modepf; } public String getMatepf() { return matepf; } public PfVOPK(String stagpf,String modepf,String matepf) { this.stagpf=stagpf; this.modepf=modepf; this.matepf=matepf; } public PfVOPK() { } public boolean equals(Object other) { if (this == other) return true; if (! (other instanceof PfVOPK))return false; PfVOPK that = (PfVOPK) other; return EqualsUtil.areEqual(this.stagpf, that.stagpf) EqualsUtil.areEqual(this.modepf, that.modepf) EqualsUtil.areEqual(this.matepf, that.matepf); } public int hashCode() { return this.hashCode(); } } class vo.as400.CStagione { public var cdc_stag : String; public var dsc_stag : String; public var _remoteClass : String; public function CStagione() { _remoteClass=vo.as400.CStagione; } } class vo.as400.PfVO { public var de50pf : String; public var fl20pf : String; public var pfvopk : PfVOPK; public var stagione : CStagione; public var strepf : String; public var _remoteClass : String; public function PfVO() { _remoteClass=vo.as400.PfVO; } } class vo.as400.PfVOPK { public var matepf : String; public var modepf : String; public var stagpf : String; public var _remoteClass : String; public function PfVOPK() { _remoteClass=vo.as400.PfVOPK; } } package workflow; import java.sql.*; import java.util.*; import org.hibernate.*; import dao.*; import dao.as400.*; import dao.concetto.*; import database.*; import exception.*; import util.*; import vo.*; import vo.as400.*; public class WFCampionario { public Collection getListaConcetti(String stagione, String tipo, String flash) { try { IConcetto iconcetto = CDaoFactory.getConcettoDAO(); return iconcetto.groupConcetti(stagione, tipo, flash); } catch (DaoException ex) { return null; } } public CStagione[] getAllSeasons() { try { IStagione stagione = CDaoFactory.getStagioneDAO(); return stagione.getAllSeason(); } catch (DaoException ex) { System.out.println(ex.getMessage()); ex.printStackTrace(); } return null; } public PfVO[] getProduct() { try { IStagione stagione = CDaoFactory.getStagioneDAO(); return stagione.getAllProduct(); } catch (DaoException ex) { System.out.println(ex.getMessage()); ex.printStackTrace(); } return null; } public void Lista(PfVO pf) { System.out.print(pf.getDe50pf()); } public PfVO[] Test(int Start,int End) { try { Session session =
Interesting new product for Flex
Hi, We were searching for an easy to use tool for Flex to integrate our customers databases into a Flex application. Beside the fact that our customer is not very IT experienced we searched for a product which does not require much IT expierence on our side either. What we found is Force4 on www.more4flex.com which completly satisfies our requirements. It seems to be very new and we had our first tests with a Beta Version which already run stable. Now the final version is available and they have improved a lot (and also changed a lot :) compared to the beta Version. Does someone else has heard of this product or has any expierence with it? Best regards Peter Adelconsult AB, Sweden __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250
Re: Advanced Printing Question
Hi, As a simple test, I have tried this a while back, and found that it's not feasible. I am unable to do this as I will have over several hundred app screens when the application is finally build. This approach, if it worked correctly, would require a lots a print layout screens, in my case almost one for one. This is not acceptable, an is the reason why I want to know what I am trying, is it feasible, I am trying to create a print control/ layout at runtime, this control is NOT a visible UI component that can be view in the application, its purpose it to be a print format control. This print control is a VBox containing a HBox, DataGrid and an other HBox, in turn each HBox contains 2 lables (making a total of four labels). To build this control at design time is very straight-forwards, however, I am trying to accomplish this, in memory, at runtime essentially a non-visual control, and then send it to the printer. The idea is: If I can programmatically build a complex nested control (eg Lables inside HBox, which are in turn inside VBox which can have a variety of different sibling controls) and then send it to the print to SUCCESSFULLY print, I would save a lot of work and maintenance issues in the long run. Help and guidance from everyone is appreciated. Regards :-) --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: Yes, you can do this. In fact, just create a custom MXML component and instantiate it. ?xml version... !-- MyPrintableComponent.mxml -- mx:VBox ... ... (other stuff you want) /mx:VBox var p = PopUpManager.createPopUp(this, MyPrintableComponent, false); p.visible = false; Then you can print p. I haven't tried it, but it should work. Manish AC wrote: Hi Background: I have created a control which displays a DataGrid with a header and footer showing simple information such as a title and a time stamp. It's possible to scroll the grid and print each row of data held in the grid. however, resizing of the grid is not possible as it messes up the printing. I am now trying to create the same control at runtime, this control is NOT a visible UI component that can be view in the application, its purpose it to be a print format control. This print control is a VBox containing a HBox, DataGrid and an other HBox, inturn each HBox contains 2 lables (making a total of four labels). To build this control at design time is very straight-forwards, however, I am trying to accomplish this, in memory, at runtime essentially a non-visual control, and then send it to print. Is this at all possible in flex? Thanks Yahoo! Groups Links
RE: [flexcoders] Interesting new product for Flex
Im a little confused about whatit is theyre offering. Are they developing an application for youin Flex? Nowhere on their site do they actually use the words Macromedia Flex when talking about the applications theyre buildingit appears oncein one of their QuickTime slides as an image plucked from the Macromedia website and thats itthey reference ActionScript and MXML but never Flex, but its clearly what theyre using in their RIA examples they have on their site, yet all their examples in their slides show a Swing-like application. Very confusing. What is the trial application you download from them? How they charge so cheaply for a Flex-built application? It was my understanding you have to own a license per application if youre a contracting company that builds these Flex apps for your customers Robert L. Brueckmann Web Developer Merlin Securities,LLC
RE: [flexcoders] Interesting new product for Flex
Basically, what they offer is a solution that automates the process of mapping an existingER model to Java classes, AS classes and all the stuff needed to do create, retrieve, update and delete operations on your data. The Swing-like app you mention is a standalone tool that does all the magic (creating MXML, AS and Java files from model files) plus it provides a WYSIWYG editor that allows to create Flex application by drag drop operations (i.e. mapping some server side data object to a data grid). I haven't used it yet but they showcasedtheir product to us some days ago. Dirk. -Original Message-From: Robert Brueckmann [mailto:[EMAIL PROTECTED]Sent: Monday, February 28, 2005 2:26 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Interesting new product for Flex Im a little confused about what it is theyre offering. Are they developing an application for you in Flex? Nowhere on their site do they actually use the words Macromedia Flex when talking about the applications theyre buildingit appears once in one of their QuickTime slides as an image plucked from the Macromedia website and thats itthey reference ActionScript and MXML but never Flex, but its clearly what theyre using in their RIA examples they have on their site, yet all their examples in their slides show a Swing-like application. Very confusing. What is the trial application you download from them? How they charge so cheaply for a Flex-built application? It was my understanding you have to own a license per application if youre a contracting company that builds these Flex apps for your customers Robert L. Brueckmann Web Developer Merlin Securities, LLC 595 Madison Avenue New York, NY 10022 p: 212.822.4821f: 212.822.4820 From: Peter "Björlund [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:07 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Interesting new product for Flex Hi,We were searching for an easy to use tool for Flex tointegrate ourcustomers databases into a Flex application. Besidethe fact that ourcustomer is not very IT experienced we searched for aproduct which does notrequire much IT expierence on our side either.What we found is Force4 on www.more4flex.com whichcompletly satisfies ourrequirements. It seems to be very new and we had ourfirst tests with a BetaVersion which already run stable. Now the finalversion is available andthey have improved a lot (and also changed a lot :)compared to the betaVersion.Does someone else has heard of this product or has anyexpierence with it?Best regardsPeterAdelconsult AB, Sweden __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy orsell a particular security.
AW: [flexcoders] Interesting new product for Flex
..and they definitly used the words Macromedia Flex on there site ;) Dirk and I will meet the force4 team on the CeBIT and we will certainly write a couple of articles in the consequence to this. @Dirk: I hope this is also in your sense *g Cheers, Sven Von: Dirk Eismann [mailto:[EMAIL PROTECTED] Gesendet: Montag, 28. Februar 2005 15:12 An: flexcoders@yahoogroups.com Betreff: RE: [flexcoders] Interesting new product for Flex Basically, what they offer is a solution that automates the process of mapping an existingER model to Java classes, AS classes and all the stuff needed to do create, retrieve, update and delete operations on your data. The Swing-like app you mention is a standalone tool that does all the magic (creating MXML, AS and Java files from model files) plus it provides a WYSIWYG editor that allows to create Flex application by drag drop operations (i.e. mapping some server side data object to a data grid). I haven't used it yet but they showcasedtheir product to us some days ago. Dirk. -Original Message- From: Robert Brueckmann [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:26 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Interesting new product for Flex Im a little confused about what it is theyre offering. Are they developingan application for you in Flex? Nowhere on their site do they actually use the words Macromedia Flex when talking about the applications theyre buildingit appears once in one of their QuickTime slides as an image plucked from the Macromedia website and thats itthey reference ActionScript and MXML but never Flex, but its clearly what theyre using in their RIA examples they have on their site, yet all their examplesin their slides show a Swing-like application. Very confusing. What is the trial application you download from them? How they charge so cheaply for a Flex-built application? It was my understanding you have to owna license per application if youre a contracting company that builds these Flex apps for your customers Robert L. Brueckmann Web Developer Merlin Securities, LLC 595Madison Avenue New York, NY 10022 p: 212.822.4821 f: 212.822.4820 From: Peter Björlund [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Interesting new product for Flex Hi, We were searching for an easy to use tool for Flex to integrate our customers databases into a Flex application. Beside the fact that our customer is not very IT experienced we searched for a product which does not require much IT expierence on our side either. What we found is Force4 on www.more4flex.comwhich completly satisfies our requirements. It seems to be very new and wehad our first tests with a Beta Version which already run stable. Now the final version is available and they have improved a lot (and also changed alot :) compared to the beta Version. Does someone else has heard of this product or has any expierence with it? Best regards Peter Adelconsult AB, Sweden __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone orby replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.
Re: Experienced programmer new to java app servers, quick question
Steve, I'm trying to compile from the command line: javac -classpath /clearly/the/wrong/path CustomerDelegate.java Here is my setup: The java portion of the Cairngorm tree is here: C:\iterationtwo\cairngorm-0_9\samples\java cd'ing to C:\iterationtwo\cairngorm-0_9\samples\java\com\iterationtwo\demo\vo LoginVO.java compiles just fine, presumably because it's package dependancy is not a problem (java.util.Date I get for free) There is no joy however when I cd to: C:\iterationtwo\cairngorm-0_9\samples\java\com\ite rationtwo\demo\business and try to compile CustomerDelegate.java which imports com.iterationtwo.demo.vo.LoginVO What I need is the correct -classpath incantation to satisfy the path dependency for com.iterationtwo.demo.vo.LoginVO within CustomerDelegate.java so that it compiles. Cheers, Douglass Turner email: douglass_dot_turner_at_gmail_dot_com
RE: [flexcoders] Re: Experienced programmer new to java app servers, quick question
Douglass, If I might make a suggestion - download Eclipse for free, setup a project in Eclipse and compile the application in there; the truth is that I have no idea how to compile the application by hand like this it's a long long way for a shortcut. Create a new project in Eclipse (or another IDE), point at the java folder, and press build. You'll also need to make sure that you are targetting the classes into the WEB-INF/classes folder on the application server, and not just into the same directory as the source .java files (as you are doing currently). Best, Steven -Original Message- From: dduuggllaa [mailto:[EMAIL PROTECTED] Sent: 28 February 2005 14:36 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Experienced programmer new to java app servers, quick question Steve, I'm trying to compile from the command line: javac -classpath /clearly/the/wrong/path CustomerDelegate.java Here is my setup: The java portion of the Cairngorm tree is here: C:\iterationtwo\cairngorm-0_9\samples\java cd'ing to C:\iterationtwo\cairngorm-0_9\samples\java\com\iterationtwo\demo\vo LoginVO.java compiles just fine, presumably because it's package dependancy is not a problem (java.util.Date I get for free) There is no joy however when I cd to: C:\iterationtwo\cairngorm-0_9\samples\java\com\ite rationtwo\demo\business and try to compile CustomerDelegate.java which imports com.iterationtwo.demo.vo.LoginVO What I need is the correct -classpath incantation to satisfy the path dependency for com.iterationtwo.demo.vo.LoginVO within CustomerDelegate.java so that it compiles. Cheers, Douglass Turner email: douglass_dot_turner_at_gmail_dot_com Yahoo! Groups Links --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.853 / Virus Database: 581 - Release Date: 01/02/2005
Re: [flexcoders] Re: Experienced programmer new to java app servers,quick question
Cushing, Matthew wrote: I was curious if you use Eclipse for your Flex coding as well, or do you use Flex Builder? I am using a windows box at work, but this is mostly stuff I am doing at home, where I only have an apple Powerbook. The thing I like the best is code complete, is there a way to do that - ie an xsd that points me in the right direction? You can use the oXygen plugin for eclipse and point to the MXML schema to get tag insight. http://www.prismix.com/blog/archives/2005/01/flex_and_coldfu.cfm -d
Re: [flexcoders] Re: Experienced programmer new to java app servers, quick question
Douglass, For your specific problem you should try : javac -classpath C:\iterationtwo\cairngorm-0_9\samples\java CustomerDelegate.java when compiling, the java compiler try to find your LoginVO class by buildind a path with the classpath and with one directory per package something like : C:\iterationtwo\cairngorm-0_9\samples\java+/+com+/+iterationtwo+/+demo+/+vo and then try to find a LoginVO.class there... But I agree with steve, you should download eclipse to simply work with java (and packages). I'm writing an eclipse install to work with Flex (with good plugins, cairngorm and so on...) Coming soon... -Yann Le 28 févr. 05, à 15:36, dduuggllaa a écrit : Steve, I'm trying to compile from the command line: javac -classpath /clearly/the/wrong/path CustomerDelegate.java Here is my setup: The java portion of the Cairngorm tree is here: C:\iterationtwo\cairngorm-0_9\samples\java cd'ing to C:\iterationtwo\cairngorm-0_9\samples\java\com\iterationtwo\demo\vo LoginVO.java compiles just fine, presumably because it's package dependancy is not a problem (java.util.Date I get for free) There is no joy however when I cd to: C:\iterationtwo\cairngorm-0_9\samples\java\com\ite rationtwo\demo\business and try to compile CustomerDelegate.java which imports com.iterationtwo.demo.vo.LoginVO What I need is the correct -classpath incantation to satisfy the path dependency for com.iterationtwo.demo.vo.LoginVO within CustomerDelegate.java so that it compiles. Cheers, Douglass Turner email: douglass_dot_turner_at_gmail_dot_com x-tad-smallerYahoo! Groups Sponsor/x-tad-smaller x-tad-smallerADVERTISEMENT/x-tad-smaller 22305_0205_016_b_300250_a.gif> l.gif> 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 subject to the Yahoo! Terms of Service.
Flex Evangelist at Las Vegas User Group Wed 3/2 @ 7 PM
fyi ... If you are in Las Vegas this Wednesday, Macromedia's Flex Evangelist Christophe Coenraets will be presenting to the local user's group. Details at www.lvmmug.org
figuring out .as pages
I have figured out how to link a mxml page to an as page fine. However, when it comes to communication betweem the two pages such as the mxml page calling on a function on the .as page to change the label of a control on the mxml page I have had problems. What I am trying to do is basicly do a Hello World application where you click a button and the label on the mxml page changes to Goodbye World!!. I want to somehow call a function on the .as page to do this and I have had a lot of problems. So here is the code for the mxml page I am trying to make: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* brandnewas id=bna fresh={this} / mx:HBox mx:Button label=Change World id=worldchanger click=bna.changeworld()/ mx:Label text= Hello World id=world/ /mx:HBox /mx:Application Now here is the code for the .as page I am hoping to link it to // ActionScript Document class brandnewas { public var fresh:Object; public var worldstate:String; public function brandnewas() {} public function changeworld():Void { world.text =Goodbye world; } } I hope somebody can clear up the confusion.
Re: [flexcoders] figuring out .as pages
Sorry to contradict my advise for the IM, but to do what your trying, I'd do this differently. As good general architecture advice, you dont want to tightly couple your components. Currently, your trying to address the labl of the main app from brandnewas, generally not a good idea. You can do this better like this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxmlhttp://www.macromedia.com/2003/mxml; xmlns=* brandnewas id=bna fresh={this} / mx:HBox mx:Button label=Change World id=worldchanger click=world.text=bna.changeworld()/ mx:Label text= Hello World id=world/ /mx:HBox /mx:Application class brandnewas{ public var fresh:Object; public var worldstate:String; public function brandnewas(){} public function changeworld():String{ return Goodbye world; } } At 11:56 AM 2/28/2005, [EMAIL PROTECTED] wrote: I have figured out how to link a mxml page to an as page fine. However, when it comes to communication betweem the two pages such as the mxml page calling on a function on the .as page to change the label of a control on the mxml page I have had problems. What I am trying to do is basicly do a Hello World application where you click a button and the label on the mxml page changes to Goodbye World!!. I want to somehow call a function on the .as page to do this and I have had a lot of problems. So here is the code for the mxml page I am trying to make: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxmlhttp://www.macromedia.com/2003/mxml; xmlns=* brandnewas id=bna fresh={this} / mx:HBox mx:Button label=Change World id=worldchanger click=bna.changeworld()/ mx:Label text= Hello World id=world/ /mx:HBox /mx:Application Now here is the code for the .as page I am hoping to link it to // ActionScript Document class brandnewas { public var fresh:Object; public var worldstate:String; public function brandnewas() {} public function changeworld():Void { world.text =Goodbye world; } } I hope somebody can clear up the confusion. Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=129mht587/M=298184.6018725.7038619.3001176/D=groups/S=1705007207:HM/EXP=1109696225/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075 click here -- Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. inline: 3f13316.jpg
Looking for Freelance Flex Developers
I have got a project that I need help on, and I am looking for experienced Flex developers. I am a designer and am handing the usability and design portions, but I need help with the build. The project is an ERP engagement for a large corporation, that is looking to do a flex front end to an existing application. There may be a small amount of travel and knowledge transfer to the client's technology team. You should have experience with ERP, Flex (of course), Flash (if possible) and stellar references. Please email me if you are interested, and I can give you more specifics. Please also if possible send a resume, links to stuff you've done in Flex, and hourly or day rates. The project would start pretty soon but aside from some conference calls I would to begin for a few weeks at least. Thanks. --- Eric Diamond firstwater x-tad-smallerwhere clarity comes first /x-tad-smaller847 674 6568 847 414 6467 mobile AIM: ericdiamondmm
RE: [flexcoders] Hierarchical data display
I can try to see how far I go with it. Surely, will be posting a lot of questions about that. Agha -Original Message- From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 2:26 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Hierarchical data display Mehdi, Agha wrote: I was just wondering how easy/difficult would it be to do this sort of navigation or hierarchical data display in Flex? http://www.harborresearch.com If not very complicated, what will be the best route to take? I'd probably extend the Tree component and use my own rowRenderer with it. In my custom rowRenderer, I'd draw the node along with its parent and children similar to what's there on that webpage you linked to. Moving the mouse over a node would bring it to the center and open (setIsOpen()) it, showing its children around it. Would be a cool hack. Anyone wants to try? (See Tree.as and TreeRow.as in FlexforFlash.zip...) Manish Yahoo! Groups Links This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com
defining custom accesskeys
Hello, I have managed to steal code from all over the place and install it successfully. Thanks :) Great examples, thanks for the help. Quick question: Can I add custom 'hot keys' or access keys to a flex application? e.g. the html / css 'accesskey' attribute? E.g. moving between tabs, getting the drop down menu and all that jazz will be easier with keyboard control. Any pointers would be helpful. Thanks regards pushkar
Re: Experienced programmer new to java app servers, quick question
I was able to finally compile the file by switching to a DOS shell rather then the Cygwin shell I prefer. Under Cygwin javac refuses to parse either Unix style paths or Windows style paths. Isn't that special ... Anyway I followed the instructions in INSTALL.txt, copied the Index.mxml file from the Cairngorm tree I unzip'ed into the Tomcat try (an oversite, not mentioned in INSTALL.txt) and ... nuthin'. All I see is the Index.mxml source, not functionality. I checked the Tomcat logs and it mentions something about a missing web.xml file. Huh? How do I make this thing actually do anything. By the way as I am new to Tomcat, what is the significance of the environment variable $WEB_APP? Must I define it on Windoze? Almost there, Douglass Turner
Re: ViewStack Navigation Problems
Hi All, I'm Having trouble Navigating through the ViewStack component I can get to the First and Last 80% w/o bugs but next and previous ViewStackChildren are still avoiding me. Can someone look at my code and let me know what I'm doing wrong? Thanks, -Art == CODE == var n:Number=0; function addViewStackChild() { trace(adding child to noteList); n++; var s:String; var d:Date=new Date(); s=n + - (RDJ) + ((d.getMonth() + 1) + / + d.getDate() + / + d.getFullYear() + + d.getHours() + : + d.getMinutes() + : + d.getSeconds()); var note:mx.core.UIObject=mx.core.UIObject(noteList.createChild(noteComp, , {title:s})); noteList.setChildIndex(note,0); trace(noteList.numChildren); } function removeViewStackChild() { noteList.destroyChildAt(0); trace(note removed); } function firstViewStackChild() { var i:Number = 1; var last:Number = n -i; noteList.selectedIndex = last; trace(first button pressed + last ); } function nextViewStackChild() { var i:Number = 1; var next:Number = noteList.selectedIndex() +i; noteList.selectedIndex = next; trace(next button pressed + next ); } function previousViewStackChild() { var i:Number = 1; var previous:Number = noteList.selectedIndex() -i; noteList.selectedIndex = previous; trace(previous button pressed + previous ); } function lastViewStackChild() { noteList.selectedIndex = 0; trace(last button pressed + 0 ); } == END CODE ===
RE: [flexcoders] Re: Experienced programmer new to java app servers, quick question
Douglas, Anyway I followed the instructions in INSTALL.txt, copied the Index.mxml file from the Cairngorm tree I unzip'ed into the Tomcat try (an oversite, not mentioned in INSTALL.txt) and ... nuthin'. All I see is the Index.mxml source, not functionality. I checked the Tomcat logs and it mentions something about a missing web.xml file. Huh? How do I make this thing actually do anything. By the way as I am new to Tomcat, what is the significance of the environment variable $WEB_APP? Must I define it on Windoze? Almost there, Respectfully, you're not almost there. :-) You have to create a web application under Tomcat (or any other appserver - this is not a tomcat specific error you're seeing, rather, you haven't created an application context under your application server). The easiest way of doing this is to take flex.war, unarchive it (which will give you a WEB-INF directory, as well as all the other files and directories necessary for a webapp) and then deploy into that webapp. You're going to have to make sure that you deploy your compiled class files into that webapp as well... To be honest, I'd suggest that you put Cairngorm aside for a second, and start with: o Creating a new webapp under Tomcat o Creating a new flex webapp under Tomcat for MXML only o Compiling a Java class into an existing flex-based webapp - setting up a RemoteObject call to that java class Once you can do/understand those processes above, then you might want to think about taking Cairngorm for a spin; but I think it's getting in the way of some more fundamental learning about what's required to get running with Flex in a Java Application Server environment. Cairngorm isn't a short-circuit way of getting started with Flex; rather, once you're already a little immersed in Flex, Cairngorm allows you to go from understanding Flex, MXML and ActionScript 2.0 to building enterprise-scale RIAs by leveraging some knowledge of architectural best-practice gained on prior Flex RIA developments along the way. Cheers, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.
Flex Trial Edition - Setting up JRun as Windows Service?
A little off topic, but hopefully somebody knows a bit more about this than I do. I downloaded and installed thetrial version of Flex about a week ago. Out of the box, it appears Ihave to go find the jrun.exe file and start it manually every time. Has anybody set this up as a Windows service that can start automatically? Thanks -- Jeff
RE: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service?
are you using theintegrated Jrun or full Jrun? If you are using the integrated Jrun, I *don't believe* you can run it as a service. Full Jrun will run as a windows service. I use the integrated version for dev purposes and I have a shortcut setup to start it when I need to. -Original Message-From: GroupOne Dev. [mailto:[EMAIL PROTECTED]Sent: Monday, February 28, 2005 12:20 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service?A little off topic, but hopefully somebody knows a bit more about this than I do. I downloaded and installed the trial version of Flex about a week ago. Out of the box, it appears I have to go find the jrun.exe file and start it manually every time. Has anybody set this up as a Windows service that can start automatically?Thanks-- Jeff
RE: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service?
if you are on windows just put a shortcut to jrun.exe in your start up folder and it will auto start... [Clint Tredway]-Original Message-From: GroupOne Dev. [mailto:[EMAIL PROTECTED]Sent: Monday, February 28, 2005 12:28 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service? I am using the integrated Jrun as Iam just playing with this on my personal workstation right now. I justwas hoping to be able to start it automatically and then not have the command prompt window up all the time as well.Thanks-- Jeff From: "Clint Tredway" [EMAIL PROTECTED]Sent: Monday, February 28, 2005 12:24 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service? are you using theintegrated Jrun or full Jrun? If you are using the integrated Jrun, I *don't believe* you can run it as a service. Full Jrun will run as a windows service. I use the integrated version for dev purposes and I have a shortcut setup to start it when I need to. -Original Message-From: GroupOne Dev. [mailto:[EMAIL PROTECTED]Sent: Monday, February 28, 2005 12:20 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service?A little off topic, but hopefully somebody knows a bit more about this than I do. I downloaded and installed the trial version of Flex about a week ago. Out of the box, it appears I have to go find the jrun.exe file and start it manually every time. Has anybody set this up as a Windows service that can start automatically?Thanks-- Jeff
RE: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service?
Thanks. I will play with this as I have been wanting to try running ColdFusion developmenton JRun as well.-- Jeff From: Cathy Murphy [EMAIL PROTECTED]Sent: Monday, February 28, 2005 12:28 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service? The Flex Trial version may not be run as a Windows Service. You may however download the Trial Version of JRun (http://www.macromedia.com/products/jrun) which runs as a Windows Service and then deploy flex.war and samples.war on that version of JRun. - Cathy From: GroupOne Dev. [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:20 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Trial Edition - Setting up JRun as Windows Service? A little off topic, but hopefully somebody knows a bit more about this than I do. I downloaded and installed the trial version of Flex about a week ago. Out of the box, it appears I have to go find the jrun.exe file and start it manually every time. Hasanybody set this up as a Windows service that can start automatically?Thanks-- Jeff
datetime format
well, i´m again with another question to you coders i have a datetime row, with following format: 25/02/2005 12:57:00 how can I format this one and change it in Macromedia Flex to this: 25/02/2005 thanks in advance for all reply
RE: [flexcoders] datetime format
this can actually be done with a label function, no need for the cell renderer if all you want to do is change the text which is shown. At 01:40 PM 2/28/2005, you wrote: Here is a cell renderer that I use: ?xml version=1.0 encoding=iso-8859-1? mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxmlhttp://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function setValue(str:String, item:Object, sel:Boolean):Void { date_txt.text = StandardDateFormat.format(item.date); } ]] /mx:Script !-- Declare a formatter and specify formatting properties. -- mx:DateFormatter id=StandardDateFormat formatString=M/DD// !-- Trigger the formatter while populating a string with data. -- mx:Text id=date_txt/ /mx:Canvas Just change the formatString to how you want to format your date -Original Message- From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] datetime format well, i´m again with another question to you coders i have a datetime row, with following format: 25/02/2005 12:57:00 how can I format this one and change it in Macromedia Flex to this: 25/02/2005 thanks in advance for all reply Yahoo! Groups Links Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=1298p00e0/M=298184.6018725.7038619.3001176/D=groups/S=1705007207:HM/EXP=1109702458/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075 click here -- Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.
RE: [flexcoders] datetime format
I realized that after I did the cell renderer... I just havn't gone back tochange it to a label function yet... too busy :) -Original Message- From: Jeff Tapper [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:46 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] datetime format this can actually be done with a label function, no need for the cell renderer if all you want to do is change the text which is shown. At 01:40 PM 2/28/2005, you wrote: Here is a cell renderer that I use: ?xml version=1.0 encoding=iso-8859-1? mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxmlhttp://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function setValue(str:String, item:Object, sel:Boolean):Void { date_txt.text = StandardDateFormat.format(item.date); } ]] /mx:Script !-- Declare a formatter and specify formatting properties. -- mx:DateFormatter id=StandardDateFormat formatString=M/DD// !-- Trigger the formatter while populating a string with data. -- mx:Text id=date_txt/ /mx:Canvas Just change the formatString to how you want to format your date -Original Message- From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] datetime format well, i´m again with another question to you coders i have a datetime row, with following format: 25/02/2005 12:57:00 how can I format this one and change it in Macromedia Flex to this: 25/02/2005 thanks in advance for all reply Yahoo! Groups Links Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=1298p00e0/M=298184.6018725.7038619.3001176/D=groups/S=1705007207:HM/EXP=1109702458/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075 click here -- Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. Yahoo! Groups Links
Re: datetime format
ok, but what happen if datetime I want to format is on a datagrid? --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: Here is a cell renderer that I use: ?xml version=1.0 encoding=iso-8859-1? mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function setValue(str:String, item:Object, sel:Boolean):Void { date_txt.text = StandardDateFormat.format(item.date); } ]] /mx:Script !-- Declare a formatter and specify formatting properties. -- mx:DateFormatter id=StandardDateFormat formatString=M/DD// !-- Trigger the formatter while populating a string with data. -- mx:Text id=date_txt/ /mx:Canvas Just change the formatString to how you want to format your date -Original Message- From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] datetime format well, i´m again with another question to you coders i have a datetime row, with following format: 25/02/2005 12:57:00 how can I format this one and change it in Macromedia Flex to this: 25/02/2005 thanks in advance for all reply Yahoo! Groups Links
RE: [flexcoders] Re: datetime format
just add this as that column's cell renderer mx:DataGridColumn cellrenderer=dateFormat/ and save the cell renderer as dateFormat.mxml One reason I use this as a cell renderer is because I can use this in multiple places with have the function in multiple places... -Original Message- From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datetime format ok, but what happen if datetime I want to format is on a datagrid? --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: Here is a cell renderer that I use: ?xml version=1.0 encoding=iso-8859-1? mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function setValue(str:String, item:Object, sel:Boolean):Void { date_txt.text = StandardDateFormat.format(item.date); } ]] /mx:Script !-- Declare a formatter and specify formatting properties. -- mx:DateFormatter id=StandardDateFormat formatString=M/DD// !-- Trigger the formatter while populating a string with data. -- mx:Text id=date_txt/ /mx:Canvas Just change the formatString to how you want to format your date -Original Message- From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] datetime format well, i´m again with another question to you coders i have a datetime row, with following format: 25/02/2005 12:57:00 how can I format this one and change it in Macromedia Flex to this: 25/02/2005 thanks in advance for all reply Yahoo! Groups Links Yahoo! Groups Links
Re: [flexcoders] Re: datetime format
no problem. here is an example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; creationComplete=buildDP() mx:Script ![CDATA[ var dp; function buildDP(){ var item1:Object = new Object(); item1.name=jeff; item1.dob = new Date(1970,11,17); var item2:Object = new Object(); item2.name=lisa; item2.dob = new Date(1968,7,23); var item3:Object = new Object(); item3.name=kali; item3.dob = new Date(2004,5,23); dp = new Array(item1,item2,item3); } function formatDate(item:Object):String{ return formatter.format(item.dob); } ]] /mx:Script mx:DateFormatter id=formatter/ mx:DataGrid dataProvider={dp} mx:columns mx:Array mx:DataGridColumn columnName=name/ mx:DataGridColumn columnName=dob headerText=Date of Birth labelFunction=formatDate/ /mx:Array /mx:columns /mx:DataGrid /mx:Application At 01:54 PM 2/28/2005, you wrote: ok, but what happen if datetime I want to format is on a datagrid? --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: Here is a cell renderer that I use: ?xml version=1.0 encoding=iso-8859-1? mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxmlhttp://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function setValue(str:String, item:Object, sel:Boolean):Void { date_txt.text = StandardDateFormat.format(item.date); } ]] /mx:Script !-- Declare a formatter and specify formatting properties. -- mx:DateFormatter id=StandardDateFormat formatString=M/DD// !-- Trigger the formatter while populating a string with data. -- mx:Text id=date_txt/ /mx:Canvas Just change the formatString to how you want to format your date -Original Message- From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] datetime format well, i´m again with another question to you coders i have a datetime row, with following format: 25/02/2005 12:57:00 how can I format this one and change it in Macromedia Flex to this: 25/02/2005 thanks in advance for all reply Yahoo! Groups Links Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=129la1i5u/M=298184.6018725.7038619.3001176/D=groups/S=1705007207:HM/EXP=1109703288/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075 click here -- Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.
Re: Experienced programmer new to java app servers, quick question
Good point Steve, I'll dive into the O'Reilly Tomcat book for a while and see if that helps. I think you'll find there are a lot of folks like myself who are drawn to Flex and come from other environments (.Net, php, perl, C++ in my case). Perhaps a tutorial of some kind to smooth the transition out would be helpful. Cheers, Douglass Respectfully, you're not almost there. :-) You have to create a web application under Tomcat (or any other appserver - this is not a tomcat specific error you're seeing, rather, you haven't created an application context under your application server). The easiest way of doing this is to take flex.war, unarchive it (which will give you a WEB-INF directory, as well as all the other files and directories necessary for a webapp) and then deploy into that webapp. You're going to have to make sure that you deploy your compiled class files into that webapp as well... To be honest, I'd suggest that you put Cairngorm aside for a second, and start with: o Creating a new webapp under Tomcat o Creating a new flex webapp under Tomcat for MXML only o Compiling a Java class into an existing flex-based webapp - setting up a RemoteObject call to that java class Once you can do/understand those processes above, then you might want to think about taking Cairngorm for a spin; but I think it's getting in the way of some more fundamental learning about what's required to get running with Flex in a Java Application Server environment. Cairngorm isn't a short-circuit way of getting started with Flex; rather, once you're already a little immersed in Flex, Cairngorm allows you to go from understanding Flex, MXML and ActionScript 2.0 to building enterprise-scale RIAs by leveraging some knowledge of architectural best-practice gained on prior Flex RIA developments along the way. Cheers, Steven -- Steven Webster Technical Director iteration::two
Re: User Credentials Cache
I have sessionState turned off on my .NET web service. When I test my web service directly through IE, it requires me to login each time I re-open the browser. When I access the web service through Flex HttpService, it does not make me login if I close and re-open the browser. I also found that if I re-start the Flex server, then I am required to login again. Are you sure the Flex server is not caching the credentials or session somehow? Bill --- In flexcoders@yahoogroups.com, Jeff Steiner [EMAIL PROTECTED] wrote: Bill, The issue is not with a cache but rather with the session and how it is handled. Your browser is attached to the session at more the machine level. If your session is still active it allows you through as trusted. Check that the session of the webservice is not lasting longer than to load your browser. That will force the user to login the next time they open a browser. Jeff http://www.flexauthority.com - Original Message - From: billheit [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, February 25, 2005 6:37 PM Subject: [flexcoders] User Credentials Cache I have a .NET Web Service running on IIS with Basic authentication. In flex, I have a HttpService configured to request data from my web service. On a button click I call the HttpService.send() and set an event to handle the result. When I run this Flex app on my IE browser, I get a security login dialog and so I enter my user name and password. I am granted access to the web service and I see my data. All seems to be working fine. However, when I close the browser and re-open it, I am not prompted with the security login again and my application acts as if I am already logged in. Even if I clear the cache on my browser, it still acts as it I am logged in. So I am wondering where my credentials are being cached. Is there a cache duration setting somewhere? How I can clear it? If the user closes the browser and re-opens the app, I want them to log back in. Thanks, Bill Yahoo! Groups Links
Is System.security.loadPolicyFile() one shot only?
We are trying to get our flex application to communicate with a Java Web Start application by starting a socket listener in the Java app and connecting to it with a XMLSocket in the Flex app. Connections to localhost aren't permitted by default by the flash player, so we're using System.security.loadPolicyFile() to load a cross-domain policy served by the Java app before connecting. This works great in our tests, so long as the Java app is started and listening before the Flex app tries to load the policy file. If the app is unavailable the connection fails (as expected), but there appears to be no way to reset the connection once the Java app is up and running without reloading the Flex app. Subsequent calls to System.security.loadPolicyFile() don't correct the problem. Since the Flex app is responsible for starting the Java app and has no way of knowing when it's initialized, this situation is unacceptable. Does anyone on the list know if this is a feature of the Flash player's sandbox, or is there a way to try the policy file again? If not, has anyone worked out a method of communicating with a non-Flash application (other than an applet) on the client machine? I greatly appreciate any insight or references you can provide. Thanks, Alex Cruikshank Carbon Five
Re: cursor priority problems
Thanks Manish, this works a charm. No more hidden cursors ;) Best, Andrew. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: Andrew Spaulding wrote: For example the loaded app has a HDividedBox and when i place the mouse over the resize bar it disappears! I also have this same behaviour in my custom component, even when setting the cursor to the highest priority. Is there a workaround for this? I just posted this to another thread, but here again: ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:HDividedBox width=0 height=0 / !-- subapp contains HDividedBox whose resize handle is now showing -- mx:Loader source=subapp.swf / /mx:Application The asset needs to be in the main SWF. You can also embed it directly: ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script // Pull this in because it's needed by a subapp [Embed(symbol=mx.skins.cursor.HBoxDivider)] var hBoxDividerAsset:String; /mx:Script !-- subapp contains HDividedBox whose resize handle is now showing -- mx:Loader source=subapp.swf / /mx:Application Manish