What is best way to reload / reinitialize the whole flex application
from code?
I want to be able to reset state of my application on timeout event,
it seems that the easiest way is to somehow recreate the whole app or
at least main view.
Something like:
Application.application = new
I am facing similar problem and wrote a blog entry on similar topic:
http://blog.widget-labs.com/?p=7
(The main idea is to implement custom IList data provider that relies
on ItemPendingError for delayed loading)
regards
rd
--- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED] wrote:
Looks like you need to define a custom 'DataChange' event on your data
model, and then listen for this event in your view classes and once
event received redraw view based on new data.
(something similar to ArrayCollection/DataGrid behavior - you can
check ListCollectionView, see
I posted a blog entry with more details just in case:
http://stackoverflowexception.blogspot.com/2007/02/handing-web-service-exception-in-flex.html
--- In flexcoders@yahoogroups.com, roman_dolgov [EMAIL PROTECTED]
wrote:
Looks like servlet filter is the way to go.
See related discussion
for adding more details
to the Exception that get passed on the response. Check out the
javadoc for more details.
http://envoisolutions.com/xfire/api/org/codehaus/xfire/fault/XFireFaul
t.html
pd
--- In flexcoders@yahoogroups.com, roman_dolgov roman_dolgov@
wrote:
Does anybody
Does anybody has an example (using XFire WS implementation but really
any similar env would be helpful too) how to properly pass exception
information from web services to flex and make sure that fault
handler receives faultDetail/faultString populated with meaningful
data (some application
Is it possible to launch application located in additional source folder?
For ex. I have two source folders in Flex Builder Project
/src
/test
I have main app in src file. I would like have FlexUnit app/launcher
in /test folder. The problem that I cannot launch FlexUnit runner.
Looks like Flex
Hi All,
How can I run code from Flex Library Project?
For example I want to add some test files (MXML Application
Components) and be able to run them form Flex Library Project.
Unfortunately it looks like you can not do it, so right now I just
created another project (Flex Project) and run
FYI:
Just to share a sample implementation of IList that supports remote
paging and works well with DataGrid. (You don't need it if you are
using FDS, otherwise I could not find much info how to do it without FDS)
I tried two approaches:
- using event notification
- using ItemPendingError
The
Just in case:
Found a good article on similar subject:
http://weblogs.macromedia.com/mchotin/archives/2004/03/large_data_sets.cfm
it's about Flex 1.5, but the same idea can be applied to the Flex 2.0.
--- In flexcoders@yahoogroups.com, roman_dolgov [EMAIL PROTECTED]
wrote:
I am trying
I am trying to implement a collection that supports remote lazy
loading. I've extended IList interface and added the following code
for getItemAt():
public function getItemAt(index:int, prefetch:int=0.0):Object
{
if (needsToBeFetched(index))
{
fetchDataFromRemoteLocation(); // using web
FYI:
I've noticed that Flex Builder 2.0.1 doesn't handle well library
dependency in one case:
If you create a Flex Library Project, then create a folder inside of
the project, add a library file (swc) inside of the folder and add
dependency on the this library in the project properties the Flex
12 matches
Mail list logo