Flex-Ajax Bridge
Wanted to try ajax / javascript as per
adobe
labs, but can not figure how to include the FABridge library
using the command line compiler. Can anyone provide step-by-step
instructions?
better examples here:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=600&threadid =1240602&enterthread=y
Similar Messages
-
Examples for using the Flex-Ajax-Bridge
All samples that ship with BlazeDS use pure Flex on the
client-side; what I would like to
have are samples that show the Flex-Ajax-Bridge in action;
using BlazeDS/LCDS as the data
exchange engine; and then use this engine's capabilities to
do Ajax stuff on the
client-side; I have found one example where Ajax delivered
data is pumped into Flex using
the Flex-Ajax-Bridge; but not the other way round ...
Another question: Can I use the Flex-Ajax-Bridge shipped with
BlazeDS with the standalone
LCDS and the CF8 integrated LCDS, too ? Or are there
different versions of the
Flex-Ajax-Bridge available ?- get an instance of weblogic.management.MBeanHome for the WLS server from
JNDI, using weblogic.management.MBeanHome.JNDI_NAME+"."+"yourServerName"
- get MBeanServer from MBeanHome
To register your mbeans...
- invoke registerMBean() on MBeanServer as in javax.management.MBeanServer
- Note that the objectname which is passed to registerMBean() should be an
instance of weblogic.management.WebLogicObjectName
To get values from weblogic mbeans.....
- use various getters in weblogic.management.MBeanHome
pls see relevant javadocs for details
Michael Guillory <[email protected]> wrote in message
news:3a5e155b$[email protected]..
I would like to revisit Peter's question from 1/2/2001. I need to be ableto
access the
Mbeans from the Administration Server, please let me know where I can find
some
information.
Thank you
Mike -
Not supported: Air + Ajax + (flex-ajax-bridge) + LCDS
I'm building an application Air (Flex + extjs) and offline synchronization with LCDS. For sure I need the flex-ajax-bridge.
But the experiments failed on Air runtime container, when ajax tried to communicate with server end data services.
And I checked the source code of flex bridge file (FDMSBridge.as):
import bridge.FABridge;
import flash.display.DisplayObject;
import flash.display.MovieClip;
import flash.events.Event;
import flash.external.ExternalInterface;
import mx.core.mx_internal;
use namespace object_proxy;
[Frame(extraClass="FakeFlexInit")]
public class FDMSBridge extends FDMSBase
private var gateway:FABridge;
public function FDMSBridge()
super();
if (ExternalInterface.available == false)
return;
ExternalInterface.addCallback("createObject", createObject);
private function createObject(className:String, cArgs:Array):Object
From the source code, we can tell the bridge rely heavily on the flash.external interface; AND look at this link -
http://livedocs.adobe.com/labs/air/1/aslr/flash/external/ExternalInterface.html
where it says -
Note: Adobe AIR currently does not support the ExternalInterface class.
which leads to the conclusion that:
Air + Ajax(HTML) + LCDS solution is not supported by AIR currently.
The ExternalInterface class environment:
Browser Operating System Operating System
Internet Explorer 5.0 and later Windows
Netscape 8.0 and later Windows MacOS
Mozilla 1.7.5 and later Windows MacOS
Firefox 1.0 and later Windows MacOS
Safari 1.3 and later MacOS
Can anyone tell me what's the version of AIR built-in browser (squirralfish)? or, will AIR support FDMSBridge soon?
Thanks!I agree, it would be nice to have gzip encoding support in
AIR's browser component. But, I looked at what my AIR app sends
when it requests a web page, and it's not claiming to the remote
server that it can support gzip. If the server is sending the
content gzipped anyway, it's almost certainly broken. Web servers
aren't supposed to dictate encodings. Clients say what they're
capable of receiving, and servers send the data in that format if
they're capable of sending any of the requested formats.
I see only one exception in the spec.
Section
14.3 says the server is allowed to send what it likes if the
client doesn't say what it wants (true for AIR) and it cannot
support the default, which is to say, sending the raw data as it is
on disk. So, is that the case? Can this server really not send raw
data, to anyone, ever? If so, it's violating the spirit of the web,
to the point that I'd say it's broken, even if the spec does allow
it. And if the server really is capable of sending the raw data,
it's
really broken for insisting on sending it compressed when
the client hasn't told it that it can handle it; this would
actually be against the spec, not just against the spirit of the
spec.
It would seem a more sensible use of your time to fix the
server than to go and learn another technology just to work around
its brokenness. -
Flex Ajax bridge - flash player detection
Does anyone know of a Flex HTML wrapper template which
handles the express install (with history) user experiences in a
manner which is compatible with the lifecycle of the Flex/Ajax
bridge? Assuming JavaScript is enabled, the express install process
creates the embed DOM node for the SWF dynamically; however, the
FABridge scripts assume that the embed node(s) exist within the
DOM; the the initialisation of the FABridge queries the DOM for
‘bridge’ instances (i.e. embed tags with the relevant
flash vars). If the embed node is not present, the
FABridge.instances object is not initialised correctly. This causes
two problems: firstly, attempting to register an initialisation
callback in the FABridge will fail, since the bridge instance is
not known. Secondly, the ExternalInterface call from the Flash
component to signify that it has successfully initialised does not
have an endpoint to communicate with, meaning that the client side
lifecycle cannot be instantiated.
If anyone has come across a useful strategy to approach this
problem, I'd be hugely grateful for any pointers.
Thanks, GregThe html wrapper code generated by Flex Builder does this
automatically if you have Project, Flex compiler, use Express
Install checked.
Tracy -
Flex-Ajax Bridge general availability
We have an Ajax application; we have new requirements to
display graphs that update dynamically every couple of seconds, we
found Flex and Flex-Ajax Bridge very helpful.
But I believe the Flex-Ajax Bridge has not been completely
tested and it is only in a pre-alpha stage.
What is the roadmap for Flex-Ajax Bridge? When will it be
fully tested/supported?Hi,
this needs clarification:
FABridge:
http://livedocs.adobe.com/flex/3/html/help.html?content=ajaxbridge_1.html
is *client* side library - it allows ActionScript engine communication with JavaScript engine (two-way) to enrich client side epxerience.
The Flex/Struts is client/server integration and yes, there are existing solution I think (note: I'm not web-tier coder), see:
http://www.adobe.com/devnet/flex/articles/flex_struts.html
http://code.google.com/p/fxstruts/
above seems quite dated - but it at least shows possibilities I think.
regards,
Peter -
Adobe Flex & AJAX bridge & ExtJS
I have similar problem as the follow post: anyone has solution?
http://forums.adobe.com/message/2568496Problem solved!!!
The cause was Ext panel moving around Flex <object> when rendering itself during init phase in JavaScript. That caused Flex Ajax Bridge to lose its connectivity with the object. Changed object creation into lazy one (after eveything was moved around) and works ok. -
Are there release notes for the new Flex Ajax Bridge?
Are there release notes for the new Flex Ajax Bridge?
Hello,
You can find the release notes
here
. The wiki page has been updated as well to point to the release
notes document, in the Where can I find out more section.
Thanks for noticing they were missing,
Cristian -
Is The Flex/Ajax Bridge Possible in a Pure Actionsript Project??
Is it possible to create a Actionscript/Ajax Bridge in a pure
AS project? Meaning - AJAX Bridge not using MXML.PUSH...
-
In Labs: Understanding the Flex-Ajax Bridge
In the video on the page
http://www.adobe.com/devnet/flex/videos/fab/index.html
there is an app displayed showing photo's of kittens in an
photo-reel type layout that the user is moving left and right ...
does anyone know what this app is or if there is a page displaying
it. It's not on the sample's page and isn't the sample app 'photo
viewer/gallery' ... I'm looking to do something similar and I am
really interested in how this effect was achieved.
Thanks
-MicPUSH...
-
I want to develop AJAX type popups in a Flex app so that when
you roll your mouse over a key word or icon, an AJAX type window
will popup with data about the word or image. How do you create
that utilizing the FLEX-AJAX bridge or the Flex popup class? Thank
you.toolTip?
Tracy -
Ajax Bridge with no "getRoot()" method when using flash builder 4.7 trail
i am working on ajax bridge with flashbuilder 4.7 trial, the ide generated the ajax bridge html&js code for me, but when i browsing it in my safari 6.0, there is no effect.
after a long time debuging, i added a try-catch in the js file auto-generated by flashbuilder:
function ex3_07_solutionReady() {
// Initialize the "root" object. This represents the actual
// "ex3_07_solution.mxml" flex application.
try {
b_ex3_07_solution_root = FABridge["b_ex3_07_solution"].root();
} catch(e) {
alert(e);
and i got this error message:
TypeError: 'undefined' is not a function (evaluating 'this.target.getRoot()')
Does anyone have this problem?? I need all your help!Flash Builder 4.7 on OSX requires Java version 1.6. Mavericks comes with Java version 1.7, so you'll need to install the older version.
You may also want to bump the specs in the "Adobe FlashBuilder 4.7.ini" file.
More information in this thread.
http://forum.starling-framework.org/topic/flash-builder-47-crashes-on-mavericks -
Ajax Bridge vs. the ExternalInterface Class
Hi,
I am writing a pure Actionscript 3 application in Adobe Flex. I want my application to interact with scripting in a browser. It seems that there are two options: Adobe's Ajax Bridge (typically used with a Flex application that uses mxml?) and Adobe's External Interface class (flash.external.ExternalInterface). Is there any reason to use the Ajax Bridge over the ExternalInterface class, or vice versa?
Thank you.I'd recommend sticking with ExternalInterface until/unless it is insufficient. ExternalInterface is nice because of its simplicity. You can call JavaScript from ActionScript and vice versa; nothing fancy or complicated to get in the way.
The following documentation may be helpful:
http://www.flexafterdark.com/docs/Flex-JavaScript
Let me know if that helps...
Ben Edwards -
hi all.
can anyone tell me ..if we can use Flex with WebDynPro.....?
can we develop flex in NWDS....?
Regards,
SudheerWell you can use Flex inside plain HTML pages. It isn't really much different when using them inside JSP. I'm really just talking about embedding and hosting the flash player. If you want greater interactivity between the Flex portions and the JSP I suggest that you search on the internet for FABridge (Flex Ajax Bridge). This allows you to use JavaScript to interactive with the flex component. I've used this technology within BSP quite a bit:
[/people/thomas.jung/blog/2007/11/14/an-introduction-to-flob-flex-on-bsp|/people/thomas.jung/blog/2007/11/14/an-introduction-to-flob-flex-on-bsp]
Since BSP and JSP are so similar, the same concepts could easily be applied in JSP.
As to the Web Dynpro Islands - the development of the first version is complete and will start to ship in a controlled rollout with Web Dynpro ABAP in NetWeaver Enhancement Package 1 (Q3 2008). I believe that at first we plan to only have SAP delivered components, but will eventually open it up so that anyone can create components that run within the Islands. -
How to get Flex to communicate with a Java applet?
We are building a Flex 2.0 app which needs to talk to a Java
applet. The applet lives in the same HTML page as the Flex app. My
guess is that we can use the Flex-Ajax bridge combined with some
Javascript-java bridge. Any suggestions on specific libraries to
use, web sites to consult, or techniques to use?Maybe this could help:
http://www.kellyjo.com/code/flexjava/FlexJava.html -
Macromedia Flex app talking to Portal
Hi All,
I need my Macromedia Flex app to communicate with my Portal. I was wondering what is the best way to achieve this:
1. Calling a JSP and sending some XML containing the data, or
2. Developing a Portal Service then exposing it as a Web Service.
Also, with the Portal service how do i get hold of the request object?
Thanks in advance,
Raj1. in my opinion option 1 would be better and you can easily massage the data and send it as the way you want it.
2. other option would be use Flex-Ajax Bridge. where you can create flex controls at runtime from javascript.
<a href="http://labs.adobe.com/wiki/index.php/Flex-Ajax_Bridge">Flex-Ajax Bridge</a>
look about for my weblog on FA bridge with BSP in couple of days time.
Regards
Raja
Maybe you are looking for
-
How can I run a sequence file which is stored as BLOB
Hallo, I' using (or better will use) TestStand 3.1 and a ORACLE database. Is there a way to load and execute sequence files which are not stored on the filesystem but as BLOBs in the ORACLE DB. The choice which sequence has to be executed is done dyn
-
SharedObject and Caching issues
Background: I am working on a project where I am using sharedObject to store data for a favorites list. The project contains 2 swfs, one in AS 3.0 (using Flex 4.5) and the other an AS 2.0 flash 8 project. Basically the AS 2.0 project read and w
-
What is the process of adding more content to a published app
My flex app is published to the google store. I want to add more content to the app. Do i have to re-package the apk each time and then update the apk in the app store. Or does the apk in flex 4.6 automatically get updated when i save changes and the
-
Any suggestions on what to get for scanning photos and negative to an ipad? Thanks!
-
Hi guys. I have a Macbook Pro and 2 days ago I booted it only to notice that the green iSight light was on even during the Mac OS X startup page. I tried Photobooth and just got a green screen. I did several reboots but had the same issue. I even tur