[flexcoders] Repeater Order

2006-01-03 Thread Nick
I am in the process of converting several existing CF 
applictions over to Flex 1.5. One of the CFCs returns an array of
structures that I am sucessfully displaying using an mx:Image tag
within a mx:Repeater.

However, the order of the display is wrong, I need to go from the n-th
image down to the first image.

Is there anyway to specify the order that the repeater works in, like
the cfloop step=-1?






--
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] Repeater Order

2006-01-03 Thread Johannes Nel
if that functionality does not exist you can wrap the array in an
object and expose its getItemAt invertedly but i suspect something
like that would be built into the functionality as is so just check
the documentation
cheers

On 1/3/06, Nick [EMAIL PROTECTED] wrote:
 I am in the process of converting several existing CF
 applictions over to Flex 1.5. One of the CFCs returns an array of
 structures that I am sucessfully displaying using an mx:Image tag
 within a mx:Repeater.

 However, the order of the display is wrong, I need to go from the n-th
 image down to the first image.

 Is there anyway to specify the order that the repeater works in, like
 the cfloop step=-1?






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









--
j:pn


--
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] Layers or sth like that...

2006-01-03 Thread fritzdimmel
Hi!
I want to do the following:
I have a component which creates a Canvas. Into this canvas are loaded
different other Canvas' from another component.
In my main app file, I want to make another canvas of a smaller size
in which the custom component are loaded in, and I only want to see
the things from my component which are within my main-app-canvas.
But this doesn't work. I always see anything.

How can I do this? Do I use the wrong component? Would it be better to
use something different from canvas?
Is there something like layering?

Thanks for your answers,
bye,
Fritz





--
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: ANY FLEX TREE GURUS?

2006-01-03 Thread sufibaba
Hi Ted,

Thanks for your thoughts on this .  Looks like the first method you've
suggested is the better option.  

Question: I am a bit unclear about using the Drawing API embedded into
SWF Icons.  Are you suggesting to have code inside of the SWF that
would render the lines according to it's position in the tree?  Am I
understanding this correctly.

Tim





--- In flexcoders@yahoogroups.com, Theodore E Patrick [EMAIL PROTECTED] 
wrote:

 Tim,
 
  
 
 I think this would best be done via the Drawing API embedded into
SWF Icons
 in Flex 1.5 and Flex 2.
 
  
 
 Node Icons would need to draw this:
 
  
 
 -ICON
 
  
 
 Container Icons would need to draw this:
 
  
 
 -ICON
 
 |
 
 |
 
 |
 
  
 
 Since each Icon knows its position, it can readily draw the lines
 consistently.
 
  
 
 The trick here is that icons are refreshed in the Tree whenever the view
 changes. As they are attached anew, they would simply render out the
state
 of the tree.
 
  
 
 The other route would be to use the drawing API and render the lines
in a MC
 behind the tree based on the state of the DataProvider. I think this
route
 would be more difficult as you would need to draw the nested state
of all
 nodes at one time.
 
  
 
 With the prior method only the changes portion of the drawing changes as
 needed. I believe that depths get higher as you move south on the
tree. If a
 parent draws a line all sibling and child nodes will naturally be
above the
 drawn lines.
 
  
 
 My 2 cents,
 
  
 
 Ted Patrick
 
 Cynergy Systems
 
  
 
  
 
  
 
  
 
_  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sufibaba
 Sent: Monday, January 02, 2006 12:39 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] ANY FLEX TREE GURUS?
 
  
 
 Happy New years to All,
 
 Does anyone know how to Modify the Flex2 Tree component to display
connector
 lines -- Like the one shown under Rich Graphics at the following Link:
 
 HYPERLINK

http://javascript.cooldev.com/scripts/cooltree/demos/superdemo/http://java
 script.cooldev.com/scripts/cooltree/demos/superdemo/ 
 
 I know that flash is much more capable than javascript and the menu
system
 can be even more robust than javascript or Java. Is it possible to
do this
 in Flex2.
 
 Cheers,
 
 Tim
 
 
 
 --
 Flexcoders Mailing List
 FAQ: HYPERLINK

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://gro
 ups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: HYPERLINK

http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-ar
 chive.com/flexcoders%40yahoogroups.com 
 
 
 
 
_  
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group HYPERLINK
 http://groups.yahoo.com/group/flexcodersflexcoders; on the web.
   
 *  To unsubscribe from this group, send an email to:
  HYPERLINK

mailto:[EMAIL PROTECTED]flexcoder
 [EMAIL PROTECTED]
   
 *  Your use of Yahoo! Groups is subject to the HYPERLINK
 http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. 
 
  
 
_  
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.10/218 - Release Date:
1/2/2006
 
 
 
 -- 
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.10/218 - Release Date:
1/2/2006







--
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] Querry on Popup (Title Window)

2006-01-03 Thread Avik Chakrabarty



Hello All,Happy New Year to all.Currently we are developing an web based application which is made on Macromedia Flex 1.5I have a question, when we are opeing an Title Window, (Popup) we want that to be fixed within some certain area. Like we can move the popup only on some of the specified area not beyond that.Does anyone have any idea on this?Regards,Avik





--
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: ANY FLEX TREE GURUS?

2006-01-03 Thread Weyert de Boer
Yeah, some lineTo(), moveTo() drawing calls. :-)





   



--
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] Get selected tree node for dynamically created tree

2006-01-03 Thread Ault, Gary - BLS
Title: Get selected tree node for dynamically created tree








First time creating trees in Flex. Can someone explain how to find the selected tree node on a tree that has a data model created programmatically? I create my data model as shown below (example from Flex ActionScript Language Ref 1.5). The tree is displayed correctly. When I try to use the nodeOpen event on my Tree control, however, selectedNode is undefined. Event.node.attributes.label and event.node.attributes.data are also undefined. However, if I use an mx:XML dataprovider as most tree usage examples do, these attributes are not undefined. 

Code to create model:

 var treeDP;

 treeDP = new TreeNode();

 var root = treeDP.addTreeNode(root,0);

 root.addTreeNode(node 1 ,1);

 root.addTreeNode(node 2,2);

 var node3 = root.addTreeNode(node 3,3);

 node3.addTreeNode(node 3-0, 3-0);

 node3.addTreeNode(node 3-1, 3-1);



Tree Control:


mx:Tree id=indTree dataProvider={treeDP} height=100% change=treeSelected( event );

 nodeOpen=nodeOpenEvt(event); /mx:Tree 


Thanks for any help you can provide,


Gary Ault

Bureau of Labor Statistics








--
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: ANY FLEX TREE GURUS?

2006-01-03 Thread Theodore E Patrick
Yes exactly.

The icons used for the tree, would be SWF used through
icon=@Embed('icon.swf'). These icons would have some drawing API calls in
them allowing them to draw the lines as they are rendered. The icon is
placed by the tree, the icon just needs to use the drawing API to render its
drawing parts into a nested MovieClip.

That said, I liked the example posted to this thread earlier. It extended
the TreeRow class and added the lines via the drawing API in a similar
manner as rows were rendered. This looked to be a much more reusable
solution as it did not affect the icons in use but rather just modified the
way rows were rendered in the tree. Plus there is something to be said for a
working example. 

My 2 cents,

Ted Patrick
Cynergy Systems  

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sufibaba
 Sent: Tuesday, January 03, 2006 3:23 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ANY FLEX TREE GURUS?
 
 Hi Ted,
 
 Thanks for your thoughts on this .  Looks like the first method you've
 suggested is the better option.
 
 Question: I am a bit unclear about using the Drawing API embedded into
 SWF Icons.  Are you suggesting to have code inside of the SWF that
 would render the lines according to it's position in the tree?  Am I
 understanding this correctly.
 
 Tim
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Theodore E Patrick [EMAIL PROTECTED] 
 wrote:
 
  Tim,
 
 
 
  I think this would best be done via the Drawing API embedded into
 SWF Icons
  in Flex 1.5 and Flex 2.
 
 
 
  Node Icons would need to draw this:
 
 
 
  -ICON
 
 
 
  Container Icons would need to draw this:
 
 
 
  -ICON
 
  |
 
  |
 
  |
 
 
 
  Since each Icon knows its position, it can readily draw the lines
  consistently.
 
 
 
  The trick here is that icons are refreshed in the Tree whenever the view
  changes. As they are attached anew, they would simply render out the
 state
  of the tree.
 
 
 
  The other route would be to use the drawing API and render the lines
 in a MC
  behind the tree based on the state of the DataProvider. I think this
 route
  would be more difficult as you would need to draw the nested state
 of all
  nodes at one time.
 
 
 
  With the prior method only the changes portion of the drawing changes as
  needed. I believe that depths get higher as you move south on the
 tree. If a
  parent draws a line all sibling and child nodes will naturally be
 above the
  drawn lines.
 
 
 
  My 2 cents,
 
 
 
  Ted Patrick
 
  Cynergy Systems
 
 
 
 
 
 
 
 
 
 _
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of sufibaba
  Sent: Monday, January 02, 2006 12:39 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] ANY FLEX TREE GURUS?
 
 
 
  Happy New years to All,
 
  Does anyone know how to Modify the Flex2 Tree component to display
 connector
  lines -- Like the one shown under Rich Graphics at the following Link:
 
  HYPERLINK
 
 http://javascript.cooldev.com/scripts/cooltree/demos/superdemo/http://ja
 va
  script.cooldev.com/scripts/cooltree/demos/superdemo/
 
  I know that flash is much more capable than javascript and the menu
 system
  can be even more robust than javascript or Java. Is it possible to
 do this
  in Flex2.
 
  Cheers,
 
  Tim
 
 
 
  --
  Flexcoders Mailing List
  FAQ: HYPERLINK
 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://g
 ro
  ups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: HYPERLINK
 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-
 ar
  chive.com/flexcoders%40yahoogroups.com
 
 
 
 
 _
 
  YAHOO! GROUPS LINKS
 
 
 
  *Visit your group HYPERLINK
  http://groups.yahoo.com/group/flexcodersflexcoders; on the web.
 
  *To unsubscribe from this group, send an email to:
   HYPERLINK
 
 mailto:flexcoders-
 [EMAIL PROTECTED]flexcoder
  [EMAIL PROTECTED]
 
  *Your use of Yahoo! Groups is subject to the HYPERLINK
  http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.
 
 
 
 _
 
 
  --
  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.371 / Virus Database: 267.14.10/218 - Release Date:
 1/2/2006
 
 
 
  --
  No virus found in this outgoing message.
  Checked by AVG Free Edition.
  Version: 7.1.371 / Virus Database: 267.14.10/218 - Release Date:
 1/2/2006
 
 
 
 
 
 
 
 --
 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
 
 
 
 
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.10/218 - Release Date: 1/2/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.10/218 - Release Date: 1/2/2006
 



--
Flexcoders Mailing List

RE: [flexcoders] Flex 1.5: AS2 serialization issue . Parent/Child data model implementation

2006-01-03 Thread Peter Farland





AMF does support cyclical references, but 
I vaguely remember in Flex 1.5 there were some issues with references for 
typed objects inside Collection implementations that required translation. That 
is, the translation step on the server from AMF Array - java.util.ArrayList 
- java.util.Set (of typed objects). 

As a long shot,can you try changing your childs 
property of your Parent to type ArrayList instead of Set to see if you can avoid 
this translation step issue with references?

(I'm still missing exactly whether you're saying that 
you've sent a single Child instance and it has a Parent instance that is 
uninitialized, or rather, is the default implementation or that you've sent 
a single Parent instance and each of the Child instances in the childs Set have 
invalid references to a Parent typed parent property).


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Valy 
SivecSent: Tuesday, January 03, 2006 4:01 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 1.5: AS2 
serialization issue . Parent/Child data model 
implementation

Peter,Here is the serverAPI,public class 
Parent implements Serializable { private String 
property; private Set childs; 
 have here get/set methods}public class Child 
implements Serializable{ private String 
property; private Parent parent; with 
get/set methods}I have a one-to-many relation between the Parent and 
the Child, implemented as "Set" on Parent. The "Child" has a reference back to 
the Parent via "parent" property. I suspect AMF serialization doesn't work 
with cyclical reference. As I mentioned there is no problem sending Parent 
object from the client side to the server side but then I want to persist 
the "Child" object it looks that his "parent" property is like a new instance of 
the Parent class ( all Parent's properties are initialized with Java default 
values, in ! my case null;). Is this an AMF limitation?.I 
checked the object integrity logging the properties values to JBoss's log. Flex 
alert display the right value, but unfortunately don;t get the same value object 
on the server side.Any 
suggestions?Thanks,ValyThank 
you,ValyPeter 
Farland [EMAIL PROTECTED] wrote:

  
  Can 
  we see the server API for these types too?
  
  When 
  you say a Child's parent property is empty, are you saying it is null on the 
  server? What are you using to determine that?
  
  
  
  
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Valy 
  SivecSent: Tuesday, January 03, 2006 2:11 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex 1.5: AS2 
  serialization issue . Parent/Child data model 
  implementation
  Hi Flexcoders,I have a master/detail data entry form 
  and I have some difficulties transfering the data objects f! rom AS2 to the 
  server side. The data persitence is implemented with Hibernate and I have a 
  one to many relations between a Parent object and his Child(s) 
  objects.Here is the AS2 implementation of the data 
  model:class Parent{ public static var regClass 
  = Object.registerClass("Parent", Parent); 
  public var property : String; public var childs : Array = new 
  Array(); public function Parent() {}}class 
  Child{ public static var regClass = 
  Object.registerClass("Child", Child); public var property : 
  String; public var parent : Parent; public function 
  Child() {}}Here is my problem: It looks that when I transfer 
  the Child object from AS2! to Java via Remote Object call, the "parent" 
  property is empty ( Parent's properties are initialized to the default values 
  ) on the server side no matter ! what value I have on the AS2 side. Is 
  there any issue with the serialization from AS2 to JAVA in this case?. 
  I transfer the Parent object from AS2 to JAVA and everything is 
  OK.Thank you,Valy
  
  
  Yahoo! ShoppingFind Great Deals on Holiday Gifts at Yahoo! 
  Shopping 


Yahoo! ShoppingFind Great Deals on Holiday Gifts at Yahoo! 
Shopping 





--
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] open sourced Flex app

2006-01-03 Thread Douglas Knudsen
Ok, so I want to mess around building something to let everyone in the
community have.  Using Flex 2what to use on the backend?  With DAO
Factories, I suppose any back end DB will do, eh?  start with MySQL
and fill in for others.  Now what about the middle ware?  Java,
ColdFusion, etc...  What would be a good popular fit, eh?  Your
thoughts?

--
Douglas Knudsen
http://www.cubicleman.com
this 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 
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] open sourced Flex app

2006-01-03 Thread JesterXL
At home, I use Flex 2 on the front-end, AMFPHP for remoting, PHP for the 
middle-tier, and MySQL for my db.

- Original Message - 
From: Douglas Knudsen [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 03, 2006 9:40 AM
Subject: [flexcoders] open sourced Flex app


Ok, so I want to mess around building something to let everyone in the
community have.  Using Flex 2what to use on the backend?  With DAO
Factories, I suppose any back end DB will do, eh?  start with MySQL
and fill in for others.  Now what about the middle ware?  Java,
ColdFusion, etc...  What would be a good popular fit, eh?  Your
thoughts?

--
Douglas Knudsen
http://www.cubicleman.com
this 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
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] Drawing on a chart?

2006-01-03 Thread Doug Wagner
Is it possible to draw shapes on top of a chart in Flex?

What I want to do is change the shading of the chart background for a 
portion of the chart to highlight a selected range.  I'd also like to 
be able to draw a rectangle on top of the chart to accomplish a 
similar thing.

Does anyone know of a way to do either of these?

Thanks,
Doug






--
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] open sourced Flex app

2006-01-03 Thread Johannes Nel
my current experimentation with flex2 relies on openamf java postgreSQL.


--
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: ANY FLEX TREE GURUS?

2006-01-03 Thread Anatole Tartakovsky
The approach in the sample is for people who want to make custom look for 
their Flex applications, but do not want to learn Flash. I could also use 
drawing API which would provide better performance, but I do believe that 
you need to get the matching set of icons from the UI you are trying to 
immitate,  have designer to scale it to the size used in Flex and apply 
colors to look compatible with the skin you are using. As such, full 
exposure of TreeRow class will be ultimately necessary to make adjustments 
to the margins/padding/connectivity of the lines within/over rows.
HTH,
Anatole
[EMAIL PROTECTED]

- Original Message - 
From: Theodore E Patrick [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 03, 2006 9:06 AM
Subject: RE: [flexcoders] Re: ANY FLEX TREE GURUS?


 Yes exactly.

 The icons used for the tree, would be SWF used through
 icon=@Embed('icon.swf'). These icons would have some drawing API calls 
 in
 them allowing them to draw the lines as they are rendered. The icon is
 placed by the tree, the icon just needs to use the drawing API to render 
 its
 drawing parts into a nested MovieClip.

 That said, I liked the example posted to this thread earlier. It extended
 the TreeRow class and added the lines via the drawing API in a similar
 manner as rows were rendered. This looked to be a much more reusable
 solution as it did not affect the icons in use but rather just modified 
 the
 way rows were rendered in the tree. Plus there is something to be said for 
 a
 working example.

 My 2 cents,

 Ted Patrick
 Cynergy Systems

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sufibaba
 Sent: Tuesday, January 03, 2006 3:23 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ANY FLEX TREE GURUS?

 Hi Ted,

 Thanks for your thoughts on this .  Looks like the first method you've
 suggested is the better option.

 Question: I am a bit unclear about using the Drawing API embedded into
 SWF Icons.  Are you suggesting to have code inside of the SWF that
 would render the lines according to it's position in the tree?  Am I
 understanding this correctly.

 Tim





 --- In flexcoders@yahoogroups.com, Theodore E Patrick [EMAIL PROTECTED] 
 wrote:
 
  Tim,
 
 
 
  I think this would best be done via the Drawing API embedded into
 SWF Icons
  in Flex 1.5 and Flex 2.
 
 
 
  Node Icons would need to draw this:
 
 
 
  -ICON
 
 
 
  Container Icons would need to draw this:
 
 
 
  -ICON
 
  |
 
  |
 
  |
 
 
 
  Since each Icon knows its position, it can readily draw the lines
  consistently.
 
 
 
  The trick here is that icons are refreshed in the Tree whenever the 
  view
  changes. As they are attached anew, they would simply render out the
 state
  of the tree.
 
 
 
  The other route would be to use the drawing API and render the lines
 in a MC
  behind the tree based on the state of the DataProvider. I think this
 route
  would be more difficult as you would need to draw the nested state
 of all
  nodes at one time.
 
 
 
  With the prior method only the changes portion of the drawing changes 
  as
  needed. I believe that depths get higher as you move south on the
 tree. If a
  parent draws a line all sibling and child nodes will naturally be
 above the
  drawn lines.
 
 
 
  My 2 cents,
 
 
 
  Ted Patrick
 
  Cynergy Systems
 
 
 
 
 
 
 
 
 
 _
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of sufibaba
  Sent: Monday, January 02, 2006 12:39 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] ANY FLEX TREE GURUS?
 
 
 
  Happy New years to All,
 
  Does anyone know how to Modify the Flex2 Tree component to display
 connector
  lines -- Like the one shown under Rich Graphics at the following 
  Link:
 
  HYPERLINK
 
 http://javascript.cooldev.com/scripts/cooltree/demos/superdemo/http://ja
 va
  script.cooldev.com/scripts/cooltree/demos/superdemo/
 
  I know that flash is much more capable than javascript and the menu
 system
  can be even more robust than javascript or Java. Is it possible to
 do this
  in Flex2.
 
  Cheers,
 
  Tim
 
 
 
  --
  Flexcoders Mailing List
  FAQ: HYPERLINK
 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://g
 ro
  ups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: HYPERLINK
 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-
 ar
  chive.com/flexcoders%40yahoogroups.com
 
 
 
 
 _
 
  YAHOO! GROUPS LINKS
 
 
 
  * Visit your group HYPERLINK
  http://groups.yahoo.com/group/flexcodersflexcoders; on the web.
 
  * To unsubscribe from this group, send an email to:
   HYPERLINK
 
 mailto:flexcoders-
 [EMAIL PROTECTED]flexcoder
  [EMAIL PROTECTED]
 
  * Your use of Yahoo! Groups is subject to the HYPERLINK
  http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.
 
 
 
 _
 
 
  --
  No virus found in this incoming message.
  

[flexcoders] How do you change the web.xml file for a jrun server for security

2006-01-03 Thread nostra72



I currently have a localhost jrun server that I want to configure a mxml file so I can make it secure. When I say secure I mean making it so that the information is safe. I figured in order to do this I need to change the web.xml file and I was wondering if someone could help me do this? 





--
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] Repeater Order

2006-01-03 Thread Gordon Smith
Repeater always steps by +1, but the Array class has a reverse() method.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nick
Sent: Tuesday, January 03, 2006 2:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Repeater Order

I am in the process of converting several existing CF 
applictions over to Flex 1.5. One of the CFCs returns an array of
structures that I am sucessfully displaying using an mx:Image tag
within a mx:Repeater.

However, the order of the display is wrong, I need to go from the n-th
image down to the first image.

Is there anyway to specify the order that the repeater works in, like
the cfloop step=-1?






--
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: Custom initial sort on datagrid

2006-01-03 Thread Clifford Hall
 I think dg1.sortItems(sortByAge, asc) should have worked (or desc),

should work... but doesn't. And changing to asc and desc instead
of Array.ASCENDING/DESCENDING dosen't really change matters.

To simplify, sorting the array before presenting it to the datagrid
doesn't seem to work. Nor does sorting the datagrid. 

The sort function does in fact work, because when you click the column
header for the age column, it does sort properly, as it only could
using that function. 

I have tried making a special version of the sort function that
doesn't have the 3 param signature that sortItems takes, but has only
2 (as Array.sort takes), but that doesn't help either.

So the real question is what is the best practice for initializing the
sort order of a data grid? Can anyone post a working example?

Thanks,
-=Cliff


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

 I think dg1.sortItems(sortByAge, asc) should have worked (or desc),
 not Array.ASCENDING and Array.DESCENDING because being consistent with
 array options would have been too obvious ;-)
 
  
 
 Haven't tried it though.  This will be easier in Flex 2 because sorting
 will be done through Sort objects and SortFields which the DG will
 recognize.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Clifford Hall
 Sent: Friday, December 30, 2005 10:42 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Custom initial sort on datagrid
 
  
 
 Hello all, 
 
 I'm trying to get a datagrid to use a custom sortCompareFunction for its
 initial sort order.
 
 The custom sortCompareFunction works when you click the column header,
 however attempts to sort the dataprovider before it is assigned or the
 grid itself after the dataprovider is assigned all fail. The
 sortCompareFunction has been written so that it can sort either be
 passed objects as it would on an Array.sort (from which it will retrieve
 the string for comparison), or strings which the table will pass when
 the header is clicked.
 
 I have reproduced the various attempts to get it to work in a small mxml
 file included below. There are plenty of comments that show the various
 places that we may try to effect the sort. If you run this mxml, you'll
 see the table, and if you click the 'Age' column header, you'll see the
 sort work. 
 
 If you are able to shed light on the error of my ways here and make this
 sort happen, I myself, my children and my chil! dren's children shall
 speak your name in the most reverant tones for generations to come,
 perhaps performing a little bedside ritual each night, ordering our
 pocket change from large to small around the base of the lamp before
 sleeping as a way of meditating upon the momentous occasion when The
 Answer was posted and the Great Difficulty passed.
 
 Thanks, 
 -=Cliff
 
 ?xml version=1.0 encoding=utf-8?
 
 !-- Attempt to order the rows of a DataGrid by a column which requires
 a special sortCompareFunction --
 !-- This demo shows that the column (Age) sorts properly when the
 column header is clicked, --
 !-- but attempts to sort the dataprovider or the grid automatically at
 startup all fail --
 
 !-- Try assigning the dataprovider via binding, and tying a sort at
 creationComplete --
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 creationComp! lete=sortAtCreationComplete()
 
 !-- Try assigni! ng the d ataprovider manually at startup, giving the
 opportunity to force a sort --
 !-- mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 creationComplete=manuallyAssignDP() --
 
 mx:Script
 ![CDATA[
 import mx.utils.ArrayUtil;
 import mx.utils.Delegate;
 
 // sort order lookup hash
 public var sortOrder:Array;
 
 public function sortAtCreationComplete()
 {
 // populate the sort order lookup hash
 sortOrder=getSortOrder();
 
 nb! sp;   // try to sort the datagrid
 // dg1.sortItems(sortByAge,Array.ASCENDING)
 
 // try to sort the datagrid's dataprovider
 dg1.dataProvider.sortItems(sortByAge, Array.ASCENDING)
 }
 
 public function manuallyAssignDP()
 {
 // populate the sort order lookup hash
 sortOrder=getSortOrder();
 
 var da:Array = filterData();
 
   nb! sp; // try sorting the d! ataprovi der before assigning
 
 // should work but doesn't
 // da.sortItems( sortByAge, Array.DESCENDING ); 
 
 dg1.dataProvider = da;
 
 // try sorting the grid
 // should work but doesn't
 // dg1.sortItems( sortByAge, Array.DESCENDING ); 
 
 // ok, grasping at straws, here, 
 // try passing the sort function via delegate doesn't work
  nb! sp;  // var d = new 

RE: [flexcoders] Flex 1.5: AS2 serialization issue . Parent/Child data model implementation

2006-01-03 Thread Valy Sivec



Peter, thanks for the message. I' got caught doing other stuff for now but I'll give it a try afternoon.Is there any way I can see what gets sent on the wire other than dumping the value object in the log?  Thanks,  ValiPeter Farland [EMAIL PROTECTED] wrote:  AMF does support cyclical references, but   I vaguely remember in Flex 1.5 there were some issues with references for   typed objects inside Collection implementations that required translation. That   is,
 the translation step on the server from AMF Array - java.util.ArrayList   - java.util.Set (of typed objects). As a long shot,can you try changing your childs   property of your Parent to type ArrayList instead of Set to see if you can avoid   this translation step issue with references?(I'm still missing exactly whether you're saying that   you've sent a single Child instance and it has a Parent instance that is   uninitialized, or rather, is the default
 implementation or that you've sent   a single Parent instance and each of the Child instances in the childs Set have   invalid references to a Parent typed parent property).  From: flexcoders@yahoogroups.com   [mailto:[EMAIL PROTECTED] On Behalf Of Valy   SivecSent: Tuesday, January 03, 2006 4:01 PMTo:   flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 1.5: AS2   serialization issue . Parent/Child data model   implementationPeter,Here is the serverAPI,public class   Parent implements Serializable { private String   property; private Set childs;have here get/set methods}public class Child   implements
 Serializable{ private String   property; private Parent parent; with   get/set methods}I have a one-to-many relation between the Parent and   the Child, implemented as "Set" on Parent. The "Child" has a reference back to   the Parent via "parent" property. I suspect AMF serialization doesn't work   with cyclical reference. As I mentioned there is no problem sending Parent   object from the client side to the server side but then I want to persist   the "Child" object it looks that his "parent" property is like a new instance of   the Parent class ( all Parent's properties are initialized with Java default   values, in ! my case null;). Is this an AMF limitation?.I   checked the object integrity logging the properties values to JBoss's log. Flex   alert display the right value, but unfortunately don;t get the same value object   on the server side.Any  
 suggestions?Thanks,ValyThank   you,ValyPeter   Farland [EMAIL PROTECTED] wrote:  Can we see the server API for these types too?When you say a Child's parent property is empty, are you saying it is null on the server? What are you using to determine that?From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Valy SivecSent: Tuesday, January 03, 2006 2:11 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 1.5: AS2 serialization issue . Parent/Child data model implementationHi Flexcoders,I have a master/detail data entry form and I have some difficulties transfering the data objects f! rom AS2 to the server side. The data persitence is implemented with Hibernate and I have a one to many relations between a Parent object and his Child(s) objects.Here is the AS2 implementation of the data
 model:class Parent{ public static var regClass = Object.registerClass("Parent", Parent); public var property : String; public var childs : Array = new Array(); public function Parent() {}}class Child{ public static var regClass = Object.registerClass("Child", Child); public var property : String; public var parent : Parent; public function Child() {}}Here is my problem: It looks that when I transfer the Child object from AS2! to Java via Remote Object call, the "parent" property is empty ( Parent's properties are initialized to the default values ) on the server side no matter ! what value I have on the AS2 side. Is there any issue with the serialization from AS2 to JAVA in this case?. I transfer the Parent object from AS2 to JAVA and everything
 is OK.Thank you,ValyYahoo! ShoppingFind Great Deals on Holiday Gifts at Yahoo! Shopping   Yahoo! ShoppingFind Great Deals on Holiday Gifts at Yahoo!   Shopping   
		Yahoo! Shopping 
Find Great Deals on Holiday Gifts at Yahoo! Shopping 





--
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: Component inheritance?

2006-01-03 Thread Matt Chotin










Yes, sounds like a bug to me. Can you
please file at http://www.macromedia.com/go/wish?



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Y. Kwong
Sent: Monday, January 02, 2006
11:09 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2:
Component inheritance?





No, there were no visual
children in Base--just an empty canvas. I tried what you suggested and
created Base using ActionScript only and that worked just fine.
Thanks. However, it does bring up the question: Why doesn't the MXML
approach work? Is it a bug? 



On 12/30/05, Matt Chotin [EMAIL PROTECTED] wrote:



Did you put any visual children in Base? If you did
it's not going to work because you can't have declared children in a parent
component and subcomponent (though we may describe how to simulate that in some
of our docs with other features).



You can try rewriting Base.mxml to be Base.as if there weren't visual children



Public class Base extends Canvas

{

 //declare properties and methods

}



Matt











From: flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com] On Behalf Of Jason
Y. Kwong
Sent: Friday, December 30, 2005
10:44 AM
To: Flashcoders mailing list; flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2:
Component inheritance?







I'm relatively new to Flex 2 and what I'm trying to do
is to create a set of custom MXML components that share the same AS base
class. So I start with the base component, an empty container to which I
add properties/methods via AS. Call it Base.mxml:

?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.macromedia.com/2005/mxml
xmlns=* 
mx:Script source=Base_inc.as/
!-- Declare base properties/methods --
/mx:Canvas

Then I create a component based on Base. I add a Button and
a TextInput. Call it ComponentA.mxml :

?xml version=1.0 encoding=utf-8?
Base xmlns:mx=http://www.macromedia.com/2005/mxml
xmlns=*
 mx:Script
source=ComponentA_inc.as/ !-- Component-specific
code -- 
 mx:Button x=5 y=41
label=Button/
 mx:TextInput x=2
y=12 text=hello id=MyText/
/Base

Then I add ComponentA to an application. Everything looks
fine in the design view. However, when the app is run, the controls added
by ComponentA do not show up. I put in a creationComplete handler for
ComponentA and traced the value of MyText and it came out null, so
it looks like it never got created. 

Am I missing something? If this isn't how you do component
inheritance, then how can it be done while still taking advantage of the easy
layout offered by MXML?











--
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 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] open sourced Flex app

2006-01-03 Thread Franck de Bruijn










Since you are writing an open source
application, I would stick as much as possible to open source frameworks and
tools.



Im currently prototyping a Flex 2
application on the following software stack:


 Frontend:
 Flex 2
 Interface
 towards backend: Web services with Apache Axis
 Middleware:
 Hibernate
 Wiring:
 plain java, but this is not so modern. So, maybe you will prefer Spring.
 Database:
 any one you prefer. For the prototype Im using HSQLDB.
 Building:
 Maven 2
 Developing:
 Flex 2 Builder (standalone) and Eclipse WTP (unfortunately they do not
 work together yet)




For the build part Im not satisfied
yet. Maybe Ill write my own Maven 2 plugin for Flex 2 applications. Ill
keep you posted on that.



People say that web services are the
slowest alternative for interfacing, but Im having very good experiences
with it with respect to performance. Can anyone tell me why remoting (AMF
framework?) is preferred? Does anyone have benchmarks on this?



Cheers,

Franck











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Douglas Knudsen
Sent: dinsdag 3 januari 2006 15:41
To: flexcoders@yahoogroups.com
Subject: [flexcoders] open sourced
Flex app





Ok, so I want to mess around building something to let everyone in the
community have. Using Flex 2what to use
on the backend? With DAO
Factories, I suppose any back end DB will do,
eh? start with MySQL
and fill in for others. Now what about the
middle ware? Java,
ColdFusion, etc... What would be a good
popular fit, eh? Your
thoughts?

--
Douglas Knudsen
http://www.cubicleman.com
this 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





  




  
  
  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] open sourced Flex app

2006-01-03 Thread Weyert de Boer
Hi Franck,

Looks like a good collection of tools to do the job. Maybe you can 
consider talking to a
ECM system such as Alfresco? It offers webservices for content 
retrieval. ;-)

Yours,
Weyert de Boer


--
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] open sourced Flex app

2006-01-03 Thread Douglas Knudsen
yeah, seems better to target Java as middle ware.  Probably stay clear
of any frameworks though to make it lighter in weight.  Thanks for the
info...

 People say that web services are the slowest alternative for interfacing,
 but I'm having very good experiences with it with respect to performance.
 Can anyone tell me why remoting (AMF framework?) is preferred? Does anyone
 have benchmarks on this?

Adobe has info on this and preach use of AMF for speed.  This is
talked about around this list a bit already...some guy named Dave
might have said something :)  I'm thinking for an open sourced
project, web services is the way to go, should make it easier to plug
in different middle-wares.

DK


On 1/3/06, Franck de Bruijn [EMAIL PROTECTED] wrote:



 Since you are writing an open source application, I would stick as much as
 possible to open source frameworks and tools.



 I'm currently prototyping a Flex 2 application on the following software
 stack:

 Frontend: Flex 2
 Interface towards backend: Web services with Apache Axis
 Middleware: Hibernate
 Wiring: plain java, but this is not so modern. So, maybe you will prefer
 Spring.
 Database: any one you prefer. For the prototype I'm using HSQLDB.
 Building: Maven 2
 Developing: Flex 2 Builder (standalone) and Eclipse WTP (unfortunately they
 do not work together yet)



 For the build part I'm not satisfied yet. Maybe I'll write my own Maven 2
 plugin for Flex 2 applications. I'll keep you posted on that.



 People say that web services are the slowest alternative for interfacing,
 but I'm having very good experiences with it with respect to performance.
 Can anyone tell me why remoting (AMF framework?) is preferred? Does anyone
 have benchmarks on this?



 Cheers,

 Franck



  


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Douglas Knudsen
  Sent: dinsdag 3 januari 2006 15:41
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] open sourced Flex app



 Ok, so I want to mess around building something to let everyone in the
  community have.  Using Flex 2what to use on the backend?  With DAO
  Factories, I suppose any back end DB will do, eh?  start with MySQL
  and fill in for others.  Now what about the middle ware?  Java,
  ColdFusion, etc...  What would be a good popular fit, eh?  Your
  thoughts?

  --
  Douglas Knudsen
  http://www.cubicleman.com
  this 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



  
  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 Knudsen
http://www.cubicleman.com
this 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 
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] Double database Insertions with initialize

2006-01-03 Thread Jeremy Rottman
I have started to develope a simple flex app using coldfusion as my
backend. While working on some of the more detailed portions of the
app. I have ran into this problem. 

On the backend, I have the coldfusion fucntion below. It is pretty
straight forward and works like a charm when I run it through a cf
page. However when I use this function from with in flex, it insert
two records into the data base. So if my listCompletePrimer was
L051234 it would insert that and the next number in order. So that I
have L051234 and L051235. 

I am using initalize to create this insertion so that I can call back
the inserted number and display it in a form field to an admin. 

Here is my as/flex/cf code. Can someone lead me to the direction of
fixing this.

Flex:
mx:Canvas width=100% height=100%
xmlns:mx=http://www.macromedia.com/2005/mxml;
initialize=qiAdminListFileNumAdd(); xmlns=*

AS:
function qiAdminListFileNumAdd(){
srv.qiAdminListFileNumAdd();}

CF:
cffunction name=qiAdminListFileNumAdd access=remote
returntype=string output=false 
!--- Global File Number Manipulation Query  - Sale ---
cfquery name=CheckNumList datasource=#application.dsn#
SELECT fld_fileNum 
FROM tbl_smartPanel_propInfo_List
ORDER BY fld_fileNum
DESC LIMIT 1
/cfquery
cfset listPrimer = removeChars(CheckNumList.fld_fileNum, 1,
len(APPLICATION.systemInfo.fld_listPrefix) +
len(dateformat(APPLICATION.todayDate, YY)))
cfset listCompletePrimer = 
APPLICATION.systemInfo.fld_listPrefix 
APPLICATION.datePrimer  listPrimer + 1
cfquery datasource=#application.dsn#
insert into tbl_smartPanel_propInfo_List
(fld_fileNum)
values('#listCompletePrimer#')
/cfquery  
cfreturn listCompletePrimer /
/cffunction





--
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: open sourced Flex app

2006-01-03 Thread Jeremy Rottman
I have to agree with Franck. I am using webservices for an app I am
working on and they are doing just fine. I dont notice any performace
speed issues with them. Seeing as I am a long time cf developer, I
would have to say use CF. Not because it is my flavor of choice, but
because of the speed of development and the cross platform
functionality that it provides. 



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

 yeah, seems better to target Java as middle ware.  Probably stay clear
 of any frameworks though to make it lighter in weight.  Thanks for the
 info...
 
  People say that web services are the slowest alternative for
interfacing,
  but I'm having very good experiences with it with respect to
performance.
  Can anyone tell me why remoting (AMF framework?) is preferred?
Does anyone
  have benchmarks on this?
 
 Adobe has info on this and preach use of AMF for speed.  This is
 talked about around this list a bit already...some guy named Dave
 might have said something :)  I'm thinking for an open sourced
 project, web services is the way to go, should make it easier to plug
 in different middle-wares.
 
 DK
 
 
 On 1/3/06, Franck de Bruijn [EMAIL PROTECTED] wrote:
 
 
 
  Since you are writing an open source application, I would stick as
much as
  possible to open source frameworks and tools.
 
 
 
  I'm currently prototyping a Flex 2 application on the following
software
  stack:
 
  Frontend: Flex 2
  Interface towards backend: Web services with Apache Axis
  Middleware: Hibernate
  Wiring: plain java, but this is not so modern. So, maybe you will
prefer
  Spring.
  Database: any one you prefer. For the prototype I'm using HSQLDB.
  Building: Maven 2
  Developing: Flex 2 Builder (standalone) and Eclipse WTP
(unfortunately they
  do not work together yet)
 
 
 
  For the build part I'm not satisfied yet. Maybe I'll write my own
Maven 2
  plugin for Flex 2 applications. I'll keep you posted on that.
 
 
 
  People say that web services are the slowest alternative for
interfacing,
  but I'm having very good experiences with it with respect to
performance.
  Can anyone tell me why remoting (AMF framework?) is preferred?
Does anyone
  have benchmarks on this?
 
 
 
  Cheers,
 
  Franck
 
 
 
   
 
 
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Douglas Knudsen
   Sent: dinsdag 3 januari 2006 15:41
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] open sourced Flex app
 
 
 
  Ok, so I want to mess around building something to let everyone in the
   community have.  Using Flex 2what to use on the backend? 
With DAO
   Factories, I suppose any back end DB will do, eh?  start with MySQL
   and fill in for others.  Now what about the middle ware?  Java,
   ColdFusion, etc...  What would be a good popular fit, eh?  Your
   thoughts?
 
   --
   Douglas Knudsen
   http://www.cubicleman.com
   this 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
 
 
 
   
   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 Knudsen
 http://www.cubicleman.com
 this 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 
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] Double database Insertions with initialize

2006-01-03 Thread Tariq Ahmed
Well the first thing to determine is, is qiAdminListFileNumAdd() being 
called twice. Eg open up your net connection debugger and see if a call 
is being made twice, or on the result handler pop up an alert and see if 
that alerts occurs twice, etc...

My guess is that is the case. And my super wild guess is that that 
Canvas is being included in your app as a custom component twice.

comp:mycomp1 ../
comp:mycomp2.../



Jeremy Rottman wrote:

I have started to develope a simple flex app using coldfusion as my
backend. While working on some of the more detailed portions of the
app. I have ran into this problem. 

On the backend, I have the coldfusion fucntion below. It is pretty
straight forward and works like a charm when I run it through a cf
page. However when I use this function from with in flex, it insert
two records into the data base. So if my listCompletePrimer was
L051234 it would insert that and the next number in order. So that I
have L051234 and L051235. 

I am using initalize to create this insertion so that I can call back
the inserted number and display it in a form field to an admin. 

Here is my as/flex/cf code. Can someone lead me to the direction of
fixing this.

Flex:
mx:Canvas width=100% height=100%
xmlns:mx=http://www.macromedia.com/2005/mxml;
initialize=qiAdminListFileNumAdd(); xmlns=*

AS:
function qiAdminListFileNumAdd(){
   srv.qiAdminListFileNumAdd();}

CF:
   cffunction name=qiAdminListFileNumAdd access=remote
returntype=string output=false 
   !--- Global File Number Manipulation Query  - Sale ---
   cfquery name=CheckNumList datasource=#application.dsn#
   SELECT fld_fileNum 
   FROM tbl_smartPanel_propInfo_List
   ORDER BY fld_fileNum
   DESC LIMIT 1
   /cfquery
   cfset listPrimer = removeChars(CheckNumList.fld_fileNum, 1,
len(APPLICATION.systemInfo.fld_listPrefix) +
len(dateformat(APPLICATION.todayDate, YY)))
   cfset listCompletePrimer = 
 APPLICATION.systemInfo.fld_listPrefix 
APPLICATION.datePrimer  listPrimer + 1
   cfquery datasource=#application.dsn#
   insert into tbl_smartPanel_propInfo_List
   (fld_fileNum)
   values('#listCompletePrimer#')
   /cfquery  
   cfreturn listCompletePrimer /
   /cffunction





--
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: Double database Insertions with initialize

2006-01-03 Thread Jeremy Rottman
Well I know the function is not being called twice, as this is the
first comp that I have written for this function. But I think you are
right on track with the custom compoent. I do have this comp setup as
a custom comp. 

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

 Well the first thing to determine is, is qiAdminListFileNumAdd() being 
 called twice. Eg open up your net connection debugger and see if a call 
 is being made twice, or on the result handler pop up an alert and
see if 
 that alerts occurs twice, etc...
 
 My guess is that is the case. And my super wild guess is that that 
 Canvas is being included in your app as a custom component twice.
 
 comp:mycomp1 ../
 comp:mycomp2.../
 
 
 
 Jeremy Rottman wrote:
 
 I have started to develope a simple flex app using coldfusion as my
 backend. While working on some of the more detailed portions of the
 app. I have ran into this problem. 
 
 On the backend, I have the coldfusion fucntion below. It is pretty
 straight forward and works like a charm when I run it through a cf
 page. However when I use this function from with in flex, it insert
 two records into the data base. So if my listCompletePrimer was
 L051234 it would insert that and the next number in order. So that I
 have L051234 and L051235. 
 
 I am using initalize to create this insertion so that I can call back
 the inserted number and display it in a form field to an admin. 
 
 Here is my as/flex/cf code. Can someone lead me to the direction of
 fixing this.
 
 Flex:
 mx:Canvas width=100% height=100%
 xmlns:mx=http://www.macromedia.com/2005/mxml;
 initialize=qiAdminListFileNumAdd(); xmlns=*
 
 AS:
 function qiAdminListFileNumAdd(){
  srv.qiAdminListFileNumAdd();}
 
 CF:
  cffunction name=qiAdminListFileNumAdd access=remote
 returntype=string output=false 
  !--- Global File Number Manipulation Query  - Sale ---
  cfquery name=CheckNumList datasource=#application.dsn#
  SELECT fld_fileNum 
  FROM tbl_smartPanel_propInfo_List
  ORDER BY fld_fileNum
  DESC LIMIT 1
  /cfquery
  cfset listPrimer = removeChars(CheckNumList.fld_fileNum, 1,
 len(APPLICATION.systemInfo.fld_listPrefix) +
 len(dateformat(APPLICATION.todayDate, YY)))
  cfset listCompletePrimer = 
  APPLICATION.systemInfo.fld_listPrefix 
 APPLICATION.datePrimer  listPrimer + 1
  cfquery datasource=#application.dsn#
  insert into tbl_smartPanel_propInfo_List
  (fld_fileNum)
  values('#listCompletePrimer#')
  /cfquery  
  cfreturn listCompletePrimer /
  /cffunction
 
 
 
 
 
 --
 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: Double database Insertions with initialize

2006-01-03 Thread Jeremy Rottman
It is the custom comp senario that you mentoined in your first post. I
have setup all my comps as custom comps, is there something I need to
do to have the functions I am using post only once to my webservice?

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

 Well I know the function is not being called twice, as this is the
 first comp that I have written for this function. But I think you are
 right on track with the custom compoent. I do have this comp setup as
 a custom comp. 
 
 --- In flexcoders@yahoogroups.com, Tariq Ahmed [EMAIL PROTECTED] wrote:
 
  Well the first thing to determine is, is qiAdminListFileNumAdd()
being 
  called twice. Eg open up your net connection debugger and see if a
call 
  is being made twice, or on the result handler pop up an alert and
 see if 
  that alerts occurs twice, etc...
  
  My guess is that is the case. And my super wild guess is that that 
  Canvas is being included in your app as a custom component twice.
  
  comp:mycomp1 ../
  comp:mycomp2.../
  
  
  
  Jeremy Rottman wrote:
  
  I have started to develope a simple flex app using coldfusion as my
  backend. While working on some of the more detailed portions of the
  app. I have ran into this problem. 
  
  On the backend, I have the coldfusion fucntion below. It is pretty
  straight forward and works like a charm when I run it through a cf
  page. However when I use this function from with in flex, it insert
  two records into the data base. So if my listCompletePrimer was
  L051234 it would insert that and the next number in order. So that I
  have L051234 and L051235. 
  
  I am using initalize to create this insertion so that I can call back
  the inserted number and display it in a form field to an admin. 
  
  Here is my as/flex/cf code. Can someone lead me to the direction of
  fixing this.
  
  Flex:
  mx:Canvas width=100% height=100%
  xmlns:mx=http://www.macromedia.com/2005/mxml;
  initialize=qiAdminListFileNumAdd(); xmlns=*
  
  AS:
  function qiAdminListFileNumAdd(){
 srv.qiAdminListFileNumAdd();}
  
  CF:
 cffunction name=qiAdminListFileNumAdd access=remote
  returntype=string output=false 
 !--- Global File Number Manipulation Query  - Sale ---
 cfquery name=CheckNumList datasource=#application.dsn#
 SELECT fld_fileNum 
 FROM tbl_smartPanel_propInfo_List
 ORDER BY fld_fileNum
 DESC LIMIT 1
 /cfquery
 cfset listPrimer = removeChars(CheckNumList.fld_fileNum, 1,
  len(APPLICATION.systemInfo.fld_listPrefix) +
  len(dateformat(APPLICATION.todayDate, YY)))
 cfset listCompletePrimer = 
   APPLICATION.systemInfo.fld_listPrefix 
  APPLICATION.datePrimer  listPrimer + 1
 cfquery datasource=#application.dsn#
 insert into tbl_smartPanel_propInfo_List
 (fld_fileNum)
 values('#listCompletePrimer#')
 /cfquery  
 cfreturn listCompletePrimer /
 /cffunction
  
  
  
  
  
  --
  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] open sourced Flex app

2006-01-03 Thread Franck de Bruijn










Hi Douglas,



Exactly the same reason why I chose for
web services. Its standards based, so youre free to go on the
back end.



I dont know what you exactly meant
with staying clear of frameworks, but I think using Hibernate is
a safe bet or maybe later EJB3 (which should be an easy migration). Im
personally not a fan of Spring, but its extremely hot in the Java
community. Im afraid that if youre not using Spring, you will not
be taken seriously.



This brings me to another point. I
personally have a JAVA background and I follow the community sites www.javalobby.org and www.theserverside.com closely. What I
notice is that Flex is not considered a serious alternative for building Rich
Internet Applications. A search on flex does not result in many
hits. Worse, people who vouch for flex are often barked at shamelessly. 



I dont know your intentions behind
your idea of starting an open source flex project. Could you tell us more? To
me it would be a great idea showing the JAVA community that there is a much
cleaner and leaner alternative for web applications than this JSF/AJAX/_javascript_
stuff that is getting so much attention. One of the key success factors would
be to have your back-end state-of-the-art, showing the JAVA people that you
know your stuff. That means IMHO that you need to use popular frameworks like
Hibernate and Spring.



Does anyone have an explanation why Flex is
not taken seriously in JAVA land? Is there something I should know J?



Cheers,

Franck















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
Sent: dinsdag 3 januari 2006 19:27
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] open
sourced Flex app





yeah, seems better to target
Java as middle ware. Probably stay clear
of any frameworks though to make it lighter in
weight. Thanks for the
info...

 People say that web services are the slowest
alternative for interfacing,
 but I'm having very good experiences with it
with respect to performance.
 Can anyone tell me why remoting (AMF
framework?) is preferred? Does anyone
 have benchmarks on this?

Adobe has info on this and preach use of AMF for
speed. This is
talked about around this list a bit already...some
guy named Dave
might have said something :) I'm thinking
for an open sourced
project, web services is the way to go, should
make it easier to plug
in different middle-wares.

DK


On 1/3/06, Franck de Bruijn [EMAIL PROTECTED] wrote:



 Since you are writing an open source
application, I would stick as much as
 possible to open source frameworks and tools.



 I'm currently prototyping a Flex 2
application on the following software
 stack:

 Frontend: Flex 2
 Interface towards backend: Web services with
Apache Axis
 Middleware: Hibernate
 Wiring: plain java, but this is not so
modern. So, maybe you will prefer
 Spring.
 Database: any one you prefer. For the
prototype I'm using HSQLDB.
 Building: Maven 2
 Developing: Flex 2 Builder (standalone) and
Eclipse WTP (unfortunately they
 do not work together yet)



 For the build part I'm not satisfied yet.
Maybe I'll write my own Maven 2
 plugin for Flex 2 applications. I'll keep you
posted on that.



 People say that web services are the slowest
alternative for interfacing,
 but I'm having very good experiences with it
with respect to performance.
 Can anyone tell me why remoting (AMF
framework?) is preferred? Does anyone
 have benchmarks on this?



 Cheers,

 Franck



 


 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Douglas Knudsen
 Sent: dinsdag 3 januari 2006 15:41
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] open sourced Flex
app



 Ok, so I want to mess around building
something to let everyone in the
 community have. Using Flex
2what to use on the backend? With DAO
 Factories, I suppose any back end DB
will do, eh? start with MySQL
 and fill in for others. Now what
about the middle ware? Java,
 ColdFusion, etc... What would
be a good popular fit, eh? Your
 thoughts?

 --
 Douglas Knudsen
 http://www.cubicleman.com
 this 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



 
 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 Knudsen
http://www.cubicleman.com
this 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

RE: [flexcoders] open sourced Flex app

2006-01-03 Thread Franck de Bruijn










Hi Weyert,



Im not into ECM personally. I
mostly develop administrative systems like order management systems and the
like.



I had a look though at Alfresco and after
10 minutes I have a good impression. The webservices api was not entirely
developed yet, but a quick glance at the Authentication WSDL showed my that is
was pretty much similar to the api I developed myself. This makes me conclude
that these web services should be perfectly accessible and usable by a FLEX
app. So, go ahead, if you ask me J.



One thing I noticed though is that the
fault handling of web services within Flex 2 is not working as it should (see
my post at the macromedia labs forum: http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=584threadid=1097471#3924351).
Maybe Im doing wrong, but I dont know what.



Cheers,

Franck











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: dinsdag 3 januari 2006 19:04
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] open
sourced Flex app





Hi Franck,

Looks like a good collection of tools to do the
job. Maybe you can 
consider talking to a
ECM system such as Alfresco? It offers webservices
for content 
retrieval. ;-)

Yours,
Weyert de Boer








--
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] Placing an icon in a ComboBox

2006-01-03 Thread im_sean_s
Can some one provide me with a straight forwad example on how to add
dynamic icons to a ComboBox control?  I've found examples in flash and
some in flex, however the ones that I've seen seem very convoluted. 
granted I am new to flex, and do not have a flash background.  If
anyone can provide me with a step-by-step example it would be greatly
appreciated.

Thank you,
Sean





--
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] open sourced Flex app

2006-01-03 Thread JesterXL





Yeah, no one has become an evenagelist there, and 
those that have vouch for Laszlo. It's extremely frustrating repeating 
myself to those people, but it has to be done. The problem is, my 
background is Flash, not Flex, so I'm not taken seriously by a lot of Java 
folks, nor am I involved in their community. Someone needs to take the 
ball.

- Original Message - 
From: Franck 
de Bruijn 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 03, 2006 2:04 PM
Subject: RE: [flexcoders] open sourced Flex app


Hi 
Douglas,

Exactly the same reason 
why I chose for web services. It’s standards based, so you’re free to go on the 
back end.

I don’t know what you 
exactly meant with ‘staying clear of frameworks’, but I think using Hibernate is 
a safe bet or maybe later EJB3 (which should be an easy migration). I’m 
personally not a fan of Spring, but it’s extremely hot in the Java community. 
I’m afraid that if you’re not using Spring, you will not be taken 
seriously.

This brings me to 
another point. I personally have a JAVA background and I follow the community 
sites www.javalobby.org and www.theserverside.com closely. What I 
notice is that Flex is not considered a serious alternative for building Rich 
Internet Applications. A search on ‘flex’ does not result in many hits. Worse, 
people who vouch for flex are often barked at shamelessly. 


I don’t know your 
intentions behind your idea of starting an open source flex project. Could you 
tell us more? To me it would be a great idea showing the JAVA community that 
there is a much cleaner and leaner alternative for web applications than this 
JSF/AJAX/_javascript_ stuff that is getting so much attention. One of the key 
success factors would be to have your back-end state-of-the-art, showing the 
JAVA people that you know your stuff. That means IMHO that you need to use 
popular frameworks like Hibernate and Spring.

Does anyone have an 
explanation why Flex is not taken seriously in JAVA land? Is there something I 
should know J?

Cheers,
Franck







From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas KnudsenSent: dinsdag 3 januari 2006 
19:27To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] open sourced Flex 
app

yeah, seems better to target Java as middle 
ware. Probably stay clearof any frameworks though to make it lighter in weight. 
Thanks for theinfo... 
People say that web services are the slowest alternative for 
interfacing, but I'm having 
very good experiences with it with respect to 
performance. Can anyone tell me 
why remoting (AMF framework?) is preferred? Does anyone have benchmarks on this?Adobe has info on this and preach use of AMF for speed. 
This istalked about around this 
list a bit already...some guy named Davemight have said something :) I'm thinking for an open 
sourcedproject, web services is the 
way to go, should make it easier to plugin different middle-wares.DKOn 
1/3/06, Franck de Bruijn [EMAIL PROTECTED] 
wrote: Since 
you are writing an open source application, I would stick as much 
as possible to open source 
frameworks and tools. I'm 
currently prototyping a Flex 2 application on the following 
software 
stack: Frontend: Flex 2 Interface towards backend: Web services with Apache 
Axis Middleware: 
Hibernate Wiring: plain java, 
but this is not so modern. So, maybe you will prefer Spring. 
Database: any one you prefer. For the prototype I'm using 
HSQLDB. Building: Maven 
2 Developing: Flex 2 Builder 
(standalone) and Eclipse WTP (unfortunately they do not work together yet) For the 
build part I'm not satisfied yet. Maybe I'll write my own Maven 
2 plugin for Flex 2 
applications. I'll keep you posted on that. People 
say that web services are the slowest alternative for 
interfacing, but I'm having 
very good experiences with it with respect to 
performance. Can anyone tell me 
why remoting (AMF framework?) is preferred? Does anyone have benchmarks on this? 
Cheers, 
Franck 
 From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
On Behalf Of Douglas 
Knudsen Sent: dinsdag 3 
januari 2006 15:41 To: 
flexcoders@yahoogroups.com Subject: [flexcoders] open sourced Flex 
app Ok, so 
I want to mess around building something to let everyone in 
the community have. 
Using Flex 2what to use on the backend? With 
DAO Factories, I suppose 
any back end DB will do, eh? start with MySQL and fill in for others. Now what about the 
middle ware? Java, 
ColdFusion, etc... What would be a good popular fit, eh? 
Your 
thoughts? 
-- Douglas 
Knudsen http://www.cubicleman.com this 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 
 YAHOO! GROUPS LINKS 
Visit your group "flexcoders" on the web. 
To unsubscribe from this group, send an email to: 
[EMAIL 

Re: [flexcoders] Placing an icon in a ComboBox

2006-01-03 Thread JesterXL
If it's convoluted, let me know, and I'll modify it.
http://www.jessewarden.com/archives/2005/12/dynamic_icons_i.html

- Original Message - 
From: im_sean_s [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 03, 2006 3:11 PM
Subject: [flexcoders] Placing an icon in a ComboBox


Can some one provide me with a straight forwad example on how to add
dynamic icons to a ComboBox control?  I've found examples in flash and
some in flex, however the ones that I've seen seem very convoluted. 
granted I am new to flex, and do not have a flash background.  If
anyone can provide me with a step-by-step example it would be greatly
appreciated.

Thank you,
Sean





--
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] open sourced Flex app

2006-01-03 Thread Douglas Knudsen



On 1/3/06, Franck de Bruijn [EMAIL PROTECTED] wrote:

















Hi Douglas,



Exactly the same reason why I chose for
web services. It's standards based, so you're free to go on the
back end.



I don't know what you exactly meant
with 'staying clear of frameworks', but I think using Hibernate is
a safe bet or maybe later EJB3 (which should be an easy migration). I'm
personally not a fan of Spring, but it's extremely hot in the Java
community. I'm afraid that if you're not using Spring, you will not
be taken seriously.I meant that it would seem lighter as there would be only the requirement that a J2EE container be available, nothing else. I'm not from the hardcore Java background wither, so I have not got Spring, Hibernate, etc under me firmly empyet/emp either. 

This brings me to another point. I
personally have a JAVA background and I follow the community sites www.javalobby.org and 
www.theserverside.com closely. What I
notice is that Flex is not considered a serious alternative for building Rich
Internet Applications. A search on 'flex' does not result in many
hits. Worse, people who vouch for flex are often barked at shamelessly. 



I don't know your intentions behind
your idea of starting an open source flex project. Could you tell us more? In my desire to increase my skills, I was thinking of writing a little
issue tracking tool. heck, maybe just hook up a cool Flex2 UI to a
already existing opensourced issue traker, eh? hmm
To
me it would be a great idea showing the JAVA community that there is a much
cleaner and leaner alternative for web applications than this JSF/AJAX/_javascript_
stuff that is getting so much attention. One of the key success factors would
be to have your back-end state-of-the-art, showing the JAVA people that you
know your stuff. That means IMHO that you need to use popular frameworks like
Hibernate and Spring.So to 'know your stuff' you must use a framework? I'm not a believer in this. Perhaps knowing of and how to use frameworks displays the notion that you 'know your stuff', eh? 

Does anyone have an explanation why Flex is
not taken seriously in JAVA land? Is there something I should know J
?



Cheers,

Franck















From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Douglas Knudsen
Sent: dinsdag 3 januari 2006 19:27
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] open
sourced Flex app





yeah, seems better to target
Java as middle ware. Probably stay clear
of any frameworks though to make it lighter in
weight. Thanks for the
info...

 People say that web services are the slowest
alternative for interfacing,
 but I'm having very good experiences with it
with respect to performance.
 Can anyone tell me why remoting (AMF
framework?) is preferred? Does anyone
 have benchmarks on this?

Adobe has info on this and preach use of AMF for
speed. This is
talked about around this list a bit already...some
guy named Dave
might have said something :) I'm thinking
for an open sourced
project, web services is the way to go, should
make it easier to plug
in different middle-wares.

DK


On 1/3/06, Franck de Bruijn [EMAIL PROTECTED] wrote:




 Since you are writing an open source
application, I would stick as much as
 possible to open source frameworks and tools.



 I'm currently prototyping a Flex 2
application on the following software
 stack:

 Frontend: Flex 2
 Interface towards backend: Web services with
Apache Axis
 Middleware: Hibernate
 Wiring: plain java, but this is not so
modern. So, maybe you will prefer
 Spring.
 Database: any one you prefer. For the
prototype I'm using HSQLDB.
 Building: Maven 2
 Developing: Flex 2 Builder (standalone) and
Eclipse WTP (unfortunately they
 do not work together yet)



 For the build part I'm not satisfied yet.
Maybe I'll write my own Maven 2
 plugin for Flex 2 applications. I'll keep you
posted on that.



 People say that web services are the slowest
alternative for interfacing,
 but I'm having very good experiences with it
with respect to performance.
 Can anyone tell me why remoting (AMF
framework?) is preferred? Does anyone
 have benchmarks on this?



 Cheers,

 Franck



 


 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On
 Behalf Of Douglas Knudsen
 Sent: dinsdag 3 januari 2006 15:41
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] open sourced Flex
app



 Ok, so I want to mess around building
something to let everyone in the
 community have. Using Flex
2what to use on the backend? With DAO
 Factories, I suppose any back end DB
will do, eh? start with MySQL
 and fill in for others. Now what
about the middle ware? Java,
 ColdFusion, etc... What would
be a good popular fit, eh? Your
 thoughts?

 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

 Search Archives: 

Re: [flexcoders] open sourced Flex app

2006-01-03 Thread Weyert de Boer
Hi Franck,

 I’m not into ECM personally. I mostly develop administrative systems 
 like order management systems and the like.

Well, I am only into ECM because it's my special interest but not really 
used it for clients. Anyway I would love to implementate such one for 
real someday (new intension/resolution for this year ;-)).

 I had a look though at Alfresco and after 10 minutes I have a good 
 impression. The webservices api was not entirely developed yet, but a 
 quick glance at the Authentication WSDL showed my that is was pretty 
 much similar to the api I developed myself. This makes me conclude 
 that these web services should be perfectly accessible and usable by a 
 FLEX app. So, go ahead, if you ask me J.

Yes, I would be able to help out if I find the time todo so. Anyway 
Alfresco is really nice the company the product tool. It should if it's 
backed up by the founder of Documentum :-)

 One thing I noticed though is that the fault handling of web services 
 within Flex 2 is not working as it should (see my post at the 
 macromedia labs forum: 
 http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=584threadid=1097471#3924351
  
 http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=584threadid=1097471#3924351).
  
 Maybe I’m doing wrong, but I don’t know what.

Yeps...

Yours,
Weyert de Boer


--
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] How to show and hide busy cursor (showBusyCursor attribute in some MXML tags) manually?

2006-01-03 Thread Sergey Kovalyov
Hi All!

Is there any way to show and hide busy cursor manually?

Sergey.





--
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] Transfer of data to Xml file

2006-01-03 Thread shr_bali
hi,
When using .net if we want to transfer or to send the data from the 
form to the xml we use DomDocumentClass , iXmlDomElement,iXmlDomNode 
etc.
Is there some method or class in Flex which we can use in the same way 
to transfer data frm flex application to Xml file.

Regards
Shruti








--
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] New to Flex, and mxml and getting an error trying to use RSS

2006-01-03 Thread malik_robinson
Hi,

I am very new to Flex and trying to try some basic tutorials in the 
help documentation that comes with Flex Builder 2 alpha.

I searched the mailing list/archives trying to find out why I get the 
following error message but to no avail.  The error is below:

The processing instruction target matching [xX][mM][IL] is not 
allowed.

My code is below and is basically from the documentation that comes 
with the flex builder 2 alpha 1 version.  The main difference is I am 
trying to point it as a different url other than the 
weblogs.macromedia.com/mchotin or whatever the exact url is.  I am 
trying to point it at a different URL.

?xml version=1.0 encoding=utf-8? 
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
xmlns=*
initialize=feedRequest.send() 

mx:HTTPService 
id=feedRequest 
url=http://groups.yahoo.com/group/flexcoders/;
useProxy=false/

mx:Canvas width=100% height=100%
mx:Label x=20 y=50 
text={feedRequest.result.rss.channel.title}/
mx:DataGrid x=20 y=80 id=dgPosts width=400
mx:columns
mx:DataGridColumn headerText=Column 1 
columnName=col1/
mx:DataGridColumn headerText=Column 2 
columnName=col2/
/mx:columns
/mx:DataGrid
mx:TextArea x=20 y=245 width=400 /
mx:Link x=20 y=300 label=Read Full Post /
/mx:Canvas  
/mx:Application









--
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] How to show and hide busy cursor (showBusyCursor attribute in some MXML tags) manually?

2006-01-03 Thread JesterXL
Yep!

import mx.managers.CursorManager;

// And the call it like this:

CursorManager.removeBusyCursor();
CursorManager.setBusyCursor();


I always do a removeBusyCursor first just in case the function that shows 
the cursor gets run twice, I won't accidenatelly set too many busy cursors.


- Original Message - 
From: Sergey Kovalyov [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 03, 2006 7:56 AM
Subject: [flexcoders] How to show and hide busy cursor (showBusyCursor 
attribute in some MXML tags) manually?


Hi All!

Is there any way to show and hide busy cursor manually?

Sergey.





--
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 1.5: AS2 serialization issue . Parent/Child data model implementation

2006-01-03 Thread Peter Farland





Try changing the AMF Gateway logging level from "Error" to 
"Debug" in the /WEB-INF/flex/gateway-config.xml file and restarting the web 
app.

The default logger implementation uses System.out to trace 
information to the console. Depending on your app server and how you start the 
process, this may appear on the command line or in a log 
file.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Valy 
SivecSent: Wednesday, January 04, 2006 3:30 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 1.5: AS2 
serialization issue . Parent/Child data model 
implementation

Peter, thanks for the message. I' got caught doing other 
stuff for now but I'll give it a try afternoon.Is there any way I can 
see what gets sent on the wire other than dumping the value object in the 
log?Thanks,Vali





--
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] FLEX app over HTTPS

2006-01-03 Thread Carson Hager





Are you using any kind of 
authentication?


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 Valy 
SivecSent: Tuesday, January 03, 2006 6:08 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FLEX app over 
HTTPS


Hello Flexcoders,

I have developed a web flex application and I have some difficulties 
accessing the app under HTTPS on IE. It looks that the remote object calls under 
HTTPS are spinning without returning any result back. Am I missing any 
configuration? 

The application works fine under HTTP. 
The same application works fine on Mozilla Firefox no matter if it's 
accessed via HTTP or HTTPS.

Thank in advance,
Valy


Yahoo! PhotosRing in the New Year with Photo 
Calendars. Add photos, events, holidays, whatever. 





--
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 app over HTTPS

2006-01-03 Thread Peter Farland





Have a read of this article:

http://support.microsoft.com/?kbid=323308

and try changing the registry key it 
describes.

You can use a tool like Paros proxy to intercept HTTPS 
based communication between the flash client and the gateway. Look for the HTTPS 
response headers that come back... Pragma: no-cache and other no-cache related 
headers can cause havoc with requests and SSL in MSIE 6+.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Valy 
SivecSent: Wednesday, January 04, 2006 1:08 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FLEX app over 
HTTPS


Hello Flexcoders,

I have developed a web flex application and I have some difficulties 
accessing the app under HTTPS on IE. It looks that the remote object calls under 
HTTPS are spinning without returning any result back. Am I missing any 
configuration? 

The application works fine under HTTP. 
The same application works fine on Mozilla Firefox no matter if it's 
accessed via HTTP or HTTPS.

Thank in advance,
Valy


Yahoo! PhotosRing in the New Year with Photo 
Calendars. Add photos, events, holidays, whatever. 





--
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 app over HTTPS

2006-01-03 Thread Valy Sivec



The application is deployed under JBoss Portal and is secured with OpenLdap.I'm having problems accessing the apps with IE under HTTPS. It works when use Mozilla Firefox but can't figure out what is wrong on IE.I have to find a spare box and edit the registry as Peter suggested me in a previous post.Thanks in advance,ValyCarson Hager [EMAIL PROTECTED] wrote:   Are you using any kind of  authentication?   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 Valy  SivecSent: Tuesday, January 03, 2006 6:08 PMTo:  flexcoders@yahoogroups.comSubject: [flexcoders] FLEX app over  HTTPS   Hello Flexcoders,  I have developed a web flex application and I have some difficulties  accessing
 the app under HTTPS on IE. It looks that the remote object calls under  HTTPS are spinning without returning any result back. Am I missing any  configuration?   The application works fine under HTTP.  The same application works fine on Mozilla Firefox no matter if it's  accessed via HTTP or HTTPS.  Thank in advance, Valy   Yahoo! PhotosRing in the New Year with Photo  Calendars. Add photos, events, holidays, whatever. 
		 Yahoo! DSL Something to write home about. Just $16.99/mo. 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.



  









RE: [flexcoders] open sourced Flex app

2006-01-03 Thread Franck de Bruijn










Hi Douglas,



Its not wrong to use a framework. Some
frameworks are really awesome, like Hibernate. You really dont want to
write your own JDBC calls anymore. But, be my guest, of course  Dont
mistaken yourself though in the complexity of back-end work. Good frameworks do
provide added value.



Are you looking to only increase your Flex
skills or also back-end skills? If you only want to increase your Flex skills I
think your idea to program against an existing API is the best way to go. Another
thread of this post mentions the open source product Alfresco, which has (or
will have) a nice set of web services to program against 



If you do want to increase your back-end
skills you have to do it right 



On the other hand youre right to
say that to know your stuff is not equivalent how fluent you are
in a certain framework. Thats also not what I intended to say. My
reasoning had more to do with the fact that in the cruel and bitter world out
there, unfortunately, its not important how good you are, but how good
others think you are.



Cheers,

Franck











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
Sent: dinsdag 3 januari 2006 22:12
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] open
sourced Flex app









On 1/3/06, Franck de
Bruijn [EMAIL PROTECTED]
wrote:



Hi Douglas,



Exactly the same reason why I chose for web services. It's
standards based, so you're free to go on the back end.



I don't know what you exactly meant with 'staying clear of
frameworks', but I think using Hibernate is a safe bet or maybe later EJB3
(which should be an easy migration). I'm personally not a fan of Spring, but
it's extremely hot in the Java community. I'm afraid that if you're not using
Spring, you will not be taken seriously.






I meant that it would seem lighter as there would be only the requirement that
a J2EE container be available, nothing else. I'm not from the hardcore
Java background wither, so I have not got Spring, Hibernate, etc under me
firmly empyet/emp either. 









This brings me to another point. I personally have a JAVA
background and I follow the community sites www.javalobby.org and www.theserverside.com
closely. What I notice is that Flex is not considered a serious alternative for
building Rich Internet Applications. A search on 'flex' does not result in many
hits. Worse, people who vouch for flex are often barked at shamelessly. 



I don't know your intentions behind your idea of starting an
open source flex project. Could you tell us more? 








In my desire to increase my skills, I was thinking of writing a little issue
tracking tool. heck, maybe just hook up a cool Flex2 UI to a already
existing opensourced issue traker, eh? hmm









To me it would be a great idea showing the JAVA community
that there is a much cleaner and leaner alternative for web applications than
this JSF/AJAX/_javascript_ stuff that is getting so much attention. One of the
key success factors would be to have your back-end state-of-the-art, showing
the JAVA people that you know your stuff. That means IMHO that you need to use
popular frameworks like Hibernate and Spring.







So to 'know your stuff'
you must use a framework? I'm not a believer in this. Perhaps
knowing of and how to use frameworks displays the notion that you 'know your
stuff', eh? 









Does anyone have an explanation why Flex is not taken
seriously in JAVA land? Is there something I should know J ?



Cheers,

Franck















From: flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com] On Behalf Of Douglas
Knudsen
Sent: dinsdag 3 januari 2006 19:27
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] open
sourced Flex app







yeah, seems better to target Java as middle ware. Probably stay
clear
of any frameworks though to make it lighter in weight.
Thanks for the
info...

 People say that web services are the slowest
alternative for interfacing,
 but I'm having very good experiences with it
with respect to performance.
 Can anyone tell me why remoting (AMF
framework?) is preferred? Does anyone
 have benchmarks on this?

Adobe has info on this and preach use of AMF for
speed. This is
talked about around this list a bit already...some
guy named Dave
might have said something :) I'm thinking
for an open sourced
project, web services is the way to go, should
make it easier to plug
in different middle-wares.

DK


On 1/3/06, Franck de Bruijn [EMAIL PROTECTED]
wrote: 



 Since you are writing an open source
application, I would stick as much as
 possible to open source frameworks and tools.



 I'm currently prototyping a Flex 2
application on the following software
 stack:

 Frontend: Flex 2
 Interface towards backend: Web services with
Apache Axis
 Middleware: Hibernate
 Wiring: plain java, but this is not so
modern. So, maybe you will prefer
 Spring.
 Database: any one you prefer. For the
prototype I'm using HSQLDB.
 Building: Maven 

RE: [flexcoders] open sourced Flex app

2006-01-03 Thread Franck de Bruijn










Java folks are very stubborn  Are
the Flex/Flash people so much different??? All engineers are probably the same 
:)



Java folks are also very picky if it comes
to spending money on development tools. We/They are so much used to get
everything for free. Thats why they probably vouch for Laszlo. On the
surface Laszlo and Flex/Flash look very similar. And most Java people will not
look much further than the surface, if they look at all 



Is Macromedia/Adobe going to take the
ball? What would be the right way to go to get some market in the Java arena?



Cheers,

Franck











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: dinsdag 3 januari 2006 20:58
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] open
sourced Flex app







Yeah, no one has become an evenagelist there, and those that
have vouch for Laszlo. It's extremely frustrating repeating myself to
those people, but it has to be done. The problem is, my background is
Flash, not Flex, so I'm not taken seriously by a lot of Java folks, nor am I
involved in their community. Someone needs to take the ball.











- Original Message - 



From: Franck
de Bruijn 





To: flexcoders@yahoogroups.com






Sent: Tuesday, January
03, 2006 2:04 PM





Subject: RE: [flexcoders]
open sourced Flex app











Hi Douglas,



Exactly the same reason why I chose for
web services. Its standards based, so youre free to go on the
back end.



I dont know what you exactly meant
with staying clear of frameworks, but I think using Hibernate is
a safe bet or maybe later EJB3 (which should be an easy migration). Im
personally not a fan of Spring, but its extremely hot in the Java
community. Im afraid that if youre not using Spring, you will not
be taken seriously.



This brings me to another point. I
personally have a JAVA background and I follow the community sites www.javalobby.org and www.theserverside.com closely. What I
notice is that Flex is not considered a serious alternative for building Rich
Internet Applications. A search on flex does not result in many
hits. Worse, people who vouch for flex are often barked at shamelessly. 



I dont know your intentions behind
your idea of starting an open source flex project. Could you tell us more? To
me it would be a great idea showing the JAVA community that there is a much
cleaner and leaner alternative for web applications than this
JSF/AJAX/_javascript_ stuff that is getting so much attention. One of the key
success factors would be to have your back-end state-of-the-art, showing the
JAVA people that you know your stuff. That means IMHO that you need to use
popular frameworks like Hibernate and Spring.



Does anyone have an explanation why Flex
is not taken seriously in JAVA land? Is there something I should know J?



Cheers,

Franck















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
Sent: dinsdag 3 januari 2006 19:27
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] open
sourced Flex app





yeah, seems better to target
Java as middle ware. Probably stay clear
of any frameworks though to make it lighter in
weight. Thanks for the
info...

 People say that web services are the slowest
alternative for interfacing,
 but I'm having very good experiences with it
with respect to performance.
 Can anyone tell me why remoting (AMF
framework?) is preferred? Does anyone
 have benchmarks on this?

Adobe has info on this and preach use of AMF for
speed. This is
talked about around this list a bit already...some
guy named Dave
might have said something :) I'm thinking
for an open sourced
project, web services is the way to go, should
make it easier to plug
in different middle-wares.

DK


On 1/3/06, Franck de Bruijn [EMAIL PROTECTED] wrote:



 Since you are writing an open source
application, I would stick as much as
 possible to open source frameworks and tools.



 I'm currently prototyping a Flex 2
application on the following software
 stack:

 Frontend: Flex 2
 Interface towards backend: Web services with
Apache Axis
 Middleware: Hibernate
 Wiring: plain java, but this is not so
modern. So, maybe you will prefer
 Spring.
 Database: any one you prefer. For the
prototype I'm using HSQLDB.
 Building: Maven 2
 Developing: Flex 2 Builder (standalone) and
Eclipse WTP (unfortunately they
 do not work together yet)



 For the build part I'm not satisfied yet.
Maybe I'll write my own Maven 2
 plugin for Flex 2 applications. I'll keep you
posted on that.



 People say that web services are the slowest
alternative for interfacing,
 but I'm having very good experiences with it
with respect to performance.
 Can anyone tell me why remoting (AMF
framework?) is preferred? Does anyone
 have benchmarks on this?



 Cheers,

 Franck



 


 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Douglas Knudsen
 Sent: dinsdag 3 januari 2006 15:41
 To: 

[flexcoders] Re: Placing an icon in a ComboBox

2006-01-03 Thread im_sean_s
JesterXL,

Thank you for the quick reply.  What I was looking for may not be 
possible.  I was looking for a way to add icons to add dynamic icons 
to a combobox either through pure MXML and/or action script.  In the 
example you sent, it appeared you were creating a new flash 
component.  Since I am not very familiar with Flash, it is difficult 
for me to follow your example.  Perhaps that is the problem, I 
assumed that in order to use Flex, there was not a requirement to be 
able to use flash.

Thanks again,
Sean

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

 If it's convoluted, let me know, and I'll modify it.
 http://www.jessewarden.com/archives/2005/12/dynamic_icons_i.html
 
 - Original Message - 
 From: im_sean_s [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, January 03, 2006 3:11 PM
 Subject: [flexcoders] Placing an icon in a ComboBox
 
 
 Can some one provide me with a straight forwad example on how to add
 dynamic icons to a ComboBox control?  I've found examples in flash 
and
 some in flex, however the ones that I've seen seem very convoluted. 
 granted I am new to flex, and do not have a flash background.  If
 anyone can provide me with a step-by-step example it would be 
greatly
 appreciated.
 
 Thank you,
 Sean
 
 
 
 
 
 --
 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] New to Flex, and mxml and getting an error trying to use RSS

2006-01-03 Thread Franck de Bruijn










Hi Malik,



It looks like your url is not pointing to
a real XML file. I tried your app and I got the message Error #1090: XML
parser failure: element is malformed.



Also be aware that you cannot point to any
arbitrary URL in the WWW, since Flex apps are only allowed to obtain resources
from the server they have been deployed from, unless there is a crossdomain.xml
file present granting you access to the resource.



Cheers,

Franck











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson
Sent: dinsdag 3 januari 2006 8:14
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New to Flex,
and mxml and getting an error trying to use RSS





Hi,

I am very new to Flex and trying to try some basic
tutorials in the 
help documentation that comes with Flex Builder 2
alpha.

I searched the mailing list/archives trying to
find out why I get the 
following error message but to no avail. The
error is below:

The processing instruction target matching
[xX][mM][IL] is not 
allowed.

My code is below and is basically from the
documentation that comes 
with the flex builder 2 alpha 1 version. The
main difference is I am 
trying to point it as a different url other than
the 
weblogs.macromedia.com/mchotin or whatever the
exact url is. I am 
trying to point it at a different URL.

?xml version=1.0
encoding=utf-8? 
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml

xmlns=*

initialize=feedRequest.send() 

 mx:HTTPService 

id=feedRequest 

url="" href="http://groups.yahoo.com/group/flexcoders/">http://groups.yahoo.com/group/flexcoders/

useProxy=false/

 mx:Canvas
width=100% height=100%

mx:Label x=20 y=50 
text={feedRequest.result.rss.channel.title}/

mx:DataGrid x=20 y=80 id=dgPosts
width=400

mx:columns

mx:DataGridColumn headerText=Column 1 
columnName=col1/

mx:DataGridColumn headerText=Column 2 
columnName=col2/

/mx:columns

/mx:DataGrid

mx:TextArea x=20 y=245 width=400 /

mx:Link x=20 y=300 label=Read Full Post
/
 /mx:Canvas 
/mx:Application















--
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] Placing an icon in a ComboBox

2006-01-03 Thread Brooks Andrus



As an alternative to using a cell renderer, you can use the approach outlined here to specify icons for a combo box dynamically.Brooks






--
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] FLEX app over HTTPS

2006-01-03 Thread Carson Hager





The problem is you're going to have to set that on every 
client machine. I don't find that to be acceptable. The problem definitely 
has to do with the no cache headers that are set by the web server when using 
SSL. Clearly this is web server dependent. For example, with Tomcat, these only 
get sent when using HTTPS and when the user is in an authenticated 
session. Tomcat has a way to disable this feature. I would think/hope that 
JBoss Portal offers the same degree of configurability.


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 Valy 
SivecSent: Tuesday, January 03, 2006 7:47 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] FLEX app over 
HTTPS

The application is deployed under JBoss Portal and is secured 
with OpenLdap.I'm having problems accessing the apps with IE under 
HTTPS. It works when use Mozilla Firefox but can't figure out what is wrong on 
IE.I have to find a spare box and edit the registry as Peter suggested 
me in a previous post.Thanks in advance,ValyCarson 
Hager [EMAIL PROTECTED] wrote:

  
  Are you using any kind of 
  authentication?
  
  
  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 Valy 
  SivecSent: Tuesday, January 03, 2006 6:08 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] FLEX app over 
  HTTPS
  
  
  Hello Flexcoders,
  
  I have developed a web flex application and I have some difficulties 
  accessing the app under HTTPS on IE. It looks that the remote object calls 
  under HTTPS are spinning without returning any result back. Am I missing any 
  configuration? 
  
  The application works fine under HTTP. 
  The same application works fine on Mozilla Firefox no matter if it's 
  accessed via HTTP or HTTPS.
  
  Thank in advance,
  Valy
  
  
  Yahoo! PhotosRing in the New Year with Photo 
  Calendars. Add photos, events, holidays, whatever. 


Yahoo! 
DSL Something to write home about. Just $16.99/mo. 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.



  









Re: [flexcoders] Re: Placing an icon in a ComboBox

2006-01-03 Thread JesterXL
There isn't a requirement, but converting that to Flex isn't easy either so 
I can see how the audience matters in this case.

:: goes to modify ::

- Original Message - 
From: im_sean_s [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 03, 2006 5:33 PM
Subject: [flexcoders] Re: Placing an icon in a ComboBox


JesterXL,

Thank you for the quick reply.  What I was looking for may not be
possible.  I was looking for a way to add icons to add dynamic icons
to a combobox either through pure MXML and/or action script.  In the
example you sent, it appeared you were creating a new flash
component.  Since I am not very familiar with Flash, it is difficult
for me to follow your example.  Perhaps that is the problem, I
assumed that in order to use Flex, there was not a requirement to be
able to use flash.

Thanks again,
Sean

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

 If it's convoluted, let me know, and I'll modify it.
 http://www.jessewarden.com/archives/2005/12/dynamic_icons_i.html

 - Original Message - 
 From: im_sean_s [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, January 03, 2006 3:11 PM
 Subject: [flexcoders] Placing an icon in a ComboBox


 Can some one provide me with a straight forwad example on how to add
 dynamic icons to a ComboBox control?  I've found examples in flash
and
 some in flex, however the ones that I've seen seem very convoluted.
 granted I am new to flex, and do not have a flash background.  If
 anyone can provide me with a step-by-step example it would be
greatly
 appreciated.

 Thank you,
 Sean





 --
 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: FLEX app over HTTPS

2006-01-03 Thread Dave Wolf

This sounds exactly like what we see with Tomcat when using HTTPS and
AUTH.  It will work fine in FFX but not at all in IE.

It is related to a specific cache-control header.  JBoss uses Tomcat
as its servlet container right?

In Tomcat the solution is the following.  In the web applications
META-INF directory, create a context.xml that includes;

context
 Valve
className=org.apache.catalina.authenticator.FormAuthenticator
  disableProxyCaching=false /
/context

If you are using BASIC instead of FORM change the above to

 Valve
className=org.apache.catalina.authenticator.BasicAuthenticator
  disableProxyCaching=false /

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY



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

 The application is deployed under JBoss Portal and is secured with
OpenLdap.
 
 I'm having problems accessing the apps with IE under HTTPS. It works
when use Mozilla Firefox but can't figure out what is wrong on IE.
 
 I have to find a spare box and edit the registry as Peter suggested
me in a previous post.
 
 Thanks in advance,
 Valy
 
 
 Carson Hager [EMAIL PROTECTED] wrote:   Are you using any kind
of  authentication?
   
   
  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 Valy  Sivec
 Sent: Tuesday, January 03, 2006 6:08 PM
 To:  flexcoders@yahoogroups.com
 Subject: [flexcoders] FLEX app over  HTTPS
 
 
  
   Hello Flexcoders,
   
  I have developed a web flex application and I have some
difficulties  accessing the app under HTTPS on IE. It looks that the
remote object calls under  HTTPS are spinning without returning any
result back. Am I missing any  configuration? 
   
  The application works fine under HTTP. 
  The same application works fine on Mozilla Firefox no matter if
it's  accessed via HTTP or HTTPS.
   
  Thank in advance,
  Valy
 
   
 
 -
  Yahoo! Photos
 Ring in the New Year with Photo  Calendars. Add photos, events,
holidays, whatever. 
 
   --
  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. 
  
 
 -
  
  
  
 
 
   
 -
  Yahoo! DSL Something to write home about. Just $16.99/mo. 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 
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] Auto detection of Flash Player Version

2006-01-03 Thread Kam-Wing Pang
Hi,

Our application currently checks for the minimum flash player version of
7.0.14 which is set in flex-config.xml:

flash-player
!-- enable/disable player detection --
enabletrue/enable

!-- require 7.0.14 --
!-- required player version --
required-version7/required-version
!-- 'dot' release of the required player --
required-major-revision0/required-major-revision
!-- minor revision number of the required player --
required-minor-revision14/required-minor-revision

!-- auto-install the player on windows and ie-only --
!-- When windows-auto-install is true, IE will attempt to download
the ActiveX player without
 user intervention.  When false, the user is directed to the
download url for upgrade. --
windows-auto-installtrue/windows-auto-install
!-- player upgrade page - users without the required Flash version
will be directed here --
 
download-url{context.root}/flex-internal/detection-kit/upgrade_flash/upgra
de_flash.html/download-url
 
download-https-url{context.root}/flex-internal/secure/detection-kit/upgrad
e_flash/upgrade_flash.html/download-https-url
!-- activex upgrade page - the location for downloading the ActiveX
player--
 
activex-download-urlhttp://download.macromedia.com/pub/shockwave/cabs/flas
h/swflash.cab/activex-download-url
 
activex-download-https-urlhttps://download.macromedia.com/pub/shockwave/ca
bs/flash/swflash.cab/activex-download-https-url
!-- plugin upgrade page - the location for downloading the Plugin
version of the player --
 
plugin-download-urlhttp://www.macromedia.com/go/getflashplayer/plugin-dow
nload-url
 
plugin-download-https-urlhttps://www.macromedia.com/go/getflashplayer/plu
gin-download-https-url
/flash-player

I then changed the version number to be 8.0.22, redeploy my application and
then my application doesn't load properly. The application shows the
initialisation bar, reaches the end and stops. When I revert back the
changes to check for 7.0.14, it works fine!

What is happening? How can a check for player version stop my application
from loading? I have installed 8.0.22 which I double checked on the
macromedia website! This happens on both Firefox and IE browsers.

Any help is appreciated,

Kam.



--
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: Placing an icon in a ComboBox

2006-01-03 Thread JesterXL
Ok, this is the best I can do.  There is a bug in List somewhere where it 
doesn't set the first ListItems cellRenderer to the class you pass in. 
Anyway, works for the most part. Sorry for such a big hassle.

http://dev.jessewarden.com/flex/ComboBoxIcons.zip

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 03, 2006 11:36 PM
Subject: Re: [flexcoders] Re: Placing an icon in a ComboBox


There isn't a requirement, but converting that to Flex isn't easy either so
I can see how the audience matters in this case.

:: goes to modify ::

- Original Message - 
From: im_sean_s [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 03, 2006 5:33 PM
Subject: [flexcoders] Re: Placing an icon in a ComboBox


JesterXL,

Thank you for the quick reply.  What I was looking for may not be
possible.  I was looking for a way to add icons to add dynamic icons
to a combobox either through pure MXML and/or action script.  In the
example you sent, it appeared you were creating a new flash
component.  Since I am not very familiar with Flash, it is difficult
for me to follow your example.  Perhaps that is the problem, I
assumed that in order to use Flex, there was not a requirement to be
able to use flash.

Thanks again,
Sean

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

 If it's convoluted, let me know, and I'll modify it.
 http://www.jessewarden.com/archives/2005/12/dynamic_icons_i.html

 - Original Message - 
 From: im_sean_s [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, January 03, 2006 3:11 PM
 Subject: [flexcoders] Placing an icon in a ComboBox


 Can some one provide me with a straight forwad example on how to add
 dynamic icons to a ComboBox control?  I've found examples in flash
and
 some in flex, however the ones that I've seen seem very convoluted.
 granted I am new to flex, and do not have a flash background.  If
 anyone can provide me with a step-by-step example it would be
greatly
 appreciated.

 Thank you,
 Sean





 --
 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] FLEX app over HTTPS

2006-01-03 Thread Anatole Tartakovsky





Valy,
 I would definetly trace https 
calls before doing modifications. Main reason -I have seen quite a few 
cases when proxy servers causevery weirdproblems. 

There is a long list of problems in HTTPS 
implementation between different servers/browsers, especially if you enable 
additional features like compression or custom headers. 
More often then no-cache one, I run into issues 
with proxy implementation of keep-alive that essentially ignores connection 
closeand hangs your connection for default "disconnect" time of few 
minutes. 

Get a good http tracing utility. I use TracePlus 
which is commercial one, but there are plenty of goodfree ones as well. 
Identify requests that are failing and post it along with couple of preceding 
calls. 

HTH,
Anatole



  - Original Message - 
  From: 
  Valy 
  Sivec 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, January 03, 2006 10:47 
  PM
  Subject: RE: [flexcoders] FLEX app over 
  HTTPS
  
  The application is deployed under JBoss Portal and is 
  secured with OpenLdap.I'm having problems accessing the apps with IE 
  under HTTPS. It works when use Mozilla Firefox but can't figure out what is 
  wrong on IE.I have to find a spare box and edit the registry as Peter 
  suggested me in a previous post.Thanks in 
  advance,ValyCarson Hager 
  [EMAIL PROTECTED] wrote:
  

Are you using any kind of 
authentication?


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 Valy 
SivecSent: Tuesday, January 03, 2006 6:08 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FLEX app over 
HTTPS


Hello Flexcoders,

I have developed a web flex application and I have some difficulties 
accessing the app under HTTPS on IE. It looks that the remote object calls 
under HTTPS are spinning without returning any result back. Am I missing any 
configuration? 

The application works fine under HTTP. 
The same application works fine on Mozilla Firefox no matter if it's 
accessed via HTTP or HTTPS.

Thank in advance,
Valy


Yahoo! PhotosRing in the New Year with Photo 
Calendars. Add photos, events, holidays, whatever. 
  
  
  Yahoo! 
  DSL Something to write home about. Just $16.99/mo. 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





  




  
  
  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.