Re: [flexcoders] How to expose Hibernate 'non' conventional beans into flex apps via remoting

2008-06-04 Thread Robert Cadena
i should also have mentioned this: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/serialize_data_3.html#303410 On Wed, Jun 4, 2008 at 7:22 PM, Robert Cadena [EMAIL PROTECTED] wrote: Hi Mehdi, this is just my current opinion on the subject: create data transfer objects for your

Re: [flexcoders] How to expose Hibernate 'non' conventional beans into flex apps via remoting

2008-06-04 Thread Robert Cadena
Hi Mehdi, this is just my current opinion on the subject: create data transfer objects for your domain objects (your hibernate pojos). Which is basically the first solution you proposed.Use custom assemblers to create DTOs from your DOs . This is my current opinion on the subject. There

Re: [flexcoders] [lcds] create custom assembler to get XML data

2008-05-07 Thread Robert Cadena
Hi Thierry, try just configure your destination to use the custom java assembler, not the hibernate. /r http://www.searchcoders.com/ On Wed, May 7, 2008 at 6:07 AM, tit0uill3 [EMAIL PROTECTED] wrote: Hello group ! I would like to create my own custom assembler to retrieve some data from

Re: [flexcoders] Socket receive limit

2008-05-07 Thread Robert Cadena
Hi Michael, the socket might be buffering your data, so a blunt for approach is to do is keep aggregating the data into a buffer and attempt to parse it, if it parses correctly then you can close the socket, if not then keep waiting until either the socket is closed remotely or you get all the

Re: [flexcoders] Handle Large Dataset

2008-05-07 Thread Robert Cadena
Hi David, Page your dataset. Matt Chotin had a good blog post with code that you can get started with. Kind of old but you can modify it a bit to suit your needs: http://weblogs.macromedia.com/mchotin/archives/2004/03/large_data_sets.html /r http://www.searchcoders.com/ On Wed, May 7,

Re: [flexcoders] Convert Flex App to AIR App

2008-05-07 Thread Robert Cadena
Hi Geoff, Here's a link that should be helpful: http://www.adobe.com/devnet/air/flex/articles/flex_air_codebase.html Some time ago I dealt with the same issue on Flex 2 beta. Basically, the way I dealt with it was to extract all the functionality into a Library Project, then create an AIR and

Re: [flexcoders] Re: Handle Large Dataset

2008-05-07 Thread Robert Cadena
. I think I'll continue to work with this some, but don't know that its exactly what I want and/or need. --- In flexcoders@yahoogroups.com, Robert Cadena [EMAIL PROTECTED] wrote: Hi David, Page your dataset. Matt Chotin had a good blog post with code that you can get started

Re: [flexcoders] Re: BlazeDS Security Confusion

2008-05-01 Thread Robert Cadena
try setting server to Tomcat instead of JBoss in your services-config.xml security login command node? /r On Thu, May 1, 2008 at 12:50 PM, Jim Boone [EMAIL PROTECTED] wrote: Mete, Thank you for the response. Unfortunately, I am still having troubles. I have: * confirmed that the Tomcat

Re: [flexcoders] Re: BlazeDS Security Confusion

2008-05-01 Thread Robert Cadena
because I have seen several references on the web that use it... --- In flexcoders@yahoogroups.com, Robert Cadena [EMAIL PROTECTED] wrote: try setting server to Tomcat instead of JBoss in your services-config.xml security login command node? /r On Thu, May 1, 2008 at 12:50 PM

Re: [flexcoders] blazeds / livecycle ds question

2008-04-30 Thread Robert Cadena
if you configure the destination scope to application then there should be one per app, if you configure it request, then there's as many concurrently as there are concurrent requests, so depends. if you configured it session then, i defer to Mr. Vroom for the answer =p /r On Tue, Apr 29,

Re: [flexcoders] Frustrations with blazeds messaging

2008-04-29 Thread Robert Cadena
hey nd, let me ask you a couple of questions and maybe we can figure out where the problems are. * how are the points you are sending represented? Are they maybe Point objects in java, mapped to Point objects in AS? Is it, instead, a Point result set, for example, with an array of number or int

Re: [flexcoders] BlazeDS, List of VOs inside a VOs won't translate

2008-04-29 Thread Robert Cadena
Hi Alan, the declaration of the urlButtons field in the AS object is a little off. it might just be that you typed it in, but just in case, it should be: public var urlButtons:ArrayCollection; The value type should be converted automatically. I have an application running that has a list in

Re: [flexcoders] Java - Air communication via BlazeDS

2008-04-29 Thread Robert Cadena
like douglas said, blazeds needs a servlet container. so you'll need tomcat, maybe jetty. if you want to put in the time, you could try writing an XML server. Check out the xml sockets in flash, but this means writing your own xml server. there may be some open source ones available. flex/air

Re: [flexcoders] Guidance for Java API integration needed

2008-04-28 Thread Robert Cadena
check out project artemis. it may do what you need: http://artemis.effectiveui.com/ /r On Sat, Apr 26, 2008 at 10:23 PM, dnii303 [EMAIL PROTECTED] wrote: Hi there, I am very new to the Flex development environment but have bin able to develop a nice web application that makes extensive

Re: [flexcoders] LiveCycle Data Services ES sample notes.mxml application problem

2008-04-27 Thread Robert Cadena
Hi Marcin, it looks like the jvm can't find the class for a java transaction exception. have you tried installing jotm and any required libraries for java transactions into your tomcat commons directory? here is some info on installing jotm on tomcat:

Re: [flexcoders] Re: Flex Java, Where to Start?

2007-06-07 Thread Robert Cadena
Hi Aaron, You don't need EJB or J2EE to start with FDS. In fact, I would recommend trying familiarize yourself with plain FDS before attempting to integrate with enterprise java. What you do need is a servlet container. Typically tomcat. FDS comes with a lite version of another servlet

[flexcoders] Announcement: Los Angeles Flex Users Group Meeting, June 12th, 7-9pm

2007-06-06 Thread Robert Cadena
Hello everybody, Anyone who is in the LA Area or nearby is welcome to come to the 2nd Los Angeles Flex Users Group meeting. This meeting will be all about using Flash CS3 and Flex together. Check out the announcement on the laflex site for more info:

Re: [flexcoders] Remoting - Authentication and authorization with Acegi

2007-06-05 Thread Robert Cadena
Hi Collin, Does anyone have any remoting (i.e. RemoteObject) examples of how to do authentication and authorization with Acegi? I have been reading it doesn't seem too difficult. the current version of my app (http://www.searchcoders.com/flex) uses container managed authentication and i

Re: [flexcoders] What is the Flex solution to missing threads?

2007-05-30 Thread Robert Cadena
Hi Aaron, you'll have to split up your function so that it performs work in small chunks then schedules itself to be called later with 'callLater'. I ran into this problem when I wrote my syntax highlighting lib. So I split up the scanning function into a class of its own, with the previously

[flexcoders] Syntax highlighting library in ActionScript 3

2007-05-29 Thread Robert Cadena
Hi everyone, I am releasing the first version of my syntax highlighting library written in actionscript 3. I use this library in the chatrooms in my SearchCoders/Dashboard application to parse as3 code in the chatrooms. Here's an example:

Re: [flexcoders] Having really tough time with Data Services [EMAIL PROTECTED]!!

2007-05-19 Thread Robert Cadena
Hi Anthony, Binding works one way. You need to explicitly set the value of the item to the textInput field's value. here's some pseudocode: public var item:Item; mx:TextInput id=ti text={item.name} / ... var item:Item = ds.getItem(); ...[later] private function handleSubmitClick():void {

Re: [flexcoders] Re: DataGrid dynamic toolTips or dataTips

2007-05-19 Thread Robert Cadena
Hi James, if you wait for a result in a while loop and the server takes a long time to return the value then your interface will lock up. you can do something like the following instead: public function myDataTipFunction(e:HitData):String { // listen for result of tooltip data call

Re: [flexcoders] external xml help

2007-05-19 Thread Robert Cadena
Hi fxeOneSixTwo, in your code below you do not wait for the URLLoader to load the data. You have to add an Event.COMPLETE listener and then handle the xml data. I took your code and reworked it a bit. here's what i came up with: import mx.rpc.soap.LoadEvent; public

[flexcoders] Announcement: Los Angeles Flex Users Group (LAFUG)

2007-04-30 Thread Robert Cadena
Hi everyone, I'm going to be holding the first Los Angeles Flex Users Group meeting on Tuesday, May 8th. The topic for this meeting will be an intro and tour of Flex and Flex builder. There's more info about the meeting - including directions and parking info - on the website:

Re: [flexcoders] QTP 9.2 Eval version and Flex

2007-04-25 Thread Robert Cadena
Hi Matt, thanks for your reply. /r Matt Chotin wrote: Hi, Unfortunately the version of Flex automation that's currently posted doesn't work with 9.2 very well. We're releasing an update to the automation package at the same time LCDS 2.5 comes out which is a little ways away. So

[flexcoders] QTP 9.2 Eval version and Flex

2007-04-21 Thread Robert Cadena
Hello, has anyone had a chance to try the QTP 9.2 14-day Evaluation version with Flex? In short, I can record a test but i cannot play it back because QTP can't find the flex app/flash object. Here are more details: Installed QTP 9.2 eval version Installed Flex Automation Installed QTP

Re: [flexcoders] Flex 2.x and PayPal NVP Integration...

2007-04-19 Thread Robert Cadena
Hi jr, you can make a proxy in a web scripting language. Here are 4 different languages: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16520 They have an example of a generic webservices proxy here: http://www.adobe.com/devnet/flash/articles/flmxpro_webservices_06.html I have

Re: [flexcoders] FDS - java.lang.NoClassDefFoundError: flex/messaging/security/TomcatLoginHolder

2007-04-17 Thread Robert Cadena
The class is in the file: C:\fds2\resources\security\tomcat\flex-tomcat-common.jar the readme.txt file in that directory will tell you where to put the files. Hope that helps /r http://www.searchcoders.com/flex http://www.laflex.org - Los Angeles Flex Users Group Steven Toth wrote: I

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-16 Thread Robert Cadena
Hi Bjorn, when you load the module, what ApplicationDomain are you passing to the the IModuleInfo? and how do you construct it if you are passing it as a param? /r http://www.searchcoders.com/flex/search/module http://www.laflex.org/ - Los Angeles Flex Users Group bjorn - wrote: Thanks for

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-16 Thread Robert Cadena
soon on Google at the least. - Bjørn On 16 Apr 2007 10:10:50 -0700, Robert Cadena [EMAIL PROTECTED] wrote: Hi Bjorn, when you load the module, what ApplicationDomain are you passing to the the IModuleInfo? and how do you construct it if you are passing it as a param? /r http

Re: [flexcoders] Re: Apollo isn't loading my modules

2007-04-04 Thread Robert Cadena
Hi, I too am having difficulties with loading modules in apollo. Please correct me if i'm wrong but it seems that the current behaviour is that only local swfs placed and referenced from the app-storage directory can be loaded as modules? Here's a bit of code to test. First, make a regular

Re: [flexcoders] Interfaces in Library Projects

2007-03-31 Thread Robert Cadena
Hi Adam, It sounds like flex builder is not including your interface in the swc. Go into your library's properties, select Flex Library Build Path on the left. On the right, select the Classes tab. Look through the tree and make sure that the checkbox for your interface is checked. If it's

Re: [flexcoders] Re: FDS/Hibernate/MySql data update question

2007-03-27 Thread Robert Cadena
Jae, glad to help. I doubt there is a change event support in the jdbc connector, but I may be wrong. One way you'd be able to notify your fds webapp that a change occurred is to expose an internal facing service (webservice,restful, jms?) to your other app. For example, our

Re: [flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-27 Thread Robert Cadena
howdy, i'm not sure what classes are defined in your modules or if you're using load-externs and external-library-path when compiling your module projects. but what i have found is that if a module has a class linked in that is the exact same class (and comes from the same swc, say