[flexcoders] problem with Consumer

2008-12-17 Thread Dominic Pazula
I have a flex project using BlazeDS where I am trying to create a message destination dynamically and then subscribe to it in Flex. I've been using the sample from Blaze as a reference. Java method returns the string of the new destination: ... ms = (MessageService) MessageBroker.getMessageBrok

[flexcoders] Re: How to update menubar dataprovider

2008-11-29 Thread Dominic Pazula
I believe it is the CollectionChange event. --- In flexcoders@yahoogroups.com, "lampei" <[EMAIL PROTECTED]> wrote: > > Cool! That worked. I'm wondering what event is fired for the > ArrayCollection that made it work...CollectionChange maybe? It'd be > nice to know "what would work/how to get it

[flexcoders] Re: DateFormatter Problem

2008-07-16 Thread Dominic Pazula
Obrigado, João! --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > 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

[flexcoders] Re: DateFormatter Problem

2008-07-16 Thread Dominic Pazula
I did something in my fiddling that made this work. What, I don't know. However, as I posted in http://tech.groups.yahoo.com/group/flexcoders/message/119549 , my year is now being displayed as the positive of my GMT offset... --- In flexcoders@yahoogroups.com, "Dominic Pazul

[flexcoders] More DateFormatter Shinanagans

2008-07-16 Thread Dominic Pazula
I cannot seem to get the proper year out of a DateFormatter. Can someone tell me what I am doing wrong: I have a component: http://www.adobe.com/2006/mxml"; width="100%" height="100%" creationComplete="init()">

[flexcoders] DateFormatter Problem

2008-07-16 Thread Dominic Pazula
I have an advanceddatagrid where I inspect some column metadata and create appropriate formatters. When my column is a DATE (not a DATE TIME), I attempt to create the formatter like so: var fmtDate:DateFormatter = new DateFormatter; fmtDate.formatString = "DD MMM "; column.formatter = fmtDa

[flexcoders] OLAP

2008-06-04 Thread Dominic Pazula
Has anyone seen or done an integration of with a MDX compliant OLAP server? If so, would you be willing to share your experience? Thanks Dom

[flexcoders] Re: How do I find a row in a datagrid, then cause it to be clicked?

2008-06-04 Thread Dominic Pazula
Greg, Are the items in your list box the same objects that are in the datagrid? If so and your dataprovider is an ArrayCollection, then use myDataGrid.dataProvider.getItemIndex(obj:Object). If not, then you have to come up with a way to efficiently search the dataProvider. As for the programa

[flexcoders] Re: DataGrid and exporting values

2008-05-01 Thread Dominic Pazula
That is a good idea. Actually pushing the data across didn't seem to be the problem. That loop is what was taking forever. I could literally watch the individual cells get added. A couple hundred rows took >10 seconds. Of course I could always be missing something... Thanks --- In flexcod

[flexcoders] DataGrid and exporting values

2008-05-01 Thread Dominic Pazula
Like a lot of people, I've been wanting to export values out of a data grid and into a file. I decided that I didn't want to go with the round trip to the server. Instead, I use the ExternalInterface to call a js function that opens a new window and writes the values into a HTML table (uses js

[flexcoders] Re: Collapsible controls

2008-04-24 Thread Dominic Pazula
I don't have any ideas, but I am very interested in something like this. I was contemplating something very similar earlier today. --- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]> wrote: > > It seems to me that it's pretty common to need some UI that is > modeless (i.e.

[flexcoders] Re: PHP Mailer with Flex

2008-04-17 Thread Dominic Pazula
What are you looking to do with it? If you are just looking for a "contact us" type of form, AMFPHP might be over kill. --- In flexcoders@yahoogroups.com, "ghus32" <[EMAIL PROTECTED]> wrote: > > Hello Everyone, > > Does anyone here have any good suggestions for a PHP mailer to use with > Flex

[flexcoders] Re: BindingUtils question

2008-04-15 Thread Dominic Pazula
PROTECTED]; > dispatchEvent(new Event("myPropUpdated")); > } > > On Tue, Apr 15, 2008 at 1:20 PM, Dominic Pazula <[EMAIL PROTECTED]> wrote: > > > Thanks for the information. I am in the process of moving what I can > > to typed classes. Unfort

[flexcoders] Re: BindingUtils question

2008-04-15 Thread Dominic Pazula
rty and updates your currentOp object. > > On Tue, Apr 15, 2008 at 8:55 AM, Dominic Pazula <[EMAIL PROTECTED]> wrote: > > > I have a List Component whose dataProvider is an ArrayCollection of > > generic objects. > > > > I have another object I would like to b

[flexcoders] Re: BindingUtils question

2008-04-15 Thread Dominic Pazula
ection > changes, you could always listen for the itemClicked property or add a > ChangeWatcher for the list.selectedItem property and call a function that > pulls out the TYPE property and updates your currentOp object. > > On Tue, Apr 15, 2008 at 8:55 AM, Dominic Pazula <[EMA

[flexcoders] Re: Converting App to Flex 3

2008-04-15 Thread Dominic Pazula
Errors like that usually mean you are trying to declare a variable that Flex has defined elsewhere. Try 'textDecoration1' or something like it. --- In flexcoders@yahoogroups.com, "greggiec" <[EMAIL PROTECTED]> wrote: > > I keep getting this error. > > Declaration of style 'textDecoration' confl

[flexcoders] BindingUtils question

2008-04-15 Thread Dominic Pazula
I have a List Component whose dataProvider is an ArrayCollection of generic objects. I have another object I would like to bind a property of to a property to the selectedItem of the List. I have: BindingUtils.bindProperty (currentOp,"type",this.columnList.selectedItem,"TYPE"); No go... I see

[flexcoders] Re: Error from ComboBox while drawing component...

2008-04-11 Thread Dominic Pazula
Alex, Thanks for the reply. I'm not sure how that is possible. The ComboBox is set: textSelect.percentWidth = 50; That is in FormItem set: item.percentWidth = 75; Which is in Which is in: http://www.adobe.com/2006/mxml"; width="100%" height="100%" creationComplete="init()"> If that was

[flexcoders] Re: Copying View of an ArrayCollection

2008-04-11 Thread Dominic Pazula
the destination to use the source instead? --- In flexcoders@yahoogroups.com, "m.ar80" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Dominic Pazula" wrote: > > > > Are you looking for the two ArrayCollections to always

[flexcoders] Re: Copying View of an ArrayCollection

2008-04-11 Thread Dominic Pazula
Are you looking for the two ArrayCollections to always have the same filter and sort, or only occasionally? --- In flexcoders@yahoogroups.com, "m.ar80" <[EMAIL PROTECTED]> wrote: > > How can view be copied from one array collection to another where both > array collections share the same source?

[flexcoders] Error from ComboBox while drawing component...

2008-04-11 Thread Dominic Pazula
I have a programatically defined ComboBox with a bound dataProvider. The dataProvider starts out as an empty ArrayCollection. A RPC returns values and populates the ArrayCollection on the bound object. In this case, there is 1 element in the ArrayCollection which is a string. When the bou

[flexcoders] Re: Flex and HTML

2008-04-04 Thread Dominic Pazula
t; and it should point you to some > helpful sites. > > > Blake > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Dominic Pazula > Sent: Friday, April 04, 2008 12:07 PM > To: flexcoders@yahoogroup

[flexcoders] Flex and HTML

2008-04-04 Thread Dominic Pazula
I have a server process that sometimes returns HTML to my Flex app. I would like to display this HTML. I don't think I can actually do it inside of Flex. Is there a way that I can take the HTML text and have their browser display it? I realize I could create a server-side repeater that I cou

[flexcoders] Re: Recursing Up a Tree

2008-03-31 Thread Dominic Pazula
Hi Steven, If you are using XML, then by all means use Tracey's example. I am building something similar, but I am using objects in an ArrayCollection instead of XML. What I have done is add an "id" and "parent" field to my object. When I am building my ArrayCollection of objects, I make sure

[flexcoders] Re: Events and .dispatchEvent();

2008-03-27 Thread Dominic Pazula
Hi Gordon, Thanks for the reply. Alex's post cleared it up for me. The custom events both had identical type strings. I modified the fault event's "static const" type to have '_faut' at the end and presto, everything worked as I expected. Cheers, Dom --- In flexcoders@yahoogroups.com, "Gordo

[flexcoders] Re: Events and .dispatchEvent();

2008-03-26 Thread Dominic Pazula
Nope, I didn't. I will probably need to down the road, however. --- In flexcoders@yahoogroups.com, "iilsley" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Dominic Pazula" wrote: > > > > > > This is probably a real e

[flexcoders] Re: Events and .dispatchEvent();

2008-03-26 Thread Dominic Pazula
I see. I didn't realize it was something downstream causing the problem. That actually clears up a number of problems I was having! Thanks --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Nothing wrong in principle. These problems are hard to diagnose because >

[flexcoders] Re: Events and .dispatchEvent();

2008-03-26 Thread Dominic Pazula
an error in the code > where the type of event in the parameter list of the listener function > does not match the actual event sent. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Domi

[flexcoders] Events and .dispatchEvent();

2008-03-26 Thread Dominic Pazula
This is probably a real easy one. I have a manager for my RPC processes that extends EventDispatcher. I have 2 custom events (fault and result) that extend the RPC ResultEvent and FaultEvent. I have listeners in the manager that catch the rpc events, use them to create my events, stopPropagatio

[flexcoders] Re: BlazeDS configuration

2008-03-26 Thread Dominic Pazula
was still in beta > and this is the error you're running into. > > I know you mentioned that you have a fresh copy of BlazeDS but can you > double check to make sure it is the latest release build? > > http://opensource.adobe.com/wiki/display/blazeds/Release+Builds > >

[flexcoders] Re: BlazeDS configuration

2008-03-26 Thread Dominic Pazula
x27;m sure there was some file, somewhere that didn't get refreshed. I have recompiled all of my class files. I am slowly adding them back into the path and I'll see what breaks it. --- In flexcoders@yahoogroups.com, "cyrill.zadra" <[EMAIL PROTECTED]> wrote: > >

[flexcoders] Re: BlazeDS configuration

2008-03-26 Thread Dominic Pazula
gt; with the newest, which you'll find in blazeds.war. > (2) Try to re-enter a the license key in Flexbuilder. > > > --- In flexcoders@yahoogroups.com, "Dominic Pazula" wrote: > > > > I will download it again and let you know. > > >

[flexcoders] Re: BlazeDS configuration

2008-03-26 Thread Dominic Pazula
ensource.adobe.com/wiki/display/blazeds/Release+Builds > > thanks, > Mete > > --- In flexcoders@yahoogroups.com, "Dominic Pazula" wrote: > > > > I am getting the following error in BlazeDS: > > MessageBrokerServlet failed to initialize due to runti

[flexcoders] Re: BlazeDS configuration

2008-03-26 Thread Dominic Pazula
Posted there first. There seems to be very little activity there so I keep bringing it back here. --- In flexcoders@yahoogroups.com, shaun <[EMAIL PROTECTED]> wrote: > > Dominic Pazula wrote: > > I am getting the following error in BlazeDS: > > MessageBrokerServlet

[flexcoders] BlazeDS configuration

2008-03-26 Thread Dominic Pazula
I am getting the following error in BlazeDS: MessageBrokerServlet failed to initialize due to runtime exception: flex.messaging.license.InvalidLicenseException: Beta expired. I have a fully licensed profession copy of FB3. This BlazeDS installation is brand new. I just downloaded and inst

[flexcoders] Re: BlazeDS License Error

2008-03-25 Thread Dominic Pazula
@yahoogroups.com, "Dominic Pazula" <[EMAIL PROTECTED]> wrote: > > I started Tomcat from the startup.bat in the bin/ location. > > There are flex jars in the blazeds webapp (as well as the other > samples that ship with it). > > I'm still confused WHY

[flexcoders] Re: BlazeDS License Error

2008-03-25 Thread Dominic Pazula
x-messaging.jar ..) > files in your tomcat/lib folder? > > --- In flexcoders@yahoogroups.com, "Dominic Pazula" wrote: > > > > I get this error when I start Tomcat. This is a new install from the > > turnkey zip file. There are no projects in the we

[flexcoders] Re: BlazeDS License Error

2008-03-25 Thread Dominic Pazula
e the jar files in your flex-builder project with the > jwar files from the new BlazeDS. You will find them in the blazeds.war > file. > > regards > > Cyrill > > --- In flexcoders@yahoogroups.com, "Dominic Pazula" wrote: > > > > Deleted the old version

[flexcoders] Re: BlazeDS License Error

2008-03-24 Thread Dominic Pazula
Deleted the old version of BlazeDS (including the Tomcat install). Downloaded the new BlazeDS from the website (Turnkey download). Expanded the folder in the location of my old install. Started Tomcat. The error persists: MessageBrokerServlet failed to initialize due to runtime exception: fl

[flexcoders] BlazeDS License Error

2008-03-24 Thread Dominic Pazula
I recently upgraded from the Beta to the full version of Flex Builder. I've been having some problems with BlazeDS and I'm seeing this error in the Tomcat log: MessageBrokerServlet failed to initialize due to runtime exception: flex.messaging.license.InvalidLicenseException: Beta expired.

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread Dominic Pazula
Ok getting closer. I'm now seeing a new error message in the Tomcat log. MessageBrokerServlet failed to initialize due to runtime exception: flex.messaging.license.InvalidLicenseException: Beta expired. I uninstalled my Beta and reinstalled the full version I bought. BlazeDS seems to b

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread Dominic Pazula
Thanks Joao (I can't get the 'a' + '~'). Unfortunately that didn't work either. Here is the error that is now returned. Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8400/messagebroker/amfpolling' Thanks Dominic --- In flexcoders@yahoogroups

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread Dominic Pazula
I realize I posted this on a holiday and it probably didn't get a lot of attention. I'm hoping bumping it up will bring it to the attention of someone that has seen this before. Thanks Dom --- In flexcoders@yahoogroups.com, "Dominic Pazula" <[EMAIL PROTECTED]> wrot

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-21 Thread Dominic Pazula
ses in there to debug the > application. > > Another useful thing i have found that if you run blazeds in terminal > using Catalina command then you can use System.out.println in your > java code and see the messages you want in the terminal. > > hope this helps. > Nayan > &

[flexcoders] RPC FaultEvent with BlazeDS

2008-03-21 Thread Dominic Pazula
I recently took the plunge and bucked up the $$$ for Flex Builder Pro. Today I uninstalled my Beta version and installed the new one. I imported my projects and recompiled. When running one that uses a RemoteObject and BlazeDS, I started getting the following RPC FaultError: The Fault String

[flexcoders] Singletons - Best Practices

2008-03-11 Thread Dominic Pazula
I'm attempting to write singleton manager for my application. I've seen numerous ways for this to be done. I traced through how the BrowserManager and the PopUpManager are implemented. (For the record, I tried, and failed, to copy how BrowserManager is implemented). Does anyone know what the

[flexcoders] Re: referencing a private function

2008-02-26 Thread Dominic Pazula
gt; > > You have to make a reference to the function public. Private means just > that: can't be called from the outside. > > I would recommend having the renderers attach listeners to the MenuBar > instead. > > > > From: flexcode

[flexcoders] Re: referencing a private function

2008-02-26 Thread Dominic Pazula
___ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Dominic Pazula > Sent: Tuesday, February 26, 2008 9:32 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] referencing a private function > > > > I have a component exten

[flexcoders] referencing a private function

2008-02-26 Thread Dominic Pazula
I have a component extending MenuBar whose data provider provides the internal handler for the itemClick. I have a generic function that checks the MenuEvent for the needed property and then trys to call the function it specifies. Specifically http://www.adobe.com/2006/mxml"; itemClick="inte

[flexcoders] Re: Padding on a MenuBar

2008-02-22 Thread Dominic Pazula
That got it, thanks! --- In flexcoders@yahoogroups.com, "Joan Lafferty" <[EMAIL PROTECTED]> wrote: > > Can you use verticalGap on the VBox? > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On >

[flexcoders] Padding on a MenuBar

2008-02-21 Thread Dominic Pazula
I have a MenuBar above a DataGrid in a VBox. I would like the two to meet without any padding between them. It seems MenuBar doesn't implement padding styles. Aside from extending MenuBar and implementing paddingTop and paddingBottom, is there another way to do this? If extending is the onl

[flexcoders] Re: AdvancedDataGrid - Changing the background color on a row.

2008-02-21 Thread Dominic Pazula
ork your scenario. > > http://flexpearls.blogspot.com/2008/02/row-background-color-in.html > > -Sreenivas > > --- In flexcoders@yahoogroups.com, "Dominic Pazula" > wrote: > > > > I thought this would be easy to do, but I have been banging my head &

[flexcoders] Re: Using a Library Project

2008-02-21 Thread Dominic Pazula
Still looking for help on this. Thanks

[flexcoders] Using a Library Project

2008-02-21 Thread Dominic Pazula
Maybe it's just too early and I haven't had enough coffee, but I can't make this work. I took a number of components I have been building and decided to move them into a library project. I created the new library project, added the source files, and built the SWC with no problem. I then took

[flexcoders] Re: AdvancedDataGrid - Changing the background color on a row.

2008-02-12 Thread Dominic Pazula
Many thanks! --- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote: > > http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor- DataGrid-component > > > - Original Message > From: Dominic Pazula <[EMAIL PROTECTED]> > To:

[flexcoders] AdvancedDataGrid - Changing the background color on a row.

2008-02-12 Thread Dominic Pazula
I thought this would be easy to do, but I have been banging my head on it for a while. I'm wanting to let the user "mark" rows as they scroll through the ADG. I created a function myRowStyle and set styleFunction="myRowStyle". What I cannot figure out is how to change the background color o

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Dominic Pazula
em object, then often one > needs to call itemUpdated() > > > > Tracy > > > > ________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Dominic Pazula > Sent: Monday, February 11, 2008 5:15 PM > To: flexcoders@yahoogroups.com > Subject: [flexcod

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-11 Thread Dominic Pazula
> wrote: > > I'm confused as to why you want focus on those renderers if you can't > edit them. If focus doesn't matter, the scroll and change events should > be firing as you arrow around. > > > > > > Fro

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Dominic Pazula
Try setting a new ArrayCollection with all the values from the changed ArrayCollection. Null the DataGrid dataProvider and then set the dataProvider to the new ArrayCollection. --- In flexcoders@yahoogroups.com, "mr_j_harris" <[EMAIL PROTECTED]> wrote: > > > Hi Sharif, and thanks, I tried

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-11 Thread Dominic Pazula
I'm looking to: "I have an AdvancedDataGrid and I want track the user paging up, down, and across the grid with the arrow keys. I don't want the data to be editable, which means I cannot use the itemFocusIn event (throw, as you say, by the item editor)." So I would like to know when the user scrol

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-11 Thread Dominic Pazula
;Alex Harui" <[EMAIL PROTECTED]> wrote: > > The dataGrid also has editable=true? Try a test with a simple DG to see > how it behaves before going back to ADG. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PRO

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-10 Thread Dominic Pazula
I finally got around to trying this. It doesn't work. Setting the column to editable=true and rendererIsEditor=true still does not fire the itemFocusIn event. The change event ALMOST allows me to track which cell is highlighted with keyboard navigation. However, if the user scrolls onto t

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-06 Thread Dominic Pazula
Is there anyway to do this out-of-the box? I have an AdvancedDataGrid and I want track the user paging up, down, and across the grid with the arrow keys. I don't want the data to be editable, which means I cannot use the itemFocusIn event (throw, as you say, by the item editor). Is there an e

[flexcoders] Re: Custom Renderer problem in a List Control

2008-01-31 Thread Dominic Pazula
Many thanks!

[flexcoders] Re: Custom Renderer problem in a List Control

2008-01-31 Thread Dominic Pazula
Bumping this up the list. Can anyone provide some insight into this problem? Thanks Dominic

[flexcoders] Re: Custom Renderer problem in a List Control

2008-01-31 Thread Dominic Pazula
Since I posted this last night, I worked on it a little more and figured a few things out. My button works because at the end of its click code, it resets the dataprovider for the second list (list2.dataProvider = blah). If I don't do this, then the button gives the same visual results as the dr

[flexcoders] Custom Renderer problem in a List Control

2008-01-31 Thread Dominic Pazula
I wrote a simple renderer to display a concatination of two fields on the object item in a list. MXML code is below: http://www.adobe.com/2006/mxml"; text="{StringUtil.trim(data.NAME)} - {StringUtil.trim(data.LABEL)}" textAlign="left" selectable="false" height="100%">

[flexcoders] Re: flex Outlook integration

2008-01-29 Thread Dominic Pazula
Try this. It pops up a new blank explorer window, but it does what you are looking for. http://www.adobe.com/2006/mxml"; layout="absolute"> --- In flexcoders@yahoogroups.com, "Mohammad, Rafi " <[EMAIL PROTECTED]> wrote: > > hi, I

[flexcoders] Re: Web Hosting

2008-01-25 Thread Dominic Pazula
Try www.iceweb.com. I have some friends that use it and are very happy with the service. --- In flexcoders@yahoogroups.com, Joe <[EMAIL PROTECTED]> wrote: > > Same Question, but I must ask about Windows hosting. Does anyone have > suggestions for Windows hosting? Anyone know if they have a 3.0 o

[flexcoders] Re: Dynamically Generating Column Attributes for a Data Grid

2008-01-21 Thread Dominic Pazula
umnData[i]) + ", "; // what is > this for? > newColumns.push(column); > } > > dGrid.dataProvider = gridData; > dGrid.columns = newColumns; // it's better to assign at the end, to avoid > datagrid invalidations on every column added. > > > >

[flexcoders] Dynamically Generating Column Attributes for a Data Grid

2008-01-21 Thread Dominic Pazula
I tried to search for this but got a "server busy" error. I figured I would go ahead and post it. I appologize if this has been covered before. I'm trying to dynamically generate columns for my datagrid. I don't have prior knowledge of the column attributes before receiving the data. I get