[flexcoders] Re: FDS: Can push be done with the Data Service alone, or is the message service the only way?

2006-04-17 Thread pk_wasp
RPC style calls to do CRUD

Yep :) or at least a consistent Flash Remoting framework for all 
the major server-side platforms (PHP, Ruby, .NET etc)

Think one of the reasons why ASP.NET, Ruby on Rails etc is gaining  
coz its easy to do RPC style CRUD stuff .so Flex 2(which makes 
rich UIs easy) + all that server side Flex API/Framework to connect 
to webservices and do RPC style CRUDs - should help attract heaps of 
developers over :)

cheers


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 You want RPC style calls to do CRUD but no synchronization logic?  
Well
 we'll have it for CF because Mystic has the adapter.  We'll have to 
do
 more research into the value of us providing for all of the 
different
 backends, but I'm sure there are folks thinking about it.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of pk_wasp
 Sent: Sunday, April 16, 2006 5:37 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: FDS: Can push be done with the Data 
Service
 alone, or is the message service the only way?
 
 Sounds interesting
 
 Will there ever be a non messaging version of Data Service (e.g. 
just 
 for RPC type functionality)?
 
 Would be cool to have some sort of Flex framework to do CRUD type 
 operations like Data Services and is server agnostic on the backend 
 (so server-side plugins/APIs for PHP, Ruby on Rails, J2EE, .NET, 
 Coldfusion etc, but the Flex client-side code is the same 
regardless 
 of middle tier technology)
 
 cheers 
 
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  In Beta 3 we'll be providing more APIs that allow you to tell the
  DataService that a change has happened on the server and it will 
 push
  changes to the clients who would care.
  
   
  
  Matt
  
   
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Tom Bray
  Sent: Wednesday, April 12, 2006 3:47 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] FDS: Can push be done with the Data Service 
 alone,
  or is the message service the only way?
  
   
  
  Basically, I want my Flex clients to subscribe to data 
destinations 
 and
  receive updates that are cause by server-side processes.  Do I 
need 
 to
  use both services?  In other words, do a DataService.fill() upon 
app
  initialization and then again any time I receive a message from a
  separate message service destination? 
  
  To use a Flash Communication Server analogy, I can have my Flash 
 clients
  connect to a Remote SharedObject and then have the server 
 occasionally
  make a remoting call and update that SharedObject which pushes the
  changes out to the clients.  I need a way to do this in FDS. 
  
  Thanks!
  
  -Tom
  
  
  --
  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
  http://groups.yahoo.com/group/flexcoders  on the web.

  *To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
subject=Unsubscribe 

  *Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/ . 
  
   
  
  
 
 
 
 
 
 
 
 --
 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







--
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] FDS Hibernate

2006-04-17 Thread al77_t
Yep, just curious what functionality Hibernate adapter provides, 
using of java-dao adapter should work fine with Hibernate-based applications
tho ;) 

Regards,
Alex 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Monday, April 17, 2006 2:35 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FDS  Hibernate

I don’t know that I agree with your premise that open source is the only way
to understand a technology to adopt it, but agree that the documentation is
behind the implementations.  Hopefully when B3 comes out more documentation
will be available, and the changes that we made to the implementation should
allow you to use Hibernate with much less FDS configuration.

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Valy Sivec
Sent: Friday, April 14, 2006 10:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FDS  Hibernate

 

After reading the Flex Developer guide I realized that might be too early to
integrate DSHibernate in my application. DS idea is great but not having
the Hibernate adaptor open source I think is very difficult to adopt it.

In addition to that, it looks that there is no support for annotation at
this moment . 

Do you guy have any plans in going away from the XML configuration of each
destination?.

Thanks,
Valy

Matt Chotin [EMAIL PROTECTED] wrote:

We’re updating the hibernate implementation significantly so I’d expect
some changes that should make integration easier.  We’re also exposing
more options on the DS to optimize for the case you describe of non-editable
data where it doesn’t need to be kept in sync.  So you absolutely can use
remote object instead but DS might also do the trick just fine.

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Valy Sivec
Sent: Thursday, April 13, 2006 2:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS  Hibernate

 

I start looking into the Data Services topics a little bit and I see that
for each destination there is a identity property that needs to be defined.
I have the data persistence layer implemented with Hibernate and I was
wondering how Flex DES will handle objects with the identity propetry NULL,
knowing that Hibernate is smart enough to do an insert/update based on the
entity key's value. 

Have you guys integrated Flex DES with Hibernate data model in the backend.?


Also, in cases when I need to populate non-editable data, that doesn't need
to be kept in sync with the backed should I use remote objects versus data
services?. Any thoughts?.

Thanks,
Valy



How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call
rates.
http://us.rd.yahoo.com/mail_us/taglines/postman8/*http:/us.rd.yahoo.com/evt
=39663/*http:/voice.yahoo.com 

 



Yahoo! Messenger with Voice.
http://us.rd.yahoo.com/mail_us/taglines/postman3/*http:/us.rd.yahoo.com/evt
=39666/*http:/beta.messenger.yahoo.com  PC-to-Phone calls for ridiculously
low rates. 


--
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
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
http://docs.yahoo.com/info/terms/ . 







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




[flexcoders] Will there be a Part II to Sho K's Flickr Tutorial (i.e. more indepth on schemas)

2006-04-17 Thread Robert Thompson



I've watched all the tutorials and worked with quick starts and they are enormously helpful.I was wondering though, Sho kind of glosses over the end of his Flickr tutorial on his Thumbnail and a customize interpretation of Flickr.Although I am not necessary suggesting a full Xmethods.com SOAP WSDL (his is REST which I prefer), I was wondering if he can present methods for using any service out there that provides a schema of the return [object] so that a more dynamic approach can be used to, for example, hooking up his "find" to virtualy _any_ service that may return media of any time.His Vieo still one of the best yet; the others are Flex Data Service or highly IDE based.-r
	
		Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.





--
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] beta 2: possible styleSheet bug with Text and TextArea component

2006-04-17 Thread Muzak
Tried it in a seperate mxml file.
As soon as the Text component is inside a repeater, it throws an error.
Works fine when Text comp is not inside a repeater.

TextArea component always throws an error, repeater or not.


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*

 mx:Script
  ![CDATA[
   import flash.text.StyleSheet;
   import mx.events.FlexEvent;
   //
   private var _stylesheet:StyleSheet;
   [Bindable]
   private var rep_arr:Array = [{id:0},{id:1}];
   //
   private function repeaterEndHandler(evt:FlexEvent):void {
this._stylesheet = new StyleSheet();
this._stylesheet.setStyle(p, {fontFamily:Verdana, fontSize:10, 
color:#996600});
this._stylesheet.setStyle(.boldStyle, {fontWeight:bold});
var len:uint = _txt.length;
for(var i:uint=0; ilen; i++) {
 _txt[i].styleSheet = _stylesheet;
}
   }
  ]]
 /mx:Script

 mx:Canvas width=100% height=100%
  mx:Panel width=200 height=300
   mx:Repeater dataProvider={rep_arr} repeatEnd=repeaterEndHandler(event);
mx:Text id=_txt width=100% height=100/
   /mx:Repeater
  /mx:Panel
 /mx:Canvas
/mx:Application

regards,
Muzak

- Original Message - 
From: Matt Chotin [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, April 17, 2006 12:35 AM
Subject: RE: [flexcoders] beta 2: possible styleSheet bug with Text and 
TextArea component


 I've forwarded it on for bug checking

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Muzak
 Sent: Saturday, April 15, 2006 3:51 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] beta 2: possible styleSheet bug with Text and
 TextArea component

 When setting a styleSheet of a Text or TextArea component I get the
 following errors when assigning text to the htmlText property:

 IllegalOperationError: Error #2009: This method cannot be used on a text
 field with a style sheet.
 at mx.core::UITextField/validateNow()
 at mx.core::UITextField/set text()
 at mx.controls::Label/mx.controls:Label::commitProperties()
 at mx.controls::Text/mx.controls:Text::commitProperties()
 at mx.core::UIComponent/validateProperties()
 at mx.managers::LayoutManager/validateProperties()
 at mx.managers::LayoutManager/::doPhasedInstantiation()
 at mx.core::UIComponent/::callLaterDispatcher2()
 at mx.core::UIComponent/::callLaterDispatcher()

 IllegalOperationError: Error #2009: This method cannot be used on a text
 field with a style sheet.
 at mx.core::UITextField/validateNow()
 at mx.core::UIComponent/::callLaterDispatcher2()
 at mx.core::UIComponent/::callLaterDispatcher()

 In this case, mx:Text is inside a repeater component and the
 stylesheet is applied when data is received from a webservice call.

   import flash.text.StyleSheet;
   //
   private var article_ss:StyleSheet;
   private function initBlogPanel():void {
this.article_ss = new StyleSheet();
this.article_ss.setStyle(a, {color:#99FF00});
  }

   private function getBlogItemsResultHandler(evt:ResultEvent):void {
var result:ArrayCollection = new ArrayCollection(evt.result as
 Array);
// note: at this time, the repeater has already executed
// loop through recordset and assign stylesheet to text
var len:uint = result.length;
var _txt:Text;
for(var i:uint = 0; ilen ;i++) {
 _txt = articleText_txt[i];
 _txt.styleSheet = this.article_ss;
}
   }

 mx:Repeater id=blog_rep
width=100% height=100%
dataProvider={blog_ws.getBlogItems.result}
repeatEnd=blogRepRepeatEndHandler(event);
mx:Text id=articleText_txt width=100%
 htmlText={blog_rep.currentItem.BLOGSHORTTEXT}/
 /mx:Repeater


 I also noticed that the repeaterEnd event (of the Repeater component) is
 triggered *before* the result event of the webservice
 method call.
 That doesn't seem right to me. I'd expect the result event to be invoked
 before the repeater executes.

 regards,
 Muzak







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





[flexcoders] Maybe a bug in AMF0?

2006-04-17 Thread Carlos Rovira



Hi Matt,Due to the problems using custom objects with AMF0 I was talking with Xavi Beaumala about a possible bug in deserialization when you are mapping Java classes to AS3 custom classes with AMF0.Is important for many of us to get old AMF0 working ok so we could migrate RIAs from Flash to Flex progressively.
It seems the problem appears when running the Flex2 application and the player try to use the recieved custom object from the server. As OpenAMF is widely used and tested I suppose the bug is in the Flash Player 8.5
 because the method used to retrive the object is the proposed in the docs, blogs and other sites.It would be great to know other experiences with AMFPHP, OpenAMF, etc... passing custom objects through the wire in order to compare.
I'll send a report to the Adobe team as well.Best,-- ::| Carlos Rovira::| http://www.carlosrovira.com






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



  









[flexcoders] Out of memory error

2006-04-17 Thread Sreejith Unnikrishnan





Can someone please explain to a non-geek how to 
implement this advice.



Thanks
Sree





--
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] Out of memory error

2006-04-17 Thread Sreejith Unnikrishnan





Would editing the "C:\Program 
Files\Adobe\Flex Builder 2 Beta 2\FlexBuilder.ini" be 
enough?

  - Original Message - 
  From: 
  Sreejith 
  Unnikrishnan 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, April 17, 2006 5:22 
PM
  Subject: **SL-JUNK** [flexcoders] Out of 
  memory error
  
  Can someone please explain to a non-geek how to 
  implement this advice.
  
  
  
  Thanks
  Sree





--
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] Will there be a Part II to Sho K's Flickr Tutorial (i.e. more indepth on schemas)

2006-04-17 Thread Aaron Smith
Robert,

Do you think you could link me to some of those tutorials and various 
things your using for quick starts. That would be much appreciated. 
I'm just trying to get my hands on all the Flex stuff available right 
now for learning and what not. thanks

smith



Robert Thompson wrote:

 I've watched all the tutorials and worked with quick starts and they 
 are enormously helpful.

 I was wondering though, Sho kind of glosses over the end of his Flickr 
 tutorial on his Thumbnail and a customize interpretation of Flickr.

 Although I am not necessary suggesting a full Xmethods.com SOAP WSDL 
 (his is REST which I prefer), I was wondering if he can present 
 methods for using any service out there that provides a schema of the 
 return [object] so that a more dynamic approach can be used to, for 
 example, hooking up his find to virtualy _any_ service that may 
 return media of any time.

 His Vieo still one of the best yet; the others are Flex Data Service 
 or highly IDE based.


 -r

 
 Yahoo! Messenger with Voice. 
 http://us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com
  
 PC-to-Phone calls for ridiculously low rates.

 --
 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 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
  
   Computer software development 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
  
   Software design and development 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
  

 Macromedia flex 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
  
   Software development best practice 
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
  



 
 YAHOO! GROUPS LINKS

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]

 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 




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




[flexcoders] Flex 2 Beta 2 Mouse Over Property

2006-04-17 Thread Faisal Abid
How do i remove the mouseOver=' when I go to a diffrent state ,, like i 
have it grow on mouse over and then when i click it, it grows into full 
form but when it is in its big form if i mouse the mouse it wil activate 
the mouseOver tag i have , How do i go about removing this in my new state?


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





[flexcoders] Flex 2 Beta 2 Mouse Over Property

2006-04-17 Thread Faisal Abid
How do i remove the mouseOver=' when I go to a diffrent state ,, like i 
have it grow on mouse over and then when i click it, it grows into full 
form but when it is in its big form if i mouse the mouse it wil activate 
the mouseOver tag i have , How do i go about removing this in my new state?


--
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: Flex2/EJB3 integration: problems mapping Java/AS3 classes

2006-04-17 Thread Xavi Beumala



Hi,I'm having the same problem with plain and simple Java
classes with amf0. Serialization works like a charm from as3 to java,
but it's not working from java to as3. The java class I'm using is what follows:
codepackage com.code4net.vos;public class PhotoVO { private String title; private String photoURL; public String getPhotoURL() {  return photoURL; }

 public void setPhotoURL(String photoURL) {  this.photoURL = photoURL; } public String getTitle() {  return title; } public void setTitle(String title) {  this.title

 = title; }}/codeIt
doesn't have any inheritance and it's really simple. I also thought
[RemoteClass] wouldn't work with amf0 so I tried using
flash.net.registerClassAlias but didn't work for me :-( It seems like
custom objects aren't being casted when they arrive to flash player.
Same code is working on AS2 so I think it's not a server side
problem...
Would be great to have this solved so it's really annoying to implement a custom deserialization method for each VO.Any help is much apreciated!Thanks X.On 4/17/06, 
carlos.rovira [EMAIL PROTECTED] wrote:
Hi Matt,There's no extra space in [RemoteClass] maybe a typo due to the copypaste to the mail.I should point that I'm using AMF0, with OpenAMF, I forget to mention,sorry. And I was able to send the Employee class and operate in the
backend, but the problem is in the return that I must to use a plainObject in the client.In the debug panel I could see that I'm sending an Employee Object.Maybe the [RemoteClass] doesn't work with AMF0?
btw, what do you mean withIt's not maybe some weird implementation class that extends Employee?The class must be compiled with JDK1.5, and all the project as well,due that I'm using annotations. Maybe this could be the problem?
I saw another mail in the list from Xavi Beaumala with the sameproblem, hope someone could give us some lightThanks for any suggestion!C.--- In 
flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Only thing I can see is the extra space in your [RemoteClass] which I would hope would not cause the mismatch.If you enable the debug logs
 when the object is sent from the server to the client does the log have the correct type of the Employee?It's not maybe some weird implementation class that extends Employee?
 Matt  From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira Sent: Saturday, April 15, 2006 3:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2/EJB3 integration: problems mapping
 Java/AS3 classes ok, I though I should post the Employee classes as well: the AS3: -- package org.objectweb.easybeans.examples.entitybean {
 [Bindable] [RemoteClass(alias=org.objectweb.easybeans.examples.entitybean.Employee )] public class Employee { public var id:int; public var name:String;
 } } -- the Java one: /*** EasyBeans* Copyright (C) 2006 Bull S.A.S.* Contact: [EMAIL PROTECTED]** This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public* License as published by the Free Software Foundation; either* version 2.1 of the License, or any later version.** This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the GNU* Lesser General Public License for more details.*
* You should have received a copy of the GNU Lesser General Public* License along with this library; if not, write to the Free Software* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307
* USA**  --* $Id: Employee.java 9 2006-02-19 18:53:32Z benoitf $* 
 --*/ package org.objectweb.easybeans.examples.entitybean; import javax.persistence.Entity; import javax.persistence.Id;
 import javax.persistence.Table; /*** Define an employee with an id and a name.* @author Florent Benoit*/ @Entity @Table(name = EMPLOYEES) public class Employee implements 
java.io.Serializable { /*** Id for serializable class.*/ private static final long serialVersionUID = -236627462547454L; /*** Id of this employee.
*/ private int id; /*** Name of the employee.*/ private String name; /*** Gets the Id of the employee.
* @return the id of the employee.*/ @Id public int getId() { return id; } /*** Sets id of the employee.
* @param id the id's employee*/ public void setId(final int id) { this.id = id; } /*** Sets the name.
* @param name of employee.*/ public void setName(final String name) { this.name = name; } /*** Gets the name of the employee.
* @return name of the employee.*/ public String getName() { return name; } /*** Computes a string representation of this employee.
* @return string representation.*/ @Override public String toString() { StringBuilder sb = new StringBuilder(); 

Re: [flexcoders] Custom authentication in a destination

2006-04-17 Thread Xavi Beumala



Hi Matt,On 4/17/06, Matt Chotin [EMAIL PROTECTED] wrote:
















You definitely need the roles in
the constraint, otherwise there's nothing to test for.



Why are you not using the login command we
provided for 5.5? You would also need to copy the flex-tomcat-common.jar into
the common/lib directory as specified in step 1, but then it should work. The
one we provide is flex.messaging.security.TomcatLoginCommand.I forgot to mention I also copied flex-tomcat-common.jar into common/lib. The reason why I use a custom login, I'm still playing with fes2 so maybe I'm wrong, is because I have a huge java application in the backend. This application manages its own classloaders and its own JAAS modules to manage authentication and authorization.
I think I've been able to solve the classloader issue with a custom filter applyied to MessageBrokerServlet. This filter simply changes the classloader through Thread.currentThread().setContextClassLoader() Is this the good way?
For the authentication and authorization I thought the best way would be to implement a custom loginCommand. Otherwise I won't be able to run any existing service on the server side. When using as2 and openAMF I've a custom openAMF invoker which in resume invokes a 
Subject.doAs statement. But I have no idea where to do this in FES.BTW when I add roles in the security-constraint (using default roles, username and passwords provided by tomcat) and using setCredentials I receive a 
flex.messaging.security.SecurityException: Login required before authorization can proceed.The client side code I'm using:code?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute mx:Script  ![CDATA[   import 
mx.rpc.events.ResultEvent;   import mx.rpc.events.FaultEvent;  private function send():void {db.setCredentials(tomcat,tomcat);
db.test();   }  private function onFault (event:FaultEvent):void {trace (onFault);   }  private function getTest (event:ResultEvent):void {
trace (onResult);   }  ]] /mx:Script  mx:RemoteObject id=db destination=sampleDest fault=onFault(event)
  mx:method name=test showBusyCursor=true result=getTest(event)/ /mx:RemoteObject  mx:VBox x=65 y=11  mx:Button click=send()/
 /mx:VBox /mx:Application/codeWhat can be wrong?Thanks so much!X.
Matt











From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Xavi Beumala
Sent: Sunday, April 16, 2006 3:30
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
authentication in a destination





Hi all,

I'm trying to secure a remoting destination with a
custom class as stated at http://livedocs.macromedia.com/labs/1/flex20beta2/1546.html


The steps I've followed are:
 · Create a custom class which
implements flex.messaging.security.LoginCommand with the methods start, stop,
doAuthentication, doAuthorization and logout.
 · Add a destination definition in
flex-remoting-service.xml:

 destination
id=sampleDest
 
properties

 sourcecom.code4net.business.PhotoService/source
 
 statefultrue/stateful 

/properties
 

security

security-constraint ref=sample-users /

/security
 /destination

 · Add a security definition tag in
flex-enterprise-service.xml:
 security
 
security-constraint id=sample-users

auth-methodCustom/auth-method

/security-constraint

   login-command
class=com.code4net.loginModules.CustomLogin
server=Tomcat/
 /security


 · Place flex-tomcat-server.jar in
server/lib (NOT shared/lib) (as stated in
fes_install_dir/resources/security/tomcat/readme.txt 
 (I'm running tomcat 5.5)
 · Copy context.xml in web application
under the META-INF directory

The problem is that with this configuration the
destination isn't being secured and I can execute services on it normally. If I
add a roles tag inside the security-constraint then I receive a
security-exception eventhough I'm invoking setCredentials and
setRemoteCredentials from the clientSide (using default users and roles defined
in tomcat-users.xml).

On the other hand if I run tomcat in debug mode
from eclipse, any of the methods of CustomLogin class are invoked.

I think I'm missing the way to bind CustomLogin
class to my sampleDest destination. 

I'm missing something? Help is much apreciated 

X.







 










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



  










-- Xavi Beumalahttp://www.code4net.com






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

Re: [flexcoders] Re: Flex2/EJB3 integration: problems mapping Java/AS3 classes

2006-04-17 Thread Carlos Rovira



Hi Xavi,I thought the same about [RemoteClass]...maybe it doesn't work with AMF0?Hope some guys of the Flex team could throw some light about this issue :)C.
On 4/17/06, Xavi Beumala [EMAIL PROTECTED] wrote:



Hi,I'm having the same problem with plain and simple Java
classes with amf0. Serialization works like a charm from as3 to java,
but it's not working from java to as3. The java class I'm using is what follows:
codepackage com.code4net.vos;public class PhotoVO { private String title; private String photoURL; public String getPhotoURL() {  return photoURL; }


 public void setPhotoURL(String photoURL) {  this.photoURL = photoURL; } public String getTitle() {  return title; } public void setTitle(String title) {  this.title


 = title; }}/codeIt
doesn't have any inheritance and it's really simple. I also thought
[RemoteClass] wouldn't work with amf0 so I tried using
flash.net.registerClassAlias but didn't work for me :-( It seems like
custom objects aren't being casted when they arrive to flash player.
Same code is working on AS2 so I think it's not a server side
problem...
Would be great to have this solved so it's really annoying to implement a custom deserialization method for each VO.Any help is much apreciated!Thanks X.
On 4/17/06, 
carlos.rovira [EMAIL PROTECTED] wrote:

Hi Matt,There's no extra space in [RemoteClass] maybe a typo due to the copypaste to the mail.I should point that I'm using AMF0, with OpenAMF, I forget to mention,sorry. And I was able to send the Employee class and operate in the
backend, but the problem is in the return that I must to use a plainObject in the client.In the debug panel I could see that I'm sending an Employee Object.Maybe the [RemoteClass] doesn't work with AMF0?
btw, what do you mean withIt's not maybe some weird implementation class that extends Employee?The class must be compiled with JDK1.5, and all the project as well,due that I'm using annotations. Maybe this could be the problem?
I saw another mail in the list from Xavi Beaumala with the sameproblem, hope someone could give us some lightThanks for any suggestion!C.--- In 

flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Only thing I can see is the extra space in your [RemoteClass] which I would hope would not cause the mismatch.If you enable the debug logs
 when the object is sent from the server to the client does the log have the correct type of the Employee?It's not maybe some weird implementation class that extends Employee?

 Matt  From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira Sent: Saturday, April 15, 2006 3:59 PM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2/EJB3 integration: problems mapping
 Java/AS3 classes ok, I though I should post the Employee classes as well: the AS3:
 -- package org.objectweb.easybeans.examples.entitybean {
 [Bindable] [RemoteClass(alias=org.objectweb.easybeans.examples.entitybean.Employee )] public class Employee { public var id:int; public var name:String;
 } } -- the Java one: /*** EasyBeans* Copyright (C) 2006 Bull S.A.S.* Contact: [EMAIL PROTECTED]
** This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public* License as published by the Free Software Foundation; either* version 2.1 of the License, or any later version.** This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the GNU* Lesser General Public License for more details.*
* You should have received a copy of the GNU Lesser General Public* License along with this library; if not, write to the Free Software* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307
* USA**  --* $Id: Employee.java 9 2006-02-19 18:53:32Z benoitf $* 
 --*/ package org.objectweb.easybeans.examples.entitybean; import javax.persistence.Entity; import 
javax.persistence.Id;
 import javax.persistence.Table; /*** Define an employee with an id and a name.* @author Florent Benoit*/ @Entity @Table(name = EMPLOYEES)
 public class Employee implements 
java.io.Serializable { /*** Id for serializable class.*/ private static final long serialVersionUID = -236627462547454L; /*** Id of this employee.
*/ private int id; /*** Name of the employee.*/ private String name; /*** Gets the Id of the employee.
* @return the id of the employee.*/ @Id public int getId() { return id; } /*** Sets id of the employee.

* @param id the id's employee*/ public void setId(final int id) { this.id
 = id; } /*** Sets the name.
* @param name of employee.*/ public void setName(final String name) { 
this.name = name; } /*** Gets the name of the employee.
* @return name of the employee.*/ public 

RE: [flexcoders] FDS Hibernate

2006-04-17 Thread Valy Sivec



My understanding is that with FDS at this moment you shouldn't write any DAO code and just the mapping files should suffice. On the other hand, are Hibernate features that I don't see how to implement them with the current Hibernate adapter; mightbe just me...  Anyway, I have chosen to use Java-JDO with Hibernate  Spring and feel more comfortable about fixing the bugs in the code I can open than having the bug in the Hibernate adapter. In addition to that historicaly speaking, I haven't seen any BUG fixes or patches to the Flex 1.5 and having the bugs fixed only via Flex Support seems to me a little bit odd. That makes me even more reluctant to adopt Hibernate Adapter. I hope that in the future Adobe will releasethe bug fixes in patches available for everybody.Thanks,  Valy  [EMAIL PROTECTED] wrote:  Yep, just curious what functionality Hibernate adapter provides, using of java-dao adapter should work fine with Hibernate-based applicationstho ;) Regards,Alex -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Matt ChotinSent: Monday, April 17, 2006 2:35 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FDS  HibernateI don’t know that I agree with your premise that open source is the only wayto understand a technology to adopt it, but agree that the documentation isbehind the implementations. Hopefully when B3 comes out more documentationwill be available, and the changes that we made to the implementation shouldallow you to use Hibernate with much less FDS configuration.MattFrom:
 flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Valy SivecSent: Friday, April 14, 2006 10:48 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FDS  HibernateAfter reading the Flex Developer guide I realized that might be too early tointegrate DSHibernate in my application. DS idea is great but not havingthe Hibernate adaptor open source I think is very difficult to adopt it.In addition to that, it looks that there is no support for annotation atthis moment . Do you guy have any plans in going away from the XML configuration of eachdestination?.Thanks,ValyMatt Chotin <[EMAIL PROTECTED]>wrote:We’re updating the hibernate implementation significantly so I’d expectsome changes that should make integration easier. We’re also exposingmore options on the DS to optimize for the case you describe of non-editabledata where it
 doesn’t need to be kept in sync. So you absolutely can useremote object instead but DS might also do the trick just fine.MattFrom: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Valy SivecSent: Thursday, April 13, 2006 2:23 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FDS  HibernateI start looking into the Data Services topics a little bit and I see thatfor each destination there is a identity property that needs to be defined.I have the data persistence layer implemented with Hibernate and I waswondering how Flex DES will handle objects with the identity propetry NULL,knowing that Hibernate is smart enough to do an insert/update based on theentity key's value. Have you guys integrated Flex DES with Hibernate data model in the backend.?Also, in cases when I need to populate
 non-editable data, that doesn't needto be kept in sync with the backed should I use remote objects versus dataservices?. Any thoughts?.Thanks,ValyHow low will we go? Check out Yahoo! Messenger’s low PC-to-Phone callrates.=39663/*http:/voice.yahoo.com Yahoo! Messenger with Voice.=39666/*http:/beta.messenger.yahoo.com PC-to-Phone calls for ridiculouslylow rates. --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. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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/
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.





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

[flexcoders] Re: FDS Hibernate

2006-04-17 Thread box110a
I the FDS Hibernate Adaptor will be a hard sell to the Java community.
Aspect Oriented Programming (AOP) is the latest programming buzzword,
but it has come about because coders want to write plain old java
objects (POJOs), and have a framework interject them where they are
needed. This has proven very flexible...I am able to use the same
POJOS within the Spring Framework, Hibernate, my JSPs or a swing app.  

We're using Java 5. This means we can use Hibernate Annotations to
define our ORM layer. After working with EJBs without EJBGen and then
working with it, Annotations save so much time and headache, I won't
use XML descriptor files.  The problem with FDS hibernate adaptor is
that if I want to use Annotations, I have to wait for Adobe to release
a version that supports it. Another problem is that I am tying my
persistance layer so closely to FDS, I can only use FDS to access it.
What happens if there is some critical bug in Hibernate that needs to
be fixed. I have to wait for Adobe to release it even though the
Hibernate team has fixed it.

If you've gotten this far, thanks for reading.
-JB




--- In flexcoders@yahoogroups.com, Valy Sivec [EMAIL PROTECTED] wrote:

 My understanding is that with FDS at this moment you shouldn't write
any DAO code and just the mapping files should suffice. On the other
hand, are Hibernate features that I don't see how to implement them
with the current Hibernate adapter; might be just me...
   Anyway, I have chosen to use Java-JDO with Hibernate  Spring and
feel more comfortable about fixing the bugs in the code I can open
than having the bug in the Hibernate adapter. In addition to that
historicaly speaking, I haven't seen any BUG fixes or patches to the
Flex 1.5 and having the bugs fixed only via Flex Support seems to me a
little bit odd. That makes me even more reluctant to adopt Hibernate
Adapter. I hope that in the future Adobe will release the bug fixes in
patches available for everybody.

   Thanks,
   Valy


   
 [EMAIL PROTECTED] wrote:
   Yep, just curious what functionality Hibernate adapter provides, 
 using of java-dao adapter should work fine with Hibernate-based
applications
 tho ;) 
 
 Regards,
 Alex 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Monday, April 17, 2006 2:35 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] FDS  Hibernate
 
 I don't know that I agree with your premise that open source is the
only way
 to understand a technology to adopt it, but agree that the
documentation is
 behind the implementations. Hopefully when B3 comes out more
documentation
 will be available, and the changes that we made to the
implementation should
 allow you to use Hibernate with much less FDS configuration.
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Valy Sivec
 Sent: Friday, April 14, 2006 10:48 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] FDS  Hibernate
 
 
 
 After reading the Flex Developer guide I realized that might be too
early to
 integrate DSHibernate in my application. DS idea is great but not
having
 the Hibernate adaptor open source I think is very difficult to adopt it.
 
 In addition to that, it looks that there is no support for annotation at
 this moment . 
 
 Do you guy have any plans in going away from the XML configuration
of each
 destination?.
 
 Thanks,
 Valy
 
 Matt Chotin wrote:
 
 We’re updating the hibernate implementation significantly so I’d
expect
 some changes that should make integration easier. We’re also exposing
 more options on the DS to optimize for the case you describe of
non-editable
 data where it doesn’t need to be kept in sync. So you absolutely
can use
 remote object instead but DS might also do the trick just fine.
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Valy Sivec
 Sent: Thursday, April 13, 2006 2:23 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FDS  Hibernate
 
 
 
 I start looking into the Data Services topics a little bit and I see
that
 for each destination there is a identity property that needs to be
defined.
 I have the data persistence layer implemented with Hibernate and I was
 wondering how Flex DES will handle objects with the identity
propetry NULL,
 knowing that Hibernate is smart enough to do an insert/update based
on the
 entity key's value. 
 
 Have you guys integrated Flex DES with Hibernate data model in the
backend.?
 
 
 Also, in cases when I need to populate non-editable data, that
doesn't need
 to be kept in sync with the backed should I use remote objects
versus data
 services?. Any thoughts?.
 
 Thanks,
 Valy
 
 
 
 How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call
 rates.
 =39663/*http:/voice.yahoo.com 
 
 
 
 

[flexcoders] Re: Updating and Retriving Data From XML File FLEX 2

2006-04-17 Thread mdoberenz
--- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote:

 Does anyone know how to retrive and update data from an XML file in 
Flex 2??


You can retrieve data from an XML file using a HTTPService object.  
However, I'm not sure if it's as easy to update an XML file.  I'm 
planning on trying it, but I haven't yet.






--
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: FDS Hibernate

2006-04-17 Thread Carlos Rovira



I never use Hibernate before, but suppose that it works mainly as entitys in EJB 2.x and is a great way to improve the way you talk with your database. The problem with EJB2.x is that we finish having a lot of files (ejb-jar.xml
, descriptors, interfaces, and so on...), so for an entity you could have seven files easily. Finaly, you should use XDoclet to maintain only one file and generate all others. Is a little annoying but better than write Java DAOs.
Now many vendors are creating the next generation of EJBs: EJB3 is build with EoD (Ease of development) in mind and I suppose that Adobe will support that in the future, but is normal that nowadays Flex 2 ship with a technology like Hibernate that is tested and works fine today. Many EJB3 solutions are in heavy development this days.
If you want to test a good one (but in preview)  I suggest you to see EasyBeans from ObjectWeb at :http://easybeans.objectweb.org/EasyBeans should work for JOnAS open source application server and other servlet containers like Tomcat and should ship in a few months. Nowadays you can download and test a preview from the site.
Best,C.On 4/17/06, box110a [EMAIL PROTECTED] wrote:



I the FDS Hibernate Adaptor will be a hard sell to the Java community.
Aspect Oriented Programming (AOP) is the latest programming buzzword,
but it has come about because coders want to write plain old java
objects (POJOs), and have a framework interject them where they are
needed. This has proven very flexible...I am able to use the same
POJOS within the Spring Framework, Hibernate, my JSPs or a swing app. 

We're using Java 5. This means we can use Hibernate Annotations to
define our ORM layer. After working with EJBs without EJBGen and then
working with it, Annotations save so much time and headache, I won't
use XML descriptor files. The problem with FDS hibernate adaptor is
that if I want to use Annotations, I have to wait for Adobe to release
a version that supports it. Another problem is that I am tying my
persistance layer so closely to FDS, I can only use FDS to access it.
What happens if there is some critical bug in Hibernate that needs to
be fixed. I have to wait for Adobe to release it even though the
Hibernate team has fixed it.

If you've gotten this far, thanks for reading.
-JB




--- In flexcoders@yahoogroups.com, Valy Sivec [EMAIL PROTECTED] wrote:

 My understanding is that with FDS at this moment you shouldn't write
any DAO code and just the mapping files should suffice. On the other
hand, are Hibernate features that I don't see how to implement them
with the current Hibernate adapter; might be just me...
 Anyway, I have chosen to use Java-JDO with Hibernate  Spring and
feel more comfortable about fixing the bugs in the code I can open
than having the bug in the Hibernate adapter. In addition to that
historicaly speaking, I haven't seen any BUG fixes or patches to the
Flex 1.5 and having the bugs fixed only via Flex Support seems to me a
little bit odd. That makes me even more reluctant to adopt Hibernate
Adapter. I hope that in the future Adobe will release the bug fixes in
patches available for everybody.
 
 Thanks,
 Valy
 
 
 
 [EMAIL PROTECTED] wrote:
 Yep, just curious what functionality Hibernate adapter provides, 
 using of java-dao adapter should work fine with Hibernate-based
applications
 tho ;) 
 
 Regards,
 Alex 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
 Behalf Of Matt Chotin
 Sent: Monday, April 17, 2006 2:35 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] FDS  Hibernate
 
 I don't know that I agree with your premise that open source is the
only way
 to understand a technology to adopt it, but agree that the
documentation is
 behind the implementations. Hopefully when B3 comes out more
documentation
 will be available, and the changes that we made to the
implementation should
 allow you to use Hibernate with much less FDS configuration.
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
 Behalf Of Valy Sivec
 Sent: Friday, April 14, 2006 10:48 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] FDS  Hibernate
 
 
 
 After reading the Flex Developer guide I realized that might be too
early to
 integrate DSHibernate in my application. DS idea is great but not
having
 the Hibernate adaptor open source I think is very difficult to adopt it.
 
 In addition to that, it looks that there is no support for annotation at
 this moment . 
 
 Do you guy have any plans in going away from the XML configuration
of each
 destination?.
 
 Thanks,
 Valy
 
 Matt Chotin wrote:
 
 We’re updating the hibernate implementation significantly so I’d
expect
 some changes that should make integration easier. We’re also exposing
 more options on the DS to optimize for the case you describe of
non-editable
 data where it doesn’t need to be kept in sync. So you absolutely
can 

[flexcoders] All the bunch of idiots at Adobe, please note!

2006-04-17 Thread t_msreddy
I wanted to share this aweful story to this group.

Over months we have been trying to get a Flex expert from Adobe to 
do a code review of our application as a part of our partnership 
building process. They agreed to do it in person and finally on the 
day, they sent out an email saying they cannot come and will do this 
over breeze presentation. This was not ok for us but we had no other 
option and we oked it. BTW the guys were Brian O'Connor, Adobe 
Consulting, John Bennet, Architect.

Finally during the presentation, we went through the agenda for the 
meeting and basically we wanted to get some useful tips for the 
problem we were having in flex app and things that we could not 
implement. Over the presentation, they were treating themselves as 
gods and us as no good developers. And at times it 
went like OK we got it, next... next, I was very offended while 
driving the presentation. At one point I was showing them a slide 
with cairngorm and i said we are using viewhelpers and value 
objects and .., one of the guys said quickly viewhelpers are 
not values objects.  They were very disrespectful all over the 
meeting. Also he mentioned that Cairngorm is not the bible. So he 
thinks we dont know this?

I mean this is total lack of professionalism by Adobe guys. They 
should treat the flex developer community with respect and show some 
sensitivity when they talk to people and treat them as experts 
rather than dont-know-even-this-guys.

On top of that they did not give one single useful tip for us. They 
were blabbering like inexperienced developers.


All the bunch of idiots at Adobe, please note this aweful story







--
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: Updating and Retriving Data From XML File FLEX 2

2006-04-17 Thread Faisal Abid
mdoberenz wrote:
 --- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote:
 
  Does anyone know how to retrive and update data from an XML file in
 Flex 2??
 

 You can retrieve data from an XML file using a HTTPService object. 
 However, I'm not sure if it's as easy to update an XML file.  I'm
 planning on trying it, but I haven't yet.






 --
 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
   http://groups.yahoo.com/group/flexcoders on the web.

 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]

 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 

 I know how to retrive and show the data contained in an XML file but i 
do not know the update procedure , Im pretty sure that you have to use a 
technology such as FDS, Coldfusio or PHP, im not sure


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




[flexcoders] Finding the Cursor Position in a RichTextEditor (Beta 2)

2006-04-17 Thread Harris Reynolds
In vanilla Flash I could get the current cursor position via the 
Selection class, but this doesn't not appear to be available in Flex 
2.  The extensibility of the RichTextEditor control is severely 
compromised if there is not a way to get the current cursor position 
(and dynamically update the text).  I know this information is 
available in the control since it is able to insert BOLD tags in the 
middle of the text.

Is there an API for this?  If not can we get one?  Something like,

richTextEditor.textArea.currentIndex

would be valuable.

~harris

--- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL PROTECTED] 
wrote:

 Is there a way to find the current position of the cursor on a 
 RichTextEditor control?  I see how to get the start and end position 
 of selected text, but not how to get the single index of the cursor 
 (when there isn't any text selected/highlighted).
 
 thanks,
 
 ~harris







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




[flexcoders] F2B2: Deploying sample apps

2006-04-17 Thread Tom Ortega



Is there any tricks to deploying FlexBuilder2 Beta2 apps? I've deployed some internally, and I get an error message popup when I deploy the htmal and swf files from the bin directory to an internal web server and try to browse it.
I was thinking of putting up some sample stuff in the coming weeks on a personal web server, but will that not work? Most of the examples I see on the web run off the same labs server, so I'm guessing we can't just post our own examples on the web?
Hopefully someone can correct me and prove me wrong! =)Thanks,Tom






--
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] Newbie Question: Error being thrown on Grid Sort

2006-04-17 Thread Mike
Using Flex Beta2, I'm populating a grid via XML through an HTTPService
component. Grid populates fine, but, if I sort the grid with a column
click, and any of the cells are Null, the grid throws the following
error: 

Error: Cannot determine comparator for SortField with name 'LastName'
at
mx.collections::SortField/http://www.adobe.com/2006/flex/mx/internal::initCompare()
at mx.collections::Sort/::initSortFields()
at mx.collections::Sort/sort()
at
mx.collections::ListCollectionView/mx.collections:ListCollectionView::internalRefresh()
at mx.collections::ListCollectionView/refresh()
at mx.controls::DataGrid/sortByColumn()
at mx.controls::DataGrid/::headerReleaseHandler()
at flash.events::EventDispatcher/dispatchEvent()
at mx.controls::DataGrid/mouseUpHandler()

Question is: Should I prevent NULLs with some server side kludge?
Should I implement a SortField handler that is null-safe ?





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





[flexcoders] Flex 2b2: Cairngorm SequenceCommand question

2006-04-17 Thread Tobias Patton










Hello list;



SequenceCommand contains the executeNextCommand()
method:



  public function
executeNextCommand() : void

  { 

  var isSequenceCommand :
Boolean = ( nextEvent != null );

  if( isSequenceCommand )


  { 

  dispatchEvent(
nextEvent ); 

  } 

  }



I found that when executing this method in
the result handler of a SequenceCommand subclass, the FrontControllers
event handler was never invoked. I changed:



 dispatchEvent( nextEvent ); 



to: 

 Application.application.dispatchEvent(
nextEvent ); 



And then the FrontControllers event
handler was invoked as expected. This makes sense to me, since the
SequenceCommand object was not part of the applications display list,
the event would never bubble up to the application.



Has anyone come across this problem
before? Is there a different solution that doesnt involve modifying the
Cairngorm source?



Thanks.

Tobias.





Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 











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



  











[flexcoders] Flex2b2: Problem casting super to an Interface

2006-04-17 Thread Tobias Patton











Hello List:



Given the following classes and interfaces:



IInterface.as

-



package {

 import
flash.util.trace; 

 public
interface IInterface 

 {

 function
InterfaceMethod() : void;

 }

}



Base.as

-



package {

 import
flash.util.trace; 

 public
class Base implements IInterface

 {

 public
function InterfaceMethod() : void

 { 

 trace(
Base::InterfaceMethod );

 }

 }

}



Derived.as:

---



package {

 import
flash.util.trace; 

 public
class Derived extends Base 

 {

 override
public function InterfaceMethod() : void

 { 

 trace(
Derived::InterfaceMethod );

 IInterface(
super ).InterfaceMethod();

 }

 

 }

}



What would you expect as the output of the following?



var derived : Derived = new Derived(); 

IInterface( derived ).InterfaceMethod();



I would expect:



Derived::InterfaceMethod

Base:InterfaceMethod



But instead I get:



Derived::InterfaceMethod

Derived::InterfaceMethod

Derived::InterfaceMethod

Derived::InterfaceMethod

... (repeats for
ever)



It seems the the cast: IInterface( super )
is returning this and not the base object for this.
Is this a bug, or am I misunderstanding something. (Please note that Im
a C++ programmer and have had little exposure to Java-style interfaces, so I
could be making a very nave mistake and not know it.)



Tobias.

Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex 1.5: Resizing Firefox 1.5.0.2 window does not change layout inside mx:Tile container

2006-04-17 Thread Andriy Panas
Hello flexcoders,

   Today, I stumbled upon browser dependant problem with using mx:Tile
container authored Flex 1.5 software

   Please, compile and run the following simple page under 2 or 3
 browsers out of list of your choice ( hosting OS is Win XP SP2):

Opera 8.02,
IE 6.0.2900
Firefox 1.5.0.2


?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

  mx:Tile id=tile1 width=100% height=200 backgroundColor=red
mx:Repeater id=r dataProvider={['4', '2', '6', '1', '7', '3', '5','6', 
'1', '7', '3', '5']}
  mx:Button label={r.currentItem} moveEffect=Move
borderThickness=0 /
/mx:Repeater
  /mx:Tile
/mx:Application  
-

  Inside IE6 and Opera the contents of mx:Tile container are
repositioned whenever the hosting browser window for Flex authored
SWF is resized.

  Inside Firefox 1.5.0.2 the contents of mx:Tile container ARE NOT
repositioned in the same manner.

  Why?


-- 
Best regards,
 Andriy  mailto:[EMAIL PROTECTED]



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




[flexcoders] Cairngorm2 Commands and Singletons

2006-04-17 Thread Tim Hoff
Apparently, there has been much discussion concerning singletons 
here already, but the search feature of this site doesn't seem to 
ever return complete results.  Coming from a .NET background, I've 
had to change a lot my thinking in regards to objects. This is a 
good thing.  However, in .NET (VB.NET, C#.NET Java.NET) when an 
object is instantiated, let's say a class in this case, as soon as 
the object goes out of scope, it is automatically disposed of by the 
garbageCollector.  This doesn't seem to be the case in AS3.  I've 
patterned an application on the Cairngorm samples that have been 
provided so far.  The samples are great and I really appreciate 
them, but none of them make multiple calls to the back-end.  Using 
the code provided, if I execute multiple search commands (let's say 
getAuthors), each one of the command instances, along with the 
associated event listeners and objects, still exist after the result 
or fault is returned.  Thus, when an error is displayed 
like: Sorry, no authors found., since all of the 
commands/delegates are still listening to the data service, a 
separate alert box appears for each instance of the command.  Three 
calls, three alert boxes.

I'm not sure if I should make the commands and delegates singletons, 
or manually dispose (delete _oSingleton) of the instances.  Since 
the application is Cairngorm based, I don't want to stray too far 
from best practices.  I was just wondering if anyone else had 
experienced this problem and if there were some links or advice that 
could be offered?  I also want to say that I think that the Adobe 
team is doing a great job.  I can't wait for the release of Flex2.  
It's going to turn a lot of heads.

Many thanks,
Tim Hoff

P.S.  It would be nice to have something like the following:

public singleton class myClass {}








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




[flexcoders] [Flex 1.5] File Upload and ColdFusion authentication

2006-04-17 Thread João Fernandes










Hi there,



Im trying to protect my upload page
using ColdFusion authentication but when using fileReference, it seems that a
new session is created instead of using the current used by the App. 



Im using Flex 1.5 integrated with
ColdFusion 7. If I log in with Flex and access a cfm page, I can get the user
name perfectly ( getauthuser() ) but when uploading with fileReference inside
my Flex App, a new sessionID is generated for that request.



Any Ideas how to solve this?



Thanks, 



João Fernandes
Dep.
Informática - Área de Desenvolvimento
Cofina media

Avenida
João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel
(+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]











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



  











[flexcoders] Re: forget Hibernate - use EJB 3.0 and Annotations in FDS

2006-04-17 Thread busitech
Since J2EE is already laden with all kinds of security functionality, 
it is unnecessary to provide a second framework for security.  It 
increases the maintenance burden, and decentralizes the 
administration of the security rules.

In addition, the type of security in this config file is too basic to 
be truly useful.  Caling server side functions is much more about WHO 
is trying to use the service than it is about what is exposed for 
use.  

If Flex wants to add real value in the area of security, it would be 
in integrating with the *authentication* mechanisms of the J2EE 
specification, and the various J2EE containers...

There are two kinds of applications: internal, and external.  

Internal applications are for use by the trusted employee, such as 
back office applications.  These applications contain a dozen 
different modules each having hundreds if not thousands of different 
functions.

An external application is normally a very small fraction of the 
internal application's total functionality which is shared with 
certain trusted business partners, or even the general public, 
depending on the purpose of the application.

Flex is a great technology for developing both kinds of 
applications.  We want to rewrite an internal application using Flex, 
and subsequently offer certain key functions on the internet.  

Flex needs to be well suited for this scale of development, and 
config files are a hinderance.  

Flex also needs to plug in to the rest of the picture.  We applaud 
the use of Java - this is one major step in being pluggable, but a 
Java server in the enterprise means J2EE - and J2EE is becomming so 
much more practical for use in any application now with EJB 3.0.

Flex should focus on it's niche - building a rich client - and plug 
in to all of the other good infrastructure which is available rather 
than reinventing it with limitations.

The current version of Flash Remoting is on the right track - let's 
preserve what is there and extend upon it.





--
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] [Flex 1.5] File Upload and ColdFusion authentication

2006-04-17 Thread Carson Hager





Is this FireFox 1.5?


Carson
  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
 Email: 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of João 
FernandesSent: Monday, April 17, 2006 9:54 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] [Flex 1.5] File 
Upload and ColdFusion authentication


Hi there,

I’m trying to protect my upload page using 
ColdFusion authentication but when using fileReference, it seems that a new 
session is created instead of using the current used by the App. 


I’m using Flex 1.5 integrated with 
ColdFusion 7. If I log in with Flex and access a cfm page, I can get the user 
name perfectly ( getauthuser() ) but when uploading with fileReference inside my 
Flex App, a new sessionID is generated for that request.

Any Ideas how to solve this?

Thanks, 

João 
FernandesDep. Informática - Área 
de DesenvolvimentoCofina 
mediaAvenida João 
Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGALTel (+351) 213 185 200 
. Fax (+351) 213 540 370[EMAIL PROTECTED]






--
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: logout remote object in flex

2006-04-17 Thread jfournet



How do I call a servlet or jsp from flex, do I use getURI(logout.jsp) if so how do I keep the page from showing up in the browser?Douglas Knudsen [EMAIL PROTECTED] wrote:  There is no logout() in flex. Just use the jsp/servlet way ofdestroying the session.On 4/15/06, jfournet [EMAIL PROTECTED] wrote: I need to logout a remoteobject in flex to destroy the users security creditials. I don't see anyway to do this in flex 1.5. Any help would be appreciated. -- 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--Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?
		Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.





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



  









[flexcoders] Re: All the bunch of idiots at Adobe, please note!

2006-04-17 Thread Tim Hoff
Whomever you are,

I'm sorry that you had a bad experience with a couple of Adobe 
employees.  But, this is not a forum for venting, ranting or airing 
your dirty laundry.  I don't discount that you probably have just 
cause to complain, but I'm pretty sure that Adobe has a customer 
service department.  You might have gotten a hold of a couple of bad 
apples, or as is usually the case, there are two sides to every 
story.  To attack everyone at Adobe is just childish. I personally 
have had nothing but positive results when dealing with the people 
at Macromedia/Adobe.  Most there seem to be positive, helpful 
and Open.  I am not affiliated with Adobe in any regard.  But in 
the future, please limit the scope of your comments to programming 
questions that can be effectively addressed and that might also help 
the group.

Thank You,
Tim Hoff




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

 I wanted to share this aweful story to this group.
 
 Over months we have been trying to get a Flex expert from Adobe to 
 do a code review of our application as a part of our partnership 
 building process. They agreed to do it in person and finally on 
the 
 day, they sent out an email saying they cannot come and will do 
this 
 over breeze presentation. This was not ok for us but we had no 
other 
 option and we oked it. BTW the guys were Brian O'Connor, Adobe 
 Consulting, John Bennet, Architect.
 
 Finally during the presentation, we went through the agenda for 
the 
 meeting and basically we wanted to get some useful tips for the 
 problem we were having in flex app and things that we could not 
 implement. Over the presentation, they were treating themselves as 
 gods and us as no good developers. And at times it 
 went like OK we got it, next... next, I was very offended while 
 driving the presentation. At one point I was showing them a slide 
 with cairngorm and i said we are using viewhelpers and value 
 objects and .., one of the guys said quickly viewhelpers are 
 not values objects.  They were very disrespectful all over the 
 meeting. Also he mentioned that Cairngorm is not the bible. So he 
 thinks we dont know this?
 
 I mean this is total lack of professionalism by Adobe guys. They 
 should treat the flex developer community with respect and show 
some 
 sensitivity when they talk to people and treat them as experts 
 rather than dont-know-even-this-guys.
 
 On top of that they did not give one single useful tip for us. 
They 
 were blabbering like inexperienced developers.
 
 
 All the bunch of idiots at Adobe, please note this aweful story







--
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: Flex2/EJB3 integration: problems mapping Java/AS3 classes

2006-04-17 Thread Peter Farland





It might simply be a problem in the beta 2 player, as I 
have registerClassAlias working for AMF 0 using a beta 3 player (not yet 
released, obviously).


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Xavi 
BeumalaSent: Monday, April 17, 2006 5:05 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flex2/EJB3 
integration: problems mapping Java/AS3 classes
Hi,I'm having the same problem with plain and simple Java 
classes with amf0. Serialization works like a charm from as3 to java, but it's 
not working from java to as3. The java class I'm using is what follows: 
codepackage com.code4net.vos;public class PhotoVO 
{ private String title; private 
String photoURL; public String getPhotoURL() 
{  return 
photoURL; } public void 
setPhotoURL(String photoURL) {  
this.photoURL = photoURL; } public 
String getTitle() {  return 
title; } public void setTitle(String 
title) {  this.title = 
title; }}/codeIt doesn't have 
any inheritance and it's really simple. I also thought [RemoteClass] wouldn't 
work with amf0 so I tried using flash.net.registerClassAlias but didn't work for 
me :-( It seems like custom objects aren't being casted when they arrive to 
flash player. Same code is working on AS2 so I think it's not a server side 
problem... Would be great to have this solved so it's really annoying to 
implement a custom deserialization method for each VO.Any help is much 
apreciated!Thanks X.
On 4/17/06, carlos.rovira [EMAIL PROTECTED] 
wrote:
Hi 
  Matt,There's no extra space in [RemoteClass] maybe a typo due to the 
  copypaste to the mail.I should point that I'm using AMF0, with 
  OpenAMF, I forget to mention,sorry. And I was able to send the Employee 
  class and operate in the backend, but the problem is in the return that I 
  must to use a plainObject in the client.In the debug panel I could see 
  that I'm sending an Employee Object.Maybe the [RemoteClass] doesn't 
  work with AMF0? btw, what do you mean with"It's not maybe some 
  weird implementation class that extends Employee?"The class must be 
  compiled with JDK1.5, and all the project as well,due that I'm using 
  annotations. Maybe this could be the problem? I saw another mail in 
  the list from Xavi Beaumala with the sameproblem, hope someone could give 
  us some lightThanks for any suggestion!C.--- In flexcoders@yahoogroups.com, "Matt 
  Chotin" [EMAIL PROTECTED] wrote: Only thing I can see is the 
  extra space in your [RemoteClass] which I would hope would not cause 
  the mismatch.If you enable the debug logs  when the object 
  is sent from the server to the client does the log have the correct 
  type of the Employee?It's not maybe some weird 
  implementation class that extends Employee? 
  Matt 
   From: flexcoders@yahoogroups.com 
  [mailto: 
  flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira 
  Sent: Saturday, April 15, 2006 3:59 PM To: flexcoders@yahoogroups.com 
  Subject: [flexcoders] Re: Flex2/EJB3 integration: problems mapping  
  Java/AS3 classes ok, I though I should post 
  the Employee classes as well: the AS3: -- 
  package org.objectweb.easybeans.examples.entitybean { 
   [Bindable] 
  [RemoteClass(alias="org.objectweb.easybeans.examples.entitybean.Employee 
  ")] public class Employee 
  { public var 
  id:int; public var 
  name:String;  } } 
  -- the Java one: /*** 
  EasyBeans* Copyright (C) 2006 Bull 
  S.A.S.* Contact: 
  [EMAIL PROTECTED]** This library is free 
  software; you can redistribute it and/or * modify it under 
  the terms of the GNU Lesser General Public* License as 
  published by the Free Software Foundation; either* version 
  2.1 of the License, or any later 
  version.** This library is distributed 
  in the hope that it will be useful, * but WITHOUT ANY 
  WARRANTY; without even the implied warranty of* 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the 
  GNU* Lesser General Public License for more 
  details.* * You should have received a 
  copy of the GNU Lesser General Public* License along with 
  this library; if not, write to the Free Software* 
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307 
  * USA** 
   
  --* $Id: Employee.java 9 2006-02-19 18:53:32Z benoitf 
  $* 
   
   --*/ package 
  org.objectweb.easybeans.examples.entitybean; import 
  javax.persistence.Entity; import javax.persistence.Id; import 
  javax.persistence.Table; /*** Define an 
  employee with an id and a name.* @author Florent 
  Benoit*/ @Entity @Table(name = 
  "EMPLOYEES") public class Employee implements java.io.Serializable 
  { 
  /*** Id for serializable 
  class.*/ 
  private static final long serialVersionUID = 
  -236627462547454L; 
  /*** Id of this employee. 
  */ 
  private int id; 
  /*** Name of the 
  employee.*/ 
  private String 

Re: **SL-JUNK** [flexcoders] All the bunch of idiots at Adobe, please note!

2006-04-17 Thread Sreejith Unnikrishnan





What was the purpose of this mail?

 I mean this is 
total lack of professionalism 

  - Original Message - 
  From: 
  t_msreddy 
  
  To: flexcoders@yahoogroups.com 
  Sent: Monday, April 17, 2006 9:14 
PM
  Subject: **SL-JUNK** [flexcoders] All the 
  bunch of idiots at Adobe, please note!
  I wanted to share this aweful story to this 
  group.Over months we have been trying to get a Flex expert from Adobe 
  to do a code review of our application as a part of our partnership 
  building process. They agreed to do it in person and finally on the 
  day, they sent out an email saying they cannot come and will do this 
  over breeze presentation. This was not ok for us but we had no other 
  option and we oked it. BTW the guys were Brian O'Connor, Adobe 
  Consulting, John Bennet, Architect.Finally during the 
  presentation, we went through the agenda for the meeting and basically we 
  wanted to get some useful tips for the problem we were having in flex app 
  and things that we could not implement. Over the presentation, they were 
  treating themselves as gods and us as no good developers. And at times it 
  went like "OK we got it, next... next", I was very offended while 
  driving the presentation. At one point I was showing them a slide with 
  cairngorm and i said "we are using viewhelpers and value objects and ..", 
  one of the guys said quickly "viewhelpers are not values objects". 
  They were very disrespectful all over the meeting. Also he mentioned that 
  Cairngorm is not the bible. So he thinks we dont know this?I mean 
  this is total lack of professionalism by Adobe guys. They should treat the 
  flex developer community with respect and show some sensitivity when they 
  talk to people and treat them as experts rather than 
  "dont-know-even-this-guys".On top of that they did not give one single 
  useful tip for us. They were blabbering like inexperienced 
  developers.All the bunch of idiots at Adobe, please note this 
  aweful story





--
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] logout remote object in flex

2006-04-17 Thread jfournet



I tried that with the following code, but any call to the gateway raises an exception. We are using flex 1.5 and tomcat 5.5 w/jboss. Is there an incompatability issue here?   System.out.println("before invalidate session"); flashgateway.Gateway.getHttpRequest().getSession().invalidate(); System.out.println("after invalidate session");Matt Chotin [EMAIL PROTECTED] wrote:  I think for 1.5 you need to write your own RemoteObject that will getthe HTTPSession from the Gateway and invalidate it. Then on the clientyou can clearUsernamePassword
 as well.Matt-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of jfournetSent: Saturday, April 15, 2006 4:23 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] logout remote object in flexI need to logout a remoteobject in flex to destroy the users security creditials. I don't see anyway to do this in flex 1.5. Any help would be appreciated.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Cairngorm2 Commands and Singletons

2006-04-17 Thread Tim Hoff
That's what I thought Jester.  So the problem is not with the 
commands but rather with the delegates.  The samples provided 
similar code to this:

   var delegate : GetAuthorsDelegate = new GetAuthorsDelegate();

I'll make these singletons and see if that clears up the problem.

Thanks,

- TH


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

 Cairngorm at start up creates a single instance of a command class 
at start 
 up.
 
 ARP, another framework like Cairngorm, creates an instance of a 
command when 
 it's called.
 
 Multiple calls to a Cairngorm command via EventBroacaster use the 
same 
 Command instance.
 
 Multiple calls to an ARP command via EventBroacaster use a new 
Command 
 instance.
 
 While I've been told Commands should be stateless, I disagree.  
Since you 
 can't block in Flash Player and everything is asyncronous, I think 
Commands 
 should have some form of state, even if this state is internal, 
and is 
 merely in the form of callback functions that it only uses for 
itself (aka 
 private).
 
 That said, Cairngorm's low-level design clearly believes and 
encourages 
 stateless Commands since only 1 instance of a Command class every 
exists.
 
 Cairngorm keeps a reference to the Command class instances, so 
they don't 
 really ever go out of scope because they are kept internally in 
the commands 
 array.
 
 I know that's not a solution, just information, but figured 
important 
 nonetheless.
 
 - Original Message - 
 From: Tim Hoff [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Monday, April 17, 2006 12:46 PM
 Subject: [flexcoders] Cairngorm2 Commands and Singletons
 
 
 Apparently, there has been much discussion concerning singletons
 here already, but the search feature of this site doesn't seem to
 ever return complete results.  Coming from a .NET background, I've
 had to change a lot my thinking in regards to objects. This is a
 good thing.  However, in .NET (VB.NET, C#.NET Java.NET) when an
 object is instantiated, let's say a class in this case, as soon as
 the object goes out of scope, it is automatically disposed of by 
the
 garbageCollector.  This doesn't seem to be the case in AS3.  I've
 patterned an application on the Cairngorm samples that have been
 provided so far.  The samples are great and I really appreciate
 them, but none of them make multiple calls to the back-end.  Using
 the code provided, if I execute multiple search commands (let's say
 getAuthors), each one of the command instances, along with the
 associated event listeners and objects, still exist after the 
result
 or fault is returned.  Thus, when an error is displayed
 like: Sorry, no authors found., since all of the
 commands/delegates are still listening to the data service, a
 separate alert box appears for each instance of the command.  Three
 calls, three alert boxes.
 
 I'm not sure if I should make the commands and delegates 
singletons,
 or manually dispose (delete _oSingleton) of the instances.  Since
 the application is Cairngorm based, I don't want to stray too far
 from best practices.  I was just wondering if anyone else had
 experienced this problem and if there were some links or advice 
that
 could be offered?  I also want to say that I think that the Adobe
 team is doing a great job.  I can't wait for the release of Flex2.
 It's going to turn a lot of heads.
 
 Many thanks,
 Tim Hoff
 
 P.S.  It would be nice to have something like the following:
 
 public singleton class myClass {}
 
 
 
 
 
 
 
 
 --
 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








--
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: Cairngorm2 Commands and Singletons

2006-04-17 Thread JesterXL
Hrm... good point.  Typicaly this:

function test()
{
   a = new String();
}

test();
test();

Will cause the first created a to be destroyed  replaced with a new one.  I 
reckon the old one is marked for garbage collection.

However, think is dangerous.  I can see how for 99% of the use cases you'd 
want a Delegate to be a singleton to be utilized from a command, so that 
makes perfect sense; good idea!



- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, April 17, 2006 1:23 PM
Subject: [flexcoders] Re: Cairngorm2 Commands and Singletons


That's what I thought Jester.  So the problem is not with the
commands but rather with the delegates.  The samples provided
similar code to this:

   var delegate : GetAuthorsDelegate = new GetAuthorsDelegate();

I'll make these singletons and see if that clears up the problem.

Thanks,

- TH


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

 Cairngorm at start up creates a single instance of a command class
at start
 up.

 ARP, another framework like Cairngorm, creates an instance of a
command when
 it's called.

 Multiple calls to a Cairngorm command via EventBroacaster use the
same
 Command instance.

 Multiple calls to an ARP command via EventBroacaster use a new
Command
 instance.

 While I've been told Commands should be stateless, I disagree.
Since you
 can't block in Flash Player and everything is asyncronous, I think
Commands
 should have some form of state, even if this state is internal,
and is
 merely in the form of callback functions that it only uses for
itself (aka
 private).

 That said, Cairngorm's low-level design clearly believes and
encourages
 stateless Commands since only 1 instance of a Command class every
exists.

 Cairngorm keeps a reference to the Command class instances, so
they don't
 really ever go out of scope because they are kept internally in
the commands
 array.

 I know that's not a solution, just information, but figured
important
 nonetheless.

 - Original Message - 
 From: Tim Hoff [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Monday, April 17, 2006 12:46 PM
 Subject: [flexcoders] Cairngorm2 Commands and Singletons


 Apparently, there has been much discussion concerning singletons
 here already, but the search feature of this site doesn't seem to
 ever return complete results.  Coming from a .NET background, I've
 had to change a lot my thinking in regards to objects. This is a
 good thing.  However, in .NET (VB.NET, C#.NET Java.NET) when an
 object is instantiated, let's say a class in this case, as soon as
 the object goes out of scope, it is automatically disposed of by
the
 garbageCollector.  This doesn't seem to be the case in AS3.  I've
 patterned an application on the Cairngorm samples that have been
 provided so far.  The samples are great and I really appreciate
 them, but none of them make multiple calls to the back-end.  Using
 the code provided, if I execute multiple search commands (let's say
 getAuthors), each one of the command instances, along with the
 associated event listeners and objects, still exist after the
result
 or fault is returned.  Thus, when an error is displayed
 like: Sorry, no authors found., since all of the
 commands/delegates are still listening to the data service, a
 separate alert box appears for each instance of the command.  Three
 calls, three alert boxes.

 I'm not sure if I should make the commands and delegates
singletons,
 or manually dispose (delete _oSingleton) of the instances.  Since
 the application is Cairngorm based, I don't want to stray too far
 from best practices.  I was just wondering if anyone else had
 experienced this problem and if there were some links or advice
that
 could be offered?  I also want to say that I think that the Adobe
 team is doing a great job.  I can't wait for the release of Flex2.
 It's going to turn a lot of heads.

 Many thanks,
 Tim Hoff

 P.S.  It would be nice to have something like the following:

 public singleton class myClass {}








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








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







--
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] logout remote object in flex

2006-04-17 Thread Peter Farland





What was the exception? Did you get a stack 
trace?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: Monday, April 17, 2006 12:25 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
logout remote object in flex

I tried that with the following code, but any call to the gateway raises an 
exception. We are using flex 1.5 and tomcat 5.5 w/jboss. Is 
there an incompatability issue here?


 
System.out.println("before invalidate 
session"); 
flashgateway.Gateway.getHttpRequest().getSession().invalidate(); 
System.out.println("after invalidate 
session");Matt 
Chotin [EMAIL PROTECTED] wrote:
I 
  think for 1.5 you need to write your own RemoteObject that will getthe 
  HTTPSession from the Gateway and invalidate it. Then on the 
  clientyou can clearUsernamePassword as 
  well.Matt-Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
  jfournetSent: Saturday, April 15, 2006 4:23 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] logout remote object in 
  flexI need to logout a remoteobject in flex to destroy the users 
  security creditials. I don't see anyway to do this in flex 
  1.5. Any help would be 
  appreciated.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links


Yahoo! Messenger with Voice. Make 
PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. 





--
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] File Upload In Flex 2.0 Using PHP??

2006-04-17 Thread Faisal Abid
Does anyone know how to  File Upload In Flex 2.0 Using PHP??


--
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] logout remote object in flex

2006-04-17 Thread Douglas Knudsen



this is what we use. Popst the exception here, eh? We are running JRun and the below works fine.

DK
On 4/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I tried that with the following code, but any call to the gateway raises an exception. We are using flex 1.5 and tomcat 5.5 w/jboss. Is there an incompatability issue here?


 System.out.println(before invalidate session); flashgateway.Gateway.getHttpRequest().getSession().invalidate(); System.out.println(after invalidate session);

Matt Chotin [EMAIL PROTECTED]
 wrote:


I think for 1.5 you need to write your own RemoteObject that will getthe HTTPSession from the Gateway and invalidate it. Then on the client
you can clearUsernamePassword as well.Matt-Original Message-From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] OnBehalf Of jfournetSent: Saturday, April 15, 2006 4:23 PM
To: flexcoders@yahoogroups.comSubject: [flexcoders] logout remote object in flexI need to logout a remoteobject in flex to destroy the users security 
creditials. I don't see anyway to do this in flex 1.5. Any help would be appreciated.--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links



Yahoo! Messenger with Voice. Make PC-to-Phone Calls
 to the US (and 30+ countries) for 2¢/min or less. 

--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 





-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? 






--
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] Re: Singleton not usable?

2006-04-17 Thread Francis Cheng
Thanks Tim,

I should not have been so brief in my original reply. I didn't mean to
imply that a implementing a Singleton is not possible in ActionScript,
only that you can't rely on the default access specifier to make your
constructor private, as you can in C#.

In ActionScript 3.0, the default access specifier for most class members
is internal. The constructor is the exception, and is public whether
or not you include that keyword in the declaration. 

Francis

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of turbo_vb
 Sent: Friday, April 14, 2006 11:57 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Singleton not usable?
 
 This a modified version of Jeff Tapper's singleton DataManager
 class for AS3 web service calls.  Francis, note the private class
 constuctor at the bottom.  Sorry about the jagged alignment.
 
 - Tim Hoff
 
 
 package code.business {
 
   import mx.managers.CursorManager;
 import flash.events.EventDispatcher;
 import mx.rpc.soap.WebService;
 import mx.rpc.events.ResultEvent;
 import mx.rpc.events.FaultEvent;
 import mx.rpc.AbstractOperation;
 import mx.controls.Alert;
 import flash.util.*;
 
 public class DataServices extends EventDispatcher {
 private var ws:WebService;
 private static var instanceMap:Object = new Object();
 public function DataServices(pri:PrivateClass, wsdl:String)
 {
 this.ws = new WebService();
 ws.wsdl = wsdl;
 ws.loadWSDL();
 ws.useProxy = false;
 }
 public static function getDataService
 (wsdl:String):DataServices
 {
 if(DataServices.instanceMap[wsdl] == null)
 {
   DataServices.instanceMap[wsdl] = new DataServices
 (new PrivateClass(),wsdl);
   }
 
   var ds:DataServices =
DataServices.instanceMap[wsdl];
 if(ds.ws.canLoadWSDL())
 {
 return ds;
 } else {
 throw new Error(BAD WSDL:+wsdl);
 }
 }
 public function makeRemoteCall
 (methodName:String,showBusyCursor:Boolean,args:Object):void
 {
 var op:mx.rpc.AbstractOperation = ws[methodName];
 if(showBusyCursor)
 {
   CursorManager.setBusyCursor();
 }
 ws.addEventListener(result,onResult);
 ws.addEventListener(fault,onFault);
 if(args)
 {
   op.arguments = args;
   }
   op.send();
 
 }
 private function onResult(result:ResultEvent):void
 {
   CursorManager.removeBusyCursor();
 this.dispatchEvent(result);
 }
 private function onFault(fault:FaultEvent):void
 {
   CursorManager.removeBusyCursor();
 this.dispatchEvent(fault);
 }
 public override function toString():String
 {
 return DataServices;
 }
 }
 }
 
 /**  PrivateClass is used to make DataServices constructor private
 */
 class PrivateClass
 {
 public function PrivateClass() {}
 }
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Francis Cheng [EMAIL PROTECTED]
 wrote:
 
  That works in C# because the default access specifier for class
 members
  in C# is private. It won't work in ActionScript 3.0 because the
  constructor is always public, whether or not you declare it as
 such.
 
  Francis
 
   -Original Message-
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED]
  On
   Behalf Of crnet_flex
   Sent: Friday, April 14, 2006 3:19 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Singleton not usable?
  
  
   Hi
  
   Have anyone tried using a construction like the following?
  
   public class Singleton
   {
 public static const Instance:Singleton = new Singleton();
  
 function Singleton()
 {
 }
  
 public function doSomething():void
 {
 }
   }
  
   This is actually the recommandations of creating a singleton in
 c#,
   and it seems that it fullfils the job here as well.
  
   I know that, if you use flexbuilder 2 beta, then you'll get a
   warning if you leave out the scope of the constructor, but maybe
   it's worth it.
  
   By the way, be aware that the singleton posted initially as an
   example is not a recommended way of creating a singleton, i guess
   it's not a problem in AS3, but lazy loaded singletons must have a
   syncronized/looked load section when thread safety is an issue.
  
   BR Casper
 
 
 
 
 
 
 
 --
 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
 
 
 
 
 
 



--
Flexcoders Mailing List
FAQ: 

Re: [flexcoders] What is the url where I can download Flex Beta from

2006-04-17 Thread Dave Carabetta
On 4/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Can someone give it to me please


http://labs.adobe.com/

Regards,
Dave.


--
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] File Upload In Flex 2.0 Using PHP??

2006-04-17 Thread jeremy lu




same as that in flash 8.
FileReference and FileList are always there.On 4/18/06, Faisal Abid [EMAIL PROTECTED] wrote:
Does anyone know how toFile Upload In Flex 2.0 Using PHP??






--
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] [Flex 1.5] File Upload and ColdFusion authentication

2006-04-17 Thread João Fernandes

Indeed,

Firefox 1.5.0.2, I'm so used to validate against IE for all problems that might 
happen that I forgot to check this time if it was a Firefox problem. Is this a 
known issue?

João Fernandes

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Carson Hager
Sent: Mon 17-Apr-06 6:08 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication
 
Is this FireFox 1.5?
 
 
Carson

 
  
Carson Hager 
Cynergy Systems, Inc. 
http://www.cynergysystems.com http://www.cynergysystems.com/  
  
Email:  [EMAIL PROTECTED] 
Office:  866-CYNERGY 
Mobile: 1.703.489.6466 
  

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Monday, April 17, 2006 9:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication



Hi there,

 

I'm trying to protect my upload page using ColdFusion authentication but when 
using fileReference, it seems that a new session is created instead of using 
the current used by the App. 

 

I'm using Flex 1.5 integrated with ColdFusion 7. If I log in with Flex and 
access a cfm page, I can get the user name perfectly ( getauthuser() ) but when 
uploading with fileReference inside my Flex App, a new sessionID is generated 
for that request.

 

Any Ideas how to solve this?

 

Thanks, 

 

João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



--
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 
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
http://docs.yahoo.com/info/terms/ . 








--
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/
 
winmail.dat

[flexcoders] ADMIN MESSAGE: Professionalism and Civility Please

2006-04-17 Thread Steven Webster





All,

The flexcoders list 
is seeing a tremendous growth of late, thanks in no small part to the Flex 2 
beta, and to the increasing number of people who are embracing Flex as an RIA 
technology. We can only assume that this list will continue to grow, as 
Flex 2.0 matures from beta into a final release.

I've been with this 
list since it's inception - in fact, iteration::two started this mailing list to 
accompany the launch of Flex 1.0. In that time, we have witnessed and 
enjoyed the growth of a tremendous community. Speaking as a former 
non-Adobe/Macromedia employee, it was a distinct pleasure that so many of the 
Flex engineering team, and Adobe management team, were willing to devote so much 
of their time and energy to reading and responding to this list, more often than 
not during the pressures of shipping software for us all to earn our livings 
on. And now that I work for Adobe Consulting, it's a privilege to be 
positivley encouraged to continue to contribute to this list, to ensure that our 
customers and partners are able to be successful with our 
technology.

The community we 
have built has been one of these tremendous resources, where peers and 
colleagues online, are often competitors in the offline world, but still are 
willing to offer their time and energy offering help and advice to ensure each 
other's success with Flex. If ever a community has been seen to "pay it 
forward", it has been the flexcoders community.

Of late, there have 
been a number of emails and threads where basic civility and professionalism 
have often been misplaced for anger, disrespect and hostility. Delay is 
the best remedy for anger; and if that doesn't work, please keep it personal and 
private.

As a list admin 
working for iteration::two, I'd probably have banned a few folks by now, or at 
least suspended their posting privileges to be moderated. However, 
representing Adobe Consulting, the last thing I want is to be accused of 
censoring the list. So for now, no-one is having their posting privileges 
altered - unless they post Java or C++recruitment job ads and we don't 
approve them by accident :), or continue to fail to adhere to the collective 
standards that the majority of the list expect of each 
other.

I'm sure I speak for 
the vast majority of this list, when I ask that we keep our posts civil and 
professional, that we abstain from ad-hominem attacks, and that we continue to 
maintain a self-regulated forum where we know that asking well-formed questions 
will elicit rapid and constructive responses.

If anyone is unhappy 
with this, please drop me a *private* email offlist, and we can decide whether 
this is a forum that you're comfortable continuing to contribute 
to.

Apologies to 
everyone for having to make this post. I'm sure you appreciate and 
understand.

Let's get back to 
the regularly scheduled program of coding with Flex.

Respectfully,

Steven
(List 
Administrator)




  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, 
UK






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



  









[flexcoders] Re: get rid of xml configuration in FDS, use JNDI

2006-04-17 Thread busitech
Anatole, thank you for you message.

JNDI is really about the hot-deployment you speak of.  It's a 
publishing mechanism for an application to make itself available to 
others.  It a mechanism for one application to obtain a handle to 
all of the functions provided by another self-published application.  
It's dynamic.

XML is just a file on the file system.  It might be human readable, 
but it's not that easy to author correctly without (another) tool.

You mentioned of control over serial requests.  Are you referring to 
the asynchronous nature of remote calls?  

The nice thing about designing software to work in an asynchronous 
mode is that it becomes prepared to receive a message at any point 
in the chain of events - not just at the entry point, or beginning of 
the process.  It opens up several new possibilities.

Like you, we'd like to see the flexibility of Flash Remoting remain 
if we are to adopt Flex.  The additional functionality of FDS solves 
several problems.  However, achieving a high level of integration 
with our business logic is the primary job of the gateway.  If the 
gateway makes it harder to integrate with our server side 
applications the benefits are offset.






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





[flexcoders] Re: Cairngorm2 Commands and Singletons

2006-04-17 Thread Tim Hoff
Making the delegate a singleton solved the problem.  Thank you very 
much for the insight.

- TH


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

 Hrm... good point.  Typicaly this:
 
 function test()
 {
a = new String();
 }
 
 test();
 test();
 
 Will cause the first created a to be destroyed  replaced with a 
new one.  I 
 reckon the old one is marked for garbage collection.
 
 However, think is dangerous.  I can see how for 99% of the use 
cases you'd 
 want a Delegate to be a singleton to be utilized from a command, 
so that 
 makes perfect sense; good idea!
 
 
 
 - Original Message - 
 From: Tim Hoff [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Monday, April 17, 2006 1:23 PM
 Subject: [flexcoders] Re: Cairngorm2 Commands and Singletons
 
 
 That's what I thought Jester.  So the problem is not with the
 commands but rather with the delegates.  The samples provided
 similar code to this:
 
var delegate : GetAuthorsDelegate = new GetAuthorsDelegate();
 
 I'll make these singletons and see if that clears up the problem.
 
 Thanks,
 
 - TH
 
 
 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  Cairngorm at start up creates a single instance of a command 
class
 at start
  up.
 
  ARP, another framework like Cairngorm, creates an instance of a
 command when
  it's called.
 
  Multiple calls to a Cairngorm command via EventBroacaster use the
 same
  Command instance.
 
  Multiple calls to an ARP command via EventBroacaster use a new
 Command
  instance.
 
  While I've been told Commands should be stateless, I disagree.
 Since you
  can't block in Flash Player and everything is asyncronous, I 
think
 Commands
  should have some form of state, even if this state is internal,
 and is
  merely in the form of callback functions that it only uses for
 itself (aka
  private).
 
  That said, Cairngorm's low-level design clearly believes and
 encourages
  stateless Commands since only 1 instance of a Command class every
 exists.
 
  Cairngorm keeps a reference to the Command class instances, so
 they don't
  really ever go out of scope because they are kept internally in
 the commands
  array.
 
  I know that's not a solution, just information, but figured
 important
  nonetheless.
 
  - Original Message - 
  From: Tim Hoff TimHoff@
  To: flexcoders@yahoogroups.com
  Sent: Monday, April 17, 2006 12:46 PM
  Subject: [flexcoders] Cairngorm2 Commands and Singletons
 
 
  Apparently, there has been much discussion concerning singletons
  here already, but the search feature of this site doesn't seem to
  ever return complete results.  Coming from a .NET background, 
I've
  had to change a lot my thinking in regards to objects. This is a
  good thing.  However, in .NET (VB.NET, C#.NET Java.NET) when an
  object is instantiated, let's say a class in this case, as soon 
as
  the object goes out of scope, it is automatically disposed of by
 the
  garbageCollector.  This doesn't seem to be the case in AS3.  I've
  patterned an application on the Cairngorm samples that have been
  provided so far.  The samples are great and I really appreciate
  them, but none of them make multiple calls to the back-end.  
Using
  the code provided, if I execute multiple search commands (let's 
say
  getAuthors), each one of the command instances, along with the
  associated event listeners and objects, still exist after the
 result
  or fault is returned.  Thus, when an error is displayed
  like: Sorry, no authors found., since all of the
  commands/delegates are still listening to the data service, a
  separate alert box appears for each instance of the command.  
Three
  calls, three alert boxes.
 
  I'm not sure if I should make the commands and delegates
 singletons,
  or manually dispose (delete _oSingleton) of the instances.  Since
  the application is Cairngorm based, I don't want to stray too far
  from best practices.  I was just wondering if anyone else had
  experienced this problem and if there were some links or advice
 that
  could be offered?  I also want to say that I think that the Adobe
  team is doing a great job.  I can't wait for the release of 
Flex2.
  It's going to turn a lot of heads.
 
  Many thanks,
  Tim Hoff
 
  P.S.  It would be nice to have something like the following:
 
  public singleton class myClass {}
 
 
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 --
 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








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

[flexcoders] Re: All the bunch of idiots at Adobe, please note!

2006-04-17 Thread Tim Hoff
Sir, while I would certainly relish perpetuating a debate on this 
issue.  I don't see any benefit to such a discourse at this time.  
However, I'm now wondering less why you had such a big problem in 
the first place.

- Tim Hoff


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

 HO HO HO
 Here come the Adobe Chauvinist! This is not dirty laundry Tim.
 I am not using this a platform for airing my personal stuff. Sorry 
 if you felt so. This is my personal experience related to Flex 
 project. So I thought there is nothing wrong in expressing my 
views.
 
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
  Whomever you are,
  
  I'm sorry that you had a bad experience with a couple of Adobe 
  employees.  But, this is not a forum for venting, ranting or 
 airing 
  your dirty laundry.  I don't discount that you probably have 
just 
  cause to complain, but I'm pretty sure that Adobe has a customer 
  service department.  You might have gotten a hold of a couple of 
 bad 
  apples, or as is usually the case, there are two sides to every 
  story.  To attack everyone at Adobe is just childish. I 
personally 
  have had nothing but positive results when dealing with the 
people 
  at Macromedia/Adobe.  Most there seem to be positive, helpful 
  and Open.  I am not affiliated with Adobe in any regard.  But 
in 
  the future, please limit the scope of your comments to 
programming 
  questions that can be effectively addressed and that might also 
 help 
  the group.
  
  Thank You,
  Tim Hoff







--
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] Cairngorm2 Commands and Singletons

2006-04-17 Thread Steven Webster
Tim,

I hear ya.  We'll have a discussion in-office this week about making the
stateless Command implementation available as a patch for now, and give
everyone using Cairngorm an opportunity to voice opinion on the
implementation.

We're already using the stateless command on our own projects; we just
hadn't released this into the Cairngorm code-base yet.

Best,

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
[EMAIL PROTECTED] 

 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
 Sent: 17 April 2006 17:47
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Cairngorm2 Commands and Singletons
 
 Apparently, there has been much discussion concerning 
 singletons here already, but the search feature of this site 
 doesn't seem to ever return complete results.  Coming from a 
 .NET background, I've had to change a lot my thinking in 
 regards to objects. This is a good thing.  However, in .NET 
 (VB.NET, C#.NET Java.NET) when an object is instantiated, 
 let's say a class in this case, as soon as the object goes 
 out of scope, it is automatically disposed of by the 
 garbageCollector.  This doesn't seem to be the case in AS3.  
 I've patterned an application on the Cairngorm samples that 
 have been provided so far.  The samples are great and I 
 really appreciate them, but none of them make multiple calls 
 to the back-end.  Using the code provided, if I execute 
 multiple search commands (let's say getAuthors), each one of 
 the command instances, along with the associated event 
 listeners and objects, still exist after the result or fault 
 is returned.  Thus, when an error is displayed
 like: Sorry, no authors found., since all of the 
 commands/delegates are still listening to the data service, a 
 separate alert box appears for each instance of the command.  
 Three calls, three alert boxes.
 
 I'm not sure if I should make the commands and delegates 
 singletons, or manually dispose (delete _oSingleton) of the 
 instances.  Since the application is Cairngorm based, I don't 
 want to stray too far from best practices.  I was just 
 wondering if anyone else had experienced this problem and if 
 there were some links or advice that could be offered?  I 
 also want to say that I think that the Adobe team is doing a 
 great job.  I can't wait for the release of Flex2.  
 It's going to turn a lot of heads.
 
 Many thanks,
 Tim Hoff
 
 P.S.  It would be nice to have something like the following:
 
   public singleton class myClass {}
 
 
 
 
 
 
 
 
 --
 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
 
 
 
  
 
 
 


--
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: Cairngorm2 Commands and Singletons

2006-04-17 Thread Steven Webster
We've never made delegates singletons - since typically these are
reusable proxies to server-side business logic, and there has never been
a need to have the same instance of the singleton between different
command invocations.

Doesn't mean making a delegate a singleton is wrong; it's
application-specific I guess, and it's a freedom you have as a developer
using Cairngorm, to make these decisions.

Best,

Steven

 Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
[EMAIL PROTECTED] 

 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
 Sent: 17 April 2006 19:08
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Cairngorm2 Commands and Singletons
 
 Making the delegate a singleton solved the problem.  Thank 
 you very much for the insight.
 
 - TH


--
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: All the bunch of idiots at Adobe, please note!

2006-04-17 Thread Dave Carabetta
On 4/17/06, t_msreddy [EMAIL PROTECTED] wrote:
 HO HO HO
 Here come the Adobe Chauvinist! This is not dirty laundry Tim.
 I am not using this a platform for airing my personal stuff. Sorry
 if you felt so. This is my personal experience related to Flex
 project. So I thought there is nothing wrong in expressing my views.



All due respect, but you posted this while completely hiding behind
your e-mail address. If you're so adamant about your experience and
want to make a public statement about the quality of Adobe Consulting,
I think you'd receive a bit more respect (even if they vehmently
disagree) if you were to provide your name. You saw fit to put the
engineers' names into the public domain, so why are you hiding behind
t_msreddy? I have no experience with Adobe Consulting; they really
could stink for all I know. But I can't really seriously consider
anything you wrote when t_msreddy is all anybody knows about the
source of the accusations.

Regards,
Dave.


--
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] [Flex 1.5] File Upload and ColdFusion authentication

2006-04-17 Thread Carson Hager
This is definitely an FFX issue. I'm not sure if it happens across all versions 
but I know it was broken with 1.5.


Carson


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Monday, April 17, 2006 10:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication


Indeed,

Firefox 1.5.0.2, I'm so used to validate against IE for all problems that might 
happen that I forgot to check this time if it was a Firefox problem. Is this a 
known issue?

João Fernandes

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Carson Hager
Sent: Mon 17-Apr-06 6:08 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication
 
Is this FireFox 1.5?
 
 
Carson

 
  
Carson Hager 
Cynergy Systems, Inc. 
http://www.cynergysystems.com http://www.cynergysystems.com/  
  
Email:  [EMAIL PROTECTED] 
Office:  866-CYNERGY 
Mobile: 1.703.489.6466 
  

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Monday, April 17, 2006 9:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication



Hi there,

 

I'm trying to protect my upload page using ColdFusion authentication but when 
using fileReference, it seems that a new session is created instead of using 
the current used by the App. 

 

I'm using Flex 1.5 integrated with ColdFusion 7. If I log in with Flex and 
access a cfm page, I can get the user name perfectly ( getauthuser() ) but when 
uploading with fileReference inside my Flex App, a new sessionID is generated 
for that request.

 

Any Ideas how to solve this?

 

Thanks, 

 

João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



--
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 
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
http://docs.yahoo.com/info/terms/ . 








--
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] [Flex 1.5] File Upload and ColdFusion authentication

2006-04-17 Thread João Fernandes
I'll try on IE first thing in the morning.

Thanks for the tip,

João Fernandes


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Carson Hager
Sent: Mon 17-Apr-06 7:26 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication
 
This is definitely an FFX issue. I'm not sure if it happens across all versions 
but I know it was broken with 1.5.


Carson


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Monday, April 17, 2006 10:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication


Indeed,

Firefox 1.5.0.2, I'm so used to validate against IE for all problems that might 
happen that I forgot to check this time if it was a Firefox problem. Is this a 
known issue?

João Fernandes

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Carson Hager
Sent: Mon 17-Apr-06 6:08 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication
 
Is this FireFox 1.5?
 
 
Carson

 
  
Carson Hager 
Cynergy Systems, Inc. 
http://www.cynergysystems.com http://www.cynergysystems.com/  
  
Email:  [EMAIL PROTECTED] 
Office:  866-CYNERGY 
Mobile: 1.703.489.6466 
  

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Monday, April 17, 2006 9:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication



Hi there,

 

I'm trying to protect my upload page using ColdFusion authentication but when 
using fileReference, it seems that a new session is created instead of using 
the current used by the App. 

 

I'm using Flex 1.5 integrated with ColdFusion 7. If I log in with Flex and 
access a cfm page, I can get the user name perfectly ( getauthuser() ) but when 
uploading with fileReference inside my Flex App, a new sessionID is generated 
for that request.

 

Any Ideas how to solve this?

 

Thanks, 

 

João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



--
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 
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
http://docs.yahoo.com/info/terms/ . 








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



 





--
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/
 
winmail.dat

[flexcoders] Re: Cairngorm2 Commands and Singletons

2006-04-17 Thread Tim Hoff
Thanks Steven,

Perhaps my problem is that I wasn't able to utilize the 
services.mxml as Cairngorm intended.  I'm using webServices.  Since 
I couldn't find a working example of how to invoke different web 
service operations from the delegate (with paramaters), I decided to 
use an AS class to make the remote call.  As a side note, I like 
this approach a little better, since I dont have to hard code the 
paramater tags in the service (one less place to maintain the VO). I 
simply pass the VO to the service.  Since I diverged from Cairngorm 
at that point, I wasn't able to get the Responder to work.  This may 
be where I went wrong.  Since I added event listeners to the web 
service class from the delegate, instead of passing the event 
listeners through with a responder, the listeners persisted.  I 
could manually remove the event listeners, but wouldn't a delegate 
instance still exist for each call; thus representing a memory 
leak?  Do you have a better suggestion for this?  I would like to 
keep the application as pure Cairngorm if possible.  As a side note, 
thank you very much for your 6-part article.  It was a hard learning 
curve, but well worth it.

Regards,
Tim Hoff


--- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] 
wrote:

 We've never made delegates singletons - since typically these are
 reusable proxies to server-side business logic, and there has 
never been
 a need to have the same instance of the singleton between 
different
 command invocations.
 
 Doesn't mean making a delegate a singleton is wrong; it's
 application-specific I guess, and it's a freedom you have as a 
developer
 using Cairngorm, to make these decisions.
 
 Best,
 
 Steven
 
Steven Webster
 Practice Director (Rich Internet Applications)
 Adobe Consulting
 Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
 p: +44 (0) 131 338 6108
 m: +44 (0) 7917 428 947 
 [EMAIL PROTECTED] 
 
  
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
  Sent: 17 April 2006 19:08
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Cairngorm2 Commands and Singletons
  
  Making the delegate a singleton solved the problem.  Thank 
  you very much for the insight.
  
  - TH







--
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] All the bunch of idiots at Adobe, please note!

2006-04-17 Thread Faisal Abid
t_msreddy wrote:
 I wanted to share this aweful story to this group.

 Over months we have been trying to get a Flex expert from Adobe to
 do a code review of our application as a part of our partnership
 building process. They agreed to do it in person and finally on the
 day, they sent out an email saying they cannot come and will do this
 over breeze presentation. This was not ok for us but we had no other
 option and we oked it. BTW the guys were Brian O'Connor, Adobe
 Consulting, John Bennet, Architect.

 Finally during the presentation, we went through the agenda for the
 meeting and basically we wanted to get some useful tips for the
 problem we were having in flex app and things that we could not
 implement. Over the presentation, they were treating themselves as
 gods and us as no good developers. And at times it
 went like OK we got it, next... next, I was very offended while
 driving the presentation. At one point I was showing them a slide
 with cairngorm and i said we are using viewhelpers and value
 objects and .., one of the guys said quickly viewhelpers are
 not values objects.  They were very disrespectful all over the
 meeting. Also he mentioned that Cairngorm is not the bible. So he
 thinks we dont know this?

 I mean this is total lack of professionalism by Adobe guys. They
 should treat the flex developer community with respect and show some
 sensitivity when they talk to people and treat them as experts
 rather than dont-know-even-this-guys.

 On top of that they did not give one single useful tip for us. They
 were blabbering like inexperienced developers.


 All the bunch of idiots at Adobe, please note this aweful story







 --
 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
   http://groups.yahoo.com/group/flexcoders on the web.

 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]

 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 

You cant call everyone at adobe idiots, becuase of two people , Im sure 
that they didnt want to offend you and it was just in there nature like 
the way they talk , but im sure they didnt want to offend you


--
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] All the bunch of idiots at Adobe, please note!

2006-04-17 Thread John Dowdell
Hi, I'm sorry you're not happy, and I'd like to pursue this. But to 
follow up on this internally I'd need to at least know your name and 
business group.

(Staffers here don't usually have the bandwidth to analyze customer 
projects, so I'm assuming there was some type of business relationship 
involved, some type of contractual clause for mutual satisfaction.)

I'm not sure what I can do yet... can you add some functional detail so 
I can try to help...?

tx,
jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


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




[flexcoders] Re: All the bunch of idiots at Adobe, please note!

2006-04-17 Thread t_msreddy
Dave
That funny because the mailing system is hiding my email and this is 
not my personal effort. My email is [EMAIL PROTECTED] and I am 
Madhu if that is what you are interested in.   


--- In flexcoders@yahoogroups.com, Dave Carabetta [EMAIL PROTECTED] 
wrote:

 On 4/17/06, t_msreddy [EMAIL PROTECTED] wrote:
  HO HO HO
  Here come the Adobe Chauvinist! This is not dirty laundry Tim.
  I am not using this a platform for airing my personal stuff. 
Sorry
  if you felt so. This is my personal experience related to Flex
  project. So I thought there is nothing wrong in expressing my 
views.
 
 
 
 All due respect, but you posted this while completely hiding behind
 your e-mail address. If you're so adamant about your experience and
 want to make a public statement about the quality of Adobe 
Consulting,
 I think you'd receive a bit more respect (even if they vehmently
 disagree) if you were to provide your name. You saw fit to put the
 engineers' names into the public domain, so why are you hiding 
behind
 t_msreddy? I have no experience with Adobe Consulting; they 
really
 could stink for all I know. But I can't really seriously consider
 anything you wrote when t_msreddy is all anybody knows about the
 source of the accusations.
 
 Regards,
 Dave.








--
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] logout remote object in flex

2006-04-17 Thread jfournet



OK, here is the exception:   (Message #0 targetURI=administrationFacade.logoutUser, responseURI=/2) (Array #0) [0] = (Object #1) _flag = "Envelope" headers = (Array #2) [0] = (Array #3) [0] = "ServiceType" [1] = false [2] = "stateless-class" [1] = (Array #4) [0] = "Credentials" [1] =
 true [2] = (Object #5) password = "txmpass" userid = "txmadmin" data = "" #6)13:23:09,910 INFO [STDOUT] Info: Processing batch of 1 request(s)13:23:09,910 INFO [STDOUT] Info: Requesting target 'administrationFacade.logoutUser'13:23:09,910 INFO [STDOUT] Info: Service 'com.bmc.txm.common.interfaces.presentation.facade.AdministrationDataFacade' sent to adapter 'Java Class Adapter'13:23:09,910 INFO [STDOUT] before getHttpRequest13:23:10,040 INFO [STDOUT] Error: flashgateway/Gateway13:23:10,040 INFO [STDOUT] flashgateway.GatewayException: flashgateway/Gateway13:23:10,040 INFO [STDOUT] at
 flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:152)13:23:10,040 INFO [STDOUT] at flashgateway.filter.MessageSecurityFilter.invoke(MessageSecurityFilter.java:144)13:23:10,040 INFO [STDOUT] at flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:101)13:23:10,040 INFO [STDOUT] at flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102)13:23:10,080 INFO [STDOUT] at flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28)13:23:10,080 INFO [STDOUT] at flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57)13:23:10,080 INFO [STDOUT] at flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39)13:23:10,080 INFO [STDOUT] at
 flashgateway.filter.LogFilter.invoke(LogFilter.java:46)13:23:10,080 INFO [STDOUT] at flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)13:23:10,080 INFO [STDOUT] at flashgateway.filter.PacketSecurityFilter.invoke(PacketSecurityFilter.java:68)13:23:10,080 INFO [STDOUT] at flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)13:23:10,080 INFO [STDOUT] at flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:89)13:23:10,080 INFO [STDOUT] at flashgateway.Gateway.invoke(Gateway.java:217)  13:23:10,080 INFO [STDOUT] at flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)13:23:10,080 INFO [STDOUT] at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:810)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)13:23:10,080 INFO [STDOUT] at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)13:23:10,080 INFO [STDOUT] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)13:23:10,080 INFO [STDOUT] at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)13:23:10,080 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)13:23:10,080 INFO [STDOUT] at flashgateway.security.TomcatValve.invoke(TomcatValve.java:109)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)13:23:10,080 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)13:23:10,080 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)13:23:10,080 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)13:23:10,080
 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)13:23:10,090 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)13:23:10,090 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)13:23:10,090 INFO [STDOUT] Info: Serializing response (Message #0 targetURI=/2/onStatus, responseURI=null) (Object #0) level = "error" code = "Server.Processing" type = "" rootcause = (Object #1) level = "error" code = null type = ""
 details = "" description = "flashgateway/Gateway" details = "" description = "flashgateway/Gateway"Douglas Knudsen 

RE: [flexcoders] Will there be a Part II to Sho K's Flickr Tutorial (i.e. more indepth on schemas)

2006-04-17 Thread Sho Kuwamoto





Thanks for the feedback. We'll try to pull together more 
material around pulling in data. 

Glad you found the video helpful!

-Sho


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Robert 
ThompsonSent: Sunday, April 16, 2006 11:25 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Will there be a Part 
II to Sho K's Flickr Tutorial (i.e. more indepth on 
schemas)
I've watched all the tutorials and worked with quick starts and 
they are enormously helpful.I was wondering though, Sho kind of glosses 
over the end of his Flickr tutorial on his Thumbnail and a customize 
interpretation of Flickr.Although I am not necessary suggesting a full 
Xmethods.com SOAP WSDL (his is REST which I prefer), I was wondering if he can 
present methods for using any service out there that provides a schema of the 
return [object] so that a more dynamic approach can be used to, for example, 
hooking up his "find" to virtualy _any_ service that may return media of any 
time.His Vieo still one of the best yet; the others are Flex Data 
Service or highly IDE based.-r


Yahoo! 
Messenger with Voice. PC-to-Phone calls for ridiculously low rates. 





--
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] Re: All the bunch of idiots at Adobe, please note!

2006-04-17 Thread Johannes Nel



i have worked with brian o'conner and several other adobe consulting
developers (and some are still here) for a very large company. i have
always found them extremely helpful, more than that, exceptionally
helpful and open to new concepts. i think the way you have reacted is
not only over the top but is extremely unprofessional. for all we know
your code could have been horrible or great, you could have
accidentally said i am using viewhelper value objects. furthermore
the review took place over breeze, hence you have no idea how it
sounded on the other side. you should have kept this internal imo. 

jpn.








--
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: Flex2/EJB3 integration: problems mapping Java/AS3 classes

2006-04-17 Thread Carlos Rovira



Hi Peter,Is great to hear that. We should wait to beta 3 release.Thanks for the feedbackOn 4/17/06, Peter Farland 
[EMAIL PROTECTED] wrote:






It might simply be a problem in the beta 2 player, as I 
have registerClassAlias working for AMF 0 using a beta 3 player (not yet 
released, obviously).


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Xavi 
BeumalaSent: Monday, April 17, 2006 5:05 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flex2/EJB3 
integration: problems mapping Java/AS3 classes
Hi,I'm having the same problem with plain and simple Java 
classes with amf0. Serialization works like a charm from as3 to java, but it's 
not working from java to as3. The java class I'm using is what follows: 
codepackage com.code4net.vos;public class PhotoVO 
{ private String title; private 
String photoURL; public String getPhotoURL() 
{  return 
photoURL; } public void 
setPhotoURL(String photoURL) {  
this.photoURL = photoURL; } public 
String getTitle() {  return 
title; } public void setTitle(String 
title) {  this.title = 
title; }}/codeIt doesn't have 
any inheritance and it's really simple. I also thought [RemoteClass] wouldn't 
work with amf0 so I tried using flash.net.registerClassAlias but didn't work for 
me :-( It seems like custom objects aren't being casted when they arrive to 
flash player. Same code is working on AS2 so I think it's not a server side 
problem... Would be great to have this solved so it's really annoying to 
implement a custom deserialization method for each VO.Any help is much 
apreciated!Thanks X.
On 4/17/06, carlos.rovira 
[EMAIL PROTECTED] 
wrote:
Hi 
  Matt,There's no extra space in [RemoteClass] maybe a typo due to the 
  copypaste to the mail.I should point that I'm using AMF0, with 
  OpenAMF, I forget to mention,sorry. And I was able to send the Employee 
  class and operate in the backend, but the problem is in the return that I 
  must to use a plainObject in the client.In the debug panel I could see 
  that I'm sending an Employee Object.Maybe the [RemoteClass] doesn't 
  work with AMF0? btw, what do you mean withIt's not maybe some 
  weird implementation class that extends Employee?The class must be 
  compiled with JDK1.5, and all the project as well,due that I'm using 
  annotations. Maybe this could be the problem? I saw another mail in 
  the list from Xavi Beaumala with the sameproblem, hope someone could give 
  us some lightThanks for any suggestion!C.--- In flexcoders@yahoogroups.com
, Matt 
  Chotin [EMAIL PROTECTED] wrote: Only thing I can see is the 
  extra space in your [RemoteClass] which I would hope would not cause 
  the mismatch.If you enable the debug logs  when the object 
  is sent from the server to the client does the log have the correct 
  type of the Employee?It's not maybe some weird 
  implementation class that extends Employee? 
  Matt 
   From: flexcoders@yahoogroups.com 
  [mailto: 
  flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira 
  Sent: Saturday, April 15, 2006 3:59 PM To: flexcoders@yahoogroups.com 
  Subject: [flexcoders] Re: Flex2/EJB3 integration: problems mapping  
  Java/AS3 classes ok, I though I should post 
  the Employee classes as well: the AS3: -- 
  package org.objectweb.easybeans.examples.entitybean { 
   [Bindable] 
  [RemoteClass(alias=org.objectweb.easybeans.examples.entitybean.Employee 
  )] public class Employee 
  { public var 
  id:int; public var 
  name:String;  } } 
  -- the Java one: /*** 
  EasyBeans* Copyright (C) 2006 Bull 
  S.A.S.* Contact: 
  [EMAIL PROTECTED]** This library is free 
  software; you can redistribute it and/or * modify it under 
  the terms of the GNU Lesser General Public* License as 
  published by the Free Software Foundation; either* version 
  2.1 of the License, or any later 
  version.** This library is distributed 
  in the hope that it will be useful, * but WITHOUT ANY 
  WARRANTY; without even the implied warranty of* 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the 
  GNU* Lesser General Public License for more 
  details.* * You should have received a 
  copy of the GNU Lesser General Public* License along with 
  this library; if not, write to the Free Software* 
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307 
  * USA** 
   
  --* $Id: Employee.java 9 2006-02-19 18:53:32Z benoitf 
  $* 
   
   --*/ package 
  org.objectweb.easybeans.examples.entitybean; import 
  javax.persistence.Entity; import javax.persistence.Id; import 
  javax.persistence.Table; /*** Define an 
  employee with an id and a name.* @author Florent 
  Benoit*/ @Entity @Table(name = 
  EMPLOYEES) public class Employee implements java.io.Serializable 
  { 
  /*** Id for serializable 
  class.*/ 
  private static final long 

Re: [flexcoders] Re: Flex2/EJB3 integration: problems mapping Java/AS3 classes

2006-04-17 Thread Xavi Beumala



Is there any planned date for beta 3 release? Is it near?Thanks a lotX.On 4/17/06, Xavi Beumala [EMAIL PROTECTED]
 wrote:Is there any planned date for beta 3 release? Is it near?
Thanks a lotX.On 4/17/06, 
Peter Farland 
[EMAIL PROTECTED] wrote:






It might simply be a problem in the beta 2 player, as I 
have registerClassAlias working for AMF 0 using a beta 3 player (not yet 
released, obviously).


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Xavi 
BeumalaSent: Monday, April 17, 2006 5:05 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flex2/EJB3 
integration: problems mapping Java/AS3 classes
Hi,I'm having the same problem with plain and simple Java 
classes with amf0. Serialization works like a charm from as3 to java, but it's 
not working from java to as3. The java class I'm using is what follows: 
codepackage com.code4net.vos;public class PhotoVO 
{ private String title; private 
String photoURL; public String getPhotoURL() 
{  return 
photoURL; } public void 
setPhotoURL(String photoURL) {  
this.photoURL = photoURL; } public 
String getTitle() {  return 
title; } public void setTitle(String 
title) {  this.title = 
title; }}/codeIt doesn't have 
any inheritance and it's really simple. I also thought [RemoteClass] wouldn't 
work with amf0 so I tried using flash.net.registerClassAlias but didn't work for 
me :-( It seems like custom objects aren't being casted when they arrive to 
flash player. Same code is working on AS2 so I think it's not a server side 
problem... Would be great to have this solved so it's really annoying to 
implement a custom deserialization method for each VO.Any help is much 
apreciated!Thanks X.
On 4/17/06, carlos.rovira 

[EMAIL PROTECTED] 
wrote:
Hi 
  Matt,There's no extra space in [RemoteClass] maybe a typo due to the 
  copypaste to the mail.I should point that I'm using AMF0, with 
  OpenAMF, I forget to mention,sorry. And I was able to send the Employee 
  class and operate in the backend, but the problem is in the return that I 
  must to use a plainObject in the client.In the debug panel I could see 
  that I'm sending an Employee Object.Maybe the [RemoteClass] doesn't 
  work with AMF0? btw, what do you mean withIt's not maybe some 
  weird implementation class that extends Employee?The class must be 
  compiled with JDK1.5, and all the project as well,due that I'm using 
  annotations. Maybe this could be the problem? I saw another mail in 
  the list from Xavi Beaumala with the sameproblem, hope someone could give 
  us some lightThanks for any suggestion!C.--- In flexcoders@yahoogroups.com

, Matt 
  Chotin [EMAIL PROTECTED] wrote: Only thing I can see is the 
  extra space in your [RemoteClass] which I would hope would not cause 
  the mismatch.If you enable the debug logs  when the object 
  is sent from the server to the client does the log have the correct 
  type of the Employee?It's not maybe some weird 
  implementation class that extends Employee? 
  Matt 
   From: flexcoders@yahoogroups.com 
  [mailto: 
  flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira 
  Sent: Saturday, April 15, 2006 3:59 PM To: flexcoders@yahoogroups.com 
  Subject: [flexcoders] Re: Flex2/EJB3 integration: problems mapping  
  Java/AS3 classes ok, I though I should post 
  the Employee classes as well: the AS3: -- 
  package org.objectweb.easybeans.examples.entitybean { 
   [Bindable] 
  [RemoteClass(alias=org.objectweb.easybeans.examples.entitybean.Employee 
  )] public class Employee 
  { public var 
  id:int; public var 
  name:String;  } } 
  -- the Java one: /*** 
  EasyBeans* Copyright (C) 2006 Bull 
  S.A.S.* Contact: 
  [EMAIL PROTECTED]** This library is free 
  software; you can redistribute it and/or * modify it under 
  the terms of the GNU Lesser General Public* License as 
  published by the Free Software Foundation; either* version 
  2.1 of the License, or any later 
  version.** This library is distributed 
  in the hope that it will be useful, * but WITHOUT ANY 
  WARRANTY; without even the implied warranty of* 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the 
  GNU* Lesser General Public License for more 
  details.* * You should have received a 
  copy of the GNU Lesser General Public* License along with 
  this library; if not, write to the Free Software* 
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307 
  * USA** 
   
  --* $Id: Employee.java 9 2006-02-19 18:53:32Z benoitf 
  $* 
   
   --*/ package 
  org.objectweb.easybeans.examples.entitybean; import 
  javax.persistence.Entity; import javax.persistence.Id; import 
  javax.persistence.Table; /*** Define an 
  employee with an id and a name.* @author Florent 
  Benoit*/ @Entity @Table(name = 
  EMPLOYEES) public class Employee 

[flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-17 Thread sof4real03
Does anyone know if this is a still an outstanding design of
RemoteObjects and AMF?

Much thanks,
Sof

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

 I've come across an article by Peter Ent regarding how AMF results
 using RemoteObjects do not return in parallel, but wait until all
 requests are completed. He also posted a workaround. I was just
 wondering if this is still a valid workaround or has the design been
 revamped with the Data Services?
 
 Thanks,
 Sof








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





[flexcoders] Can't user RemoteObject on HTTPS ONLY Server?

2006-04-17 Thread sof4real03
I'm trying to get a Remote Object to work on an HTTPs only server (one
that does not accept HTTP connections). I have it working fine over a
regular HTTP connection. I then remove the AMF channel definition in
the flex-enterprise-services.xml and replace it with a SecureAMF
channel definition and update the destinations in the
flex-remoting-service.xml to use the SecureAMF channel. However, when
I execute the SWF I see in the web server logs that it is POSTing to
messagebroker/amf not messagebroker/amfsecure. Also, if I open up the
server to allow HTTP connections, but only configure SecureAMF
channels I get the following error:

No configured channel has an endpoint path '/messagebroker/amf

The stacktrace indicates it's coming from the
flex.messaging.MessageBroker.getEndPoint(MessageBroker.java:297). This
seems to indicate that the Flex Data Services cannot run on an HTTPS
only server.





--
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: Do RemoteObject results still not operate in parallel?

2006-04-17 Thread Peter Farland
It isn't up to the Flex RemoteObject feature... it's how the flash
player NetConnection works with AMF requests (and continues to work in
FP 8.5).

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sof4real03
Sent: Monday, April 17, 2006 3:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Do RemoteObject results still not operate in
parallel?

Does anyone know if this is a still an outstanding design of
RemoteObjects and AMF?

Much thanks,
Sof

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

 I've come across an article by Peter Ent regarding how AMF results 
 using RemoteObjects do not return in parallel, but wait until all 
 requests are completed. He also posted a workaround. I was just 
 wondering if this is still a valid workaround or has the design been 
 revamped with the Data Services?
 
 Thanks,
 Sof








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



 





--
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] Can't user RemoteObject on HTTPS ONLY Server?

2006-04-17 Thread Peter Farland
How are you loading your SWF? Are you loading it over HTTPS too? Is it
on the same domain as the secure AMF endpoint?

Did you recompile your SWF with the updated configuration? Did you
restart the server with the updated configuration?

How many channels are referenced under your RemotingService destination
(i.e. the one in flex-remoting-service.xml)? 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sof4real03
Sent: Monday, April 17, 2006 3:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can't user RemoteObject on HTTPS ONLY Server?

I'm trying to get a Remote Object to work on an HTTPs only server (one
that does not accept HTTP connections). I have it working fine over a
regular HTTP connection. I then remove the AMF channel definition in the
flex-enterprise-services.xml and replace it with a SecureAMF channel
definition and update the destinations in the flex-remoting-service.xml
to use the SecureAMF channel. However, when I execute the SWF I see in
the web server logs that it is POSTing to messagebroker/amf not
messagebroker/amfsecure. Also, if I open up the server to allow HTTP
connections, but only configure SecureAMF channels I get the following
error:

No configured channel has an endpoint path '/messagebroker/amf

The stacktrace indicates it's coming from the
flex.messaging.MessageBroker.getEndPoint(MessageBroker.java:297). This
seems to indicate that the Flex Data Services cannot run on an HTTPS
only server.





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



 




--
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] logout remote object in flex

2006-04-17 Thread Peter Farland





When you compiled the AdministrationDataFacade did you 
using the exact same flashgateway.jar that is being used at runtime by the web 
application? (From the error it doesn't seem likely, but note that 
the HttpSession may not always exist... so I'd usually not do that all on 
one line). If none of this helps, try breaking the command up onto separate 
lines and use try/catch to determine exactly what happened... was it a 
ClassNotFoundException or some other exception saying some method or property 
didn't exist. 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: Monday, April 17, 2006 2:31 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
logout remote object in flex

13:23:09,910 INFO [STDOUT] Info: Request sent to http://localhost:8087/txm/amfgateway/administrationFacade 
from 127.0.0.1 received at 13:23:09.910 2006-04-1713:23:09,910 INFO 
[STDOUT] Info: Deserializing request (Message #0 
targetURI=administrationFacade.logoutUser, responseURI=/2) 
(Array #0) [0] = (Object 
#1) _flag = 
"Envelope" headers = (Array 
#2) [0] = (Array 
#3) [0] = 
"ServiceType" 
[1] = 
false [2] 
= "stateless-class" 
[1] = (Array 
#4) [0] = 
"Credentials" 
[1] = true 
[2] = (Object 
#5) 
password = 
"txmpass" 
userid = "txmadmin" data = "" 
#6)13:23:09,910 INFO [STDOUT] Info: Processing batch of 1 
request(s)13:23:09,910 INFO [STDOUT] Info: Requesting target 
'administrationFacade.logoutUser'13:23:09,910 INFO [STDOUT] Info: 
Service 
'com.bmc.txm.common.interfaces.presentation.facade.AdministrationDataFacade' 
sent to adapter 'Java Class Adapter'13:23:09,910 INFO [STDOUT] before 
getHttpRequest13:23:10,040 INFO [STDOUT] Error: 
flashgateway/Gateway13:23:10,040 INFO [STDOUT] 
flashgateway.GatewayException: flashgateway/Gateway13:23:10,040 INFO 
[STDOUT] at 
flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:152)13:23:10,040 
INFO [STDOUT] at 
flashgateway.filter.MessageSecurityFilter.invoke(MessageSecurityFilter.java:144)13:23:10,040 
INFO [STDOUT] at 
flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:101)13:23:10,040 
INFO [STDOUT] at 
flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102)13:23:10,080 
INFO [STDOUT] at 
flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28)13:23:10,080 
INFO [STDOUT] at 
flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57)13:23:10,080 
INFO [STDOUT] at 
flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39)13:23:10,080 
INFO [STDOUT] at 
flashgateway.filter.LogFilter.invoke(LogFilter.java:46)13:23:10,080 
INFO [STDOUT] at 
flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)13:23:10,080 
INFO [STDOUT] at 
flashgateway.filter.PacketSecurityFilter.invoke(PacketSecurityFilter.java:68)13:23:10,080 
INFO [STDOUT] at 
flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)13:23:10,080 
INFO [STDOUT] at 
flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:89)13:23:10,080 
INFO [STDOUT] at 
flashgateway.Gateway.invoke(Gateway.java:217)
13:23:10,080 INFO [STDOUT] at 
flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)13:23:10,080 
INFO [STDOUT] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)13:23:10,080 
INFO [STDOUT] at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)13:23:10,080 
INFO [STDOUT] at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)13:23:10,080 
INFO [STDOUT] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)13:23:10,080 
INFO [STDOUT] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)13:23:10,080 
INFO [STDOUT] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)13:23:10,080 
INFO [STDOUT] at 
flashgateway.security.TomcatValve.invoke(TomcatValve.java:109)13:23:10,080 
INFO [STDOUT] at 

RE: [flexcoders] Updating and Retriving Data From XML File FLEX 2

2006-04-17 Thread Tracy Spratt
In case you missed it, I posted a sample done in 1.5 that may help.  It
is under the subject, 1.5 Sample App to read,edit and save XML file

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Faisal Abid
Sent: Sunday, April 16, 2006 8:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Updating and Retriving Data From XML File FLEX 2

Does anyone know how to retrive and update data from an XML file in Flex
2??


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



 






--
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] Updating and Retriving Data From XML File FLEX 2

2006-04-17 Thread Faisal Abid
Tracy Spratt wrote:
 In case you missed it, I posted a sample done in 1.5 that may help.  It
 is under the subject, 1.5 Sample App to read,edit and save XML file

 Tracy

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Faisal Abid
 Sent: Sunday, April 16, 2006 8:38 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Updating and Retriving Data From XML File FLEX 2

 Does anyone know how to retrive and update data from an XML file in Flex
 2??


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










 --
 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
   http://groups.yahoo.com/group/flexcoders on the web.

 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]

 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 

Yes indeed i did get that sample, thank you so much :)


--
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: All the bunch of idiots at Adobe, please note!

2006-04-17 Thread ColdFusion Editor





I am not the admin of the Flexcoders list (although 
I believe he has spoken and asked us to be civil.) I think we should all respect 
his wishes, and instead of continuing this thread, take it offlist where it 
belongs. T_msready, in the interests of resolving this, please speak privately 
to Adobe. This thread brings no benefit to the rest of the list.

Others have commented on the lack of 
professionalism of this thread... I will let them speak for me.

Judith Dinowitz


- Original Message - 

  i have worked with brian o'conner and several other adobe consulting 
  developers (and some are still here) for a very large company. i have always 
  found them extremely helpful, more than that, exceptionally helpful and open 
  to new concepts. i think the way you have reacted is not only over the top but 
  is extremely unprofessional. for all we know your code could have been 
  horrible or great, you could have accidentally said "i am using viewhelper 
  value objects". furthermore the review took place over breeze, hence you have 
  no idea how it sounded on the other side. you should have kept this internal 
  imo. 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-17 Thread sof4real03
If RemoteObjects results do not come back in parallel then how would
one implement the workaround Peter Ent posted since the endpoint
attribute is no longer supported in Flex 2.

Thanks,
Sof

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:

 It isn't up to the Flex RemoteObject feature... it's how the flash
 player NetConnection works with AMF requests (and continues to work in
 FP 8.5).
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sof4real03
 Sent: Monday, April 17, 2006 3:15 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Do RemoteObject results still not operate in
 parallel?
 
 Does anyone know if this is a still an outstanding design of
 RemoteObjects and AMF?
 
 Much thanks,
 Sof
 
 --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote:
 
  I've come across an article by Peter Ent regarding how AMF results 
  using RemoteObjects do not return in parallel, but wait until all 
  requests are completed. He also posted a workaround. I was just 
  wondering if this is still a valid workaround or has the design been 
  revamped with the Data Services?
  
  Thanks,
  Sof
 
 
 
 
 
 
 
 
 --
 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







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




[flexcoders] Re: Flex 1.5 - How do you tell a validator about an nested TextInput?

2006-04-17 Thread Libby
OK, that worked. Up to now I could never understand how the listener
property on validator worked, based on the 1.5 documentation. Thanks
for helping me learn something.

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 You should be able to specify the listener property on the Validator to
 point to that TextInput.  I would have hoped the binding would have
 figured that out for you automatically, but sometimes it can't.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Libby
 Sent: Friday, April 14, 2006 1:52 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 1.5 - How do you tell a validator about an
 nested TextInput?
 
 I have a .mxml file which contains a TextInput. Then that object is
 within a FormItem on another .mxml page. When I declare my validators
 on the main page, they work for all my TextInputs, but the embedded
 one does not get the red frame and tooltip on validation failure. The
 validation runs and I get a popup with the error, but no red frame,
 etc. like all its' buddies on the screen.
 
 I am using mx:Binding source=FormItem.embeddedTextInput.text
 and
 mx:Validator field=myModelField
 
 How do I hook up the embedded textInput to validator so it know to
 turn its frame red, tec.
 
 Thanks,
 Libby
 
 
 
 
 
 
 --
 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







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




[flexcoders] Flex 1.5 - Is it possible to pass in an argument to a validator constructor?

2006-04-17 Thread Libby
My goal is to provide the pretty name of the field for use in the
eventual error message. I was thinking I saw how to do this on this
list several months ago, but so far my search for that topic has come
up empty.

Thanks,
Libby






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




[flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-17 Thread sof4real03
Yes, that was the workaround. Is there look into changing the behavior
of NetConnection in the player before Flex is released for production?

By the way, thanks for the code tip.

- Sof

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:

 Was that the workaround that involved using a unique endpoint URL to
 avoid connection sharing?
 
 If so, in FDS 2 you could create a new AMFChannel and assign it as part
 of a service's channelSet:ChannelSet property.
 
 import mx.messaging.ChannelSet;
 import mx.messaging.Channel;
 import mx.messaging.channels.AMFChannel;
 
 ...
 
 var channelSet:ChannelSet = new ChannelSet(); 
 var channel:Channel = new AMFChannel(my-amf,
 http://localhost:8700/cfusion/messagebroker/amf;);
 channelSet.addChannel(channel);
 remoteObject.channelSet = channelSet;
 
 ...
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sof4real03
 Sent: Monday, April 17, 2006 4:26 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Do RemoteObject results still not operate in
 parallel?
 
 If RemoteObjects results do not come back in parallel then how would one
 implement the workaround Peter Ent posted since the endpoint
 attribute is no longer supported in Flex 2.
 
 Thanks,
 Sof
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  It isn't up to the Flex RemoteObject feature... it's how the flash 
  player NetConnection works with AMF requests (and continues to work in
 
  FP 8.5).
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  On Behalf Of sof4real03
  Sent: Monday, April 17, 2006 3:15 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Do RemoteObject results still not operate in
 
  parallel?
  
  Does anyone know if this is a still an outstanding design of 
  RemoteObjects and AMF?
  
  Much thanks,
  Sof
  
  --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote:
  
   I've come across an article by Peter Ent regarding how AMF results 
   using RemoteObjects do not return in parallel, but wait until all 
   requests are completed. He also posted a workaround. I was just 
   wondering if this is still a valid workaround or has the design been
 
   revamped with the Data Services?
   
   Thanks,
   Sof
  
  
  
  
  
  
  
  
  --
  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
 
 
 
 
 
 
 
 --
 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








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




[flexcoders] Senior Full-time position open at Yahoo! Maps (Santa Clara, CA)

2006-04-17 Thread Aaron King

Hi all, 

Want to be part of one of the most used Flex Apps on the planet?  Yahoo!
Maps has another full-time position open.  

This position is for a Senior Developer who will be responsible for
development on both our consumer facing application and our developer APIs.
If you want to check out these projects, you can view them here:

http://maps.yahoo.com/beta/index.php
http://developer.yahoo.com/maps/index.html

We're looking for a Senior developer with the following skills:
 -Demonstrated experience/expertise with AS2 and Flex 1.5
 -Firm understanding and appreciation of Application Architecture
(Experience with Cairngorm or ARP is a huge plus!)
 -Strong foundation in design patterns (such as MVC) and overall good coding
practices.
 -Experience working in a team environment and using code management tools
(such as CVS.)
 -Experience with AS3/Flex2 is a huge plus
 -Experience with unit testing is a huge plus
 -Experience with Ant is also a plus


If you're interested, send your resume and links to examples of your work to
[EMAIL PROTECTED]

Thanks!
Aaron King
[EMAIL PROTECTED]






--
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] Flex 2 Beta 2 Mouse Over Property

2006-04-17 Thread Matt Chotin
You can use the mx.states.SetEventHandler to set the handler to null.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Faisal Abid
Sent: Sunday, April 16, 2006 7:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 Beta 2 Mouse Over Property

How do i remove the mouseOver=' when I go to a diffrent state ,, like i

have it grow on mouse over and then when i click it, it grows into full 
form but when it is in its big form if i mouse the mouse it wil activate

the mouseOver tag i have , How do i go about removing this in my new
state?


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



 





--
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] Custom authentication in a destination

2006-04-17 Thread Matt Chotin










Well, your call to setCredentials looks
right so Im not sure why its not working. Can you turn on the
logging and see if credentials are being sent across? You would see a
CommandMessage being sent and the appropriate response would be a message that
has a body of success (which Im guessing you wont
see). What channel are you using?



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Xavi Beumala
Sent: Monday, April 17, 2006 12:59
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom
authentication in a destination





Hi Matt,



On 4/17/06, Matt Chotin [EMAIL PROTECTED] wrote:





You definitely need the roles in the
constraint, otherwise there's nothing to test for.



Why are you not using the login command we
provided for 5.5? You would also need to copy the flex-tomcat-common.jar
into the common/lib directory as specified in step 1, but then it should
work. The one we provide is flex.messaging.security.TomcatLoginCommand.








I forgot to mention I also copied flex-tomcat-common.jar into common/lib.
The reason why I use a custom login, I'm still playing with fes2 so maybe I'm
wrong, is because I have a huge java application in the backend. This
application manages its own classloaders and its own JAAS modules to manage
authentication and authorization. 

I think I've been able to solve the classloader issue with a custom filter
applyied to MessageBrokerServlet. This filter simply changes the classloader
through Thread.currentThread().setContextClassLoader() Is this the good way? 

For the authentication and authorization I thought the best way would be to
implement a custom loginCommand. Otherwise I won't be able to run any existing
service on the server side. When using as2 and openAMF I've a custom openAMF
invoker which in resume invokes a Subject.doAs statement. But I have no idea
where to do this in FES.

BTW when I add roles in the security-constraint (using default roles,
username and passwords provided by tomcat) and using setCredentials I receive a
flex.messaging.security.SecurityException: Login required before authorization
can proceed.

The client side code I'm using:

code
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
xmlns=* layout=absolute
 mx:Script
  ![CDATA[
   import
mx.rpc.events.ResultEvent;
   import
mx.rpc.events.FaultEvent;
   
   private function
send():void {
   
db.setCredentials(tomcat,tomcat);
   
db.test();
   }
   
   private function
onFault (event:FaultEvent):void {
   
trace (onFault);
   }
   
   private function
getTest (event:ResultEvent):void { 
   
trace (onResult);
   }
  ]]
 /mx:Script
 
 mx:RemoteObject id=db
destination=sampleDest fault=onFault(event) 
  mx:method name=test
showBusyCursor=true result=getTest(event)/
 /mx:RemoteObject
 
 mx:VBox x=65 y=11
  mx:Button click=send()/

 /mx:VBox
 
/mx:Application

/code





What can be wrong?
Thanks so much!

X.





Matt











From: flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com] On Behalf Of Xavi
Beumala
Sent: Sunday, April 16, 2006 3:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom authentication
in a destination









Hi all,

I'm trying to secure a remoting destination with a
custom class as stated at http://livedocs.macromedia.com/labs/1/flex20beta2/1546.html


The steps I've followed are:
  Create a custom class which
implements flex.messaging.security.LoginCommand with the methods start, stop,
doAuthentication, doAuthorization and logout.
  Add a destination definition in
flex-remoting-service.xml:

 destination
id=sampleDest
 
properties


sourcecom.code4net.business.PhotoService/source
 
 statefultrue/stateful 

/properties
 

security

security-constraint ref=sample-users /

/security
 /destination

  Add a security definition tag in
flex-enterprise-service.xml:
 security
 
security-constraint id=sample-users

auth-methodCustom/auth-method

/security-constraint

   login-command
class=com.code4net.loginModules.CustomLogin
server=Tomcat/
 /security


  Place flex-tomcat-server.jar in
server/lib (NOT shared/lib) (as stated in
fes_install_dir/resources/security/tomcat/readme.txt 
 (I'm running tomcat 5.5)
  Copy context.xml in web application
under the META-INF directory

The problem is that with this configuration the
destination isn't being secured and I can execute services on it normally. If I
add a roles tag inside the security-constraint then I receive a
security-exception eventhough I'm invoking setCredentials and
setRemoteCredentials from the clientSide (using default users and roles defined
in tomcat-users.xml).

On the other hand if I run tomcat in debug mode
from eclipse, any of the methods of CustomLogin class are invoked.

I think I'm missing the way to bind CustomLogin
class to my sampleDest destination. 

I'm missing something? Help is much apreciated 

X.







 








--
Flexcoders Mailing List
FAQ: 

RE: [flexcoders] FDS Hibernate

2006-04-17 Thread Matt Chotin











The model for addressing bugs and whatnot
in Flex 2 will probably be different than it was for 1.5.  You generally need a
support contract to get a fix in 1.5, with the higher adoption expected for
Flex 2 I think you’ll see a different approach.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Valy Sivec
Sent: Monday, April 17, 2006 6:46
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FDS
 Hibernate







My understanding is that with FDS at this moment you
shouldn't write any DAO code and just the mapping files should suffice. On the
other hand, are Hibernate features that I don't see how to implement them with
the current Hibernate adapter; mightbe just me...





Anyway, I have chosen to use Java-JDO with Hibernate
 Spring and feel more comfortable about fixing the bugs in the code I can
open than having the bug in the Hibernate adapter. In addition to that
historicaly speaking, I haven't seen any BUG fixes or patches to the Flex 1.5
and having the bugs fixed only via Flex Support seems to me a little bit odd.
That makes me even more reluctant to adopt Hibernate Adapter. I hope that in
the future Adobe will releasethe bug fixes in patches available for
everybody.











Thanks,





Valy


















[EMAIL PROTECTED]
wrote:





Yep, just curious what
functionality Hibernate adapter provides, 
using of java-dao adapter should work fine with Hibernate-based applications
tho ;) 

Regards,
Alex 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Monday, April 17, 2006 2:35 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FDS  Hibernate

I don’t know that I agree with your premise that open source is the only
way
to understand a technology to adopt it, but agree that the documentation is
behind the implementations. Hopefully when B3 comes out more documentation
will be available, and the changes that we made to the implementation should
allow you to use Hibernate with much less FDS configuration.



Matt





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Valy Sivec
Sent: Friday, April 14, 2006 10:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FDS  Hibernate



After reading the Flex Developer guide I realized that might be too early to
integrate DSHibernate in my application. DS idea is great but not having
the Hibernate adaptor open source I think is very difficult to adopt it.

In addition to that, it looks that there is no support for annotation at
this moment . 

Do you guy have any plans in going away from the XML configuration of each
destination?.

Thanks,
Valy

Matt Chotin <[EMAIL PROTECTED]>wrote:

We’re updating the hibernate implementation significantly so
I’d expect
some changes that should make integration easier. We’re also
exposing
more options on the DS to optimize for the case you describe of non-editable
data where it doesn’t need to be kept in sync. So you absolutely
can use
remote object instead but DS might also do the trick just fine.



Matt





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Valy Sivec
Sent: Thursday, April 13, 2006 2:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS  Hibernate



I start looking into the Data Services topics a little bit and I see that
for each destination there is a identity property that needs to be defined.
I have the data persistence layer implemented with Hibernate and I was
wondering how Flex DES will handle objects with the identity propetry NULL,
knowing that Hibernate is smart enough to do an insert/update based on the
entity key's value. 

Have you guys integrated Flex DES with Hibernate data model in the backend.?


Also, in cases when I need to populate non-editable data, that doesn't need
to be kept in sync with the backed should I use remote objects versus data
services?. Any thoughts?.

Thanks,
Valy



How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone
call
rates.
=39663/*http:/voice.yahoo.com






Yahoo! Messenger with Voice.
=39666/*http:/beta.messenger.yahoo.com
PC-to-Phone calls for ridiculously
low rates. 


--
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] F2B2: Deploying sample apps

2006-04-17 Thread Matt Chotin










What are the errors you see? There
shouldnt be much of a trick, I posted those samples to our hosted site
without changing any settings.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Ortega
Sent: Monday, April 17, 2006 8:53
AM
To: flexcoders
Subject: [flexcoders] F2B2:
Deploying sample apps





Is there any tricks to
deploying FlexBuilder2 Beta2 apps? I've deployed some internally, and I
get an error message popup when I deploy the htmal and swf files from the bin
directory to an internal web server and try to browse it. 

I was thinking of putting up some sample stuff in
the coming weeks on a personal web server, but will that not work? Most of the
examples I see on the web run off the same labs server, so I'm guessing we
can't just post our own examples on the web? 

Hopefully someone can correct me and prove me
wrong! =)

Thanks,
Tom









--
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] Newbie Question: Error being thrown on Grid Sort

2006-04-17 Thread Matt Chotin
This means that the first value in the dataProvider has a null value, it
shouldn't be because a random field in the middle is null.  You would
workaround this by using a sortCompareFunction for the field OR by
handling the headerRelease by setting up a SortField with the proper
information and then assigning it to the dataProvider's Sort (which you
may also need to create); then don't forget to preventDefault on the
headerPressed event :-)

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike
Sent: Monday, April 17, 2006 8:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Newbie Question: Error being thrown on Grid Sort

Using Flex Beta2, I'm populating a grid via XML through an HTTPService
component. Grid populates fine, but, if I sort the grid with a column
click, and any of the cells are Null, the grid throws the following
error: 

Error: Cannot determine comparator for SortField with name 'LastName'
at
mx.collections::SortField/http://www.adobe.com/2006/flex/mx/internal::in
itCompare()
at mx.collections::Sort/::initSortFields()
at mx.collections::Sort/sort()
at
mx.collections::ListCollectionView/mx.collections:ListCollectionView::in
ternalRefresh()
at mx.collections::ListCollectionView/refresh()
at mx.controls::DataGrid/sortByColumn()
at mx.controls::DataGrid/::headerReleaseHandler()
at flash.events::EventDispatcher/dispatchEvent()
at mx.controls::DataGrid/mouseUpHandler()

Question is: Should I prevent NULLs with some server side kludge?
Should I implement a SortField handler that is null-safe ?





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



 





--
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] Flex2b2: Problem casting super to an Interface

2006-04-17 Thread Matt Chotin










What happens if you dont try
casting and just call super.InterfaceMethod()?  



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton
Sent: Monday, April 17, 2006 9:38
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2b2:
Problem casting super to an Interface





Hello List:



Given the following classes and interfaces:



IInterface.as

-



package {


import flash.util.trace; 


public interface IInterface 


{


function InterfaceMethod() : void;


}

}



Base.as

-



package {


import flash.util.trace; 


public class Base implements IInterface


{


public function InterfaceMethod() : void


{ 


trace( Base::InterfaceMethod );


}


}

}



Derived.as:

---



package {


import flash.util.trace; 


public class Derived extends Base 


{


override public function InterfaceMethod() : void


{ 


trace( Derived::InterfaceMethod );


IInterface( super ).InterfaceMethod();


}





}

}



What would you expect as the output of the following?



var derived : Derived = new
Derived();


IInterface( derived ).InterfaceMethod();



I would expect:



Derived::InterfaceMethod

Base:InterfaceMethod



But instead I get:



Derived::InterfaceMethod

Derived::InterfaceMethod

Derived::InterfaceMethod

Derived::InterfaceMethod

... (repeats for
ever)



It seems the the cast: IInterface( super )
is returning this and not the base object for this.
Is this a bug, or am I misunderstanding something. (Please note that Im a
C++ programmer and have had little exposure to Java-style interfaces, so I
could be making a very naïve mistake and not know it.)



Tobias.

Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 











--
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] Flex 1.5 - Is it possible to pass in an argument to a validator constructor?

2006-04-17 Thread Matt Chotin
If you subclass the validator and declare a property you should be able
to put it on the tag.  You can then access that property from wherever
your logic would need.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Monday, April 17, 2006 1:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 - Is it possible to pass in an argument
to a validator constructor?

My goal is to provide the pretty name of the field for use in the
eventual error message. I was thinking I saw how to do this on this
list several months ago, but so far my search for that topic has come
up empty.

Thanks,
Libby






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



 




--
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: Do RemoteObject results still not operate in parallel?

2006-04-17 Thread Matt Chotin
I'm pretty sure we consider this desired behavior.  I will file an
enhancement to turn off the batching but I doubt it will make it into
Flex 2.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sof4real03
Sent: Monday, April 17, 2006 3:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Do RemoteObject results still not operate in
parallel?

Yes, that was the workaround. Is there look into changing the behavior
of NetConnection in the player before Flex is released for production?

By the way, thanks for the code tip.

- Sof

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:

 Was that the workaround that involved using a unique endpoint URL to
 avoid connection sharing?
 
 If so, in FDS 2 you could create a new AMFChannel and assign it as
part
 of a service's channelSet:ChannelSet property.
 
 import mx.messaging.ChannelSet;
 import mx.messaging.Channel;
 import mx.messaging.channels.AMFChannel;
 
 ...
 
 var channelSet:ChannelSet = new ChannelSet(); 
 var channel:Channel = new AMFChannel(my-amf,
 http://localhost:8700/cfusion/messagebroker/amf;);
 channelSet.addChannel(channel);
 remoteObject.channelSet = channelSet;
 
 ...
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of sof4real03
 Sent: Monday, April 17, 2006 4:26 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Do RemoteObject results still not operate in
 parallel?
 
 If RemoteObjects results do not come back in parallel then how would
one
 implement the workaround Peter Ent posted since the endpoint
 attribute is no longer supported in Flex 2.
 
 Thanks,
 Sof
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  It isn't up to the Flex RemoteObject feature... it's how the flash 
  player NetConnection works with AMF requests (and continues to work
in
 
  FP 8.5).
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

  On Behalf Of sof4real03
  Sent: Monday, April 17, 2006 3:15 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Do RemoteObject results still not operate
in
 
  parallel?
  
  Does anyone know if this is a still an outstanding design of 
  RemoteObjects and AMF?
  
  Much thanks,
  Sof
  
  --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote:
  
   I've come across an article by Peter Ent regarding how AMF results

   using RemoteObjects do not return in parallel, but wait until all 
   requests are completed. He also posted a workaround. I was just 
   wondering if this is still a valid workaround or has the design
been
 
   revamped with the Data Services?
   
   Thanks,
   Sof
  
  
  
  
  
  
  
  
  --
  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
 
 
 
 
 
 
 
 --
 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








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



 




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




[flexcoders] Re: Updating and Retriving Data From XML File FLEX 2

2006-04-17 Thread flexnadobe
Any way we can find this Example or have a sample posted using
Coldfusion CFC instead of JSP?







--
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] Flex 2 Beta 2 Mouse Over Property

2006-04-17 Thread Faisal Abid
Matt Chotin wrote:
 You can use the mx.states.SetEventHandler to set the handler to null.

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Faisal Abid
 Sent: Sunday, April 16, 2006 7:28 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 2 Beta 2 Mouse Over Property

 How do i remove the mouseOver=' when I go to a diffrent state ,, like i

 have it grow on mouse over and then when i click it, it grows into full
 form but when it is in its big form if i mouse the mouse it wil activate

 the mouseOver tag i have , How do i go about removing this in my new
 state?


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









 --
 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 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
  
   Computer software development 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
  
   Software design and development 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
  

 Macromedia flex 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
  
   Software development best practice 
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
  



 
 YAHOO! GROUPS LINKS

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]

 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 

Im just statrting to learn this , so how would i do this , like what 
will be the sample code in Flex 2.0 and why?


--
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] Senior Full-time position open at Yah oo! Maps (Santa Clara, CA)

2006-04-17 Thread Ryan Stewart


Hi Aaron, I posted this on my blog because I have a quick post about Yahoo Maps. If you need me to take it down, just let me know. Thanks!Is there a link on the Yahoo Jobs site?-Ryan

From: Aaron King[mailto:[EMAIL PROTECTED]Sent: Friday, April 14, 2006 5:25 PM -07:00To: flexcoders@yahoogroups.comSubject: [flexcoders] Senior Full-time position open at Yahoo! Maps (Santa Clara, CA)Hi all, Want to be part of one of the most used Flex Apps on the planet? Yahoo!Maps has another full-time position open. This position is for a Senior Developer who will be responsible fordevelopment on both our consumer facing application and our developer APIs.If you want to check out these projects, you can view them here:http://maps.yahoo.com/beta/index.php http://developer.yahoo.com/maps/index.html We're looking for a Senior developer with the following skills:-Demonstrated experience/expertise with AS2 and Flex 1.5-Firm understanding and appreciation of Application Architecture(Experience with Cairngorm or ARP is a huge plus!)-Strong foundation in design patterns (such as MVC) and overall good codingpractices.-Experience working in a team environment and using code management tools(such as CVS.)-Experience with AS3/Flex2 is a huge plus-Experience with unit testing is a huge plus-Experience with Ant is also a plusIf you're interested, send your resume and links to examples of your work to[EMAIL PROTECTED]Thanks!Aaron King[EMAIL PROTECTED]--Flexcoders Mailing ListFAQ: 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/ Organize. Communicate. Share. @ www.goowy.com





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



  








[flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-17 Thread sof4real03
Thanks Matt, this may be an ignorant question, but why would be a
desired behavior? It seems like a more desired behavior would be how
HTTPService or WebService responds is more desired...

Thanks,
Sof

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 I'm pretty sure we consider this desired behavior.  I will file an
 enhancement to turn off the batching but I doubt it will make it into
 Flex 2.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sof4real03
 Sent: Monday, April 17, 2006 3:01 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Do RemoteObject results still not operate in
 parallel?
 
 Yes, that was the workaround. Is there look into changing the behavior
 of NetConnection in the player before Flex is released for production?
 
 By the way, thanks for the code tip.
 
 - Sof
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  Was that the workaround that involved using a unique endpoint URL to
  avoid connection sharing?
  
  If so, in FDS 2 you could create a new AMFChannel and assign it as
 part
  of a service's channelSet:ChannelSet property.
  
  import mx.messaging.ChannelSet;
  import mx.messaging.Channel;
  import mx.messaging.channels.AMFChannel;
  
  ...
  
  var channelSet:ChannelSet = new ChannelSet(); 
  var channel:Channel = new AMFChannel(my-amf,
  http://localhost:8700/cfusion/messagebroker/amf;);
  channelSet.addChannel(channel);
  remoteObject.channelSet = channelSet;
  
  ...
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of sof4real03
  Sent: Monday, April 17, 2006 4:26 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Do RemoteObject results still not operate in
  parallel?
  
  If RemoteObjects results do not come back in parallel then how would
 one
  implement the workaround Peter Ent posted since the endpoint
  attribute is no longer supported in Flex 2.
  
  Thanks,
  Sof
  
  --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
  
   It isn't up to the Flex RemoteObject feature... it's how the flash 
   player NetConnection works with AMF requests (and continues to work
 in
  
   FP 8.5).
   
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 
   On Behalf Of sof4real03
   Sent: Monday, April 17, 2006 3:15 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Do RemoteObject results still not operate
 in
  
   parallel?
   
   Does anyone know if this is a still an outstanding design of 
   RemoteObjects and AMF?
   
   Much thanks,
   Sof
   
   --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote:
   
I've come across an article by Peter Ent regarding how AMF results
 
using RemoteObjects do not return in parallel, but wait until all 
requests are completed. He also posted a workaround. I was just 
wondering if this is still a valid workaround or has the design
 been
  
revamped with the Data Services?

Thanks,
Sof
   
   
   
   
   
   
   
   
   --
   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
  
  
  
  
  
  
  
  --
  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
 
 
 
 
 
 
 
 
 --
 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







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




[flexcoders] [Flex 2b2] Changing a Chart's dataProvider at runtime?

2006-04-17 Thread flexabledev
Can someone give me a real quick example (Flex 2 B2 please) on how to
change the dataProvider and adding a series to a Chart at runtime?  It
seems to have changed from Flex 1.5  and other than changing the
yField of series for an existing dataProvider, I can't find a good
example in the docs. Thanks in advance...







--
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: Updating and Retriving Data From XML File FLEX 2

2006-04-17 Thread Mark Doberenz



I just noticed it was in an attachment from Tracy.

On 4/17/06, flexnadobe [EMAIL PROTECTED] wrote:

Any way we can find this Example or have a sample posted usingColdfusion CFC instead of JSP?
--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. 










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



  









[flexcoders] Re: is their any things like getRequestURL() in flex??

2006-04-17 Thread Dan
Matt, once again, thanks a lot!

Daniel
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 Application.application.url will give you the url to the main SWF.
 
 Matt 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Dan
 Sent: Monday, April 10, 2006 1:15 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] is their any things like getRequestURL() in 
flex??
 
 Hi, is there any getRequestURL() in flex that can check the 
request 
 URL ?
 
 Daniel
 
 
 
 
 
 
 --
 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








--
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] [Flex 2b2] Changing a Chart's dataProvider at runtime?

2006-04-17 Thread Ely Greenfield

What do you mean by change the dataProvider? Modify it? Or change to a
different one?


And if you can give an example of how you're setting the series in the
first place, I can give help adding a new one.

Ely.

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexabledev
Sent: Monday, April 17, 2006 6:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex 2b2] Changing a Chart's dataProvider at
runtime?

Can someone give me a real quick example (Flex 2 B2 please) on how to
change the dataProvider and adding a series to a Chart at runtime?  It
seems to have changed from Flex 1.5  and other than changing the yField
of series for an existing dataProvider, I can't find a good example in
the docs. Thanks in advance...







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



 




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




[flexcoders] Column Reorder

2006-04-17 Thread Brendan Meutzner



Hi All,Is there a way to disable the ability to change the display order (horizontal) of datagrid columns?Brendan






--
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] Flex 2 Beta 2 Mouse Over Property

2006-04-17 Thread Matt Chotin
In your mx:states section I think it would be something like this.

mx:State name=whatever
...
mx:SetEventHandler target={theObj} name=mouseOver handler={null}
/
/mx:State

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Faisal Abid
Sent: Monday, April 17, 2006 5:21 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2 Beta 2 Mouse Over Property

Matt Chotin wrote:
 You can use the mx.states.SetEventHandler to set the handler to null.

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Faisal Abid
 Sent: Sunday, April 16, 2006 7:28 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 2 Beta 2 Mouse Over Property

 How do i remove the mouseOver=' when I go to a diffrent state ,, like
i

 have it grow on mouse over and then when i click it, it grows into
full
 form but when it is in its big form if i mouse the mouse it wil
activate

 the mouseOver tag i have , How do i go about removing this in my new
 state?


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









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

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
site+design+developmentw2=Computer+software+developmentw3=Software+des
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
   Computer software development 

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
b+site+design+developmentw2=Computer+software+developmentw3=Software+d
esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
   Software design and development 

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
Web+site+design+developmentw2=Computer+software+developmentw3=Software
+design+and+developmentw4=Macromedia+flexw5=Software+development+best+
practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 

 Macromedia flex 

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
developmentw2=Computer+software+developmentw3=Software+design+and+deve
lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
66.sig=OO6nPIrz7_EpZI36cYzBjw 
   Software development best practice 

http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 





 YAHOO! GROUPS LINKS

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]

 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.





Im just statrting to learn this , so how would i do this , like what 
will be the sample code in Flex 2.0 and why?


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



 




--
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: Do RemoteObject results still not operate in parallel?

2006-04-17 Thread Matt Chotin
Reduced network overhead, repeated information can be included in an
outer envelope and you only take up one connection to the server instead
of multiple.  The server should therefore be able to handle more
concurrent users.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sof4real03
Sent: Monday, April 17, 2006 6:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Do RemoteObject results still not operate in
parallel?

Thanks Matt, this may be an ignorant question, but why would be a
desired behavior? It seems like a more desired behavior would be how
HTTPService or WebService responds is more desired...

Thanks,
Sof

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 I'm pretty sure we consider this desired behavior.  I will file an
 enhancement to turn off the batching but I doubt it will make it into
 Flex 2.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of sof4real03
 Sent: Monday, April 17, 2006 3:01 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Do RemoteObject results still not operate in
 parallel?
 
 Yes, that was the workaround. Is there look into changing the behavior
 of NetConnection in the player before Flex is released for production?
 
 By the way, thanks for the code tip.
 
 - Sof
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  Was that the workaround that involved using a unique endpoint URL to
  avoid connection sharing?
  
  If so, in FDS 2 you could create a new AMFChannel and assign it as
 part
  of a service's channelSet:ChannelSet property.
  
  import mx.messaging.ChannelSet;
  import mx.messaging.Channel;
  import mx.messaging.channels.AMFChannel;
  
  ...
  
  var channelSet:ChannelSet = new ChannelSet(); 
  var channel:Channel = new AMFChannel(my-amf,
  http://localhost:8700/cfusion/messagebroker/amf;);
  channelSet.addChannel(channel);
  remoteObject.channelSet = channelSet;
  
  ...
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of sof4real03
  Sent: Monday, April 17, 2006 4:26 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Do RemoteObject results still not operate
in
  parallel?
  
  If RemoteObjects results do not come back in parallel then how would
 one
  implement the workaround Peter Ent posted since the endpoint
  attribute is no longer supported in Flex 2.
  
  Thanks,
  Sof
  
  --- In flexcoders@yahoogroups.com, Peter Farland pfarland@
wrote:
  
   It isn't up to the Flex RemoteObject feature... it's how the flash

   player NetConnection works with AMF requests (and continues to
work
 in
  
   FP 8.5).
   
   -Original Message-
   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
 
   On Behalf Of sof4real03
   Sent: Monday, April 17, 2006 3:15 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Do RemoteObject results still not
operate
 in
  
   parallel?
   
   Does anyone know if this is a still an outstanding design of 
   RemoteObjects and AMF?
   
   Much thanks,
   Sof
   
   --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@
wrote:
   
I've come across an article by Peter Ent regarding how AMF
results
 
using RemoteObjects do not return in parallel, but wait until
all 
requests are completed. He also posted a workaround. I was just 
wondering if this is still a valid workaround or has the design
 been
  
revamped with the Data Services?

Thanks,
Sof
   
   
   
   
   
   
   
   
   --
   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
  
  
  
  
  
  
  
  --
  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
 
 
 
 
 
 
 
 
 --
 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







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



 




--
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] Column Reorder

2006-04-17 Thread Matt Chotin










Sorry, I cant see it in B2. In B3
youll be able to set draggableColumns=false .











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner
Sent: Monday, April 17, 2006 8:50
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Column
Reorder





Hi All,

Is there a way to disable the ability to change
the display order (horizontal) of datagrid columns?


Brendan








--
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] Column Reorder

2006-04-17 Thread Brendan Meutzner



Thanks Matt.On 4/17/06, Matt Chotin [EMAIL PROTECTED] wrote:

















Sorry, I can't see it in B2. In B3
you'll be able to set draggableColumns="false" .











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Brendan Meutzner
Sent: Monday, April 17, 2006 8:50
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Column
Reorder





Hi All,

Is there a way to disable the ability to change
the display order (horizontal) of datagrid columns?


Brendan








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



  

















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