RE: [flexcoders] modelChanged event

2005-07-13 Thread Kent Henneuse
I think it stems from the use of an array in databinding. One way to fix this is to reassign your dataprovider. Also you could broadcast a model change event upon completion of the changes. This would hopefully then trigger the sum to change. I had a similar issue a while back and Tracy helped

RE: [flexcoders] Components source code

2005-07-13 Thread Kent Henneuse
Try c:/Program Files/Macromedia/Flex/resources/flexforflash/FlexforFlash.zip     -Kent From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tiago Simões Sent: Wednesday, July 13, 2005 6:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Debuging Java to AS Object conversion?

2005-07-11 Thread Kent Henneuse
Does anybody have any ways to debug the Java to AS object conversion that is done with the RemoteObject call? Or can you answer why the Net Connection Debugger seems to only grab the initial connection? I have been trying to use the NetConnectionDebugger but am having a problem with. The first

[flexcoders] Confusion with mx:Repeater

2005-06-28 Thread Kent Henneuse
I get the basic concepts of Repeaters and have successfully gotten one to show me one via a dataprovider. I am now having a bit of trouble understanding how to manipulate items in the Repeater. I know that I have to be careful with data in Arrays because they will not fire ChangeEvents but that

RE: [flexcoders] How do you set the amount of characters in a text area control

2005-06-24 Thread Kent Henneuse
The easiest way is to use the StringValidator and set the maxLength property. Then in the function that use with the user gesture call Validator.isStructureValid() This assumes that you are using mx:Model for data binding. The nice thing is it will do validation as the text area loses

[flexcoders] Cairngorm, ValueObjects, and inheritance

2005-06-23 Thread Kent Henneuse
I have a situation where I would like to eventually use either inheritance or composition to put my objects together. Properties of the ValueObject are bound dynamically to the UI. Scenario A: I could have ObjA_VO and ObjB_VO that extends ObjA_VO. Works great on the server side. On the Flash

RE: [flexcoders] Cairngorm, ValueObjects, and inheritance

2005-06-23 Thread Kent Henneuse
. Here's a thread on making your faceless objects event dispatchers: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06404.html Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kent Henneuse Sent: Thursday, June 23, 2005 4:04 PM

[flexcoders] Cairngorm Store missing link?

2005-06-20 Thread Kent Henneuse
Ok it is a missing link in my brain and not a link that is missing. I am confused how the dataProvider on line 58 of ShoppingCart.mxml gets linked to the one in the ModelLocator? It appears as if everything is done by manipulating the ShoppingCart object that is in the ModelLocator and some how

RE: [flexcoders] Cairngorm Store missing link?

2005-06-20 Thread Kent Henneuse
the totalProductPrice or shippingCost. hope that helps, Alex -- Alex Uhlmann Software Engineer iteration::two -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Kent Henneuse Sent: 20 June 2005 16:35 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm

[flexcoders] Modifying Panel and Text Input

2005-06-17 Thread Kent Henneuse
I have a couple of cases where I would like to modify the default components to display differently, beyond what I can do in the CSS. I would like to avoid building all new components but I will if I have to. The first is that I would like to create TextInputs that are required but do not show

RE: [flexcoders] Modifying Panel and Text Input

2005-06-17 Thread Kent Henneuse
:[EMAIL PROTECTED] On Behalf Of Kent Henneuse Sent: Saturday, June 18, 2005 12:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Modifying Panel and Text Input I have a couple of cases where I would like to modify the default components to display differently, beyond what I can do in the CSS. I

RE: [flexcoders] Panel Title Binding

2005-06-16 Thread Kent Henneuse
I think it is a loading issue. I just created a public static var and hardcoded a string in my ModelLocator and it pulled that value. You may have to set the title in the initialize function to make sure you get the right data. You might also try to put title after you import your

RE: [flexcoders] Flash + Cairngorm Example With Source Code

2005-06-16 Thread Kent Henneuse
Thanks Robin and Steven. That makes total sense. I have been approaching my current implementation with a background in Java and JSPs not in Cold Fusion or even thinking about it by doing what I would call a poor mans version of web services (xml sans SOAP). I have been lucky enough to be

RE: [flexcoders] Re: Assigning a AS variable to the return value of a web service

2005-06-16 Thread Kent Henneuse
By the look of it you are trying to use DataAvailable and it is not valid. You might want to try this: ![CDATA[ var JobRunning:Object = gvsJob.ReportJob.result; ]] This appears to be the way the example in the Flex Samples Explorer-Dynamic Data Services does it.

[flexcoders] Cairngorm, why use delegates?

2005-06-15 Thread Kent Henneuse
Now that I have a pretty good understanding of Cairngorm and its structure I want to put out a question about why to build commands and delegates in the way presented in the store example. The Command/Responder object always talks to a single delegate object. This delegate object uses the

[flexcoders] RadioButton in a DataGrid

2005-06-13 Thread Kent Henneuse
Flexcoders, I am trying to put a single radio button on each row of a datagrid so that I can use it as a selection for the next piece of a workflow. So far I have it displaying correctly by using a cellRenderer that is below. The problem is that I can select more then one of the radio buttons

RE: [flexcoders] Re: RadioButton in a DataGrid

2005-06-13 Thread Kent Henneuse
subclass of RadioButton as the cellRenderer. Create a .as file that looks sort of like: class RadioButtonCellRenderer extends RadioButton { function setValue() { } function init() { groupName = DGRadioGroup } } --- In flexcoders@yahoogroups.com, Kent Henneuse [EMAIL PROTECTED] wrote

[flexcoders] Servlet Filters and AMF

2005-06-09 Thread Kent Henneuse
In a Struts/JSP application you can put severlet filters in as a way to cross cut your system and provide validation of login/session on a user. If it fails, you redirect the user to a login page. Can I still utilize a servlet filter to check the login before my business delegates get executed

RE: [flexcoders] Re: Question for the RIA Book Guys (or anyone with a Java back end for that matt

2005-06-09 Thread Kent Henneuse
The only thing I can think of off hand is that you for got to put a fault= in your mx:RemoteObject or you might have put it in as onFault I put this in my onFault so that I can at least see what the error is on the client side while debugging: public function onFault( event : Object ) : Void

RE: [flexcoders] Re: Application flow best practices?

2005-06-08 Thread Kent Henneuse
of the tag. In the case of IndexViewHelper you might call it as as:IndexViewHelper name=indexView view={ this } / assuming your name space for that tag is 'as'. Seth / Kent Henneuse wrote: I am using Flex for new development and starting to get a grasp on Cairngorm

[flexcoders] Application flow best practices?

2005-06-07 Thread Kent Henneuse
I am using Flex for new development and starting to get a grasp on Cairngorm as well. I am now trying to get a workflow between static screens laid out so that I can slowly wire up the server-side calls. What I would like to find out is what is the best way to set up the flow? Currently I have a

RE: [flexcoders] Flex on the Web

2005-05-19 Thread Kent Henneuse
There is also OFoto which shows a more public consumer app. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Thursday, May 19, 2005 7:40 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex on the Web Dow Jones

RE: [flexcoders] Panel hearder-colors restriction or bug

2005-05-19 Thread Kent Henneuse
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Thursday, May 19, 2005 12:15 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Panel hearder-colors restriction or bug On 5/18/05, Kent Henneuse [EMAIL PROTECTED] wrote: If I specify a single color

[flexcoders] Panel hearder-colors restriction or bug

2005-05-18 Thread Kent Henneuse
I started playing with the Style Explorer (very cool!!!) and was trying to mess with the head-colors and making a nice gradient. I tried some hex colors and it came out wrong. So I made a quick example in FlexBuilder only to find that Flex/Flash is not behaving how I would expect it. If I

RE: [flexcoders] Remoting Examples for Flex?

2005-05-18 Thread Kent Henneuse
Checkout the FlexExplorer samples. http://localhost:8700/samples/explorer/explorer.mxml with the integrated JRun server. If you look under Dynamic Data Services you will see how to do RemoteObject and Web Services. You will probably want to look at the Java files on the server side also.

[flexcoders] Session Access in Delegates

2005-05-10 Thread Kent Henneuse
I have been digging around in the remoting example code to try to figure out ways to handle the system I am working with that stuff certain attributes into the session upon login rather then retrieving each time. The first question I have is Where can I find the JavaDocs for flashgateway and

[flexcoders] Internationalization?

2005-05-09 Thread Kent Henneuse
I did some digging through prior posts to see if there were some comments on internationalization best practices but haven't found much. Alistair and Steven make a passing reference to XLIFF on page 651 of there 655 page book, but that leaves me with more questions. How are others currently