This may be a stupid question, but if your flex app is wrapped in in a
jsp file (using something like mm:mxml source=.../) can you access
variables in request scope? Or can you pass selected variables into a
flex app?
I got around it by having initialize=callHttpServiceToGetInitData() in
my
Steven,
Thanks for the reply. I realise my question wasn't quite clear - I
wanted to access objects in the request object on the client. Or more
specifically, pass a complex object that is available to the JSP into
the Flex app.
This page was what I was after...
Do other people have this problem?
Or is there a configuration setting that I have missed?
I also does get code hinting for my own custom components (MXML and AS).
Any help appreciated.
Dan
Yahoo! Groups Links
* To visit your group on the web, go to:
Not sure about the first two, but for 3. the call to the HTTPService
generates a pending call which is not executed until you leave the
current scope (allowing you to bind to the result event). So I don't
think there are any race conditions.
cheers
Dan
viraf_bankwalla wrote:
The
The book hasn't arrived yet...in the meantime.
Is it a good idea to bind your components to a Model and have the
ViewHelper use the Model (eg. myModel.foo), or are you better off just
having your ViewHelper subclass directly access the components (eg.
fooLabel.text)
It feels like having
I think you want thissearch the Flex documentation for
"flashvars". AFAIK this is the only way to pass data into your Flex
app.
Dan
Using flashVars
You can pass variables to your Flex applications using the flashVars
property in the object and embed
tags in your HTML wrapper. You do
ectory
/extras/netConnectionDebugger/
Andrew
btw I use Flex 1.5, Tomcat 4.1.30, Windows XP
--- In flexcoders@yahoogroups.com, Dan Tropp [EMAIL PROTECTED] wrote:
This is getting really frustrating. I have turned all the debug
flags
to true in the flex-config.xml file and the loggi
class vo.ApplicantVO implements ValueObject
{
public static var registered:Boolean =
Object.registerClass( "vo.ApplicantVO", ApplicantVO );
Do you have a
line like this in your AS class?
...
}
If you don't register the Java/AS class
I've removed my models and just have the ViewHelper. My field
validators are just bound directly to the controls rather than to the
mx:Model. What is best practice - locating validators in your
.mxml or programatically in you .as ViewHelper??
Dan
Dan Tropp wrote:
The book hasn't arrived
9 matches
Mail list logo