[flexcoders] Maintaining component state across sessions

2007-12-19 Thread Hans Omli
I need to maintain the state of a handful of components across sessions in
an AIR/Flex app.  I've written a HistoryManager, but it doesn't go down to
the level of selected item, which nodes are opened/closed, scroll position,
and so on.  The data for all components is dynamic, so I also need to check
if selected items, opened nodes, or otherwise still exist.
Anyone come up with an elegant way to accomplish this?


Re: [flexcoders] Subclipse 1.0x and Flexbuilder 3 beta 2

2007-11-05 Thread Hans Omli
I think you mean Subclipse 1.2.4?  Anyway... to get it working:

Help  Software Updates  Find and Install...  Search for new features to
install
New Remote Site...  Name: Subclipse URL: 
http://subclipse.tigris.org/update_1.2.x;
Select Europa Discover Site then click Finish
Select Europa Discovery Site  Java Development  Java Development Tools
(JDT)
Click the Select Required button
Then continue with your install of Subclipse


On 11/5/07, Brendan Meutzner [EMAIL PROTECTED] wrote:

   
 http://www.onflexwithcf.org/index.cfm/2007/10/5/Where-did-the-orgeclipsejdtcore-go-in-Flex-Builder-3-Beta-2-standalone




 On Nov 5, 2007 12:47 PM, Patrick Lemiuex [EMAIL PROTECTED] wrote:

I use to be able to do a find and install and put this in, but now it
  balks and asks for org.eclipse.jdt.core file.
 
  Any help on this please?
 
  Thanks,
  Patrick
 



 --
 Brendan Meutzner
 http://www.meutzner.com/blog/
  



Re: [flexcoders] Re: Beta Flex 2 release Date? Any one for a Guess

2006-01-08 Thread Hans Omli



To clarify, will I also need a license for Flex Enterprise Services (in addition to Flex Builder 2 and CFMX7) to publish and subscribe between a Flex client and a CFC? Or will basic pub/sub functionality be built directly into CFMX7 apart from any need for FES?
 Do you think you can use the pub/sub functionality as described?I'll definately use pub/sub functionality. However, I'm not clear yet on when I'll do so with CFMX7 versus Flex Enterprise Services versus Flash Media Server 2 versus custom socket servers. Looking forward to learning more about the different functionality of each offering during the beta!
 How do you envision a CFC backend to Flex2 Data services?For projects where I'm mixing CF and Java, I'd consider passing everything through Flex Enterprise Services, as I prefer a single point of entry. I'll need to better understand the differences in functionality between the CF gateway and FES before I can really envision when I'd use CFCs versus POJOs on the backend.







--
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] Poll: Flex developer US$ rate?

2005-11-18 Thread Hans Omli
Rates vary widely depending on type of gig (consulting, contractor, or
employee), industry, location, depth of knowledge in software engineering,
experience with flash and other related technologies, and so on.  I'd expect
a highly experienced Flex developer that runs a consulting firm to bring in
$150 to $300/hr or more.  On the other hand, I'd expect a college student
using Flex to create a web app for a local small business to make $15 to
$30/hr.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Aldo Bucchi
Sent: Friday, November 18, 2005 6:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Poll: Flex developer US$ rate?

Hi all,

Any ideas on what a Flex developer is currently charging in the US?


--
: Aldo Bucchi :
mobile (56) 8 429 8300


 Yahoo! Groups Sponsor ~-- Get
fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~- 

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



 




 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] cairngorm framework and flex 2.0

2005-10-19 Thread Hans Omli
You can call services however you want with the framework.  This is the
purpose of the service locator pattern.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dominick_nvn
Sent: Wednesday, October 19, 2005 4:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] cairngorm framework and flex 2.0

Does anyone have directions on how to use flex builder 2.0 and the cairngorm
framework.  It seems that flex 2.0 doesn't have access to amf remote calls
which is built into the framework.  Do we simply remove the remote method
calls and place in web service calls?  
Thanks.



 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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:
http://docs.yahoo.com/info/terms/
 






RE: [flexcoders] Re: Macromedia Labs site

2005-10-18 Thread Hans Omli





Agreed. It's pretty difficult to compete with 
free. That said, leading an open source project can be a good career move, 
so maybe someone in the CF community will come up with 
one.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of SpikeSent: 
Tuesday, October 18, 2005 1:12 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Macromedia 
Labs site
I'm not totally convinced that there would be significant uptake for 
a CF wiki. I was looking for one a few weeks ago and ended up going with 
mediaWiki too. I'm no PHP guru, but it only took about an hour to get everything 
set up including installing PHP and getting the database setup.With that 
knowledge it would be very hard for me to justify paying for one and I'm sure 
I'm not alone.I'm sure some people would buy it, but I doubt if you'd 
get back the money you spent developing it.my 
2centsSpike
On 10/18/05, Tariq 
Ahmed [EMAIL PROTECTED] 
wrote:
I 
  think there's a business opportunity to create a CF based Wiki; I've had to 
  integrate a PHP one because there aren't any good CF based ones out 
  there.But I just want to comment that for MACR to make one; the 
  decision would be to divert resources. Frankly I'd rather see MACR focusing on 
  their core products, as opposed to pulling CF guys off of CF8 to make a CF 
  based wiki which would be totally sunk cost unless they plan to sell it as a 
  product. Financially it wouldn't make sense.charlespaz1 wrote: 
  I recognized it as MediaWiki, and I understand PHP is a great tool, Iuse it myself when the project calls for it.  I have nothing againstMacromedia using PHP if it is the right tool for the job.   However,
as the "15th Billionth" person to comment on this, I find theimpression that it gives in this case an unsettling one.How would you feel if Microsoft hosted their web pages on Linux/Apacheinstead of Windows/IIS?  Or developed Office in Delphi?  It just
wouldn't give a great impression of their confidence in their own product.Who, if not Macromedia, has the most knowledgable people ofColdFusion?  Who, if not Macromedia, should be running a ColdFusionbased Wiki, to not only showcase their product, but to show their
confidence in its use in an enterprise environment.With a simple Google search today I found a ColdFusion wiki, and I'vedownloaded a few others previously. 
http://www.cdsi-solutions.com/cfwiki/But hey, that's just my opinion.--- In flexcoders@yahoogroups.com
, Mike Chambers [EMAIL PROTECTED] wrote:  
Yes. It is using MediWiki, which powers wikipedia.mike chambers--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  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. 
  
  
  -- 
Stephen MilliganDo you 
do the Badger?http://www.yellowbadger.com Do 
you cfeclipse? http://www.cfeclipse.org





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





  




  
  
  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: Dividing the mailing list into categories

2005-10-18 Thread Hans Omli





That said, I wonder if we shouldn't monitor the new 
Macromedia Labsforums for awhile before making any decisions on whether to 
create new lists.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Tuesday, October 18, 2005 2:28 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Dividing the 
mailing list into categories

I'm more interested in what, and the rest of the 
list thinks. There are thousands+ on this list now, and splitting/adding 
new ones is a huge undertaking, not to be taken lightly, nor without appropriate 
management in place. I do, however, think it's necessarey given the 
paradigm changes in the community taking place. It is better to act now 
than later.

- Original Message - 
From: Clint Modien 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, October 18, 2005 5:19 PM
Subject: Re: [flexcoders] Re: Dividing the mailing list into 
categories

Might try contacting the owners of this list... to see if they agree... 
you'd need a policy on this list to direct the appropriate questions to a new 
list.

[EMAIL PROTECTED]

On 10/18/05, JesterXL 
[EMAIL PROTECTED] 
wrote: 
This 
  setup works well in Flash; Flashcoders handles component  
  ActionScriptcoding issues where as Flashnewbie handles anything not 
  advanced.There are a bunch of smart people on Flashnewbie, and 
  everyone pitches in to help.What Flexcoders, though, really needs is a 
  clear division between tasks, notjust skillset.For exmaple, 
  Flex Enterprise Services are what most of the Enterprise customers on this 
  list will care about, whereas those Flasherswho finally see the f'ing 
  light, will just be asking MXML  
  componentquestions.Flashcom for example was setup so Flash 
  Communication Server questions weren't asked on Flashcoders, or 
  Flashnewbie.This works well aseach has a nice community going 
  on.If it were up to me, I'd say:Flexcoders = stays as 
  isFlexserver = deals with enterprise services Most of the Flash 
  devs incoming will get up to speed pretty quickly, andthere are already 
  plenty of experienced Flex devs on Flashcoders.Besides, we're at 
  version 1.5, not 8 like the Flash community is.The influx of 
  n00bs to this list is what makes it fun in my opinion.- Original 
  Message -From: "Greg Johnson" [EMAIL PROTECTED]To: 
  flexcoders@yahoogroups.comSent: 
  Tuesday, October 18, 2005 3:58 PMSubject: [flexcoders] Re: Dividing the 
  mailing list into categoriesHehehe *raises hand as Flex Newbie* 
  But I have been using Flash and Actionscript for 5+ years and 
  havebeen coding CF since it's first Beta release.Plus I have a 
  Degreein Business Computer Programing where I was fully educated in 
  OOPwith C++. I understand what you are saying, and there is a 
  valid logic to it.There is a flaw to it as well.Its kinda like 
  those party lines youcall to "meet a hot babe" and all that you find is a 
  bunch of guys. If you put all the n00bs like me in one room, and the 
  experts inanother, it will just be people who don't have any answers 
  askingquestions of people who don't have any answers. roflDon't 
  take any of my most recent posts wrong, I agree that Flex is 
  great.We have an entire project, grant, and I have an offer 
  for meto go to full time state emp specificaly because of 
  Flex2.Its justfrusterating as it seems most of the syntax etc 
  I learned with Flex1.5 is just causing errors now.I would have 
  grave doubts that creating an all n00b area wouldbenifit the n00bs, though 
  I am sure it would benifit the pros :)Just my 2000 cents 
  :DGreg--- In flexcoders@yahoogroups.com, 
  Manuel Saint-Victor[EMAIL PROTECTED] wrote: I've 
  brought this up before and I'm going to go out on a limb againand 
  suggest that we maybe create a Flex 2 noobs mailing list. I say this 
  because I think that in the coming weeks there is going to be a deluge 
  ofmembers to here that a)are brand spanking new to Flex and even 
  Flash b)Haven't really read the posting etiquette or become 
  familiar with searching previous posts c)are just dabbling 
  etc. I think it will make it a lot more readable and usable a 
  list ifthose who are at least working with 1.5 for production 
  level projects thatwill continue can be spared our posts of "Hello 
  help I'm oblivious".Last time I mentioned this it was more 
  motivated by the sense that newbiesneeded a place to ask for help 
  and then be directed to the docs or a Google search while the more 
  knowledgeable guys can have a more productiveenvironment. Before I 
  believe that as pointed out to me -Flex's developerpopulation was 
  not yet at critical mass for this kind of partitioning. I have the 
  feeling that this week will change that. Either way I 
  think that this Flex 2 is the best thing since indoorplumbing. The 
  workflow is fluid, the docs are light and informative and Ivery well 
   might need a relationship counselor in the next few weeks 
  orsomeone to keep 

RE: [flexcoders] Macromedia Labs site

2005-10-17 Thread Hans Omli
Ben Forta puts it best... The Wiki is written in PHP, because it is the
best Wiki software out there (the one used by Wikipedia and others). And
thus far no one has ported it to CF, or even written a CF Wiki (that we know
of). 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of charlespaz1
Sent: Monday, October 17, 2005 8:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Macromedia Labs site

Is it just me, or does anyone else find it strange that Macromedia (home of
ColdFusion and Flex) is using php for its wiki? Maybe it is just because
I've been working on creating my own wiki in CF. :)

--- In flexcoders@yahoogroups.com, Jeff Whatcott [EMAIL PROTECTED] wrote:

 Check out this and other known issues here:
 
 http://labs.macromedia.com/wiki/index.php/Flex:known_issues






 Yahoo! Groups Sponsor ~-- Get
Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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



 






 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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:
http://docs.yahoo.com/info/terms/
 






RE: [flexcoders] Re: how can I change the default browser in Flexbuilder 2?

2005-10-17 Thread Hans Omli





Preferences  General  Web 
Browser


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Rich 
RodeckerSent: Monday, October 17, 2005 1:41 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: how can I change 
the default browser in Flexbuilder 2?
well, i disovered that if you right click on the html file in the 
Navigator panel, then choose "open with.." web browser, the project will open up 
right in FB. that'll work too.
On 10/17/05, Rich 
Rodecker [EMAIL PROTECTED] 
wrote:
quick 
  question...how can I tell FB2 to launch IE instead of FireFox (which is 
  currently my default)?thanks,rich





--
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] Eclipse setup for Cairngorm (and a huge thank you!)

2005-05-20 Thread Hans Omli



I was just aboutto post a question about the .classpath files included in the samples, and how you're working with the samples in Eclipse. I havea question before I wait patiently for the whitepaper...

It appears you're not using Sysdeo's Eclipse Tomcat Launcher plugin. If this is correct, I assume you are manually creating a Context path/workDir in Tomcat such as:

Context path=/cairngormlogin workDir=PATH_TO_LOGIN_WEBAPP_DIR /

Are you manually restarting Tomcat after compiling in Eclipse, ordo you use Ant or another method to built and restart Tomcat?

On another note, I think a HUGETHANK YOUis in order for all of the time and energy Steven, Alistair, and the rest of the folks at iteration::two have dedicated to helping the Flex community... both in answering so many questions via FlexCoders as well as the work on Cairngorm, FlexUnit, blog posting, white papers, presentation, and all of the sample code they contribute. 
Thank you all!!! Developing with Flex wouldn't be the same without you!!!

On 5/20/05, Steven Webster [EMAIL PROTECTED] wrote:
...
We do have another whitepaper that is being written at present,that will explain how to setup both Flexbuilder and Eclipse
with Cairngorm, to start a project with Cairngorm from scratch.However, it may be weeks, it may be months before thatwhitepaper is available ... I'm not willing to commit at thisstage, as we've already devoted a significant amount of time
to pulling together what you see in the 0.99 release









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.










RE: [flexcoders] Re: Cairngorm 0.99

2005-05-19 Thread Hans Omli
I'm having a similar issue.  After changing db_path in
/WEB-INF/classes/store.cfg to an absolute path, I get:

Error: Unresolved compilation problems: 
The import org.apache.commons cannot be resolved
The import org.apache.commons cannot be resolved
log cannot be resolved
log cannot be resolved
log cannot be resolved
log cannot be resolved
log cannot be resolved
log cannot be resolved
Log cannot be resolved to a type
LogFactory cannot be resolved

Could be an issue with the way I have the Tomcat project configured in
Eclipse.  Will dig deeper into this in the morning.

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Steven Webster
Sent: Wednesday, May 18, 2005 7:10 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Cairngorm 0.99

Hi there,

Can you zip up your webapp directory (removing flex.war/etc) on JRun and
email it privately to me offlist, and we'll take a look.

On the login sample, you should have seen a result or a fault come back over
the wire ... what was the case ?

Have you tried starting/stopping the appserver ?

I'm sure it's something simple.

Best,

Steven 

 -Original Message-
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of violabg2002
 Sent: 18 May 2005 15:04
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Cairngorm 0.99
 
 Hi Steven
 
 changed the store.cfg paht to
 db_path=c:\\cairngormstore\\db\\  but same problem.
 
 I have
 
 h commons-lang-1.0.1.jar
 h commons-logging-1.0.4.jar
 h hsqldb.jar
 h log4j-1.2.8.jar
 
 in the Flex\jrun4\servers\default\cairngormstore\WEB-INF\lib
 directory.



 
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:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Cairngorm 0.99, JRun and Log4J

2005-05-19 Thread Hans Omli




I'm running Tomcat. I see two log4j warnings when launching Tomcat through Eclipse:

log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.

Then I get the following error when I run Main.mxml:

Error: Unresolved compilation problems: The import org.apache.commons cannot be resolvedThe import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolved
log cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolved

Any ideas?
On 5/19/05, Alistair McLeod [EMAIL PROTECTED] wrote:

Hi all,

It turns out that the log4j JAR file that ships with the CairngormStore example in Cairngorm conflicts with the one that is pre-installed with the version of JRun that ships with Flex, and stops the application context from starting up successfully. So, to get it running, delete the following file before starting the integrated JRun server:


\jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar

JRun will then use its own Log4J JAR file.




Cheers,

Ali

--
Alistair McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 6108

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.









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.










Re: [flexcoders] Cairngorm 0.99, JRun and Log4J

2005-05-19 Thread Hans Omli



I resolved the log4j warnings. I had imported log4j.properties into the wrong webapp. :-(

However, I still get the unresolved compilation problems. Any ideas?
On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:

I'm running Tomcat. I see two log4j warnings when launching Tomcat through Eclipse:

log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.

Then I get the following error when I run Main.mxml:

Error: Unresolved compilation problems: The import org.apache.commons cannot be resolvedThe import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolved
log cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolved

Any ideas?

On 5/19/05, Alistair McLeod [EMAIL PROTECTED]
 wrote: 

Hi all,

It turns out that the log4j JAR file that ships with the CairngormStore example in Cairngorm conflicts with the one that is pre-installed with the version of JRun that ships with Flex, and stops the application context from starting up successfully. So, to get it running, delete the following file before starting the integrated JRun server: 


\jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar

JRun will then use its own Log4J JAR file.




Cheers,

Ali

--
Alistair McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 6108

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. 









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.










Re: [flexcoders] Cairngorm 0.99, JRun and Log4J

2005-05-19 Thread Hans Omli



Resolved the compilation problems. I needed to add the libraries to the Tomcat project I'm using in Eclipse, not just import the libraries into the lib folder.
On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:

I resolved the log4j warnings. I had imported log4j.properties into the wrong webapp. :-(

However, I still get the unresolved compilation problems. Any ideas?

On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:
 

I'm running Tomcat. I see two log4j warnings when launching Tomcat through Eclipse:

log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.

Then I get the following error when I run Main.mxml:

Error: Unresolved compilation problems: The import org.apache.commons cannot be resolvedThe import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolved
log cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolved

Any ideas?

On 5/19/05, Alistair McLeod [EMAIL PROTECTED] 
 wrote: 

Hi all,

It turns out that the log4j JAR file that ships with the CairngormStore example in Cairngorm conflicts with the one that is pre-installed with the version of JRun that ships with Flex, and stops the application context from starting up successfully. So, to get it running, delete the following file before starting the integrated JRun server: 


\jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar

JRun will then use its own Log4J JAR file.




Cheers,

Ali

--
Alistair McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 6108

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. 









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.










[flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6?

2005-05-18 Thread Hans Omli



Has anyone successfully set up tag insight withEclipse andthe new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can't seem to get tag insight working with 6.0. 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 subject to the Yahoo! Terms of Service.










RE: [flexcoders] E4X in Flex 2.0, part 1: Reading XML

2005-05-17 Thread Hans Omli
Title: Message





I don't suppose we'll be reading part 2 of this email via 
FlexCoders then. ;-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon 
SmithSent: Tuesday, May 17, 2005 5:15 PMTo: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] E4X in Flex 
2.0, part 1: Reading XML

Oops... I meant to send this to an internal group, not to flexcoders. 
Enjoy the information, but, for now, don't expect this level of detail about our 
future plans. Of course, we do want your feedback on features for the next 
release, and we'll be sharing more plans with you in the future, as we get 
closer to the next release.

Sorry,
Gordon

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Gordon SmithSent: Tuesday, May 17, 2005 4:54 PMTo: 
  'flexcoders@yahoogroups.com'Subject: [flexcoders] E4X in Flex 2.0, 
  part 1: Reading XML
  
  
  As 
  you may have gathered, we've been spending a lot of 
  time lately leveraging the new features of the Flash Player in the new Flex 
  application model. Naturally, you'll also be able to leverage those same new 
  features, so we thought we'd start giving you a run down of what's new. Of 
  course we don't have beta software for you to play with yet, so for now, we'll 
  provide a lot of detail so you can evaluate these new features and give 
  guidance for us.
  
  XML 
  manipulation in Flex 2.0 is going to get a lot more powerful, as well as 
  faster.By the time that Flex 2.0 ships, the Flash Player will support 
  E4X ("ECMAScript for XML"), a set of programming language extensions adding 
  native XML support to ECMAScript.The player team is busy implementing 
  Standard ECMA-357 as described in http://www.ecma-international.org/publications/standards/Ecma-357.htm.
  
  
  
  Here'show the spec describes 
  whatthis feature offers:"E4X adds native XML datatypes to the 
  ECMAScript language, extends the semantics of familiar ECMAScript operators 
  for manipulating XML objects and adds a small set of new operators for common 
  XML operations, such as searching and filtering. It also adds support for XML 
  literals, namespaces, qualified names and other mechanisms to facilitate XML 
  processing."
  
  
  
  Lets take a look at a few examples 
  of how you can read XML data using E4X.
  
  
  
  As in the current player, you'll 
  be able to create variables of type XML by parsing a String. But XML literals 
  will now be supported as well:
  
  
  
   var 
  employees:XML = 
  employees 
  employee 
  ssn="123-123-1234" 
  name first="John" 
  last="Doe"/ 
  address 
  street11 Main 
  St./street 
  citySan 
  Francisco/city 
  stateCA/state 
  zip98765/zip 
  /address 
  /employee 
  employee 
  ssn="789-789-7890" 
  name first="Mary" 
  last="Roe"/ 
  address 
  street99 Broad 
  St./street 
  cityNewton/city 
  stateMA/state 
  zip01234/zip 
  /address 
  /employee 
  /employees;
  
  
  
  Instead of using DOM-style APIs 
  like firstChild, nextSibling, etc., with E4X you just "dot down" to grab the 
  node you want.Multiple nodes are indexable with [n], similar to the 
  elements of an Array:
  
  
  
   
  trace(employees.employee[0].address.zip);
  
   
  ---
  
   
  98765
  
  
  
  Tograb an attribute, you 
  just use the .@ operator:
  
  
  
   
  trace([EMAIL PROTECTED]); 
  ---
  
  
   
  789-789-7890
  
  
  
  If you don't pick out a particular 
  node, you get all of them, as an indexable list:
  
  
  
   
  trace(employees.employee.name);
  
   
  ---
  
   name 
  first="John" last="Doe"/
  
   name 
  first="Mary" last="Roe"/
  
  
  
  (And note that nodeseven 
  toString() themselves into formatted XML!)
  
  
  
  
  A handy double-dot operator lets 
  you omit the "path" down into the XML _expression_, so you could shorten the 
  previous three examples to
  
  
  
   
  trace(employees..zip[0]);
  
  
   
  trace([EMAIL PROTECTED]]);
  
  
   
  trace(employees..name);
  
  
  You can use a * wildcard 
  toget a list of multiple nodes or attributes with various names, and the 
  resulting list is indexable:
  
  
  
   
  trace(employees.employee[0].address.*);
  
   
  ---
  
   
  street11 Main St./street
  
   
  citySan Francisco/city
  
   
  stateCA/state
  
   
  zip98765/zip
  
   
  trace([EMAIL PROTECTED]); 
  ---
  
   
  Doe
  
  
  
  You don't have to hard-code the 
  identifiers for the nodes or attributes... they can themselves be 
  variables:
  
  
  
  
  
   var 
  whichNode:String = "zip"; 
  trace(employees.employee[0].address[whichNode]);
  
   
  ---
  
   
  98765
  
  
  
  
   var 
  whichAttribute:String = "ssn"; 
  trace([EMAIL PROTECTED]); 
  ---
  
   
  789-789-7890
  
  
  
  Anew for-each loop lets you 
  loop over multiple nodes or attributes:
  
  
  
   for each (var 
  ssn:XML in [EMAIL PROTECTED])
  
   
  {
  
   
  trace(ssn);
  
   
  }
  
   
  ---
  
   
  123-123-1234 789-789-7890
  
  
  
  Most powerful of 

RE: [flexcoders] FLEX and CF7..

2005-05-12 Thread Hans Omli
It depends what you're trying to accomplish and what metric you use to
measure performance.  The price-to-performance ratio, however, is best with
Tomcat.  ;-)

On a more serious note, my take on why Flex doesn't include a JRun license
is that it is being targeted toward Enterprises who are very likely to
already be running WebSphere, WebLogic, Oracle, or Tomcat in their
environment.  On the other hand, most CF shops don't already have a Java
application server deployed in there environment so a JRun license is a
necessity.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Barnes
Sent: Wednesday, May 11, 2005 10:11 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FLEX and CF7..

Performance wise, which is betterer?

JBOSS
Tomcat
JRUN4 

:)

Or is it like comparing a dirtbike against a roadbike? :)


On 5/12/05, Cliff Meyers [EMAIL PROTECTED] wrote:
 That's exactly the point I was making :)  Flex is NOT cheap...
 significantly more expensive that CF7 Enterprise... so I can't 
 understand why Macromedia wouldn't throw in JRun4 with Flex if they're 
 going to throw it in for CF7 ENT.  FYI, JBoss also seems to work 
 nicely for CFMX7 and Flex 1.5 if you're looking for a free J2EE 
 server to run CF and Flex. :)
 
 -Cliff
 
 
 On 5/12/05, Scott Barnes [EMAIL PROTECTED] wrote:
  For now we are going to use TomCat to tide us over until we figure 
  things out... you'd think for the bucks we paid, JRUN full license 
  would of been thrown in ;) hehe.
 
 
  On 5/12/05, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
  
   Er, I don't think the JRun license is a full license with Flex, 
   it's just a trial license.
  
  
  
   Scott, I'd just talk to your sales rep and see what makes sense 
   for your needs.  I have no idea how the pricing works on JRun vs. CF
Enterprise.
  
  
  

  
  
   From: flexcoders@yahoogroups.com 
   [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes
Sent: Wednesday, May 11, 2005 9:32 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FLEX and CF7..
  
  
  
   well the actual legal (Commercial) FLEX license is being sent  
   (currently FEDEX) but i have the serial, and simply used the  
   downloadable version to install.
  
that being said, once i provide the serial it doesn't ask how i 
   want  it installed, but simply installs the WAR?
  
am i missing something from this equation?
  
On 5/12/05, Cliff Meyers [EMAIL PROTECTED] wrote:
 If you purchase a Flex license it comes with a full license of
JRun.
 When you run the Flex installer you can either have it create a 
   .war   file to deploy to an existing J2EE server, or choose to 
   install JRun4   on your server and then put Flex on top of it.  
   The same is true of   ColdFusion MX7: if you spring for an 
   Enterprise license you can   install CF with a full version of 
   JRun4, or as a .war to deploy to any   other J2EE server.  You 
   could also install CFMX7 in Standalone mode,   but IMHO this 
   would be waste since you'd be sacrificing the full J2EE   
   capability (Servlets, JSPs, EJBs, etc) as well as some other 
   features   in CFMX7 Enterprise Edition.  If you want to deploy 
   CFMX7 and Flex on   top of the same J2EE server (be it the free 
   JRun you get with the   CF/Flex licenses or any other J2EE server)
you're still going to need   the CFMX7 Enterprise edition.

 If you are looking for the most cost-effective route, you can 
   do the
   following:

 (1) Buy a Flex license and install it on a box with the full 
   version
  
 of JRun that's included,
 (2) Buy a CFMX7 Standard license and install it on a different 
   box in   Standalone mode You might also be able to run them 
   side by side on the same box, but   usually I think MM will 
   discourage that behavior since having two JRun   servers on the 
   same box will probably cause issues.  Port conflicts   
   immediately jump to mind since different parts of the J2EE 
   machinery   will probably try to bind to the same default ports, 
   although you   could probaby adjust the .xml config files to 
   resolve this.  However   you're also going to add a lot more 
   overhead to your hardware by   running two separate J2EE servers 
   on the same box.  If your company is   willing to spring for the 
   hefty price tag of Flex, is the difference   between CFMX7 Standard
and Enterprise really that significant?

 HTH,

 Cliff


 On 5/11/05, Scott Barnes [EMAIL PROTECTED] wrote:
  In order to install FLEX you need an existing Java 
   Application Server,now we own CF7 Standard not Enterprise.
 
  1) Would it be more cost effective to buy JRUN 4 (standalone) 
   anddeploy CF7/FLEX war files to JRUN4   2) Buy / 
   Updared CF7 Standard to Enterpise and deploy FLEX via this route.
 
  I'm not really up to speed on whats what in 

[flexcoders] Copyright Symbol in MXML using Eclipse and OxygenXML

2005-05-10 Thread Hans Omli



Anyone know how to insert a copyright symbol in a label, such as mx:Label text=Copyright 2005 /, when using Eclipse with OxygenXML?I get the following error:
Error parsing MXML document: encoding is specified as UTF-8 but the file is not UTF-8 encoded.I don't get this error if I do the same using FlexBuilder.

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 subject to the Yahoo! Terms of Service.










RE: [flexcoders] MXMXL Editor

2005-04-14 Thread Hans Omli

In addition to FlexBuilder, I use Eclipse with the following plug-ins
installed:

* OxygenXML for coding MXML (can also use JavaScript editor for
Actionscript)
* CFEclipse for CFML and CFCs
* Sysdeo for controlling Tomcat from within the IDE
* Eclipse's built-in Java support for POJOs that will be called as Remote
Objects

XMLSpy and PrimalScript are also good.


-Original Message-
From: Ketan Bengali [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 9:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] MXMXL Editor

Has anybody tried any editors apart from from Flex Builder for mxml?
Flex Builder degrades the performance of my PC.

--
Regards,

Ketan Bengali



 
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:
http://docs.yahoo.com/info/terms/
 





Re: Can I add scrollbar to a menu?

2004-05-11 Thread Hans Omli
No such luck. Menu is based on ScrollSelectList which is based on 
ScrollView. However, it appears rowCount is broken as 
myMenu.rowCount = 5 doesn't have any effect.

--- In flexcoders@yahoogroups.com, Eric Guesdon [EMAIL PROTECTED] wrote:
 hi,
 
 Did you try rowcount properties ?
 I'm not 100% sure but i think Menu is List-based component
 Regards
 Eric
 
 
 
 
 
  Message du 06/05/04 17:14
  De : Hans Omli 
  A : flexcoders@yahoogroups.com
  Copie à : 
  Objet : [flexcoders] Can I add scrollbar to a menu?
  Anyone been able to figure out how to limit the number of rows 
that 
  appear in an instance of a menu component, automatically adding 
a 
  scrollbar if there are too many items to display at once? It 
  appears the menu component ignores the size of the application 
  window and extends right off the bottom of the viewable area if 
  there are too many items, which isn't the best user experience.
  
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
 





Can I add scrollbar to a menu?

2004-05-06 Thread Hans Omli
Anyone been able to figure out how to limit the number of rows that 
appear in an instance of a menu component, automatically adding a 
scrollbar if there are too many items to display at once? It 
appears the menu component ignores the size of the application 
window and extends right off the bottom of the viewable area if 
there are too many items, which isn't the best user experience.