[flexcoders] Re: Image scaleContent="false" causes Security Sandbox Violation in AIR 1.5.x
Thanks, Alex :)
[flexcoders] Re: Image scaleContent="false" causes Security Sandbox Violation in AIR 1.5.x
I'm a freelance and some of my customers use FlexBuilder to customize app which I made :( When they see "Security Sandbox Violation" in console, it's so hard to explain. # Especially the Japanese really minds about these tiny things.
[flexcoders] Re: Image scaleContent="false" causes Security Sandbox Violation in AIR 1.5.x
Thank you, Alex. # I don't want to see any ignorable warnings in console. # Do not FlexBuilder output the warning that developer can ignore?
[flexcoders] Image scaleContent="false" causes Security Sandbox Violation in AIR 1.5.x
Image is loaded, but Security Sandbox Violation log is outputted in console. If scaleContent is "true", there is no Security Sandbox Violation log. crossdomain.xml is like this. And app loads policy file on initialization like this. Security.loadPolicyFile("http://localhost/crossdomain.xml";); Cannot this Security Sandbox Violation log be avoided ? Cannot we access context data of loaded image in AIR ?? thanks Shigeru Nakagaki
[flexcoders] "get-method" of LCDS can not communicate with ColdFusion
hello... I'm tired to develop LCDS + CF. There are so many troubles... Is this an enterprise product? "get-method" can't communicate with CF although "fill-method" can communicate with CF on my customer environment. "get-method" works on my local environment. There is no error on CF console. So this must be communication problem. The error is below. DataService Fault event : (mx.rpc::Fault)#0 errorID = 0 faultCode = "Server.Processing" faultDetail = (null) faultString = "Error invoking get-method for destination hoge: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: coldfusion.runtime.TemplateProxyWrapper (no security manager: RMI class loader disabled)" message = "faultCode:Server.Processing faultString:'Error invoking get-method for destination hoge: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: coldfusion.runtime.TemplateProxyWrapper (no security manager: RMI class loader disabled)' faultDetail:'null'" name = "Error" rootCause = (Object)#1 cause = (Object)#2 cause = (null) exception = (null) localizedMessage = "coldfusion.runtime.TemplateProxyWrapper (no security manager: RMI class loader disabled)" message = "coldfusion.runtime.TemplateProxyWrapper (no security manager: RMI class loader disabled)" detail = (Object)#2 localizedMessage = "error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: coldfusion.runtime.TemplateProxyWrapper (no security manager: RMI class loader disabled)" message = "error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: coldfusion.runtime.TemplateProxyWrapper (no security manager: RMI class loader disabled)" Any ideas?? thanks Shigeru Nakagaki
[flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??
ChangeObject.addChangedPropertyName never work with my environment. On assembler (CFC) new property was added, but there is no new property in LCDS console. My environment is ... Windows Vist Ultimate 32bit JP ColdFusion 8.0.1 (JP) LiveCycle Data Services 2.5.1 on JRun on same pc as CF Flex SDK 3.1.0 thanks Shigeru Nakagaki --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > Shigeru, > > it works as expected in both 2.5.1 and 2.6. Try to enable and check the > logs to track it down. > > -- > > João Fernandes > > Adobe Community Expert > http://www.onflexwithcf.org > http://www.riapt.org > Portugal Adobe User Group (http://aug.riapt.org) >
[flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??
What!??? I dumped changeObject on CF. There is an addtional property. But there is NOT an addtional value in LCDS 2.5.1 console. And of course, there is NOT an additional value in client (AIR). What is different between me and you? I'm using mapping based CFC for value object, assembler and dao. I'm using extended assembler. thanks Shigeru Nakagaki --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > Shigeru, > > it works as expected in both 2.5.1 and 2.6. Try to enable and check the > logs to track it down. > > -- > > João Fernandes > > Adobe Community Expert > http://www.onflexwithcf.org > http://www.riapt.org > Portugal Adobe User Group (http://aug.riapt.org) >
[flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??
I did changeObject.addChangedPropertyName at update phase. But additional value wasn't contained in DataService result. I mean additional property name wasn't contained in DataMessage.body[0] although DataMessage.body[2] was same data as server-side. And client value which was in filled collection was never merged. Is this a bug of ColdFusion or LCDS2.5.1 or fds.swc? Or DataService can't handle server-processing value as well as the case of creation phase? thanks Shigeru Nakagaki --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > addChangedPropertyName is used to inform the changeObject that > additional fields were updated besides the ones sent by the client. > If during the update process, you decide to update a new field based on > some condition, you change it, you commit it and then notify the change > object that property has been changed, so, once clients get the > notification, they will know that some additional change in a field has > been made. > -- > > João Fernandes > > Adobe Community Expert > http://www.onflexwithcf.org > http://www.riapt.org > Portugal Adobe User Group (http://aug.riapt.org) >
[flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??
Sorry again. It was totally my misunderstanding. However addChangedPropertyName didn't affect result data although it affected changeObject on server-side. I think I should set dummy data at client-side thanks Shigeru Nakagaki --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > Shigeru, > > are you sure there isn't any fault or conflict every two times? Are you > sucessfully commiting that value to the db? > I've been using addChangedPropertyName for a long time without an issue, > both 2.5.1 and 2.6. > > -- > > João Fernandes > > Adobe Community Expert > http://www.onflexwithcf.org > http://www.riapt.org > Portugal Adobe User Group (http://aug.riapt.org) >
[flexcoders] Re: LCDS + CF : How can I change bean's property of new version on creation?
Sorry, I was half asleep :D It never conflict on creation. I tried your way. But "hoge" of result data was NOT changed although the debugged data was changed on server-side. However identity value (auto incrementation) was updated. hmmm... Am I missing some setting to work this? thanks Shigeru Nakagaki --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > Shigeru, > so that property is a read only property?is it just a timestamp for > conflict resolution? You shouldn't need that since that's what the sync > method is all about, to detect possible conflicts and throw them. How > could your bean at creation be in a conflict anyway? > > João Fernandes > > Adobe Community Expert > http://www.onflexwithcf.org > http://www.riapt.org > Portugal Adobe User Group (http://aug.riapt.org) >
[flexcoders] Re: LCDS + CF : How can I change bean's property of new version on creation?
Thank you for replay! I can't do that. Because the value is actually timestamp to detect confliction. Therefor the value should be changed after creation. h ok, I have to change something thanks Shigeru Nakagaki --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > Shigeru, > > when you create new items , a refill is made to your collection and it > will compare it with the previous fill, so since you didn't update the > hoge property, it won't be reflected in your refill. > > If you do this instead > > > > > > > your hoge will be committed to the db and will be reflected in the > result of the fill. > -- > > João Fernandes > > Adobe Community Expert > http://www.onflexwithcf.org > http://www.riapt.org > Portugal Adobe User Group (http://aug.riapt.org) >
[flexcoders] LCDS : changeObject.addChangedPropertyName works correctly??
Hello I'm talking about Data Management Service with LCDS 2.5.1 + CF801. I'm tring to add change information like ... But actual result is NOT correctly once every two times. I mean it set a different property name once every two times. And the different value is always same. How can I fix this problem?? thanks Shigeru Nakagaki
[flexcoders] Can we implement custom authentication per destination of DataService?
I know Login commands in configuration. And I know and . I'm talking about calling CFC for authentication from LCDS. And setting per destination like this. samples.contact.ContactAssembler samples.contact.LoginCommand ... Is this possible? Or Is there any ways like this?
[flexcoders] Re: How can we use message event of mx.data.DataService?
Thank you. I got it. Shigeru Nakagaki --- In flexcoders@yahoogroups.com, Seth Hodgson <[EMAIL PROTECTED]> wrote: > > This event is dispatched when a DataMessage has been pushed to the client by the server, after it has gone through internal processing by the DataService. Unlike a ResultEvent or FaultEvent that you'll always want to handle because they correlate to a fill() or some other operation you've invoked, the MessageEvent isn't something you need to handle unless you want to put something up in your UI indicating that a pushed data change was received by the client. > > You can't send/receive custom messages using DataService; for that, use Producer/Consumer or MultiTopicProducer/MultiTopicConsumer directly. > > Seth > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shigeru Nakagaki > Sent: Tuesday, August 26, 2008 10:48 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] How can we use message event of mx.data.DataService? > > > DataService has "message" event. But I've never received this event. > > Can we send/receive custom messages by mx.data.DataService? >
[flexcoders] How can we use message event of mx.data.DataService?
DataService has "message" event. But I've never received this event. Can we send/receive custom messages by mx.data.DataService?
[flexcoders] Re: the commit method of LCDS doesn't commit deleted child object. Is this normal?
A... I see. I use ColdFusion for server-side language. And I don't use O/R things. So I have to add the logic to delete child data. ok, I got it. Thank you for quick response!! Shigeru Nakagaki --- In flexcoders@yahoogroups.com, Jeff Vroom <[EMAIL PROTECTED]> wrote: > > When you remove an item from an association property, if you want to delete that object you do have to call deleteItem explicitly. Currently removing the object from the association property will only send an "update" change to the parent object. It won't delete the child object. > > Many O/R systems have a cascade="delete" attribute on the association which lets you do the "delete" automatically when the child becomes disassociated but we haven't implemented this feature in LC DS yet. > > This is independent of autoCommit... even if you set autoCommi=true, you'll still need to do the deleteItem explicitly. > > Jeff >
[flexcoders] the commit method of LCDS doesn't commit deleted child object. Is this normal?
When autoCommit is false, the commit method of LCDS doesn't commit deleted child object (hierarchical destination, many-to-one). If the case is adding child object, the commit method creates new child object. Is this normal? Do we have to delete child object manually if autoCommit is false?
[flexcoders] Cannot create class of type 'coldfusion.flash.messaging.ColdFusionAdapter'
Hello I want to use FlexMessaging with ColdFusion's EventGateway on LCDS. I added the adapter-definition in messaging-config.xml. I added commons-httpclient-3.0.1.jar, concurrent.jar, cfdataservicesadapter.jar and cfgatewayadapter.jar in WEB-INF/flex/jars But server says LifecycleException: javax.servlet.UnavailableException: Cannot create class of type 'coldfusion.flash.messaging.ColdFusionAdapter'. How should I do
[flexcoders] adding design view feature for third-party component
Hi, FlexBuilder team. in "Flex version comparison chart" www.adobe.com/products/flex/upgrade There is "Design view extensibility for third-party products". Is there any document about this? In SWC of ilog's elixer, there are "design.xml" and "design.swf" for Design View feature of FlexBuilder. How can we create these files? thanks Shigeru Nakagaki blog : shigeru-nakagaki.com
[flexcoders] About Creating app wizard from SQL Server
I'm trying to access SQL Server from FlexBuilder3 via "Creating Application Wizard from Database". I can't get table list from SQL Server Express but I passed access test (port number : 1433). I tried a couple of users including sa. But FlexBuilder3 just told me "java.lang.NullPointerException". Is this bug? Or I can use SQL Server Express?? Thanks Shigeru Nakagaki
[flexcoders] Re: Tutorial - creating a vertical tabnavigator
Hi. Here is a sample. http://shigeru-nakagaki.com/flex_samples/TabBar/VTabNavigator/VTabNavigator.html (including "View Source") --- In flexcoders@yahoogroups.com, "mjulsonecometry" <[EMAIL PROTECTED]> wrote: > > I'm using the Flex Builder 3 beta and haven't seen a way to make the > tabnavigator go vertical instead of horizontal. Anyone know of a > tutorial/article that shows how to build something similar through > maybe a buttonbar and viewstack? > > Or if anyone has any ideas on how to change the tabs from the top to > the left with the tabnavigator, that would be great. I've searched all > over but haven't come up with anything. >
[flexcoders] Re: Tutorial - creating a vertical tabnavigator
Hi. Here is a sample of vertical tab navigator. VTabNavigator <http://shigeru-nakagaki.com/flex_samples/TabBar/VTabNavigator/VTabNavig\ ator.html> thanks Shigeru Nakagaki ( blog <http://shigeru-nakagaki.com/> )
[flexcoders] Re: Tutorial - creating a vertical tabnavigator
Hi. Here is a sample of vertical tab navigator. shigeru- nakagaki.com/flex_samples/TabBar/VTabNavigator/VTabNavigator.html thanks Shigeru Nakagaki
[flexcoders] Zoom effect and autoLayout
hi. LiveDocs says "The Zoom effect does not work when the autoLayout property is false.". But I tested a couples of pattern and it works fine. Could anyone tell me what it is wrong with Zoom effect and autoLayout?? Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[flexcoders] How to use a component extended dynamic class in MXML?
Step 1. create "MyWebService" like below. public dynamic class MyWebService extends WebService Step 2. write MXML like below. http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:pepe="org.pepe.*"> 30 0 "6" Then compiler said "Could not resolve mx:operation to a component implementation". What is the problem about this code?