[flexcoders] image is caching

2011-11-18 Thread Michael Sumner
Working on a home owners association site.  I am uploading a pet picture, it is 
getting to the server, being processed, I am changing the name to reference the 
residence and the pet.  In the tab for pets I have a spark image and I use the 
source property and relative paths to the image.  Once an image is uploaded, if 
someone would want to change it in the same session the picture uploads and 
changes on the server but the image does not change particularly if you use IE. 
 After a successful upload I have tried setting the source to null, to a 
default blank image until the user picks a pet in a datagrid.  If I clear the 
browser cache in IE it will change but that is about it.  Firefox works well - 
change the image and it will show the new image.  Most of the residents will 
probably have IE, I am hosted on a ColdFusion server and have added cfheader 
tags on my local box but that makes no difference either.

Any suggestions are welcome.

Thanks,

Mike




[flexcoders] adding and managing children dynamically - accordion

2011-08-30 Thread Michael Sumner

I was trying to build a component that would dynamically add NavigatorContent 
as children to an Accordion based on how many items were in an ArrayCollection. 
 That worked I got the expected number of accordion tabs labeled correctly.  I 
now want to add a DataGrid to each NavigatorContent.

When I set a break point I do not see a reference to the NavigatorContent by 
the id that I set when they were added to the Accordion or anywhere in the 
component.

How can I work with the DataGrid and set its DataProvider, etc?

I will want to work with data in the DataGrid - crud

I was trying to mimic what I had done using JQueryMobile with header tag and 
queries return to the cfm page.  They have a collapsible content block that 
worked well on the small screen, but I need to be able to do more when a larger 
screen is available.

Any suggestion?




RE: [flexcoders] Re: error message

2009-07-16 Thread Michael Sumner
The error showed up after recompiling the project.  There may be an issue
with that it was an old flex 2 project originally.

 

The current project I am working on is communicating, I started from scratch
with it, but I had tried to get a jumpstart by using the CF/Flex wizard and
I had the same error show up.

 





 













 











 



 





http://{server.name}:{server.port}{context.root}/flex2gateway/";
class="flex.messaging.endpoints.AMFEndpoint"/>



false



false







 



http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpoll
ing" class="flex.messaging.endpoints.AMFEndpoint"/>



true

8



false







 



https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsec
ure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>



false



false











   







20



false







   

 





 



http://{server.name}:{server.port}{context.root}/flex2gateway/http";
class="flex.messaging.endpoints.HTTPEndpoint"/>



 



https://{server.name}:{server.port}{context.root}/flex2gateway/httpsecu
re" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>





 







[Flex] 

false

false

false

false





Endpoint.*

Service.*

Configuration

    Message.*

    





 



false





 



 

Michael Sumner

Nations Best Sports

817-788-0034 ext 244

817-788-8542 fax

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of valdhor
Sent: Thursday, July 16, 2009 10:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: error message

 

  

What code generates the error?

Can you post your services-config file?

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ,
"Michael Sumner"  wrote:
>
> Is anyone familiar with this error message. I think I have a problem in my
> services-config file.
> 
> 
> 
> Channel definition, mx.messaging.channels.RTMPChannel, cannot be found.
> 
> 
> 
> I am using the default WEB-INF folder, and have a mapping to it as I have
it
> at c:\InetPub\wwwroot\
> 
> 
> 
> I would appreciate any insight.
> 
> 
> 
> Michael Sumner
> 
> Nations Best Sports
>





[flexcoders] error message

2009-07-16 Thread Michael Sumner
Is anyone familiar with this error message.  I think I have a problem in my
services-config file.

 

Channel definition, mx.messaging.channels.RTMPChannel, cannot be found.

 

I am using the default WEB-INF folder, and have a mapping to it as I have it
at c:\InetPub\wwwroot\

 

I would appreciate any insight.

 

Michael Sumner

Nations Best Sports



RE: [flexcoders] CRUD generator...

2009-06-10 Thread Michael Sumner
Take a look at this http://cfcgenerator.riaforge.org/ 

 

 

Illudiim PU-36 Code Generator
 <http://cfcgenerator.riaforge.org> Project Home .
<http://cfcgenerator.riaforge.org/index.cfm?event=page.forums> Forums .
<http://code.google.com/p/cfcgenerator/issues/list> Known Issues .
<http://cfcgenerator.riaforge.org/index.cfm?event=page.projectscreenshots>
Screenshots .  <http://code.google.com/p/cfcgenerator/> External Project
Link .
<http://cfcgenerator.riaforge.org/index.cfm?event=page.projectcontact>
Contact Project 

Author:  <http://www.remotesynthesis.com/blog> Brian Rinaldi (
<http://cfcgenerator.riaforge.org/index.cfm?event=page.myprojects&id=8> All
RIAForge projects by this author)
Last Updated: December 2, 2008 6:19 PM
Version: 1.0 Beta (Build 13)
Views: 20158
Downloads: 3203
License:  <http://www.apache.org/licenses/LICENSE-2.0> Apache License,
Version 2 

 

 

Michael Sumner

Nations Best Sports

817-788-0034 ext 244

817-788-8542 fax

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Marvin Froeder
Sent: Monday, May 25, 2009 5:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CRUD generator...

 






Hi,

 

Does someone know any CRUD generator tool?  I would like to generate CRUDs
based on my VOs.

 

 

VELO





[flexcoders] Why will Debug show all my datagrid results

2007-09-06 Thread Michael Sumner
I have an application that has two datagrids if I view/test the app with
just the browser only one datagrid populates, if I view/test with debug both
datagrids populate?  I do receive this warning in the Flash tracer window of
firefox, though I am able to insert data to the db.  The warning shows up
regardless of the way I run the app.

 

 

 

Warning: 404 - Not found: /crossdomain.xml

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend"
faultDetail="Channel.Security.Error error Error #2048: Security sandbox
violation:
file:///C|/Documents%20and%20Settings/msumner/Local%20Settings/Temporary%20I
nternet%20Files/Content.IE5/90M6DX5T/C%5F%5FInetpub%5Fwwwroot%5Fgrid%5FMyGri
d%5Fbin%5FMyGrid%5B1%5D.swf cannot load data from
http://localhost/flex2gateway/.";]

at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHan
dler()

at mx.rpc::Responder/fault()

at mx.rpc::AsyncRequest/fault()

at mx.messaging::ChannelSet/::faultPendingSends()

at mx.messaging::ChannelSet/channelFaultHandler()

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFun
ction()

at flash.events::EventDispatcher/dispatchEvent()

at
mx.messaging.channels::NetConnectionChannel/::defaultErrorHandler()

at
mx.messaging.channels::NetConnectionChannel/::securityErrorHandler()  

 

 

Michael Sumner

Nations Best Sports

817-788-0034 ext 244

817-788-8542 fax

 



[flexcoders] Best DataProvider for Combo Box

2007-09-06 Thread Michael Sumner
I am using CF remote objects

 

I want to populate a Combo Box from the result of the CFC method - TermsList
which will be a query with two fields TermDesc, and TermCode.

 

Should this be an ArrayCollection or just an Array or something else?

 

I want to display the TermDesc and use TermCode as the value.

 

AS something related  -- after the creationComplete I have this function:

 

public function initMe():void{

//this runs when the application is first created

  getMembers();

  

  itemNum=Application.application.parameters.itemNum;

 
submittedby=Application.application.parameters.submittedby;

  getWorksfor();

  fetchPO();

  //  getTerms();

  }

 

Is there any problem calling multiple functions - getMember(), fetchPO(),
getTerms()?

 

These functions in turn call service_ro.getMember etc.

 

Thanks,

 

Michael Sumner

Nations Best Sports

817-788-0034 ext 244

817-788-8542 fax