[flexcoders] CheckCellRenderer
Hi, I'm trying to do a simple loop through a datagrid to set a column that's using the CheckCellRenderer to be checked or unchecked but the following code does not work, well sort of. What happens is that if I mouseover each row, viola, the checks in the checkbox appear or disappear depending on my choice to select all or not. Here is the function I call to set the checkboxes in the grid: private function selectAll(newState:Boolean):Void { for( var i in dataGrid.dataProvider ) dataGrid.dataProvider[i].cbSelect = newState; } The datagrid column is defined as: mx:DataGridColumn headerText= width=40 columnName=cbSelect cellRenderer=CheckCellRenderer resizable=true / The dataprovider for the grid is an RO... TIA for any info. Rob Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/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: You must set https-url to a non-relative https value for RemoteObject...
Hi Matt, Thanks...I did change the path to an absolute path as you and the docs suggested...I'll re-check the url again... Regards, Rob --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I'm assuming that you are serving your SWF over http (and not https). This means that the RemoteObject does not know how to reach the gateway over https. In flex-config.xml you'll see the amf-https-gateway which by default is {context.root}/amfgateway. You will need to change that to the full url of your gateway (e.g., https://myserver:9100/amfgateway) since we cannot automatically resolve what the https port should be (since it's a different port than where the SWF was served and we don't want to assume 443 by default). HTH, Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rb_dickey Sent: Tuesday, July 12, 2005 12:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] You must set https-url to a non-relative https value for RemoteObject... Hi, I'm receiving the following error during compiles from within FB when I change my RO protocols to https: You must set https-url to a non-relative https value for RemoteObject in flex-config.xml or set gatewayHttpsUrl to a non-relative https value when using mxmlc I've read Chapter 37 + many times regarding the configuration in flex- config, crossdomain.xml, etc. to support ssl but I am obviously missing something or there is an undocumented design feature at work (aka bug). Thanks for any info/help. Regards, Rob -- 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 Computer software testing http://groups.yahoo.com/gads? t=msk=Computer+software+testingw1=Comput er+software+testingw2=Macromedia+flexw3=Developmentw4=Software+dev elo perc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg Macromedia flex http://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Computer+softwar e+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4 s= 93.sig=dAUcEV7do91-wrRtVS641g Development http://groups.yahoo.com/gads? t=msk=Developmentw1=Computer+software+te stingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=9 3. sig=AlxNUQBOI7Io7S7nhmxV0Q Software developer http://groups.yahoo.com/gads? t=msk=Software+developerw1=Computer+soft ware+testingw2=Macromedia+flexw3=Developmentw4=Software+developer c=4 s=93.sig=QWIit8JayomoIHLVkV3FDg YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] You must set https-url to a non-relative https value for RemoteObject...
Hi, I'm receiving the following error during compiles from within FB when I change my RO protocols to https: You must set https-url to a non-relative https value for RemoteObject in flex-config.xml or set gatewayHttpsUrl to a non-relative https value when using mxmlc I've read Chapter 37 + many times regarding the configuration in flex- config, crossdomain.xml, etc. to support ssl but I am obviously missing something or there is an undocumented design feature at work (aka bug). Thanks for any info/help. Regards, Rob -- 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] flashgateway.Gateway.getHttpRequest
Hi, Has anyone seen this behavior? I'm using Tomcat 5.5.7, and I have a web app configured with FORM authentication, which uses a custom mxml-based form. The authentication piece works great, but I can't get the userId from the HttpRequest.getUserPrincipal().getName() consistently. The first call to getUserPrincipal() returns a null. This is not suppose to happen unless the user is not authenticated, but they have been. What's even more strange is that if I refresh the page, the getUserPrincipal() call then returns the userId as expected. The RO is basically doing the following: HttpRequest request = flashgateway.Gateway.getHttpRequest(); String userId = request.getUserPrincipal().getName(); I know there are some inconsistencies re: Tomcat and the getUserPrincipal() call but I thought that was fixed in 5.5.7...is there another way to do this natively in ActionScript to bypass the RO? Any other suggestions are welcomed. As always, TIA for any info. Regards, Rob 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/