RE: [flexcoders] the 3D engine for UI controls

2005-09-09 Thread Philippe Maegerman





What do you mean by 3D motion? z 
axis?

Philippe 
Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Igor 
CostaSent: vendredi 9 septembre 2005 6:38To: 
flexcoders@yahoogroups.comSubject: [flexcoders] the 3D engine for UI 
controls
Hi folksDoes anyone on list have tried to create some puzzle 
classes to add dynamic 3d Motion for some kind of UI, like 
mx:PanelI've try here just with myself but I couldn't get 
sucessfull, due the UI component was unrecognized and dashed.That's 
really may possible?I'm trying this because on the last presentation on 
MS for avalon I saw some cool 3D and 2D animation transitions between 
controls.If you have some information help me to try something cool to 
listThanks all.-- Igor Costawww.igorcosta.com





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





  




  
  
  YAHOO! GROUPS LINKS



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



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


RE: [flexcoders] DividerBox question

2005-09-09 Thread Philippe Maegerman





minWidth on your containers

?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
width="100%"mx:HDividedBox width="100%"mx:Canvas 
height="200" minWidth="200" backgroundColor="#003399"/mx:Canvas 
height="200" minWidth="200" 
backgroundColor="#00FF66"//mx:HDividedBox/mx:Application

Philippe 
Maegerman
Webdeveloper
+32 2 400 40 
39
+32 472 35 28 
10
Avoir des rêves, 
c'est continuer d'exister... 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio 
SalvadorSent: vendredi 9 septembre 2005 10:24To: 
flexcoders@yahoogroups.comSubject: [flexcoders] DividerBox 
question
Hi all,In a dividerBox component, how can I fix the size 
(height or width) of one "block" of the divider not be less than X? I mean, 
when autoLayout is true, I can move the slider and hide "blocks". I want to 
set a min value for each block to prevent "loosing blocks".Thaks in 
advance-- Alberto Albericio SalvadorAura S.A. 
SegurosDepartamento Informática





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



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


[flexcoders] Re: I have an overloaded Java method, How can I call an specific method using Re

2005-09-09 Thread Daniel Harfleet
if you were to map the java params to action script params, what would
the params still be different and if so, you may be able to work out
what param types you need to supply 

see the 'Converting data from Java to ActionScript' part of the live docs




--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
 I have a overloaded method in Java which I am calling using
RemoteObject.
 One version of the methods requires X parameters while the other
requires
 Y. I am trying to call the one with Y but it Flex tries to call the one
 with X by the default. How can I tell Flex which to call?
 
 Thanks
 

---
 This e-mail message (including attachments, if any) is intended for
the use
 of the individual or entity to which it is addressed and may contain
 information that is privileged, proprietary , confidential and
exempt from
 disclosure.  If you are not the intended recipient, you are notified
that
 any dissemination, distribution or copying of this communication is
 strictly prohibited.  If you have received this communication in error,
 please notify the sender and erase this e-mail message immediately.

---




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

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

* 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: not-explicitly-set VO attribute being lost when passed to CFC

2005-09-09 Thread Daniel Harfleet
can we see the source of you ListVO.as please ?


--- In flexcoders@yahoogroups.com, a8i364io [EMAIL PROTECTED] wrote:
 OK I think this is really weird.  I've been making good progress in 
 Cairngorm'ing an app I built but I've run across a problem.  I've got 
 this thingy that updates a database using a CFC that accepts a 
 structure as its only argument.  When I don't explicitly define each 
 of the attributes of the VO that I'm passing, they get lost somewhere 
 in the send between Flex and CF - I get this message back from the 
 CFC: 
 
 Element ATTRIBUTE_NAME is undefined in STRUCTURE_NAME
 
 I know that attribute is being passed all the way through the 
 Cairngorm architure because I can trace it until just before the CFC 
 call.
 
 here's the relevant code:
 
 ViewHelper.as 
 (if I uncomment that one line of code where I'm just setting the 
 attribute equal to itself the whole thing works like a charm!)
 
 
 function updateDL():Void
   {
   var eventObj = new Object();
   eventObj.dlToUpdate = new ListVO();
   eventObj.dlToUpdate = ModelLocator.selectedList;
   //eventObj.dlToUpdate.DLAlias = 
 eventObj.dlToUpdate.DLAlias;
   eventObj.dlToUpdate.OwnerAlias = DistListAdmin;
   eventObj.dlToUpdate.EditorAlias = System;
   EventBroadcaster.getInstance().broadcastEvent( 
 DLController.EVENT_CONCRETE_COMMAND, eventObj );
   closeForm();
   }
 
 
 ConcreteCommand.as
 
 
 public function execute( event : Event ):Void
   {
   var delegate : ListDelegate = new ListDelegate( 
 this );
   delegate.updateDL(event);
   }
 
 
 
 ListDelegate.as
 (the below alert shows the correct value whether the line
 of code in the ViewHelper.as file is commented-out or not)
 
 
 public function updateDL(event:Object) : Void
   {   
   var dlToUpdate:ListVO;
   dlToUpdate=event.data.dlToUpdate;
   mx.core.Application.alert(dlToUpdate.DLAlias);
   var call = service.updateDL({dlToUpdate:dlToUpdate});
   /...
   }
 
 
 
 
 AppHandler.CFC
 
 
 cffunction name=updateDL access=remote returntype=string
   hint=updates distribution list in 
 database and LDAP
   cfargument name=dlToUpdate type=struct 
 required=yes /
 
 
 
 ANY INSIGHT/HELP MUCH APPRECIATED!




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

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

* 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] Access column in datagrid like an array

2005-09-09 Thread micahknox
I have a datagrid that has a custom renderer as the first column and 
it is a checkbox. I got it off the flex samples I think. Anyway, I 
would like to have a function that loops through the datagrid rows and 
checks to see if that check box is checked for each row. I need this 
function to run from a button click event. Is this possible? 






 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Re: 3 problems about datagrid ...

2005-09-09 Thread xiankevin2005
thanks for your prompt.
but i think there must be something wrong with my code and the 
event cellClick cannot be caught by the listener.

when using 
  myGrid.addEventListener(cellClick, this);
or
  mx:DataGrid cellClick=trace('cell was clicked')/
what i can see on the sreen is the following:
Unknown attribute 'cellClick' on mx.controls.DataGrid

here attaches my CheckCellRenderer.as.

import mx.core.UIComponent;
import mx.controls.CheckBox;

[Event(cellClick)]
class CheckCellRenderer extends UIComponent
{

var check : MovieClip;
var listOwner : MovieClip;
var getCellIndex : Function;
var getDataLabel : Function;

function CheckCellRenderer()
{
}

function createChildren(Void) : Void
{
check = createClassObject(CheckBox, check, 1, 
{styleName:this, owner:this});
check.addEventListener(click, this);
size();
}

function size(Void) : Void
{
check.setSize(20, layoutHeight);
check._x = (layoutWidth-20)/2;
check._y = (layoutHeight-16)/2;
}

function setValue(str:String, item:Object, sel:Boolean) : 
Void
{
check._visible = (item!=undefined);
check.selected = item[getDataLabel()];
}

function getPreferredHeight(Void) : Number
{
return 16;
}

function getPreferredWidth(Void) : Number
{
return 20;
}

function click()
{
var currentIndex:Number = getCellIndex().itemIndex;
listOwner.dataProvider.editField(getCellIndex
().itemIndex, getDataLabel(), check.selected ? 1 : 0);
listOwner.dispatchEvent({type:cellClick, 
row:getCellIndex().itemIndex});
}
}



--- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] 
wrote:
 You could make the CheckCellRenderer dispatch an event on the 
DataGrid,
 i.e. inside your CheckCellRenderer:
 
   mx:CheckBox click=listOwner.dispatchEvent({type: 'cellClick', 
row:
 getCellIndex().itemIndex}) /
 
 This will make the DataGrid dispatch a cellClick event. To listen 
to
 this event you'll need to add an event listener on the DataGrid
 
   myGrid.addEventListener(cellClick, this);
 
 The clicked row will be available in the event object passed to the
 cellClick function, e.g.
 
   function cellClick(event:Object):Void {
 mx.controls.Alert.show(Row clicked:  + event.row);
   }
 
 Dirk.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of xiankevin2005
 Sent: Thursday, September 08, 2005 1:21 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: 3 problems about datagrid ...
 
 thanks for the reply...let me describe the problem i'm facing.
 assume that the dategrid is a song list with several pages and i 
use a
 CheckCellRenderer for a column.when user clicks the check box,the 
song
 will add to his play list and remove it for another click.
 i want to create a click handler in the mxml file,which functions to
 watch all the check boxes,and when one of them is clicked,i can get 
the
 number of the row.then append the selected song to the play list.
 
 i used to add some code in the click handler in
 CheckCellRenderer.as.like this:
 if(check.checked)
   listOwner._parent.addToPlayList(getCellIndex().itemIndex);
 else
   listOwner._parent.delFromPlayList(getCellIndex().itemIndex);
   
 it seems strange though can work properly...
 
 how can i do?
 
 
 about problem 3:
 to add a ... is just what i want.but how to implement this cell
 renderer?i've no idea...any prompt would be appreciated...
 
 thanks a lot.
 
 kevin
 
 
 
 
 
  Yahoo! Groups Sponsor 
~--
 Fair play? Video games influencing politics. Click and talk back!
 http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
 
~- 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links




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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




Re: [flexcoders] Re: checkbox in repeater tag

2005-09-09 Thread Husain Kitabi



Hi Rajesh
Thanks for your email
I dint get the last part though.

You can pretty much convert this to use with checkbox.

How to convert combobox into checkbox?

Regards
Husain




Rajesh Jayabalan [EMAIL PROTECTED] wrote:
Hi,I had the same problem, I found out that you cannot dynamicallycreate id in the repeater tag.When you create a checkbox in an array you will get an array of checkboxes and you can go thru them in a for loop to find their values.. Here I am doing it with a comboboxmx:Repeater id="att" dataProvider="{attArr.Attribute}" mx:HBox  mx:ComboBox id="itatt"dataProvider="{mx.utils.ArrayUtil.toArray(att.currentItem.Attvalues)}"width="150" height="18"/ /mx:HBox /mx:Repeaterand in the AS my for loop looks likevar atts:String;for (var i = 0; i  itatt.length;
 i++){selectedItem = itatt[i].selectedItem;if (selectedItem != null  selectedItem.label != null){if (atts == null){ atts = new String();}atts = atts+itatt[i].labelField;atts = atts+": ";atts = atts+selectedItem.label;if (i  itatt.length-1){ atts = atts+", ";}} You can pretty much convert this to use with checkbox.Rajesh J--- In flexcoders@yahoogroups.com, "relisanhard52"[EMAIL PROTECTED] wrote: Hi I have a repeater tag which goes through an array. In my tag, i create  a checkbox. I want my check box id to be created dynamically. I use  mx:CheckBox id="{list.currentItem.myObjectId}"  label="{list.currentItem.myObjectName}"/  But it throws an error saying id is not a valid identifier. Apparently  it
 does not throw any error on label and it works perfect.  Any ideas how to create the id dynamically.  Regards Husainhussain__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
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] Change text color on menu bar

2005-09-09 Thread Joe
I want to find out how I would change the the text color on a menubar
once one of its submenu items is selected. I know this can not be 
done using any of the style attributes on the menubar. I am trying to 
use the setStyle method. The problem I am having is that it's 
changing the text color of the whole menu bar and not just the one it 
needs to. Does any one know how accomplish this. Thanks

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

  mx:Script
  
function changecolor()
{ 
var whatcolor = menubar.getStyle(color)
menubar.setStyle(color,0xff);
alert(whatcolor) 
}

  /mx:Script 

  mx:Panel id=panel title=Menu Bar Panel height=35% 
width=30% 
mx:MenuBar id=menubar 
  change=this[event.menuItem.attributes.action]() 
  mx:dataProvider
mx:XML 
  menuitem label=MenuItem A
menuitem label=SubMenuItem 1-A action=changecolor /
menuitem label=SubMenuItem 2-A action=changecolor /
  /menuitem
  menuitem label=MenuItem b
menuitem label=SubMenuItem 1-b action=changecolor /
menuitem label=SubMenuItem 2-b action=changecolor /
  /menuitem
/mx:XML
  /mx:dataProvider
/mx:MenuBar 
  /mx:Panel
  
 
/mx:Application




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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Re: 3 problems about datagrid ...

2005-09-09 Thread xiankevin2005
sorry for my neglect...
the way that using   myGrid.addEventListener(cellClick, this)  
works correctly.but it seems that i cannot use the event handler 
cellClick directly in the mx:DataGrid tag.
thank you very much!


--- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] 
wrote:
 You could make the CheckCellRenderer dispatch an event on the 
DataGrid,
 i.e. inside your CheckCellRenderer:
 
   mx:CheckBox click=listOwner.dispatchEvent({type: 'cellClick', 
row:
 getCellIndex().itemIndex}) /
 
 This will make the DataGrid dispatch a cellClick event. To listen 
to
 this event you'll need to add an event listener on the DataGrid
 
   myGrid.addEventListener(cellClick, this);
 
 The clicked row will be available in the event object passed to the
 cellClick function, e.g.
 
   function cellClick(event:Object):Void {
 mx.controls.Alert.show(Row clicked:  + event.row);
   }
 
 Dirk.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of xiankevin2005
 Sent: Thursday, September 08, 2005 1:21 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: 3 problems about datagrid ...
 
 thanks for the reply...let me describe the problem i'm facing.
 assume that the dategrid is a song list with several pages and i 
use a
 CheckCellRenderer for a column.when user clicks the check box,the 
song
 will add to his play list and remove it for another click.
 i want to create a click handler in the mxml file,which functions to
 watch all the check boxes,and when one of them is clicked,i can get 
the
 number of the row.then append the selected song to the play list.
 
 i used to add some code in the click handler in
 CheckCellRenderer.as.like this:
 if(check.checked)
   listOwner._parent.addToPlayList(getCellIndex().itemIndex);
 else
   listOwner._parent.delFromPlayList(getCellIndex().itemIndex);
   
 it seems strange though can work properly...
 
 how can i do?
 
 
 about problem 3:
 to add a ... is just what i want.but how to implement this cell
 renderer?i've no idea...any prompt would be appreciated...
 
 thanks a lot.
 
 kevin
 
 
 
 
 
  Yahoo! Groups Sponsor 
~--
 Fair play? Video games influencing politics. Click and talk back!
 http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
 
~- 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links




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

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

* 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: 3 problems about datagrid ...

2005-09-09 Thread Dirk Eismann
Your code works, I've attached a simple test file.

You just have to make sure that you use 

  myGrid.addEventListener(cellClick, this);

and not by using the MXML syntax. Otheriwse the compiler will complain
about the fact that DataGrid is not known to dispatch a cellClick
event.

BTW, you don't need to add the [Event(cellClick] metadat to your
CheckCellRenderer class because it's not the CheckCellRenderer that
dispatches the event but the DataGrid.

Dirk.



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of xiankevin2005
Sent: Friday, September 09, 2005 3:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: 3 problems about datagrid ...

thanks for your prompt.
but i think there must be something wrong with my code and the event
cellClick cannot be caught by the listener.

when using
  myGrid.addEventListener(cellClick, this); or
  mx:DataGrid cellClick=trace('cell was clicked')/ what i can see on
the sreen is the following:
Unknown attribute 'cellClick' on mx.controls.DataGrid


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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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


testGrid.mxml
Description: testGrid.mxml


CheckCellRenderer.as
Description: CheckCellRenderer.as


RE: [flexcoders] Re: 3 problems about datagrid ...

2005-09-09 Thread Dirk Eismann
Yes, that's true. 

When assingning event handlers in MXML, the Flex compiler looks for the
Metadata tags defined in the different classes when compiling a SWF. Due
to the fact that the cellClick event is not defined inside the
DataGrid class, the compiler complains.

If you want, you could create a subclass of mx.controls.DataGrid and
define a [Event(cellClick)] in this subclass. Then, when you use your
DataGrid subclass in your MXML code, you'll be able to write 

  yourNamespace:DataGridSubclass cellClick=doSomething(event) /

Dirk.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of xiankevin2005
Sent: Friday, September 09, 2005 3:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: 3 problems about datagrid ...

sorry for my neglect...
the way that using   myGrid.addEventListener(cellClick, this)  
works correctly.but it seems that i cannot use the event handler
cellClick directly in the mx:DataGrid tag.
thank you very much!



 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Re: not-explicitly-set VO attribute being lost when passed to CFC

2005-09-09 Thread a8i364io
certainly - things have changed a little, though.  the ListVO has 
been refactored as a class (List.as) instead of a value object - I 
moved an array of value objects, ListMembershipVO, into that class 
because I needed to call some functions to update that array.

still experiencing the same problem, though - what seems even 
more weird is that I'm using the exact same functionality to INSERT a 
new List into the database and that works fine.  below is the 
relevant code - thanks so much for the help!

List.as
===

import org.nevis.cairngorm.vo.ValueObject;
import vo.ListMembershipVO;

class business.List
{
public function List()
{
listMembers = new Array();
}

public function addListMembership( theMembership : 
ListMembershipVO ) : Void
{
listMembers.addItem( theMembership );
}

public function removeListMember( theMembership : 
ListMembershipVO ) : Boolean
{
}

public var DLAlias : String;
public var DLName : String;
public var Desc : String;
public var DLType : String;
public var MembershipType : String; 
public var OwnerAlias : String;
public var ParentAlias : String;
public var UpdateDLActions : Boolean;
public var EditorAlias : String;
public var editFieldsEnabled : Boolean;
public var listMembers : Array;

}

---

ListMembershipVO.as
===

import org.nevis.cairngorm.vo.ValueObject;
class vo.ListMembershipVO implements ValueObject
{
public static var registered:Boolean = Object.registerClass
( vo.ListMembershipVO, ListMembershipVO );

public var sAMAccountName : String;
public var DLAlias : String;
public var MembershipType : String;
public var MemberType : String;
public var cn : String;
public var adspath : String;
public var imagePath : String;
public var UpdateDLActions : Number=0; 
}

---

ViewHelper.as
===

function updateDL():Void
{
ModelLocator.selectedList.DLAlias = 
ModelLocator.selectedList.DLAlias;
ModelLocator.selectedList.listMembers = 
ModelLocator.selectedList.listMembers;
ModelLocator.selectedList.OwnerAlias 
= DistListAdmin;
ModelLocator.selectedList.EditorAlias = System;

var dlToUpdate:List = new List();
dlToUpdate = ModelLocator.selectedList;

EventBroadcaster.getInstance().broadcastEvent( 
DLController.EVENT_COMMIT_UPDATED_LIST, {dlToUpdate:dlToUpdate} );
closeForm();
}

//this is the code that follows the exact same methodology and works 
fine without setting the ModelLocator.selectedList.DLAlias to itself

function insertDL():Void
{

var theDLAlias:String=stringUtilities.Replace
(stringUtilities.Replace(view.DLName.text, ,),\\,);

var dlToInsert:List = new List();
dlToInsert = ModelLocator.selectedList;

EventBroadcaster.getInstance().broadcastEvent( 
DLController.EVENT_COMMIT_NEW_LIST, {dlToInsert:dlToInsert} );
closeForm();
}

---

--- In flexcoders@yahoogroups.com, Daniel Harfleet [EMAIL PROTECTED] 
wrote:
 can we see the source of you ListVO.as please ?
 
 
 --- In flexcoders@yahoogroups.com, a8i364io [EMAIL PROTECTED] wrote:
  OK I think this is really weird.  I've been making good progress 
in 
  Cairngorm'ing an app I built but I've run across a problem.  I've 
got 
  this thingy that updates a database using a CFC that accepts a 
  structure as its only argument.  When I don't explicitly define 
each 
  of the attributes of the VO that I'm passing, they get lost 
somewhere 
  in the send between Flex and CF - I get this message back from 
the 
  CFC: 
  
  Element ATTRIBUTE_NAME is undefined in STRUCTURE_NAME
  
  I know that attribute is being passed all the way through the 
  Cairngorm architure because I can trace it until just before the 
CFC 
  call.
  
  here's the relevant code:
  
  ViewHelper.as 
  (if I uncomment that one line of code where I'm just setting the 
  attribute equal to itself the whole thing works like a charm!)
  
  
  function updateDL():Void
  {
  var eventObj = new Object();
  eventObj.dlToUpdate = new ListVO();
  eventObj.dlToUpdate = ModelLocator.selectedList;
  //eventObj.dlToUpdate.DLAlias = 
  eventObj.dlToUpdate.DLAlias;
  eventObj.dlToUpdate.OwnerAlias = DistListAdmin;
  eventObj.dlToUpdate.EditorAlias = System;
  

[flexcoders] Detecting right mouse click

2005-09-09 Thread parinda_b_patel
Hi All,

My application needs a different context menu for different nodes in a
tree. Tree has seven different type of nodes and based on the node
type property I want a different context menu. Not only that, When you
right click normally Flash player only displays the context menu
(without actually selecting that node). I want to select the node as
well on right click.

So I was wondering instead of inventing the wheels if somebody already
have some example out, I can look at that.

Any examples related to right mouse click and detecting right mouse
click is welcome.

Thanks





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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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





RE: [flexcoders] Access column in datagrid like an array

2005-09-09 Thread Tracy Spratt
Rather than loop over the rows and columns and try to get a reference to
the checkbox, I think you should simply iterate over the dataProvider
object array itself.

If you used the example in Flex Explorer, the cell renderer updates the
dataProvider on click, so the dataProvider will always have the value of
the checkbox.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of micahknox
Sent: Thursday, September 08, 2005 6:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Access column in datagrid like an array

I have a datagrid that has a custom renderer as the first column and 
it is a checkbox. I got it off the flex samples I think. Anyway, I 
would like to have a function that loops through the datagrid rows and 
checks to see if that check box is checked for each row. I need this 
function to run from a button click event. Is this possible? 







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



 






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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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





[flexcoders] Tween classes

2005-09-09 Thread Philippe Maegerman





I think the 
mx.transitions.Tween and mx.transitions.easing.* classes are not present in 
Flex, is there a way to use them?
I tried the 
following that works in Flash but not Flex:

var dummy = 
{val:''};var my_tween:Object = new mx.transitions.Tween(dummy, 'val', 
null, 0, 100, 1, true);my_tween.>_level0.infos_txt.text += 
dummy.val;}my_tween. 
{ _level0.infos_txt.text = 
'finished';};

Regards,

Philippe 
Maegerman






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



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


[flexcoders] Re: checkbox in repeater tag

2005-09-09 Thread Rajesh Jayabalan
Hi Husain,

 I need a combobox so I have a combobox in the repeater tag, you need
a checkbox so create a checkbox in the repeater, give it a static Id
like I have for the combo. 

 And in you AS function create a for loop like I have and check if the
checkbox is selected

Regards
Rajesh J

--- In flexcoders@yahoogroups.com, Husain Kitabi [EMAIL PROTECTED]
wrote:
 Hi Rajesh
 Thanks for your email
 I dint get the last part though.
  
 You can pretty much convert this to use with checkbox.
 
  
 
 How to convert combobox into checkbox?
 
  
 
 Regards
 
 Husain
 
  
 
  
 
  
 
  
 
 
 Rajesh Jayabalan [EMAIL PROTECTED] wrote:
 Hi,
 
 I had the same problem, I found out that you cannot dynamically
 create id in the repeater tag.
 
 When you create a checkbox in an array you will get an array of check
 boxes and you can go thru them in a for loop to find their values.. 
 
 Here I am doing it with a combobox
 
 mx:Repeater id=att dataProvider={attArr.Attribute}
 mx:HBox
   mx:ComboBox id=itatt
 dataProvider={mx.utils.ArrayUtil.toArray(att.currentItem.Attvalues)}
 width=150 height=18/
 /mx:HBox
 /mx:Repeater
 
 and in the AS my for loop looks like
 
 var atts:String;
 for (var i = 0; i  itatt.length; i++)
 {
 selectedItem = itatt[i].selectedItem;
 if (selectedItem != null  selectedItem.label != null)
 {
 if (atts == null)
 {
   atts = new String();
 }
 atts = atts+itatt[i].labelField;
 atts = atts+: ;
 atts = atts+selectedItem.label;
 if (i  itatt.length-1)
 {
   atts = atts+, ;
 }
 }  
 
 You can pretty much convert this to use with checkbox.
 
 Rajesh J
 --- In flexcoders@yahoogroups.com, relisanhard52
 [EMAIL PROTECTED] wrote:
  Hi
  I have a repeater tag which goes through an array. In my tag, i
create 
  a checkbox. I want my check box id to be created dynamically.
  I use
  
  mx:CheckBox id={list.currentItem.myObjectId} 
  label={list.currentItem.myObjectName}/
  
  But it throws an error saying id is not a valid identifier.
Apparently 
  it does not throw any error on label and it works perfect.
  
  Any ideas how to create the id dynamically.
  
  Regards
  Husain
 
 
 
 
 --
 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. 
 
 
 -
 
 
 
 
 hussain
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com





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

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

* 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] setting value to datefield text..

2005-09-09 Thread Greg Morphis
As per my previous post I've having problems trying to set the value
of the textbox of the datefield component. I've tried mouseUp,
mouseDown and offFocus.
Is there a way of doing this so it's seemingly unnoticable to the user?

I have a function that sets the selectedDate value..

function getNextSaturday(date)
{
// define variables
var cMonth;
var cYear;
var cDay;
var dayNum;
var tempDate;

// set variables
cMonth = (date.getMonth());
cYear = date.getFullYear();
cDay = date.getDate();
dayNum = date.getDay();

// create date object for the next Saturday of the date chosen
tempDate = new Date (cYear,cMonth,cDay + (6 - dayNum));

// set the datefield's value to your date object
daDate.selectedDate = tempDate;

//daDate.text=;
}   

I know it's the text value you want to change but every event I try
fails to change it.
offFocus works however the user has to click elsewhere to see it's effect.
The mouseDown and mouseUp, if they work they're changed back. I did
notice the mouseUp works AFTER you select the value and then reclick
on the datefield component.

Is there an event I'm missing?

Thanks!


-- 
Auxilium meum a Domino


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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




RE: [flexcoders] Re: checkbox in repeater tag

2005-09-09 Thread Gordon Smith
Husain, you didn't say what you were trying to do with your repeated
checkboxes that made you think you needed to put a different id on each
one.

But you should never need to do this; their id acts like an array so
that each one can be directly accessed. For example, if you have

mx:Repeater ...
mx:CheckBox id=cb/
/mx:Repeater

then you can directly access the first CheckBox as cb[0], the second as
cb[1], etc.

Does this let you do what you want?

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rajesh Jayabalan
Sent: Friday, September 09, 2005 10:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: checkbox in repeater tag

Hi Husain,

 I need a combobox so I have a combobox in the repeater tag, you need
a checkbox so create a checkbox in the repeater, give it a static Id
like I have for the combo. 

 And in you AS function create a for loop like I have and check if the
checkbox is selected

Regards
Rajesh J

--- In flexcoders@yahoogroups.com, Husain Kitabi [EMAIL PROTECTED]
wrote:
 Hi Rajesh
 Thanks for your email
 I dint get the last part though.
  
 You can pretty much convert this to use with checkbox.
 
  
 
 How to convert combobox into checkbox?
 
  
 
 Regards
 
 Husain
 
  
 
  
 
  
 
  
 
 
 Rajesh Jayabalan [EMAIL PROTECTED] wrote:
 Hi,
 
 I had the same problem, I found out that you cannot dynamically
 create id in the repeater tag.
 
 When you create a checkbox in an array you will get an array of check
 boxes and you can go thru them in a for loop to find their values.. 
 
 Here I am doing it with a combobox
 
 mx:Repeater id=att dataProvider={attArr.Attribute}
 mx:HBox
   mx:ComboBox id=itatt
 dataProvider={mx.utils.ArrayUtil.toArray(att.currentItem.Attvalues)}
 width=150 height=18/
 /mx:HBox
 /mx:Repeater
 
 and in the AS my for loop looks like
 
 var atts:String;
 for (var i = 0; i  itatt.length; i++)
 {
 selectedItem = itatt[i].selectedItem;
 if (selectedItem != null  selectedItem.label != null)
 {
 if (atts == null)
 {
   atts = new String();
 }
 atts = atts+itatt[i].labelField;
 atts = atts+: ;
 atts = atts+selectedItem.label;
 if (i  itatt.length-1)
 {
   atts = atts+, ;
 }
 }  
 
 You can pretty much convert this to use with checkbox.
 
 Rajesh J
 --- In flexcoders@yahoogroups.com, relisanhard52
 [EMAIL PROTECTED] wrote:
  Hi
  I have a repeater tag which goes through an array. In my tag, i
create 
  a checkbox. I want my check box id to be created dynamically.
  I use
  
  mx:CheckBox id={list.currentItem.myObjectId} 
  label={list.currentItem.myObjectName}/
  
  But it throws an error saying id is not a valid identifier.
Apparently 
  it does not throw any error on label and it works perfect.
  
  Any ideas how to create the id dynamically.
  
  Regards
  Husain
 
 
 
 
 --
 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. 
 
 
 -
 
 
 
 
 hussain
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com






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



 





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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




RE: [flexcoders] Detecting right mouse click

2005-09-09 Thread Tracy Spratt
I would like this myself, but, at least in  version 7, the Flash player
is always going to grab the right click.  You can add functionality to
the player's context menu, but I don't think that is what you want.
There is and example of that here:
http://www.cflex.net/showfiledetails.cfm?ObjectID=195

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of parinda_b_patel
Sent: Friday, September 09, 2005 12:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Detecting right mouse click

Hi All,

My application needs a different context menu for different nodes in a
tree. Tree has seven different type of nodes and based on the node
type property I want a different context menu. Not only that, When you
right click normally Flash player only displays the context menu
(without actually selecting that node). I want to select the node as
well on right click.

So I was wondering instead of inventing the wheels if somebody already
have some example out, I can look at that.

Any examples related to right mouse click and detecting right mouse
click is welcome.

Thanks






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



 







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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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





[flexcoders] pausing for given time

2005-09-09 Thread Krzysztof Szlapinski
hi,
i've got this - probably simple - problem, I want to pause my 
application for some time, and I cant find neither pause nor wait 
nor halt or whatever function that can perform this task.

here are the details:
I've got a label and a button, user clicks the button and the label text 
changes after 2 seconds

any ideas please
krzysiek


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

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

* 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: Linux Tomcat Proxy Pass from Apache-HOWTO

2005-09-09 Thread charlespaz1
--- In flexcoders@yahoogroups.com, J.A. Rottman [EMAIL PROTECTED] wrote:
 I installed the redhat apache version, and I am
 getting a bit closer to getting this right. I am now
 getting a 502 error from apache. 
 
 Bad Gateway
 
 The proxy server received an invalid response from an
 upstream server.
 
 here is my connector in server.xml
 Connector port=8081 proxyPort=80
 proxyName=fully.qualified.domain.name /

Change fully.qualified.domain.name to your actual domain name, or IP
address.




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

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

* 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: pausing application for given time

2005-09-09 Thread heybluez
Never tried this but maybe use setInterval() when the button is
pressed and then when that calls the function you do a clearInterval()
to stop the setInterval().

setInterval():
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=1662.htm#wp4023423

clearInterval():
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=1270.htm#wp3945377


--- In flexcoders@yahoogroups.com, Krzysztof Szlapinski [EMAIL PROTECTED]
wrote:
 hi,
 i've got this - probably simple - problem, I want to pause my 
 application for some time, and I cant find neither pause nor wait 
 nor halt or whatever function that can perform this task.
 
 here are the details:
 I've got a label and a button, user clicks the button and the label
text 
 changes after 2 seconds
 
 any ideas please
 krzysiek




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

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

* 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] Gotchas with mod-proxy/mod_jk Flex (Re: Linux Macromedia Flex on Tomcat HOWTO)

2005-09-09 Thread charlespaz1
Would you be willing to share your mod_jk configuration?  Everything
I've found has been either out of date or so grossly inaccurate to be
useless.

I realize that all requests to Tomcat through mod_proxy are
indentified as coming from the proxy server, however, for my current
development process, that is acceptable.  Eventually I'd like to get
mod_jk working, but that's a priority issue, and it isn't one right now.

--- In flexcoders@yahoogroups.com, Eric Raymond
[EMAIL PROTECTED] wrote:
 While I strongly recommend the use of Apache as a front end for Tomcat
 in production, the use of mod_jk and mod_proxy have some interesting
 implications with respect to Flex.  In my experience, Macromedia was
 not helpful in resolving these issues.
 
 IMHO, mod_jk is much better than mod_proxy.  It's a shame the
 documentation is so obscure ... but I think it is better now than it
 used to be.
 
 If you use mod_proxy, realize that anytime you try to reference the
 users IP address, you will be getting the address of the proxy server,
 not the user.  By the time the request gets through the flex proxy
 (not mod_proxy) to your servlet, the orignal info is gone.  In many
 cases you really want to know where your customers are coming from. 
 The way around this is to create a servlet filter that saves the
 original ip address before the flex proxy so that you can later
 retrieve it after the flex proxy hands the request to your service. 
 (Confusing eh?  There are two proxies here: the apache mod_proxy and
 the tomcat flex proxy).
 
 I believe there were some strange interactions between mod_proxy and
 ssl.  One that comes to mind is that the flex server thinks it is
 dealing with http so it generates an html mxml wrapper that references
 things via http.  This causes clients to get the some of the
 information on this page is insecure message.
 
 Now mod_jk has had problems with the flex proxy.  Your mileage may
 vary: 
 http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05870.html
 
 It's been a while but I think there may have been some other issues
 with HttpSevices (but I'm not sure on this).   We've worked around all
 of them, but we did have to deal with them unexpectedly.  Surely
 others must have run into these roadblocks as well.  Perhaps few are
 using the combination of tools we use: apache, mod_jk, tomcat, ssl,
 httpservice, custom authentication, etc.  I've always reported these
 to customer service and logged them as bugs, so perhaps they will be
 addressed in a future version of Flex.  Then again, these types of
 bugs so easily fall in a sea of finger pointing, non-trivial test case
 setups, and passing the buck.




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

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

* 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] Gotchas with mod-proxy/mod_jk Flex (Re: Linux Macromedia Flex on Tomcat HOWTO)

2005-09-09 Thread J.A. Rottman
something that I noticed while testing hte mod_proxy
config, when you are trying to use the samples that
come with flex, you are unable to view the source code
for the samples because there is an httpservice error.


I also would like to see a working config with mod_jk.
After the 6-7 times trying to get it to work, I was
never able to get it working properly.

--- charlespaz1 [EMAIL PROTECTED] wrote:

 Would you be willing to share your mod_jk
 configuration?  Everything
 I've found has been either out of date or so grossly
 inaccurate to be
 useless.
 
 I realize that all requests to Tomcat through
 mod_proxy are
 indentified as coming from the proxy server,
 however, for my current
 development process, that is acceptable.  Eventually
 I'd like to get
 mod_jk working, but that's a priority issue, and it
 isn't one right now.
 
 --- In flexcoders@yahoogroups.com, Eric Raymond
 [EMAIL PROTECTED] wrote:
  While I strongly recommend the use of Apache as a
 front end for Tomcat
  in production, the use of mod_jk and mod_proxy
 have some interesting
  implications with respect to Flex.  In my
 experience, Macromedia was
  not helpful in resolving these issues.
  
  IMHO, mod_jk is much better than mod_proxy.  It's
 a shame the
  documentation is so obscure ... but I think it is
 better now than it
  used to be.
  
  If you use mod_proxy, realize that anytime you try
 to reference the
  users IP address, you will be getting the address
 of the proxy server,
  not the user.  By the time the request gets
 through the flex proxy
  (not mod_proxy) to your servlet, the orignal info
 is gone.  In many
  cases you really want to know where your customers
 are coming from. 
  The way around this is to create a servlet filter
 that saves the
  original ip address before the flex proxy so that
 you can later
  retrieve it after the flex proxy hands the request
 to your service. 
  (Confusing eh?  There are two proxies here: the
 apache mod_proxy and
  the tomcat flex proxy).
  
  I believe there were some strange interactions
 between mod_proxy and
  ssl.  One that comes to mind is that the flex
 server thinks it is
  dealing with http so it generates an html mxml
 wrapper that references
  things via http.  This causes clients to get the
 some of the
  information on this page is insecure message.
  
  Now mod_jk has had problems with the flex proxy. 
 Your mileage may
  vary: 
 

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05870.html
  
  It's been a while but I think there may have been
 some other issues
  with HttpSevices (but I'm not sure on this).  
 We've worked around all
  of them, but we did have to deal with them
 unexpectedly.  Surely
  others must have run into these roadblocks as
 well.  Perhaps few are
  using the combination of tools we use: apache,
 mod_jk, tomcat, ssl,
  httpservice, custom authentication, etc.  I've
 always reported these
  to customer service and logged them as bugs, so
 perhaps they will be
  addressed in a future version of Flex.  Then
 again, these types of
  bugs so easily fall in a sea of finger pointing,
 non-trivial test case
  setups, and passing the buck.
 
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




Re: [flexcoders] Re: I have an overloaded Java method, How can I call an specific method using Re

2005-09-09 Thread Oscar . Cortes
I am not sure if I am following this idea. I declared the RemoteObject with
a method name, and then the arguments. Something like this:

.. Remote Object ...
  mx:method name=myInsertMethod
  mx:arguments
arg1idNumber/arg1
arg2idName/arg2
.
...
.
where idNumber and idName are variables declared in ActionScript. I
supplied all the parameters that my Y method is expecting but I still get
the same error message.

   Is this what you are talking about?, or should I use something like
RegisterClass?

Thanks,








 Daniel Harfleet To: flexcoders@yahoogroups.com   

 [EMAIL PROTECTED]   cc:   
   
  Subject:  [flexcoders] Re: I 
have an overloaded Java method, How can I call  
 Sent by:an specific method using Re

 flexcoders@yahoogroups.com 

 09/09/2005 04:51 AM

 Please respond to  

 flexcoders 









if you were to map the java params to action script params, what would
the params still be different and if so, you may be able to work out
what param types you need to supply

see the 'Converting data from Java to ActionScript' part of the live docs




--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
 I have a overloaded method in Java which I am calling using
RemoteObject.
 One version of the methods requires X parameters while the other
requires
 Y. I am trying to call the one with Y but it Flex tries to call the one
 with X by the default. How can I tell Flex which to call?

 Thanks


---
 This e-mail message (including attachments, if any) is intended for
the use
 of the individual or entity to which it is addressed and may contain
 information that is privileged, proprietary , confidential and
exempt from
 disclosure.  If you are not the intended recipient, you are notified
that
 any dissemination, distribution or copying of this communication is
 strictly prohibited.  If you have received this communication in error,
 please notify the sender and erase this e-mail message immediately.

---





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











---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

* Your use of Yahoo! Groups is subject to:

Re: [flexcoders] pausing for given time

2005-09-09 Thread Pranav

you can create a shim, which will cover all you application... so that 
user cant click/drag anything
or you can write your own custom  disable/enable methods

make sense?
Pranav
Krzysztof Szlapinski wrote:

hi,
i've got this - probably simple - problem, I want to pause my 
application for some time, and I cant find neither pause nor wait 
nor halt or whatever function that can perform this task.

here are the details:
I've got a label and a button, user clicks the button and the label text 
changes after 2 seconds

any ideas please
krzysiek



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



 



  




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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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





RE: [flexcoders] Many NEW JOBS are posted this week at www.netlifecareer.com REGISTER FREE APPLY FAST

2005-09-09 Thread Steven Webster





All  my apologies; I was a little trigger happy 
approving the posts just then; I've banned Mr Netlife Career from the list now, 
he'll not be posting again.



--
Steven WebsterTechnical 
Director
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 
6108Mobile: +44 (0)7977 216 223

This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately.Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Netlife 
CareerSent: 09 September 2005 18:50





--
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
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: modifying the datefield object...

2005-09-09 Thread Greg Morphis
I got it.. I modified my function to the below and here it is for
anyone to use if you need.

function getNextSaturday(date)
{
// define variables
var cMonth;
var cYear;
var cDay;
var dayNum;
var tempDate;
var days;
// set variables
cMonth = (date.getMonth());
cYear = date.getFullYear();
cDay = date.getDate();
dayNum = date.getDay();
// create date object for the next Saturday of the date chosen
tempDate = new Date (cYear,cMonth,cDay + (6 - dayNum));
// set the datefield's value to your date object
daDate.selectedDate = tempDate;

alert(daDate.selectedDate);
   
}   


and you can call it like...

mx:DateField id=daDate change=getNextSaturday(event.target.selectedDate) /









On 9/8/05, Greg Morphis [EMAIL PROTECTED] wrote:
 Well, I've gotten this far...
 function displayDate(date)
 {
var cMonth;
var cYear;
var cDay;
var dayNum;
 var tempDate;
 
cMonth = (date.getMonth()) + 1;
cYear = date.getFullYear();
cDay = date.getDate();
dayNum = date.getDay();
 if(dayNum != 6) {
 cDay = (date.getDate()) + (6 - dayNum);
 }
 fooDate.text = (Year: + cYear +  Month: + cMonth +  
 Day: + cDay);
 daDate.selectedDate = new Date(cYear,cMonth,cDay);
 
 }
 
 
 However daDate doesnt show the value of fooDate, it remains showing
 whatever I click on.
 For example; I click on Sept 13th 2005, the label shows the correct
 value of Year:2005 Month:9 Day:17 or Sept 17th 2005, however the
 datefield value remains Sept 13th 2005.
 
 Livedocs says it accepts a date object, is that not one?
 daDate.selectedDate = new Date(cYear,cMonth,cDay); ??
 
 Thanks!
 
 
 
 
 
 On 9/8/05, Greg Morphis [EMAIL PROTECTED] wrote:
  I've found that I can use this to get the date
   change=displayDate(event.target.selectedDate)
 
 
 
 
 
  On 9/8/05, Greg Morphis [EMAIL PROTECTED] wrote:
   Is it possible to capture/modify the value that shows in the textbox
   of the datefield object?
   I've tried .value, .text and looked at the livedocs (didnt see .value
   or .text or anything usable).
   What I'm trying to do is make it to where if someone clicks on a date
   (9/20/2005) then the date that shows is that week's Saturday
   (9/24/2005).
   The easiest way of doing this I found is just using
   disabledDays=[0,1,2,3,4,5] to disable all of the days except
   Saturday, which works fine, no overhead, etc.. The user would just
   select the Saturday that applies.
   But is there a way I can pass that selected value to an actionscript
   function, get that week's Saturday and pass it back to the DateField?
   From the looks of it it would be difficult, you'd have to parse the
   date shown ie 20 Sep 2005 to get the day, month, year and then preform
   the fuction to get the following Saturday 9/24/2005 and then parse it
   back to the format Flex takes 24 Sep 2005 and lastly populate the text
   box with that value.
   What are your ideas?
  
  
   --
   Auxilium meum a Domino
  
 
 
  --
  Auxilium meum a Domino
 
 
 
 --
 Auxilium meum a Domino
 


-- 
Auxilium meum a Domino




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

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

* 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] HeadColors doesn't work in Panel properly

2005-09-09 Thread Tansht
Hi, there
I tried in vain to use the headerColors in the panel. After I deployed 
it onto J2EE server, the page shows the following error 
message. Failed to parse Array: 0xCFE4FB or Failed to parse Array: 
#CFE4FB Could anyone please tell me how to solve it? 
Best Wishes
David









 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




Re: [flexcoders] Gotchas with mod-proxy/mod_jk Flex (Re: Linux Macromedia Flex on Tomcat HOWTO)

2005-09-09 Thread Cary Newfeldt






you might want to
try mod_jk2 if your using apache2. I have that working with an
installation of flex on a freebsd box. 

freebsd install - your mileage may vary -- Yeah I know, not Linux,
sorry :) 

Install mod_jk2 


  # cd
/usr/ports/www/mod_jk2
# make install clean
  

Configured
Mod_jk2

Uncommented the
following to the httpd.conf file for apache2 to load mod_jk2. 
#
LoadModule jk2_module libexec/apache2/mod_jk2.so

Added the following to the httpd.conf file for apache2 to access the workers2.properties file.

IfModule mod_jk2.c
   	 JkSet config:file /usr/local/etc/apache2/workers2.properties
/IfModule
Created the
workers2.properties file /usr/local/etc/apache2/workers2.properties
[logger]
  level=DEBUG
  
  [config:]
  file=${serverRoot}/etc/apache2/workers2.properties
  debug=0
  debugEnv=0
  
  [shm:]
  info=Scoreboard.
Required for reconfiguration and status with multiprocess servers
  file=/var/log/jk2.shm
  size=100
  debug=0
  disabled=0
  
  [lb:lb]
  
  [channel.socket:yourServerAddress:8009]
  port=8009
  host=yourServerAddress
  
  [ajp13:yourServerAddress:8009]
  channel=channel.socket:yourServerAddress:8009
  group=lb
  
  [uri:/jsp-examples/*]
  group=lb
Installing
Flex

[1] Copy
flex-15-lin.bin file to server unzip -d flex flex-15-lin.bin

[2] copied
flex.war.zip to /usr/local/jakarta-tomcat5.0/webapps/flex


[3] copied
samples.war.zip to /usr/local/jakarta-tomcat5.0/webapps/samples

[4] unzipped
each in to the folders above. 
[5] added
samples and flex to workers2.properties file. 

  vi /usr/local/etc/apache2/workers2.properties

   [uri:/flex/*]
   group=lb
  
   [uri:/samples/*]
   group=lb

[6] restarted tomcat server

   # cd /usr/local/etc/rc.d/
   # ./020.jakarta-tomcat50.sh stop
   # ./020.jakarta-tomcat50.sh start

Hope this works; been a while since I last did this. The server works great, 
but I find that is sometime craps on out me and I have to restart the tomcat 
server from time to time. This is not recommended for a production server. 

cheers, 

Cary. 

charlespaz1 wrote:

  Would you be willing to share your mod_jk configuration?  Everything
I've found has been either out of date or so grossly inaccurate to be
useless.

I realize that all requests to Tomcat through mod_proxy are
indentified as coming from the proxy server, however, for my current
development process, that is acceptable.  Eventually I'd like to get
mod_jk working, but that's a priority issue, and it isn't one right now.

--- In flexcoders@yahoogroups.com, "Eric Raymond"
[EMAIL PROTECTED] wrote:
  
  
While I strongly recommend the use of Apache as a front end for Tomcat
in production, the use of mod_jk and mod_proxy have some interesting
implications with respect to Flex.  In my experience, Macromedia was
not helpful in resolving these issues.

IMHO, mod_jk is much better than mod_proxy.  It's a shame the
documentation is so obscure ... but I think it is better now than it
used to be.

If you use mod_proxy, realize that anytime you try to reference the
users IP address, you will be getting the address of the proxy server,
not the user.  By the time the request gets through the flex proxy
(not mod_proxy) to your servlet, the orignal info is gone.  In many
cases you really want to know where your customers are coming from. 
The way around this is to create a servlet filter that saves the
original ip address before the flex proxy so that you can later
retrieve it after the flex proxy hands the request to your service. 
(Confusing eh?  There are two proxies here: the apache mod_proxy and
the tomcat flex proxy).

I believe there were some strange interactions between mod_proxy and
ssl.  One that comes to mind is that the flex server thinks it is
dealing with http so it generates an html mxml wrapper that references
things via http.  This causes clients to get the "some of the
information on this page is insecure" message.

Now mod_jk has had problems with the flex proxy.  Your mileage may
vary: 
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05870.html

It's been a while but I think there may have been some other issues
with HttpSevices (but I'm not sure on this).   We've worked around all
of them, but we did have to deal with them unexpectedly.  Surely
others must have run into these roadblocks as well.  Perhaps few are
using the combination of tools we use: apache, mod_jk, tomcat, ssl,
httpservice, custom authentication, etc.  I've always reported these
to customer service and logged them as bugs, so perhaps they will be
addressed in a future version of Flex.  Then again, these types of
bugs so easily fall in a sea of finger pointing, non-trivial test case
setups, and passing the buck.

  
  



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


[flexcoders] Bug or am I missing something??? Flex on tomcat connecting to ATG web service

2005-09-09 Thread Bob Remeika
I am running tomcat 5.5.7 locally with a flex application deployed to
one of my context roots.  I am attempting to communicate with an ATG
web service using named services in flex.  The problem that I am
experiencing seems to send flex into an endless loop as well as
results in what looks like a DOS attack to the ATG server.

It looks like flex requests the WSDL, and keeps requesting it over and
over again.  I don't know what the exact cause might be, but my guess
is that there might be something that flex doesn't like about the ATG
endpoint.

Oddly, I can connect to the very same web service when I am NOT using
*named* services but rather when I specify the URI to the WSDL on the
fly.  This is why I think it's completely 100% possible that I am
missing something on the config.

I have also verified that I can connect to other web services using
named services by successfully connecting to and retrieving values
from the GlobalWeatherWS defined in the named services portion of my
flex-config.xml shown below.

Debugging info is below complete with MXML code, flex-config.xml,
tomcat debug output, and the ATG WSDL.  Please let me know if I can
provide any more information that might help to shed more light on the
situation.

Thanks and Best Regards,
Bob


Here is the MXML code that I used to connect that *works*

mx:WebService id=wsProof

wsdl=http://10.1.144.111:8080/repository/generic/
getRepositoryItem?WSDL
result=handleEvent(event)
fault=handleEvent(event)
port=GetRepositoryItemSEIPort /


Here is the code that results in the endless loop

mx:WebService id=wsProof
serviceName=GetRepositoryItemWS
result=handleEvent(event)
fault=handleEvent(event)
port=GetRepositoryItemSEIPort /


Here is the MXML for the global weather named service that works

mx:WebService id=globalWeatherService
serviceName=GlobalWeatherWS
load=mx.controls.Alert.show('loaded')
result=gwHandleEvent(event)
fault=gwHandleEvent(event)
port=StationInfo
/mx:WebService


Here is the web service proxy portion of my flex-config.xml:

web-service-proxy
!-- all locations may be specified as a URL relative to the
web server document root,
 or a complete http URL; to specify relative to the
context root, please
 include {context.root}
 NOTE: do not use a leading slash with {context.root} --

!-- determine whether the proxy is used or bypassed.
 client - up to the client via the useProxy attribute on
the WebService, if unspecified will use the proxy
 always - always use the proxy, useProxy='false' on the
WebService will generate a Warning
 never  - never use the proxy, useProxy='true' on
WebService will generate a Warning
 --
proxy-use-policyclient/proxy-use-policy

!-- the web service proxy to use when calling a page over
http or --
!-- when protocol is specified as http --
url{context.root}/flashproxy/url
!-- the web service proxy to use when calling a page over
https or --
!-- when protocol is specified as https --
https-url{context.root}/flashproxy/https-url

!-- use proxy specified via flashvars or query parameter
?proxyURL=XXX --
allow-url-overridefalse/allow-url-override

!-- the external http proxy that all requests should go
through. --
!-- location is the servername and port to use as the http
proxy.  --
!-- username and password should only be specified when
basic --
!-- authentication is being used for security on the proxy.
--
!-- nt-domain should only be specified (along with username
and password) --
!-- if NTLM authentication is being used on the proxy. --
!-- external-proxy --
  !-- locationserver:8080/location --
  !-- usernameusername/username --
  !-- passwordpwd/password --
  !-- nt-domaindomain/nt-domain --  
!-- /external-proxy --

!-- Use a pooled connection manager that allows the given
number of --
!-- connections.  The default is 50.  Specify 0 to turn off
this feature --
!-- max-connections50/max-connections --

!-- Whether to accept self-signed certificates.  Dangerous in
production --
allow-lax-sslfalse/allow-lax-ssl

!-- a list of urls 

[flexcoders] Re: Gotchas with mod-proxy/mod_jk Flex

2005-09-09 Thread charlespaz1
--- In flexcoders@yahoogroups.com, J.A. Rottman [EMAIL PROTECTED] wrote:
 something that I noticed while testing hte mod_proxy
 config, when you are trying to use the samples that
 come with flex, you are unable to view the source code
 for the samples because there is an httpservice error.

I've not experienced that using the exact steps in my HOWTO.  I have
the samples application deployed and everything works fine through
mod_proxy. HTTPService, Web Services and Remote Objects, without any
modifications whatsoever.

The only drawback is all requests come from 127.0.0.1

I've got a block of time and I'm running through another attempt at
getting mod_jk working.  If I am successful, I'll post a HOWTO for it.




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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Gotchas with mod-proxy/mod_jk Flex (Re: Linux Macromedia Flex on Tomcat HOWTO)

2005-09-09 Thread charlespaz1
Thanks for the tip, however, This is not recommended for a production
server. defeats the reason I want to get mod_jk working, for a
production server.  Also mod_jk2 is deprecated, so I'll keep punching
away at mod_jk until I make it work.

--- In flexcoders@yahoogroups.com, Cary Newfeldt [EMAIL PROTECTED] wrote:
 you might want to try mod_jk2 if your using apache2. I have that working
 with an installation of flex on a freebsd box.
 
 freebsd install - your mileage may vary -- Yeah I know, not Linux,
sorry :)
 
 Install mod_jk2
 
 # cd /usr/ports/www/mod_jk2
 # make install clean
 
 Configured Mod_jk2
 
 Uncommented the following to the httpd.conf file for apache2 to load
 mod_jk2.
 
 # LoadModule jk2_module libexec/apache2/mod_jk2.so
 
 Added the following to the httpd.conf file for apache2 to access the
workers2.properties file.
 
 IfModule mod_jk2.c
JkSet config:file /usr/local/etc/apache2/workers2.properties
 /IfModule
 
 Created the workers2.properties file
 /usr/local/etc/apache2/workers2.properties
 
 [logger]
 level=DEBUG
 
 [config:]
 file=${serverRoot}/etc/apache2/workers2.properties
 debug=0
 debugEnv=0
 
 [shm:]
 info=Scoreboard. Required for reconfiguration and status with
 multiprocess servers
 file=/var/log/jk2.shm
 size=100
 debug=0
 disabled=0
 
 [lb:lb]
 
 [channel.socket:yourServerAddress:8009]
 port=8009
 host=yourServerAddress
 
 [ajp13:yourServerAddress:8009]
 channel=channel.socket:yourServerAddress:8009
 group=lb
 
 [uri:/jsp-examples/*]
 group=lb
 
 *Installing Flex *
 
 [1] Copy flex-15-lin.bin file to server unzip -d flex flex-15-lin.bin
 
 [2] copied flex.war.zip to /usr/local/jakarta-tomcat5.0/webapps/flex
 
 [3] copied samples.war.zip to
/usr/local/jakarta-tomcat5.0/webapps/samples
 
 [4] unzipped each in to the folders above.
 
 [5] added samples and flex to workers2.properties file.
 
 vi /usr/local/etc/apache2/workers2.properties
 
 [uri:/flex/*]
 group=lb
 
 [uri:/samples/*]
 group=lb
 
 [6] restarted tomcat server
 
# cd /usr/local/etc/rc.d/
# ./020.jakarta-tomcat50.sh stop
# ./020.jakarta-tomcat50.sh start
 
 Hope this works; been a while since I last did this. The server
works great, 
 but I find that is sometime craps on out me and I have to restart
the tomcat 
 server from time to time. This is not recommended for a production
server. 
 
 cheers, 
 
 Cary. 





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

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

* 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] Invalidate Question

2005-09-09 Thread kreddington1
I was hoping that the invalidate would rerun the onInit() when it 
executed the draw, but I since it doesn't what I tried was to run 
another function that empties all the text in each of the text 
inputs.  What I can't figure out how to do now is to clear the 
Validators.  When the user opens the form afer the fields have been 
emptied of all text, the textinput boxes are still outlined in red 
because they are empty.  How can I get the validators to turn off 
until the users starts to fill out the form again?

Thank you!!

--- In flexcoders@yahoogroups.com, Manish Jethani 
[EMAIL PROTECTED] wrote:
On 9/2/05, Kim Reddington [EMAIL PROTECTED] wrote:

 I have a component that is part of a viewStack.  The component 
contains a
 form with fields and there is validation set up for these fields.  
When the
 viewStack changes I want the fields to empty and the validation to 
be
 disabled.  Essentially want the whole screen to refresh when the 
user goes
 back into the component.  I am using invalidate() to force a 
redraw, which I
 am hoping would re-run the onInit() function, but the onInit() 
function is
 not getting re-called. 

invalidate doesn't lead to a call to onInit.  You should call some
kind of a 'resetFields' function directly.

invalidate leads to a call to 'draw', BTW.
--- End forwarded message ---





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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





[flexcoders] Flash Remoting.

2005-09-09 Thread Omar Ramos



Hi list,

I know there is a way to hide the properties of a class when making a remoteObject call and sending a TypedObject(Class). Anyone remember what was the syntax for it? Something like _props. Any help will be apreciated. Thanks!



Omar Ramos
System Developer






--
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
  
  
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] Export DataGrid to Excel via HTML on Clipboard

2005-09-09 Thread Tracy Spratt
Title: Export DataGrid to Excel via HTML on Clipboard








A solution to the How can I export to Excel? problem, by bdeen, as posted on MM Flex forum.

http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=298

Tracy







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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] RE: Gotchas with mod-proxy/mod_jk Flex

2005-09-09 Thread Eric Raymond
Apache Conf File:

LoadModule jk_module modules/mod_jk.so

JkWorkersFile /usr/local/tomcat/conf/workers.properties
JkLogFile /usr/local/tomcat/logs/jk.log
JkShmFile logs/jk.shm 
JkLogLevel warn

# Note : Change webapp to the name of your web application

Alias /webapp /usr/local/tomcat/webapps/webapp
Directory  /usr/local/tomcat/webapps/webapp
Options Indexes FollowSymLinks
DirectoryIndex index.html index.jsp
/Directory


# If you don't add at least one mount, you get nothing:

JkMount /webapp/*.jsp ajp13
JkMount /webapp/*.mxml ajp13
JkMount /webapp/flex* ajp13
JkMount /webapp/flash* ajp13


#Note: The above is intended to allow tomcat to serve the dynamic
#  pages and apache to serve the static pages/images.
#  But it is much easier to simply let tomcat serve everything  in 
#   the webapp initially.  The following line allows this.

JkMount /webapp/* ajp13



# workers.properties -
#
# This file provides jk derived plugins with the needed information to
# connect to the different tomcat workers.  Note that the distributed
# version of this file requires modification before it is usable by a
# plugin.
#
# As a general note, the characters $( and ) are used internally to define
# macros. Do not use them in your own configuration!!!
#
# Whenever you see a set of lines such as:
# x=value
# y=$(x)\something
#
# the final value for y will be value\something
#
# Normaly all you will need to do is un-comment and modify the first three
# properties, i.e. workers.tomcat_home, workers.java_home and ps.
# Most of the configuration is derived from these.
#
# When you are done updating workers.tomcat_home, workers.java_home and ps
# you should have 3 workers configured:
#
# - An ajp12 worker that connects to localhost:8007
# - An ajp13 worker that connects to localhost:8009
# - A jni inprocess worker.
# - A load balancer worker
#
# However by default the plugins will only use the ajp12 worker. To have
# the plugins use other workers you should modify the worker.list
property.
#
#

# OPTIONS ( very important for jni mode ) 

#
# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
workers.tomcat_home=/usr/local/tomcat

#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=/usr/local/java

#
# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=/

#
#-- ADVANCED MODE 
#-
#

#
#-- DEFAULT worket list --
#-
#
#
# The workers that your plugins should create and work with
#
# Add 'inprocess' if you want JNI connector 
worker.list=ajp13
# , inprocess


#
#-- DEFAULT ajp12 WORKER DEFINITION --
#-
#

#
# Defining a worker named ajp12 and of type ajp12
# Note that the name and the type do not have to match.
#
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#   lbfactor must be  0
#   Low lbfactor means less work done by the worker.
worker.ajp12.lbfactor=1

#
#-- DEFAULT ajp13 WORKER DEFINITION --
#-
#

#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#   lbfactor must be  0
#   Low lbfactor means less work done by the worker.
worker.ajp13.lbfactor=1

#
# Specify the size of the open connection cache.
#worker.ajp13.cachesize

#
#-- DEFAULT LOAD BALANCER WORKER DEFINITION --
#-
#

#
# The loadbalancer (type lb) workers perform wighted round-robin
# load balancing with sticky sessions.
# Note:
#   If a worker dies, the load balancer will check its state
#once in a while. Until then all work is redirected to peer
#workers.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13


#
#-- DEFAULT JNI WORKER DEFINITION-
#-
#

#
# Defining a worker named inprocess and of type jni
# Note that the name and the type do not have to match.
#
worker.inprocess.type=jni

#
#-- CLASSPATH DEFINITION -

[flexcoders] Gotchas with mod-proxy/mod_jk Flex (Re: Linux Macromedia Flex on Tomcat HOWTO)

2005-09-09 Thread Eric Raymond
--- In flexcoders@yahoogroups.com, J.A. Rottman [EMAIL PROTECTED] wrote:
 something that I noticed while testing hte mod_proxy
 config, when you are trying to use the samples that
 come with flex, you are unable to view the source code
 for the samples because there is an httpservice error.
 
 
 I also would like to see a working config with mod_jk.
 After the 6-7 times trying to get it to work, I was
 never able to get it working properly.
 
 --- charlespaz1 [EMAIL PROTECTED] wrote:
 
  Would you be willing to share your mod_jk
  configuration?  Everything
  I've found has been either out of date or so grossly
  inaccurate to be
  useless.
  
  I realize that all requests to Tomcat through
  mod_proxy are
  indentified as coming from the proxy server,
  however, for my current
  development process, that is acceptable.  Eventually
  I'd like to get
  mod_jk working, but that's a priority issue, and it
  isn't one right now.
  
  --- In flexcoders@yahoogroups.com, Eric Raymond
  [EMAIL PROTECTED] wrote:
   While I strongly recommend the use of Apache as a
  front end for Tomcat
   in production, the use of mod_jk and mod_proxy
  have some interesting
   implications with respect to Flex.  In my
  experience, Macromedia was
   not helpful in resolving these issues.
   
   IMHO, mod_jk is much better than mod_proxy.  It's
  a shame the
   documentation is so obscure ... but I think it is
  better now than it
   used to be.
   
   If you use mod_proxy, realize that anytime you try
  to reference the
   users IP address, you will be getting the address
  of the proxy server,
   not the user.  By the time the request gets
  through the flex proxy
   (not mod_proxy) to your servlet, the orignal info
  is gone.  In many
   cases you really want to know where your customers
  are coming from. 
   The way around this is to create a servlet filter
  that saves the
   original ip address before the flex proxy so that
  you can later
   retrieve it after the flex proxy hands the request
  to your service. 
   (Confusing eh?  There are two proxies here: the
  apache mod_proxy and
   the tomcat flex proxy).
   
   I believe there were some strange interactions
  between mod_proxy and
   ssl.  One that comes to mind is that the flex
  server thinks it is
   dealing with http so it generates an html mxml
  wrapper that references
   things via http.  This causes clients to get the
  some of the
   information on this page is insecure message.
   
   Now mod_jk has had problems with the flex proxy. 
  Your mileage may
   vary: 
  
 
 http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05870.html
   
   It's been a while but I think there may have been
  some other issues
   with HttpSevices (but I'm not sure on this).  
  We've worked around all
   of them, but we did have to deal with them
  unexpectedly.  Surely
   others must have run into these roadblocks as
  well.  Perhaps few are
   using the combination of tools we use: apache,
  mod_jk, tomcat, ssl,
   httpservice, custom authentication, etc.  I've
  always reported these
   to customer service and logged them as bugs, so
  perhaps they will be
   addressed in a future version of Flex.  Then
  again, these types of
   bugs so easily fall in a sea of finger pointing,
  non-trivial test case
   setups, and passing the buck.
  
  
  
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Re: Gotchas with mod-proxy/mod_jk Flex

2005-09-09 Thread charlespaz1
Thanks, although immediately after I posted that, I tried once more
and got it to work.  HOWTO posted soon.

--- In flexcoders@yahoogroups.com, Eric Raymond
[EMAIL PROTECTED] wrote:
 Apache Conf File:





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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





[flexcoders] Tomcat and Apache through mod_jk on Linux-HOWTO

2005-09-09 Thread charlespaz1
Finally figured out where I was going wrong with mod_jk.  Tested with
5 servers and I feel I have it.

http://members.cox.net/midian/howto/apache+tomcat+mod_jk.htm

Comments and critiques welcome.




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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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





RE: [flexcoders] HeadColors doesn't work in Panel properly

2005-09-09 Thread Ashish Goyal

headerColors property expects an array of two color values. If you want
header color just to be a single color then you can write it as

headerColors=[0xCFE4FB, 0xCFE4FB] 
 
-Ashish


 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tansht
 Sent: Thursday, September 08, 2005 6:55 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] HeadColors doesn't work in Panel properly
 
 Hi, there
 I tried in vain to use the headerColors in the panel. After I 
 deployed 
 it onto J2EE server, the page shows the following error 
 message. Failed to parse Array: 0xCFE4FB or Failed to parse Array: 
 #CFE4FB Could anyone please tell me how to solve it? 
 Best Wishes
 David
 
 
 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Most low income households are not online. Help bridge the 
 digital divide today!
 http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Re: Gotchas with mod-proxy/mod_jk Flex

2005-09-09 Thread charlespaz1
I've also noticed when using mod_jk instead of mod_proxy that document
errors are handled exclusively by Apache, and relative URLs are
searched in Tomcat/Webapps making for a lot of unfound error pages. 
Have you come up with a work-around for this?

 --- In flexcoders@yahoogroups.com, Eric Raymond
 [EMAIL PROTECTED] wrote:
 While I strongly recommend the use of Apache as a
 front end for Tomcat
 in production, the use of mod_jk and mod_proxy
 have some interesting
 implications with respect to Flex.  In my
 experience, Macromedia was
 not helpful in resolving these issues.





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

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

* 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] Tomcat and Apache through mod_jk on Linux-HOWTO

2005-09-09 Thread J.A. Rottman
well I went through this tutorial, one thing I am not
clear about is, do I need to move my flex code into
apache or does it stay with in the tomcat webapp dir.
Becuase right now I have it in my apache folder, and
it is displaying the xml code. 

If it does belong in my tomcat dir, how do I call it
with in apache. 

--- charlespaz1 [EMAIL PROTECTED] wrote:

 Finally figured out where I was going wrong with
 mod_jk.  Tested with
 5 servers and I feel I have it.
 

http://members.cox.net/midian/howto/apache+tomcat+mod_jk.htm
 
 Comments and critiques welcome.
 
 
 





__
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


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

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

* 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] Tomcat and Apache through mod_jk on Linux-HOWTO

2005-09-09 Thread J.A. Rottman
nm I got it figured out, I just created virtual host
that pointed to my tomcat webapp directory.

--- J.A. Rottman [EMAIL PROTECTED] wrote:

 well I went through this tutorial, one thing I am
 not
 clear about is, do I need to move my flex code into
 apache or does it stay with in the tomcat webapp
 dir.
 Becuase right now I have it in my apache folder, and
 it is displaying the xml code. 
 
 If it does belong in my tomcat dir, how do I call it
 with in apache. 
 
 --- charlespaz1 [EMAIL PROTECTED] wrote:
 
  Finally figured out where I was going wrong with
  mod_jk.  Tested with
  5 servers and I feel I have it.
  
 

http://members.cox.net/midian/howto/apache+tomcat+mod_jk.htm
  
  Comments and critiques welcome.
  
  
  
 
 
 
   
   

__
 Click here to donate to the Hurricane Katrina relief
 effort.
 http://store.yahoo.com/redcross-donate3/
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Re: Connection Pooling, Proxool, and Oracle

2005-09-09 Thread stealth1399
Just in case anyone wants to do this in the future. Proxool is
complatibable with FLEX.  The error was releated to a cast in the java
code.  Flex was not reporting the errors (set debug options).


--- In flexcoders@yahoogroups.com, stealth1399 [EMAIL PROTECTED] wrote:
 Does anyone know of any open source projects similar to proxool that
 will implment connection pooling with flex?
 
 --- In flexcoders@yahoogroups.com, stealth1399 [EMAIL PROTECTED] wrote:
  Hello,
  
  The application that I'm working on is filling up the connections to
  our Oracle database. We are using Remote Objects (POJOs) to connect to
  the database.  The application is moderatley database intensive and to
  speed up the responsiveness, connections are not explicitly being
  closed after they are used.  Instead we are closing connections by
  overiding the finalize method.  For this reason only one instance of
  the connections is used throught the lifetime of the class.
  
  The flex client is using stateful-class type in the RemoteObject
  invocation but it appears that there are still mulitple database
  connections being created with every client.  
  
  To fix thie multiple database connection issue, we tried making the
  connection static, which caused an error presumably because of the
  multiple Asynchronus calls being made  to the database.
  
  When proxool was integrated into our application, the connection would
  be established but when the application tried to use the connection
  there would be a similar error as before.
  
  Please point me in the direction of the best practice for properly
  managing connection pools with flex applications.
  
  Thanks for your time.





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

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

* 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] Checkbox Cell Renderer

2005-09-09 Thread Mehdi, Agha
Title: Checkbox Cell Renderer







Hi all,

I have a weirdo thing going on with this renderer. When I check the checkbox in the grid, it automatically selects other checkboxes in the same grid randomly. The most interesting part is that when I scroll through the grid, it keeps checking/unchecking the boxes without any reason. Also, when I have some rows checked and I get new data in the grid, it keeps the boxes checked at previous indexes.

Anyone ever ran into this issue?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766









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