We've been using unformatters. So the binding back to the model might
look like this:
mx:Binding source=numFormatter.format(myText.text)
destination=model.textValue /
--- In flexcoders@yahoogroups.com, Clarke Bishop
[EMAIL PROTECTED] wrote:
What's the best practice for using Formatters and
been
Here's
how we've changed Cairngorm into a different pattern, and why.
Just kidding :-) :-) :-)
Sounds like you've got something that works for you, and that's what
counts!
Darren
From: jrjazzman23 [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders
Our VO classes are separate from the model. We found that the model
needed stuff that didn't belong in the VOs, for example, fields that
don't get persisted to the db, state variables, and various methods
that the classes in the model need. When we do need a VO to pass to
the data layer, we call
--- In flexcoders@yahoogroups.com, jrjazzman23 jrjazzman23@ wrote:
Hi,
I've got a couple of questions on my mind that I'm hoping to get some
opinions on...
First. I don't see what value the FrontController adds in Flex apps.
My initial thought was that it was important to prevent
We are pretty much sticking to textbook Cairngorm. We all just began
to question the FrontController. Most of my MVC experience is with
struts, where it seems to make more sense.
As for reusing events and commands from different places, most of what
I could find from the Cairngorm creators
Hi,
I've got a couple of questions on my mind that I'm hoping to get some
opinions on...
First. I don't see what value the FrontController adds in Flex apps.
My initial thought was that it was important to prevent views from
coupling to specific commands. That really doesn't hold up though,
Hi,
One of the children of the ViewStack has the defaultButton defined.
The problem is that if a different child of the ViewStack is visible,
pressing enter on one of its text boxes fires the click of the
defaultButton for the hidden ViewStack child.
The docs say When controls in the
I'd like to be able to ask the user to confirm their date selection
BEFORE the selectedDate field gets set. The Change event appears to
not be cancelable. Is there any other way to accomplish this?
thanks
--
Flexcoders Mailing List
FAQ:
.
Karl
Cynergy Systems, Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jrjazzman23
Sent: Wednesday, August 02, 2006 3:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] need to be able to cancel change
:
$DOCUMENTS\your_lib.swc
I'm assuming you put your_lib.swc in the project folder.
After this, you should get correct code hint for custom types, and even
better, custom component can be live-previewed in the Design View.
Jeremy.
On 7/29/06, jrjazzman23 [EMAIL PROTECTED] wrote
Hi,
In the case of a Command that uses multiple business delegates, what's
best practice for an onResult() knowing which remote call it's handling?
thanks
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
We're not getting code hinting for Cairngorm types in FB2. I'm only
referencing the swc file. Do we need the source in order to get code
hinting?
thanks
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Hi,
So services-config.xml has some nice tokens like {server.name},
{context.root}, etc. I can't seem to find a list of these pre-defined
tokens in the documentation. Anybody know where this would be? It
appears that some of these are resolved to their values at runtime by
the SWF. So, this
For example, when a button is pushed, a property on the ModelLocator
needs to be updated, which as a result changes which screen is
visible. I'm trying to be pragmatic with MVC here. Is it advised to
implement a Command for such a simple feature?
thanks
Jeremy
say selectedChild can only be set in AS, not MXML. Maybe
try something like:
creationComplete=viewstack1.selectedChild = ModelLocator.getInstance
().selectedView
--- In flexcoders@yahoogroups.com, jrjazzman23 jrjazzman23@
wrote:
I think the binding is happening before the viewstack
I find myself wanting to do bidirectional binding, but I have the
feeling there may be some drawbacks to this.
I want a screen's controls to be initialized (bound to) a data model.
As the user changes the controls' values, I want the data model to
reflect this. In this case the data model is
I can't get the reference implementation to compile (pasted below).
Seems to be missing a constructor. How should this be solved keeping
in mind that private constructors aren't supported?
[Bindable]
public class ShopModelLocator implements ModelLocator
{
private static var
;
}
|-+-
| | |
| | jrjazzman23 |
| | [EMAIL PROTECTED]|
| | Sent by: |
| | flexcoders@yahoogroups.com |
| | 07/14/2006 02:27 PM|
| | Please respond to |
| | flexcoders
I think the binding is happening before the viewstack children are
initialized.. getting the following error when I run the prog:
TypeError: Error #2007: Parameter child must be non-null.
ModelLocator snippet
---
public var selectedView : Container;
mainapp.mxml
The scenario is an .mxml file that is the sole includer of an .as
file. Using the FB2 plug-in, sometimes, we get code hinting in the
.as file, other times not. When we do get code hinting, all the
variables from the enclosing .mxml are available. One of our
developers is not getting any code
@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jrjazzman23
Sent: Wednesday, May 31, 2006 7:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RemoteObject calls failing
Hi. I'm having trouble getting a simple RemoteObject call to work.
Running tomcat 5.5 Here are some pertinent
either replacing the {server.name} and {server.port}
tokens with the real values of the tomcat server or try hosting the SWF
on the web app and browsing to it.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jrjazzman23
Sent: Wednesday, May 31
Hi. I'm having trouble getting a simple RemoteObject call to work.
Running tomcat 5.5 Here are some pertinent snippets. The call
generates this:
fault
[RPC Fault faultString=Send failed
faultCode=Client.Error.MessageSend
faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed:
23 matches
Mail list logo