This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Flex and the fly likes Flex - Single URL throughout the application.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex - Single URL throughout the application.." Watch "Flex - Single URL throughout the application.." New topic
Author

Flex - Single URL throughout the application..

Santhosh Venkatesan
Greenhorn

Joined: Mar 28, 2009
Posts: 9
I've been working on Flex with Java for quite sometime, very much impressed by Flex components and the actionscript language itself.. The applications which i develop through flex are having a single URL(of my main mxml file) throughout all screens of the application. For a banking site or any such secured applications may be happy with this.. But for some applications we allow the clients to make use of the browser's bookmark feature for getting into some important drilled down segment of the application easily without coming through the steps every time..
Please tell me whether this could be done through a flex application..

Your comments also can make me learn something..


SCJP - 1.5
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

http://cookbooks.adobe.com/post_Flex_2_Applications_and_Bookmarking_101-4428.html


GenRocket - Experts at Building Test Data
Santhosh Venkatesan
Greenhorn

Joined: Mar 28, 2009
Posts: 9
Thanks Greg!. Also had a look here which made my job pretty easy..
Devendra Thomare
Greenhorn

Joined: Dec 13, 2008
Posts: 15
Hello ,
I am new to Flex and making web application using Flex since impressed from flex Rich UI

but the problem is

1. I make a request from browser it goes to servlet and from there to my jsp page
2. in my jsp page i have embedded .swf file as below

<div id="Tia">
<!-- Original HTML table here-->
</div>
var so = new SWFObject("Myform.swf", "Tia", "800", "800", "8", "#336699");
so.write("Tia");

3. now i am able to show this flex UI
4. from flex UI i click on one of the button and it goes to my servlet again
i did that using
<mx:HTTPService id="service" url="http://localhost:8084/FTPApplication/flexpage" result="resultHandler(event)" fault="faultHandler(event)" method="GET" showBusyCursor="true" resultFormat="text">

Here problem is control again comes to my callback function resultHandler

is there any way that response from servlet will go to different jsp .?




SCJP 88% SCWCD 88%SCBCD 88%
 
GeeCON Prague 2014
 
subject: Flex - Single URL throughout the application..