Re: [flexcoders] Flex 3 + Colfusion + LCDS 2.6.1 manual installation

2010-02-23 Thread João Fernandes
Jochem, the express license is for LCDS and it's valid no matter you 
deploy it standalone or with CF so you can use Express version (2.6.x) 
with CF9. The main reason why the CF team stop bundle it with the 
installer is the fact the new LCDS doesn't provide an express version, 
so they prefered to bundle BlazeDS instead and provide a readme for a 
manual installation.
-- 

João Fernandes

Adobe Certified Expert
Adobe Community Professional
http://www.twitter.com/joaofernandes
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Flex 3 + Colfusion + LCDS 2.6.1 manual installation

2010-02-23 Thread João Fernandes

On 23-02-2010 19:13, lordali wrote:

below instruction for installing
LCDS.

3) Copy the lcds_install_root/resources/lib/flex-messaging*.jar files and
overwrite them into the ColdFusion /lib directory.

Anyone.
When you install LCDS, you'll pick a J2EE install (not tomcat). The jars 
you need will be under the path that was mentioned /resources/lib/.


Regarding the license, you need to be sure that you cannot have LCDS 
container accessing more than 1 CPU with maximum 2 cores. The best to 
get the better performance is to deploy LCDS ouside CF so your CF 
instance can fully take advantage of the machine and only LCDS will be 
limited.


--

João Fernandes

Adobe Certified Expert
Adobe Community Professional
http://www.twitter.com/joaofernandes
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)




Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-24 Thread João Fernandes
From my POV, a more profitable approach would be a modular license 
where features could be added as needed. For our current application we 
don't need anything related to LC or PDF generation or even Edge 
servers, however we do need real-time data messaging and the new 
reliable messaging. The full package could be the current price but it 
could be modular in features like:


   * nº of concurrent users
   * support for edge servers
   * pdf generation
   * LC integration

I've spoken with Anil and shared my opinion, to me it's not getting it 
for free at all, I'm sure I wouldn't mind to start at a 7.5K -10K range 
and increase the price as we add additional features. LCDS has been an 
amazing product and each new release brings a lot of amazing features 
which makes total sense to pay for them, but Adobe should try to get 
more adoption. LCDS could and should be a reference in the RIA space.


--

João Fernandes

Adobe Certified Expert
Adobe Community Professional
http://www.twitter.com/joaofernandes
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses

2010-01-23 Thread João Fernandes
No, CF9 is bundled with BlazeDS and can have LCDS 2.6.x deployed on it
(manually merging). Currently there is no LCDS 3 support for CF9.

João Fernandes

On 23 January 2010 08:22, Glenn Williams gl...@tinylion.co.uk wrote:


  [Attachment(s) #1265a47372272d14_TopText from Glenn Williams included
 below]

  I didn’t know cf9 had lcds 3 tom?

















 tiny*lion* development  design





 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Tom Chiverton
 *Sent:* 22 January 2010 09:47
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses





 On Thursday 21 Jan 2010, busitech wrote:
  How are these changes affecting your business?

 Dunno about price, but have you looked at ColdFusion? Comes with LCDS and a

 bunch of other stuff.

 --
 Helping to administratively introduce granular revolutionary prospective
 one-to-one customers as part of the IT team of the year 2010, '09 and '08

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit 
 *www.Halliwells.com*http://www.Halliwells.com
 .

   




-- 

João Fernandes
image001.jpg

Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread João Fernandes
No Jeff, BlazeDS is the 'downgrade' path ... LCDS provides data 
management which is not available on BlazeDS.

Indeed people using Free or Departmental will end up with a locked 
product. I wish that LCDS would become more affordable somehow and 
become more mainstream.
-- 

João Fernandes

Adobe Certified Expert
Adobe Community Professional
http://www.twitter.com/joaofernandes
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread João Fernandes
 That said, since #2 doesn't tell me what user it's replying no to, 
 if I do this in a loop with 100 users, it could be replying back with 
 20 nos and I can't tell how I'd match the replies up with the requests.
Yes you can, try using the asyncToken generated by 
service.invokeWs(user) and store your user in some property (eg. 
currentUser) , once you get the resultEvent, that AsyncToken will have 
the corresponding user stored (event.token.currentUser).

-- 

João Fernandes

Adobe Certified Expert
Adobe Community Expert
http://www.twitter.com/joaofernandes
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread João Fernandes
You can add a responder to your AsyncToken which will carry your fault and
result handlers.

2010/1/18 trefalgar trefal...@yahoo.com



 For those wanting to follow this suggestion, there's a good example here:
 http://livedocs.adobe.com/flex/3/html/help.html?content=data_4.html. It's
 towards the bottom, Using a return token.

 Unfortunately, this example doesn't appear to work for me. It uses the
 Flex-built SOAP code and an AsyncToken to keep track of things. I don't have
 a FaultEvent.FAULT or ResultEvent.RESULT option when adding an event
 listener to my AsyncToken.

 Back to the drawing board I go.

 Jacob


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, João
 Fernandes joaopedromartinsfernan...@... wrote:
 
   That said, since #2 doesn't tell me what user it's replying no to,
   if I do this in a loop with 100 users, it could be replying back with
   20 nos and I can't tell how I'd match the replies up with the
 requests.
  Yes you can, try using the asyncToken generated by
  service.invokeWs(user) and store your user in some property (eg.
  currentUser) , once you get the resultEvent, that AsyncToken will have
  the corresponding user stored (event.token.currentUser).
 
  --
 
  João Fernandes
 
  Adobe Certified Expert
  Adobe Community Expert
  http://www.twitter.com/joaofernandes
  http://www.riapt.org
  Portugal Adobe User Group (http://aug.riapt.org)
 

  




-- 

João Fernandes


Re: [flexcoders] Livecycle Data Services ES2 : cost per cpu

2009-10-23 Thread João Fernandes
You should contact Adobe representative for that. FDS started at 12.000 
2CPU and got rebranded to LCDS and got a price increase too (everything 
which uses LifeCycle is pricy).
I wish they they would go to the broader reach approach but I think it's 
more like the other way around.

-- 

João Fernandes

Adobe Certified Expert
Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Anyone using Flex with LCDS ColdFusion

2009-05-09 Thread João Fernandes
Brendan, I daily fight against LCDS + CF problems too. Sorry if I missed 
any previous emails but flexcoders is quite heavy in email traffic.

I'm currently running with CF8.0.1 and LCDS 2.6. Didn't upgrade to 2.6.1 
since it seems there are a lot of new bugs.
So, what issues do you have with this combo?



-- 

João Fernandes

Adobe Certified Expert
Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Re: Anyone using Flex with LCDS ColdFusion

2009-05-09 Thread João Fernandes
Charles, LCDS brings Flex applications to a new level of data centric 
applications.
LCDS is a super-set of BlazeDS, everything it's in Blaze is also 
available in LCDS. LCDS does however contain a Data Management service 
which relies on Messaging to keep all your clients connected to the same 
data in sync. Other key features is support for RTMP and NIO endpoints 
that allow you to support 1000+ concurrent users per server when BlazeDS 
doesn't support more than a few hundreds. I know that Farata System guys 
did add support for NIO but don't know if they provided it publicly and 
free of charge.


-- 

João Fernandes

Adobe Certified Expert
Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Thanks to Adobe...

2009-01-29 Thread João Fernandes
Matt,

I really hope that there will be more interaction with the community in 
the future so we can avoid this kind of issues 
https://bugs.adobe.com/jira/browse/SDK-17854  :)

/me runs
-- 

João Fernandes

Adobe Certified Expert
Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Re: LCDS - adding a new Item using createItem()

2009-01-19 Thread João Fernandes
Bart, during the sync method, when you create your bean, are you setting 
the new generated Id back again into the bean?

-- 

João Fernandes

Adobe Certified Expert
Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Upgrading from Flex 2 with LCDS 2.5 to Flex 3 with LCDS 2.6

2008-10-10 Thread João Fernandes
does you project contain the fds_rb.swc in the libs folder or under the 
library classes path?
That swc you'll find in /{LCDS install}WEB-INF/flex/locale/en_US
-- 

João Fernandes

Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??

2008-09-15 Thread João Fernandes
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)





Re: [flexcoders] Re: LCDS + CF : How can I change bean's property of new version on creation?

2008-09-13 Thread João Fernandes
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)





Re: [flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??

2008-09-13 Thread João Fernandes
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)





Re: [flexcoders] LCDS + CF : How can I change bean's property of new version on creation?

2008-09-12 Thread João Fernandes
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

cfset new.hoge = 123
cfset new = dao.create(new)
cfset co.setNewVersion(new)
cfset co.processed()

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)





Re: [flexcoders] LCDS : changeObject.addChangedPropertyName works correctly??

2008-09-12 Thread João Fernandes
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)





Re: [flexcoders] Can we implement custom authentication per destination of DataService?

2008-08-28 Thread João Fernandes
Shigeru,

by using setRemoteCredentials on your destination you should be able to 
achieve something similar. setRemoteCredentials are accessible trough 
cflogin and during onRequestStart you can validate which assembler is 
being called.

What I really do is to have dumb assembler which call in fact ColdSpring 
services which I can intercept with AOP advices and implement any kind 
of logic there.

-- 

João Fernandes

Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)





Re: [flexcoders] Re: Flash Player 10 Release Date?

2008-08-28 Thread João Fernandes
Sherif,

maybe with the release of Flex 4, they might want to have FP10 with a 
nice penetration ratio.
If I recall correctly, Matt mentioned that for each new major version of 
Flex, Adobe will target a version with a very large penetration ratio so 
if Flex 4 targets FP10 and it's launch it's by June (in worst case 
scenario) and it takes FP at least 6 months to have that ratio, I can 
imagine that FP will be launch by December... or even sooner... like ... 
MAX?

Wild guess of course :)
-- 

João Fernandes

Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)




[flexcoders] LCDS 2.6 Streaming endpoint problem

2008-08-11 Thread João Fernandes
Hi,

I'm replacing the rtmp by the nio-Streaming-amf channel ( in conjunction 
with the nio-polling-amf ) but now my destinations are throwing an error 
saying that the streaming endpoint doesn't support polling.
It's weird because the streaming channel doesn't have any polling 
enabled (since it doesn't apply).

Here is my  streaming definition ( added serialization rules for CF ) 
which is shared with my nio-polling and nio-amf channels.

channel-definition id=my-streaming-nio-amf 
class=mx.messaging.channels.StreamingAMFChannel
endpoint 
url=http://{server.name}:2080/{context.root}/streamingnioamf; 
class=flex.messaging.endpoints.StreamingNIOAMFEndpoint/
server ref=my-nio-server/
properties
serialization
instantiate-typesfalse/instantiate-types
/serialization   
/properties
/channel-definition

the error raised:

Error: StreamingAMFChannel does not support polling.
at 
mx.messaging.channels::StreamingAMFChannel/poll()[E:\dev\3.0.3\frameworks\projects\rpc\src\mx\messaging\channels\StreamingAMFChannel.as:160]
at 
mx.data::DataStore/doPollIfNecessary()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:3299]
at 
mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::doCommit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:1826]
at 
mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::internalCommit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:818]
at 
mx.data::ConcreteDataService/commit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConcreteDataService.as:337]
at 
mx.data.mxml::DataService/commit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\mxml\DataService.as:433]
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Re: LCDS 2.6 Streaming endpoint problem

2008-08-11 Thread João Fernandes
bug #367

BTW, this only happens when trying to commit changes, performing fills 
works as expected (using streaming Channel) but once I try to use 
ds.commit([item],true) it throws that error.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Re: DateFormatter Problem

2008-07-16 Thread João Fernandes
Dominic, I guess your problem is the one I reported here
http://bugs.adobe.com/jira/browse/SDK-13650

It has been fixed in revision 2306 so if you use Flex 3.1 (NB 2312) I 
guess you won't have that problem anymore.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Re: Air and Blazeds?

2008-07-09 Thread João Fernandes
Mark, how does your endpoint URL in your services-config.xml look like? 
Are you using the default file as the one use in a Flex Project?


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] flex2gateway Error

2008-07-07 Thread João Fernandes

Sherif,

can you try to point it directly to the cfserver port instead apache 
port 80? http://mysitename.
com:{CFServerPortNumber}/flex2gateway/cfamfpolling and see if it throws 
the same error?

--

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] flex2gateway Error

2008-07-07 Thread João Fernandes
check if in your web.xml ( under {cfusionInstance}/WEB-INF/ ) you have 
the flex2gateway mapping listed

!-- Flash Remoting/Flex mapping --
servlet-mapping id=coldfusion_mapping_0
servlet-nameMessageBrokerServlet/servlet-name
url-pattern/flex2gateway/*/url-pattern
/servlet-mapping

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] flex2gateway Error

2008-07-07 Thread João Fernandes
If you try to make your app to load directly from the ColdFusion 
instance instead of Apache, PHP wouldn't be able to interfere in the 
process.
Check server logs to see if there was any problem to load the 
MessageBrokerServlet.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] flex+coldfusion8 w/blazeDS integrated --docs?

2008-06-25 Thread João Fernandes
You can just define it as a standard ColdFusion + Remoting application 
since all Messaging classes are now part of the SDK.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Re: Cairngorm Event Question

2008-06-20 Thread João Fernandes
Tim,

I don't use UM extensions and I'm totally able to notify my views just 
with Cairngorm.
What I use usually is a model ( no matter what it is ) that I inject to 
my event , passes to the command and then on result/fault I update the 
same model. Since the model passes by reference, my view, which is 
listening (binding) to that model, can react to the 'notification'.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Verifyed RSL Digests for 3.0.2.2113 for framework caching

2008-06-20 Thread João Fernandes
Matt, but since Adobe advises to upgrade to 3.0.2 due to a security 
bulletin, should Adobe provide all major functionalities?
Right now we have to pick, the security fix or to be able to use the 
cache framework.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



[flexcoders] Debugging problems with Firefox 3 Final

2008-06-18 Thread João Fernandes
Hi there,

did anyone had problems with the final version of Firefox 3? Each time I 
make a change, I have to do a 'clean' to be able to debug my application 
again.

Anyone noticed this?
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Debugging problems with Firefox 3 Final

2008-06-18 Thread João Fernandes
Simply it hangs till I press stop debugging.

it seems that is has already been reported 
http://bugs.adobe.com/jira/browse/FB-13064

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] SOT: ColdFusion backend for Flex, what the heck am i doing wrong...

2008-05-02 Thread João Fernandes
Jeff,

I do exactly the same but I just use cflogin to leverage the credentials 
but I use my own authentication system.
Nowadays I just keep in my sessions the minimum information that is 
related to security.

Till now it has worked flawlessly.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Re: Flex Profiler Not Connecting

2008-05-02 Thread João Fernandes
try to change the profiler listener port, I had the same issue not long 
time ago and by changing the default () to something else fixed the 
problem.
I was able to debug my apps but not able to profile them.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



[flexcoders] Can debug but Can't profile

2008-04-24 Thread João Fernandes
Hi,

for a few days already I'm totally unable to profile our applications 
but can debug them. I even switched to IE to avoid the Tab problem but 
no luck.When I launch the profile session the window never come up to 
pick the values.

Is there a good guide anywhere to check what can be failing?

I'm using 9.0.124 debug version in both browsers, Already tried with 
9.0.115 and still no luck.

My co-worker with 9.0.115 doesn't seem to have any problem.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



[flexcoders] Flex 3 registration for volume licensing

2008-04-17 Thread João Fernandes
Hi,

I just tried to register our serial number online but since they are 
from a volume license we can't register it here 
http://www.adobe.com/go/flex3_register .

Aren't we eligible to get a copy of the SDK posters?

 thanks
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



[flexcoders] Weird stacktrace in Console panel

2008-04-11 Thread João Fernandes
Hi there,

does anyone stumble on this kind of stacktrace on the console panel?

verify pt.cofina.sap.controller::ZREGISTOController$/canEditField()
stack:
scope: [global Object$]
 locals: 
pt.cofina.sap.controller::ZREGISTOController$ 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  0:debugfile 
D:\projects\IntranetFlex\src;pt\cofina\sap\controller;ZREGISTOController.as
stack:
scope: [global Object$]
 locals: 
pt.cofina.sap.controller::ZREGISTOController$ 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  4:debugline 122
stack:
scope: [global Object$]
 locals: 
pt.cofina.sap.controller::ZREGISTOController$ 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  6:getlocal0
stack: pt.cofina.sap.controller::ZREGISTOController$
scope: [global Object$]
 locals: 
pt.cofina.sap.controller::ZREGISTOController$ 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  7:pushscope
stack:
scope: [global Object$] 
pt.cofina.sap.controller::ZREGISTOController$
 locals: 
pt.cofina.sap.controller::ZREGISTOController$ 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  8:debug
stack:
scope: [global Object$] 
pt.cofina.sap.controller::ZREGISTOController$
 locals: 
pt.cofina.sap.controller::ZREGISTOController$ 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  14:debug
stack:
scope: [global Object$] 
pt.cofina.sap.controller::ZREGISTOController$
 locals: 
pt.cofina.sap.controller::ZREGISTOController$ 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  20:jump 198
B0:
stack:
scope: [global Object$] 
pt.cofina.sap.controller::ZREGISTOController$
 locals: 
pt.cofina.sap.controller::ZREGISTOController$? 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  24:label
stack:
scope: [global Object$] 
pt.cofina.sap.controller::ZREGISTOController$
 locals: 
pt.cofina.sap.controller::ZREGISTOController$? 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  25:debugline 128
.
.

and it ends like this

  281:kill 3
stack: int
scope: [global Object$] 
pt.cofina.sap.controller::ZREGISTOController$
 locals: 
pt.cofina.sap.controller::ZREGISTOController$ 
pt.cofina.despesa.vo::ZREGISTOS? String? *
  283:lookupswitch default:188 maxcase:4 24 65 106 147 188



-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread João Fernandes

Jon,

regarding chain events, I use modular which allows this ( in fact thanks 
to Bjorn Schultheiss ). All you have to do is to have your events extend 
ChainEvent (which extends cairngormEvent ) and your commands extend 
SequenceCommand.


Then you can combine any of those events in any order or you can use 
them /standalone./


something like this

ev1: firstChainedEvent = new FirstChainedEvent();
ev2: secondChainedEvent= new SecondChainedEvent();
ev3: someOtherEvent = new SomeOtherEvent();

ev : ChainEvent = EventChainFactory.chainEvents( [ ev1 , ev2 , ev3 ] );
ev.dispatch();

all that your commands should do is to store in the command nextEvent 
property the value of  chainEvent(e).nextChainedEvent and call 
executeNextCommand() on result and fault handlers.


Of course this approach could be enhanced and add specific events based 
on a result or fault.


--

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Weird stacktrace in Console panel

2008-04-11 Thread João Fernandes
Alex,

in fact it was a missing break in a switch statement. After adding the 
missing break; it started working again. Shouldn't the compiler check 
for the missing break ?

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)




Re: [flexcoders] Weird stacktrace in Console panel

2008-04-11 Thread João Fernandes
But the problem is, the runtime error thrown isn't clear what the real 
problem is, it says that a classA and classA could not be reconciled 
when the real problem is that a break statement is missing, maybe a 
warning should be present when between two 'case' there is no break 
statement.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Re: Where is adobe? Come to universities!

2008-04-03 Thread João Fernandes
Mark,

regarding the FlexCamp, I can tell you that they will do what they can. 
We setup in February our FlexCamp here in Portugal and it was a very 
successful event and Adobe ( Portugal and International ) helped a lot.
As you can imagine, Portugal might not be the most interesting market 
and no less, they came here.

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



Re: [flexcoders] Re: FDS:one-to-many with lazy evaluation

2008-03-27 Thread João Fernandes
Maybe it's how you define the employees property in your DTO. I guess 
you're using JAVA, and I can't help you there because I use CF and an 
Array in CF will be converted an ArrayCollection in Flex.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: FDS:one-to-many with lazy evaluation

2008-03-26 Thread João Fernandes
to use xxx-to-many when dealing with managed Objects you just need to 
fill the related items within the main assembler that you are 
requesting. If you change anything to any of those ( or add any related 
item ) those will be redirected to the corresponding destination. In 
case of the Company  Employees example, your Company Assembler will 
return a list of Companies, each with Employees properties filled 
totally or only with IDs ( in case you'll use lazy loading ). If you add 
a new employee to any of the companies, that Item, once commited will be 
sent to the employeeAssembler and get updated with the corresponding ID 
once the transaction is successfully committed.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread João Fernandes
is BlazeDS installed under 'Components' folder???

I guess it's your context-root that's wrong. Try to set it as '/' and do 
a clean on your project then your calls should try to connect to 
http://localhost:8400/messagebroker/amfpolling
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread João Fernandes
Dominic check the BlazeDS context-root is running from.
If you deployed it under a blazeds folder, you should try to to set that 
as the context-root for your application.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] BlazeDS License Error

2008-03-24 Thread João Fernandes
Dominic, it's BlazeDS that has expired, not Flex Builder. BlazeDS does 
have a new version available at 
http://opensource.adobe.com/wiki/display/blazeds/BlazeDS


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway

2008-03-05 Thread João Fernandes
also, why are you using cf-polling-amf channel for a remote object? 
Shouldn't you use the cf-amf one?
Also, as Tom said, when you change anything in your configuration, you 
might want to do a project  clean to be sure that your app uses the 
latest version of your services-config.xml.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Creating RTMPChannel at run time

2008-03-05 Thread João Fernandes
you need to have fds.swc and fds_rb.swc from the LCDS server available 
in your library path.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Creating RTMPChannel at run time

2008-03-05 Thread João Fernandes
Which version of LCDS are you running?
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Flex 3 and AIR 1 are now live!

2008-02-24 Thread João Fernandes
Hi Matt,

thanks for the links, I can now start sneaking around all those links ;)


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Milestone 4 - beta - color code and formatting for code

2008-02-15 Thread João Fernandes
Patrick, start FlexBuilder with the /clean command.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: Milestone 4 - beta - color code and formatting for code

2008-02-15 Thread João Fernandes
I'm using FB standalone too :)

just open a command prompt and execute flexbuilder.exe /clean


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: AIR and LCDS, Channel.Connect.Failed error

2008-02-14 Thread João Fernandes
Eduard, you need to set the full URL in your endpoints when using AIR. 
Instead of http://{server.name} you should use 
http://www.mydomain.com/...
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: Flex Feedback for the Future

2008-02-13 Thread João Fernandes
There is also this Enhancement Request for MARS support 
https://bugs.adobe.com/jira/browse/SDK-13895 which would be perfect  in 
my opinion.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: Flex Feedback for the Future

2008-02-13 Thread João Fernandes
Mars is a XML representation of a PDF.
Having a  MarsLoader component and an AS3 API to produce those kind of 
documents, we would be able not only to generate powerful reports but 
also able to view them within our Flex applications.

By voting to this ER , if it doesn't get implemented at least we will 
know why since it seems that they are committed to give an explanation ( 
http://weblogs.macromedia.com/mchotin/archives/2008/02/flex_4_sdk_feat.cfm )
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Compilation error when using localization

2008-02-12 Thread João Fernandes
Copy the datavisualization_rb.swc from the en_US folder to your fi_FI 
locale folder ( inside sdks\3.0.0\frameworks\locale )
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: Is it possible to have a dynamic services/channel/endpoint URI?

2008-02-11 Thread João Fernandes
Dave,

only server.name and server.port are evaluated at runtime, context.root 
isn't.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] HTTPService or URLRequest Request header Question

2008-02-07 Thread João Fernandes
this is true, you can't use authorization token in headers anymore 
within Flash Player.

This is big step backwards in my opinion
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Conflict Management using Flex/CF references?

2008-01-24 Thread João Fernandes
yes, that's available in 7.0.2 but  be prepared to  change  some code 
since there are specific requirements.

If you're looking for locking data for specific to specific users, 
that's not implemented, you have to handle it yourself.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Flex Messaging + CF8 with embedded LC integration question

2008-01-18 Thread João Fernandes
Did you uncomment the cf-rtmp channel in the services-config.xml? by default
that channel is commented.

João Fernandes

On 18/01/2008, flexuser1 [EMAIL PROTECTED] wrote:

   Hi I've been trying to make a simple app with flex messaging
 service. All the tutorials I see are for Flex 2 and CF7 using FDS.
 However, I am using Coldfusion 8 with embedded LCDS.

 When I try to run my simple chat app I get this output in the
 console using tracetarget.
 =
 'chatSubscriber' consumer subscribe.
 'cf-rtmp' channel endpoint set to rtmp://localhost:8500
 'cf-rtmp' channel settings are:
 channel id=cf-rtmp type=mx.messaging.channels.RTMPChannel
 endpoint uri=rtmp://{server.name}:{server.port}/
 properties/
 /channel
 [SWF] /Flex/chat/bin-debug/ChatAppFinished.swf - 743,790 bytes after
 decompression
 'cf-rtmp' channel got connect attempt status. (Object)#0
 code = NetConnection.Connect.Failed
 level = error
 =

 I've fully edited the xmls as needed I think. I've added the
 destinations etc. Is there anyone who's experienced enough to know
 why there's a NetConnection.Connect.Failed message?

 I have a fully remote server with this and you can login to take a
 look.

  




-- 

João Fernandes


Re: [flexcoders] difference b/w Cairngorm 2.2.1 and Cairngorm Enterprise 2.2.1

2008-01-10 Thread João Fernandes
Cairngorm enterprise adds support for LCDS messaging  data management.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] How to pass ArrayCollection from Flex to coldfusion?

2008-01-08 Thread João Fernandes
Mark, arrayCollections will be converted to arrays of structs when 
passed to CF.
If you use AS3 Classes that use remoteClass you can have those instances 
converted to the corresponding CFC instances in CF.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



[flexcoders] Managed Collections with null objects

2008-01-03 Thread João Fernandes
I'm having this weird issue that never happened before.
Sometimes, totally randomly, after deleting a managed item in a 
arraycollection, instead of getting the arrayCollection resized by -1, 
my arraycollection keeps the same size and I get a null object where the 
managed item was previously.

This happens using ds.deleteItem() or using 
arrayCollection.removeItemAt( itemIndex )
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Flash Player r115 Does not allow Authorization HTTP Headers

2007-12-18 Thread João Fernandes
Tim,

In the documentation 
http://livedocs.adobe.com/labs/flex3/langref/flash/net/URLRequestHeader.html, 
all listed headers are not allowed to be used in Flash Player or AIR 
content outside the application security sandbox. Authorization being 
one of them which is in my opinion too bad.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] ArrayCollection question in Cairngorm?

2007-12-17 Thread João Fernandes
Mark, your result is just fine, just define a labelField or a 
labelFunction in your combobox.
something like this

mx:ComboBox labelField=DepartmentName 
dataProvider={modelLocator.acDept}/

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: cfc do not understand cairngorm VO?

2007-12-06 Thread João Fernandes
Mark, send me both of your CFC and VO to my email and I'll check why it 
doesn't work for you.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: cfc do not understand cairngorm VO?

2007-12-05 Thread João Fernandes
try to set the Alias attribute in your component. something like 
alias=path.to.my.cfc.PersonVO

Also, be sure that the AS3 class maps to the same path defined in the 
alias attribute.

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



[flexcoders] LCDS and RTMPE

2007-12-04 Thread João Fernandes
Hi there, does anyone know (Adobe guys) if LCDS will support this 
protocol in a near future version?

Thanks

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Where is that flex-config.xml file?

2007-12-03 Thread João Fernandes
the flex-config.xml is in your LCDS WEB-INF/Flex folder.
I think this config file is used when you want to compile your 
application server-side.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] SWC Import fails on some files

2007-11-27 Thread João Fernandes
Marty,

Check in the error log if you get any message saying that the swc could 
not be loaded .
If it's the case, try to recompile that swc file with the current SDK 
and replace the old one. It should fix the problem (it did for me).

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Adding Plug-ins to Flexbuilder

2007-11-06 Thread João Fernandes
Patrick,

take a look here 
http://www.onflexwithcf.org/index.cfm/2007/10/5/Where-did-the-orgeclipsejdtcore-go-in-Flex-Builder-3-Beta-2-standalone

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org




Re: [flexcoders] Re: Flex Builder 3 and Coldfusion 8 with LCDS

2007-10-31 Thread João Fernandes
the CFextensions which are provided with the FB installer they provide 
some basic wizards to generate Assemblers / DAO / VO from a table but 
they are rather limited.
While they can provide the needed files easily to have it running,  they 
aren't designed for production in my opinion.

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Re: Flex2Gateway Security Question

2007-10-29 Thread João Fernandes
that property that defines remote / remote  public is for CF Server 
only. It will say if public methods can be invoked remotly through the 
flex2gateway or not.
Even if you compile with a local version of your remoting-config.xml 
which has public methods enabled, if the remote server only allows 
remote, you won't be able to invoke those public functions.

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Flex2Gateway Security Question

2007-10-26 Thread João Fernandes
by default you can only invoke remote functions, not public ones. To 
allow public functions to be called from a flex front-end you need to 
change de configuration of the ColdFusion destination.
Check the remoting-config.xml if you have the method-access-level 
property set to remote. To allow both public and remote this value is 
set to 'public and remote'.
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] Flex2gateway and 500 error

2007-10-19 Thread João Fernandes
isn't a space missing between  classin the 
uri=http://{server.name}:{server.port}/flex2gateway/class=flex.messaging.;?
It can eventually make the messagebroker fail to load.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [flexcoders] messaging-config.xml

2007-10-19 Thread João Fernandes
Tim,

You'll have to do Project  Clean to force Flex Builder to reload the 
configuration.

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org




Re: [flexcoders] Re: Flex2gateway and 500 error

2007-10-19 Thread João Fernandes
it should have a space between them otherwise the xml won't be well 
formed. You can check that by opening the  coldfusion logs  and look 
for  a stacktrace.


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



Re: [Fwd: Re: [flexcoders] Mxml editor no longer working]

2007-10-05 Thread João Fernandes
wild guess,

try this http://www.machine501.com/2007/07/05/flexbuilder-wont-start/
-- 
João Fernandes
www.onflexwithcf.org
www.riapt.org


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: [Fwd: Re: [flexcoders] Mxml editor no longer working]

2007-10-05 Thread João Fernandes
You should thanks Robert from the Searchcoders.
It's he's blog and he already saved my life twice with this Tip :)

-- 
João Fernandes
www.onflexwithcf.org
www.riapt.org


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Thermo Cairngorm

2007-10-04 Thread João Fernandes
You can check thermo videos here http://aralbalkan.com/1050

I'm very impressed with all the functionality available on an early 
alpha like this.
-- 
João Fernandes
www.onflexwithcf.org
www.riapt.org


Re: [flexcoders] Strange warning using FB3 beta 2

2007-10-01 Thread João Fernandes
This warning shouldn't exist in my opinion since the app is compiled on 
flex builder, it should really not care about what framework is on the 
server.

This only make sense when compiling at the server-side and you pick a 
different framework than the one the server is using.

-- 
João Fernandes
www.onflexwithcf.org
www.riapt.org


Re: [flexcoders] New Project using ColdFusion Flash Remoting Service

2007-09-26 Thread João Fernandes
George,

your root folder should be the ColdFusion folder that contains the 
WEB-INF folder. It's just to allow the wizard to locate the 
services-config.xml to compile properly the app. If then, you want to 
compile your app and have the files deployed somewhere else, change the 
output folder path and point to the desired folder.

-- 
João Fernandes
www.onflexwithcf.org
www.riapt.org



Re: [flexcoders] Channel definition, mx.messaging.channels.RTMPChannel, can not be found

2007-09-26 Thread João Fernandes
You are missing fds.swc and fds_rb.swc that can be found under 
/WEB-INF/flex/libs and /WEB-INF/flex/locale/en_US.


-- 
João Fernandes
www.onflexwithcf.org
www.riapt.org


Re: [flexcoders] Data Services createItem() and MYSQL auto_increment keys...

2007-09-25 Thread João Fernandes
When you create a new instance of your ProductVO in flex, the primary 
won't be set but there will be an UID property which is an unique 
identifier. Once you commit to the Assembler and get it created to the 
db, populated the primary key with the new value and returned to the 
client, it will use the unique identifier to locate the local ProductVO 
and update it.
The UID is then updated to the value of the primary key.

-- 
João Fernandes
www.onflexwithcf.org
www.riapt.org


Re: [flexcoders] Flex 1.5 + ColdFusion 8

2007-09-13 Thread João Fernandes
Hi Blair,

are you trying to deploy Flex 1.5 merged to CF8 like it was done with CF7?
If it's the case, did you install CF8 without LCDS integrated?

-- 
João Fernandes
www.onflexwithcf.org
www.riapt.org


Re: [flexcoders] creating messaging service destinations at run-time

2007-09-05 Thread João Fernandes
you can eventually make an RPC call which will check if that destination 
exists and if not, create it for you and after getting the result from 
the rpc, you are ready to start pushing messages through that destination.
I don't know if you can listen to those errors because I use CF as 
back-end and our available features are quite limited comparing to Java 
available ones.


João Fernandes

jfujita1 wrote:


Hi,

I'm wondering if there is a way for the message broker to create a
destination if one does not currently exist.

Right now I'm using bootstrapping to query a Database and instantiate
all of the messaging service destinations upon server startup. If I
need to push a message to a destination that does not yet exist, is
there a way that I can try to send the message out, capture an error
and instantiate the destination then resend the message?

 


Re: [flexcoders] FDS and Paging

2007-09-04 Thread João Fernandes

Hi Jeff,

I've explained to Ed about this regarding custom paging.
Currently when we have custom paging and click in a datagrid column 
header, the complete fill must be at the client side to be sorted.
By adding sortFields  sortDirections to the custom method and passing 
them automatically to the customFill method, we are able to extract ANY 
page of the collection in any order without having to collect all the 
data items at the client.

few key points:
1) better user experience since it's lot faster to retrieve 1 page of 
500 items instead of collecting 100.000+ items in the client just to 
sort them.
2) it happens under the hood like it does for lazy loading support, 
which requires 0 lines of code

3) less data crossing the wire and less load on the server

João Fernandes

Jeff Vroom wrote:


Hi João,

 

So I think that you can do this today where you just pass the sort 
fields as additional fill parameters.  Is there a reason you want the 
sort fields broken out explicitly in the api?   

 


Jeff

 




*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
*On Behalf Of *João Fernandes

*Sent:* Thursday, August 30, 2007 4:05 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] FDS and Paging

 


Jeff,

I would like to see the custom paging method to be enhanced so it 
would also pass the sort fields and their order.
I say fields because we could sort by multiples columns the paged 
collection.
Once the client sort by n fields, those would be passed to the custom 
fill method with their corresponding order and it would allow to 
retrieve any page with any order without having to retrieve all the 
collection to the client.


João Fernandes

Jeff Vroom wrote:

By default, DS will just page from the client to the server, not from 
the server to the database.  I'd expect it to call fill once, but 
then the client fetches the data in pages.


 

Starting in LC DS 2.5, we added a mechanism to page directly to the 
database.  Currently it is limited in that you must set 
autoSyncEnabled=false for it to work before you call fill (though we 
hope to fix that limitation in the next release).


 

To use this you implement the variant of the fill method which takes 
the start and count methods:


 

Collection fill(List fillParameters, int startIndex, int 
numberOfRows);


 

You also must override the useFillPage method and have it return 
true for that set of fill parameters.  

 

There are two options for determining the size of the collection that 
the client sees.  It will call your assembler's count method with the 
same fill parameters.  If that returns -1, it goes into a dynamic 
sizing mode where it makes the size of the collection on the client 
pageSize+1 items, then when that one missing item is fetched it ups 
the size to pageSize+pageSize+1, etc. until it hits the end.  

 

By default when you sort in the data grid (or apply any filters) it 
will page in all items automatically since the default behavior is to 
sort on the client.   This can be inefficient so you might want to 
add the sort criteria to the fill parameters.  You can then override 
the sort behavior in the data grid to call fill again rather than 
paging all of the items.


 


Jeff

 




*From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On Behalf Of *Alban Soupper

*Sent:* Wednesday, August 29, 2007 7:27 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] FDS and Paging

 


Hi All,

 


I need some help with FDS and the paging feature.

 


Here is the situation:

I have a DataGrid that display a list of managed objects -- using DFS 
and the Assembler strategy.


The number of objects is very large and is time consuming to load.

I would want to use the paging feature to deal with this situation.

I enabled the paging option in the destination descriptor, but the 
behavior does not change.


The client just calls my assembler fill method always in the same way.

 


Did I miss some point?

What happens with the paging feature and the sort feature of the 
Datagrid?


 


Any help is welcomed.

 


Alban.

 




This email and any attachments transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom 
they are addressed. If you are not the intended recipient, any 
disclosure, copying, use, or distribution of the information included 
in this message and any attachments is strictly prohibited.


If you have received this email in error please notify the system 
manager at [EMAIL PROTECTED] or by reply e-mail and immediately and 
permanently delete this message and any attachments. Thank you.


 




 

 


Re: [flexcoders] FDS and Paging

2007-08-30 Thread João Fernandes

Jeff,

I would like to see the custom paging method to be enhanced so it would 
also pass the sort fields and their order.
I say fields because we could sort by multiples columns the paged 
collection.
Once the client sort by n fields, those would be passed to the custom 
fill method with their corresponding order and it would allow to 
retrieve any page with any order without having to retrieve all the 
collection to the client.


João Fernandes

Jeff Vroom wrote:


By default, DS will just page from the client to the server, not from 
the server to the database.  I'd expect it to call fill once, but then 
the client fetches the data in pages.


 

Starting in LC DS 2.5, we added a mechanism to page directly to the 
database.  Currently it is limited in that you must set 
autoSyncEnabled=false for it to work before you call fill (though we 
hope to fix that limitation in the next release).


 

To use this you implement the variant of the fill method which takes 
the start and count methods:


 

Collection fill(List fillParameters, int startIndex, int 
numberOfRows);


 

You also must override the useFillPage method and have it return 
true for that set of fill parameters.  

 

There are two options for determining the size of the collection that 
the client sees.  It will call your assembler's count method with the 
same fill parameters.  If that returns -1, it goes into a dynamic 
sizing mode where it makes the size of the collection on the client 
pageSize+1 items, then when that one missing item is fetched it ups 
the size to pageSize+pageSize+1, etc. until it hits the end.  

 

By default when you sort in the data grid (or apply any filters) it 
will page in all items automatically since the default behavior is to 
sort on the client.   This can be inefficient so you might want to add 
the sort criteria to the fill parameters.  You can then override the 
sort behavior in the data grid to call fill again rather than paging 
all of the items.


 


Jeff

 




*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
*On Behalf Of *Alban Soupper

*Sent:* Wednesday, August 29, 2007 7:27 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] FDS and Paging

 


Hi All,

 


I need some help with FDS and the paging feature.

 


Here is the situation:

I have a DataGrid that display a list of managed objects -- using DFS 
and the Assembler strategy.


The number of objects is very large and is time consuming to load.

I would want to use the paging feature to deal with this situation.

I enabled the paging option in the destination descriptor, but the 
behavior does not change.


The client just calls my assembler fill method always in the same way.

 


Did I miss some point?

What happens with the paging feature and the sort feature of the Datagrid?

 


Any help is welcomed.

 


Alban.

 




This email and any attachments transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom 
they are addressed. If you are not the intended recipient, any 
disclosure, copying, use, or distribution of the information included 
in this message and any attachments is strictly prohibited.


If you have received this email in error please notify the system 
manager at [EMAIL PROTECTED] or by reply e-mail and immediately and 
permanently delete this message and any attachments. Thank you.


 




 

 


Re: [flexcoders] Re: for FDS beginners

2007-08-30 Thread João Fernandes

Charu,

Try
http://www.adobe.com/devnet/flex/articles/coldfusionflex_part1_print.html
http://www.adobe.com/devnet/flex/articles/coldfusionflex_part2_print.html
those are for CF7.0.2 + FDS but if you have any trouble deploying it in 
CF8 with integrated LCDS just say and I'll try to help you out.


João Fernandes

Charu wrote:


Thanks hua...

I was trying FDS from this url:
http://www.talkingtree.com/blog/index.cfm/2006/12/20/FDS-CFMX702- 
http://www.talkingtree.com/blog/index.cfm/2006/12/20/FDS-CFMX702-

ContactManagerApp

bt wasnt successful

can u please send me the files where u have created such
applications...
Thanks in advance

--- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com, hua waveland [EMAIL PROTECTED]

wrote:

 http://www.onflexwithcf.org/index.cfm/LCDS 
http://www.onflexwithcf.org/index.cfm/LCDS

 has a few good examples (with source code) on FDS/LCDS and
coldfusion.

 On 8/29/07, Charu [EMAIL PROTECTED] wrote:
 
  Hello ,
 
  I am a newbie to FDSand was trying out my hands on FDS,jrun
and
  coldfusion...i tried some code so as to create channel and
channel sets but
  wasn't successful...[image: :(]
 
  Can ne1 help me with this and some small application and how to
configure
  so as i can also see how FDS applications run[image: :-/]
 
  Hope wll get solution for my query...[image: :)]
 
 
 
 
 
 
 


 


Re: [flexcoders] Error: Interface IManaged was not found.

2007-08-29 Thread João Fernandes

yes Hara,

you should include de updated fds.swc from LCDS 2.5.1.

João Fernandes

Hara Jn wrote:


I am reposting my issue??.. Is there any one help me..
Thanks in Advance.

Hi ,

Until yesterday I was trying Flex 2.0 and today I just wanted to try
out the updated version 2.0.1. I downloaded the files and incorporated
in to the application. But when I compiled the application it shows
the following compilation error

Error: Interface IManaged was not found.

I remember, I got the same error with Flex 2.0 and remembered that I
needed to add the fds.swc file in to the framework/libs folder of
flex_sdk 2.0.

I tried the same thing by copying the fds.swc file which was in
flexsdk 2.0 (not updated version) and pasting it to the same location
in the updated version of the flexsdk2.0. But when I try running the
application, it throws the following compile time error.

[exec] Error: Type was not found or was not a compile-time constant:
Session
[exec] Error: Type was not found or was not a compile-time constant:
Consumer

I also tried changing the rpc.swc file but no help.

Do I need to get the updated fds.swc file? If so where do I get it?.
There are no such files in LCDS 2.5 or the updated version Flex
Builder 2.0.1. Can anyone help me locate the file?

Or if not needed what should I do?.

Thanks in advance
Hara

 


Re: [flexcoders] flash remoting documentation

2007-05-16 Thread João Fernandes
the source attribute is the path that ColdFusion will use to resolve 
your CFC.
If you use com.winn.leads it will expect to find leads.cfc inside 
com/winn/ folder.
It's just like when you use createObject('component','some.dot.notation').

If you are using cf with apache/iis yes, the endpoint url should be 
something targeting port 80 (standard).
Also, set a fault handler for you remote object and run it in debug mode 
and take a look into the error returned.

Also, I don't know if it was a typo but you should call myCfc.getInfo()



João Fernandes


Derrick Anderson wrote:
 Hi,

 I am running CF standard 7.0.2 as it says is required to do this.

 in my C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-services.xml file i have 
 the 1 standard channel, without the port (cuz im not using built in 
 server, right?)

 channel-definition id=my-cfamf 
 class=mx.messaging.channels.AMFChannel

 properties
 polling-enabledfalse/polling-enabled
 serialization
 !--
 custom-serializer type=xml 
 class=flex.messaging.io.amf.serializers.XMLSerializer /
 custom-serializer type=typed-object 
 class=coldfusion.flash.messaging.io.amf.serializers.TypedObjectSerializer/
 --
 custom-deserializer type=typed-object 
 class=coldfusion.flash.messaging.io.amf.serializers.TypedObjectDeserializer 
 /
 /serialization
 /properties
 /channel-definition 

 THEN, in my flex application very simply i am defining

 mx:RemoteObject id=myCfc destination=ColdFusion 
 source=com.winn.leads result=remotingCFCHandler(event)/

 but when i run

 myCfc.getInfo

 which should return me a number (just for testing), nothing happens- 
 the handler function puts the response in a textarea- i have an http 
 proxy running and i don't even see a request going out.  i was getting 
 an error that it could not find that CFC but somehow i fixed that.

 what i need to know is:
 the SOURCE attribute of the mx:RemoteObject class, what path is this 
 from?  how is the endpoint url in the channel related to the URL i'm 
 using for the site, and what is the best way to access components in 
 my site (not in the cfusionMX7\wwwroot).

 thanks,
 d.

 - Original Message 
 From: João Fernandes [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, May 15, 2007 2:38:44 PM
 Subject: Re: [flexcoders] flash remoting documentation

 Hi Derrick,

 what is your problem about connecting flex with CF? what version of CF
 are you running?

 João Fernandes



 
 Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge 
 http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/222to 
 see what's on, when.
  



Re: [flexcoders] flash remoting documentation

2007-05-15 Thread João Fernandes
Hi Derrick,

what is your problem about connecting flex with CF? what version of CF 
are you running?

João Fernandes


Re: [flexcoders] Re: Getting started with CF and Flex

2007-05-09 Thread João Fernandes
Sean,

try to do a clean on your project so it reloads the services files.

João Fernandes


Re: [flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread João Fernandes

Scott,

1 single server but with a single physical CPU. Multiples cores are allowed
but not multiple physical CPUs.

João Fernandes

On 26/04/07, Dimitrios Gianninas [EMAIL PROTECTED]
wrote:


  Well then I think you have what you are looking for :) Just download it
and try it!

Dimitrios Gianninas
Optimal Payments Inc.

-Original Message-
From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com on behalf
of Scott Hoff
Sent: Wed 4/25/2007 10:58 AM
To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
Subject: [flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService
vs. RemoteObject

Ok. So with FDS, the free version, as long as I have one server I
can have unlimited concurrent users? That seems like it would be too
good to be true because I would never have a reason to upgrade b/c
our needs would probably be served fine with a single server.

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Dimitrios Gianninas
[EMAIL PROTECTED] wrote:

 You go it!

 Remember you can always use the free version of FDS, called FDS
Express which runs on one CPU - thus one server. If your server is
powerful enough then you might get away with it if you dont have
that many users. You can always use HTTPService or WebService calls,
but you will be hit with performance issues in the long run, not to
mention dealing with complex data in those 2 scenarios will be a bit
of a pain as well.

 Dimitrios Gianninas
 Optimal Payments Inc.



 -Original Message-
 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com on
behalf of Scott Hoff
 Sent: Tue 4/24/2007 5:28 PM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: [flexcoders] Inserting data from Flex: FDS vs.
HTTPService vs. RemoteObject


 Ok.

 I'm clearly a beginner and I'm trying to get a grasp on the best
 ways to develop applications in flex.

 The applications that I develop mostly interface with databases. I
have
 been really impressed with all of the information and examples of
Flex
 Data Services and its advantages. However, I understand that
there are
 licensing issues and limits on concurrent users.

 So far I can only think of three ways that you can add content to a
 database from within a flex application:

 * Use HTTPService. I figure I can store the information
that I
 want to post and then submit it via querystring to an HTTP
Service
 that would then insert the record and then return an event
after
 the inserting was complete. If I knew it was complete, I
would
 then call for the datasource to be refreshed.
 * Use Remote Object: In this scenario, I would use
 Coldfusion/Java and Remote Objects in order to do the
inserting. I
 guess I would follow the same process. After a successful
insert, I
 would call for a new download of all of the data and the
updated
 dated would be populated throughout the datagrid.
 * Use Flex Data Services: (I know the explanation is
poor) I
 would post via a proxy and upon the inserting of the
information
 the flex data services would then update the current
applications
 that a change had been made at the data would then be updated
and
 automatically reflected in the applications that would be
using the
 file.

 First of all, is this even close to a good description of the
options
 one has while inserting data from a flex application?

 If I don't forsee the company that I work with being able to pay
 20,000 dollars so that we can have 300+ users concurrently using
flex
 data services, should I automatically decide against using flex
data
 services?


 --
 WARNING
 ---
 This electronic message and its attachments may contain
confidential, proprietary or legally privileged information, which
is solely for the use of the intended recipient. No privilege or
other rights are waived by any unintended transmission or
unauthorized retransmission of this message. If you are not the
intended recipient of this message, or if you have received it in
error, you should immediately stop reading this message and delete
it and all attachments from your system. The reading, distribution,
copying or other use of this message or its attachments by
unintended recipients is unauthorized and may be unlawful. If you
have received this e-mail in error, please notify the sender.

 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés
destinés au seul usage du destinataire visé. L'expéditeur original
ne renonce à aucun privilège ou à aucun autre droit si le présent
message a été transmis involontairement ou s'il est retransmis sans
son autorisation. Si vous n'êtes pas le destinataire visé du
présent message ou si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le lire et le supprimer, ainsi que toutes ses
pièces jointes, de votre système. La lecture, la distribution, la
copie ou tout autre usage du présent message ou de ses pièces
jointes par des personnes

Re: [flexcoders] How does [Bindable] work? - For integration of Flash CS3 content in a Flex 2 app

2007-04-24 Thread João Fernandes
João,

you can set your property [Bindable('posxChanged')] and when your code 
updates that value, you just dispatch a posxChanged event, and the 
getter will be called again.

something like this

[Bindable('posxChanged')]
public function set posx(val:Number):void{
if(_posx == val) return;
_posx = val;
dispatchEvent( new Event('posxChanged') );
}
public function get posx():Number{
return _posx;
}

it should work for you.

João Fernandes


Re: [flexcoders] FDS Scalability

2007-04-20 Thread João Fernandes
current version of CF might have some issues when dealing with large 
datasets due to the overhead created by createObject().
Regarding scalability, it should work fine since they scale each one on 
their own side.

I never heard of scalability problems for any of those 2.

I don't think that sticky sessions are a requirement for CF.

João Fernandes


boybles wrote:

 How is the scalability with FDS with CF (and do you have to enable
 sticky clustering)? I also heard that FDS+CF is much slower than
 FDS+Java especially when traffic gets heavy. Ben Forta didn't admit it
 outright...but hinted at it. Have you experienced this kind of thing?


  



Re: [flexcoders] LiveCycle Data Services beta expired?

2007-04-20 Thread João Fernandes
Kevin,

are you sure you replaced the file correclty? I have updated the file 
and the error was gone.

João Fernandes


Re: [flexcoders] FDS / CF Endpoints

2007-04-19 Thread João Fernandes
Darren,

If you are just using FDS with CF and they run in different servers 
you'll have to define a hostname property to tell FDS where to find CF 
(I think, it's in the resource config folder, check the 
data-management-config.xml to check the exact property). This property 
must be defined in each destination you'll create.

Also the messaging gateway have something similar that is the allowedIP 
addresses (CF servers) to connect and send messages to that destination.

So if you serve your FDS app from the FDS server, just let {server.name} 
where it was since it will resolve at runtime to server1.yourdomain.com 
and connect to FDS...
In this case, CF doesn't have to be visible to the client since it's FDS 
who calls CF and not the client.

João Fernandes


Re: [flexcoders] FDS / CF Endpoints

2007-04-19 Thread João Fernandes
Darren,

when you request a fill, it will contact with rtmp or polling FDS 
server. Then FDS looks into the configuration and try to locate CFserver 
(not the client itself). Tries to connect to it (if no hostname is 
defined in the destination configuration) with RMI. ColdFusion accepts 
the connection if the IP is in the allowed IP list that you can find 
inside the CF administrator in the flex related window. Then if allowed, 
if checks for the CFC assembler, calls the fill method, returns to FDS 
and FDS returns to the client.

The EndPoint must target always FDS and never CF.

João Fernandes


Re: [flexcoders] FDS / CF Endpoints

2007-04-19 Thread João Fernandes
No Darren,

CF type endpoints MUST point to FDS and NOT to CF itself. It's always 
FDS that will communicate with CF and never the swf file itself.

I'm not talking about the crossdomain but the data-management. In there 
you have all your destinations definitions. If you take a look in the 
deployment of FDS (c:\fds?) there is a resource\config folder where you 
can find an example of a cf destination. inside of it, you'll see that 
there is a property that will define which host is using cf and that 
destination will try to connect.

in the admin panel that you talked about, yes, you need to configure FDS 
IP address there so CF will allow that machine to communicate with CF 
itself.

The main point is, if you don't define in your destination configuration 
(destination id=somedestination...) what is the cf hostname, FDS 
will think that CF is running locally.

João Fernandes


  1   2   3   4   >