Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Flex Pop-up Window

Have Programming Question? Ask it here!
 
 
 


bikrantsingh
Pop-up Window
1 Answer(s)      3 years and 6 months ago
Posted in : Flex


Hi.........

please tell me
How do I pass parameters to a pop-up window?

Thanks

Advertisement
View Answers

October 16, 2010 at 1:22 PM


<p>For example:<br>
code for pop-up window:<br>
<br>
&lt;?xml version=&quot;1.0&quot;?&gt;<br>
&lt;s:TitleWindow xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;<br>;
xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; <br>
xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;<br>;
close=&quot;close();&quot;&gt;<br>
&lt;s:layout&gt;<br>
&lt;s:VerticalLayout/&gt;<br>
&lt;/s:layout&gt; <br>
&lt;fx:Script&gt;<br>
&lt;![CDATA[<br>
import mx.managers.PopUpManager;<br>
private function close():void {<br>
PopUpManager.removePopUp(this);<br>
} <br>
private function save():void {<br>
PopUpManager.removePopUp(this);<br>
}<br>
]]&gt;<br>
&lt;/fx:Script&gt; <br>
&lt;mx:Form&gt;<br>
&lt;mx:FormItem label=&quot;First Name:&quot;&gt;<br>
&lt;s:TextInput id=&quot;firstname&quot; width=&quot;100%&quot;/&gt;<br>
&lt;/mx:FormItem&gt;<br>
&lt;mx:FormItem label=&quot;Last Name:&quot;&gt;<br>
&lt;s:TextInput id=&quot;lastname&quot; width=&quot;100%&quot;/&gt;<br>
&lt;/mx:FormItem&gt;<br>
&lt;/mx:Form&gt;<br>
&lt;s:HGroup&gt; <br>
&lt;s:Button label=&quot;Save&quot;<br>
click=&quot;save();&quot; /&gt; <br>
&lt;s:Button label=&quot;Close without save&quot; click=&quot;close();&quot;/&gt; <br>
&lt;/s:HGroup&gt; <br>
&lt;/s:TitleWindow&gt;<br>
<br>
The main Application:<br>
<br>
&lt;?xml version=&quot;1.0&quot;?&gt;<br>
&lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;<br>;
xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; <br>
xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;&gt;<br>;
&lt;fx:Script&gt;<br>
&lt;![CDATA[<br>
import mx.managers.PopUpManager;<br>
import spark.components.TitleWindow;<br>
import myComponents.PersonalInformationForm; <br>
private function createTitleWindow():void {<br>
var personalInformationWindow:TitleWindow=<br>
PopUpManager.createPopUp(this, PersonalInformationForm, false) as TitleWindow;<br>
personalInformationWindow.title=&quot;Personal Information Window&quot;;<br>
PopUpManager.centerPopUp(personalInformationWindow);<br>
}<br>
]]&gt;<br>
&lt;/fx:Script&gt; <br>
&lt;s:Panel title=&quot;Create My Personal Information&quot; width=&quot;200&quot; height=&quot;100&quot;&gt;<br>
&lt;s:Button label=&quot;Open Window&quot; click=&quot;createTitleWindow();&quot;/&gt;<br>
&lt;/s:Panel&gt; <br>
&lt;/s:Application&gt;</p>


Related Tutorials/Questions & Answers:
pop up window in java
pop up window in java  How to open a pop up window in Java
Pop Up window - WebSevices
Pop Up window  How refresh pop up window,Tell me correct code for this problem.  Hi friend, I am sending a link. This link will help you. Visit for more information. http://www.roseindia.net/jsp/popup-window
Advertisements
POP UP WINDOW
POP UP WINDOW  Dear Sir, Can you please help in providing the methos for opening up a pop up window just after selecting an option from a drop...',then a pop up window should open with name,designation and roll number.Please help me
Pop-up Window
Pop-up Window  Hi......... please tell me How do I pass parameters to a pop-up window? Thanks  For example: code for pop-up window: <?xml version="1.0"?> <s:TitleWindow xmlns:fx="http
pop up
pop up  how to create pop up in html
get data in pop up window droplists and on selecting data in the same show a grid table with related datas
get data in pop up window droplists and on selecting data in the same show... a pop up window appears with two drop down lists and a button. One of the drop... pop up menu with a select button in each row.when I click any one select button
creating pop up menu
creating pop up menu   how to create a pop up menu when a link in html page is clicked using jquery? and the link should be a text file   Please visit the following links: http://www.roseindia.net/tutorial/jquery
pop up message in java
pop up message in java  hii..i have developed an application in which a login and registration form is there.when the registration is done the user gets system generated password and after 15 days the person should get
JavaScript Pop Up Boxes
JavaScript Pop Up Boxes JavaScript has three kind of pop-up boxes,  i)    Alert-Box: If some surety is required from the user or an alert message is to generate then we can use alert box, user has to click ok
Pop up Very Very Urgent - JSP-Servlet
the code.. Here When I click "View Database" Button,a small pop up window must...Pop up Very Very Urgent  Respected Sir/Madam, I am... in the database. When I click Employee ID present in the pop up box, The "Enter Employee ID
How to Creating Pop Up Menu in PHP?
How to Creating Pop Up Menu in PHP?  Hi, I am a beginner in the PHP Application. Can somebody give an example of how to creating pop up Menu in PHP. Please feel free to suggestion........ Thanks
How to Create Pop Up Boxes in JavaScript
How to Create Pop Up Boxes in JavaScript  Hi, I am beginners in Programming language and How can i create a pop up box in JavaScript. That will ask.... These are alert, confirm, prompt pop up boxes found in JavaScript. You are asking how
passing text value from pop up to parent page
passing text value from pop up to parent page  i want to pass value of a textbox of one pop up window to its parent page(html). that parent page contain a table. And i want to pass that text value to one cell in table of parent
Adding pop up menu on headlines.
Adding pop up menu on Headlines Here you will learn sticking a pop up menu... on to pop up menu, it opens the list of the menu automatically. For generating the pop-up menu, you will have to code a scripting language, JavaScript
Display Data from database in Popup Window Using Ajax in JSP
, we have developed a application to display data  in pop up window. We... a new pop up window "windowopen.jsp" and display the all...;Select" button on page 'windowopen.jsp' the pop up window will close
How can we implement Pop-up in JQuery without Plugin?
How can we implement Pop-up in JQuery without Plugin?  Hi Sir How can we Implement pop-up in JQuery without using plug-in. Please provide me code... for pop-up box. The code is given below : <style type="text/css">
Pop up on hover using jQuery plug in
Pop up on hover using jQuery plug in In this tutorial, we will learn how to set the pop up for display , when mouse hover on any unordered list.../TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Pop UP
Window
Window  how to create an window of a person like regestration form
Pop-up Menus
Pop-up Menus       A PopupMenu is similar to a Menu as it contains MenuItem objects. The Pop... the menu. The example below shows the triggering of a pop-up menu and its activation
Passing values from child window to parent window.
Passing values from child window to parent window.  Hai, I'm having a requirement ,in that when i open a (pop-up)child window from a parent window,the child window will contain multiple checkboxes and when i select multiple
TitleWindow in Flex4
by used pop-up window. The TitleWindow container have a content area for own... the application window then use TitleWindow. If user want to create a TitleWindow... information then click on this button and a title window are generate by the system
window in center
window in center  if i run the programme thw window is in lie in top left corner i want a window open in center
Window Blind
Window Blind  Custom built . Over 30 years of shutter experience. Free in-home consultations
Chat window
the chat window pops up.. It is a div in the chat homepage.. There are few other... in the same application. I want to know how to retain the chat window (along..., the chat window should be constant across all pages in the application for current
Multi window
contains all the details. when i submit this page, a new window opens and asks to enter password. if password entered is correct, the flow goes to previous window
window closing
window closing  hello, In my project i have login,logout and some jsp pages are there and each jsp page is using javascript and onunload script. and i need one solution that,when ever user trying to close browser window
Window Script
Window Script  i want to write windows script can you help me in writing those i want to write script so that it follows below steps Step 1) downloading file from FTP 2) Unzip it 3) Edit it 4) zip it 5) upload again to FTP
active window means
active window means  active window means what?   The active window is the term used to describe the window that is currently being used
JFrame - Window
Java: JFrame - Window Description The javax.swing.JFrame class is used to create a "window". This window has a few characteristics of its own (title... in the class's constructor, and create an instance of the window from the main program
Passing values from child window to parent window.
Passing values from child window to parent window.  http://www.roseindia.net/java/pass-value-example/pass-value-child-to-parent.shtml I have gone thru the link but my requirement is checkboxes.can u please explain
making help window
making help window   how to make help window in gui with java
Creating Modal Window in Flex
the pop-up window included in their application. For this reason Flex provides...;Pop-Up window"     width="211" height... Creating Modal Window in Flex      
Java window state event
Java window state event  Two java windows, one on top of another... Window at the back is deactivated when the other is on the top. Can iconify when there is only one window using win+d key. In windows, press win+d, window
Prototype Window Class
Prototype Window Class       This javascript class allows you to add window in a HTML page... if you include effects.js file , but it's not mandatory. Prototype Window
Window State - Swing AWT
Window State  Thanks for you reply. I have already tried the setSize() method of AWT Window and also with JFrame. But I want to Maximize the Window when it is opened by the user and instead of the Maximize
Example - Tiny Window
Java NotesExample - Tiny Window The example discussed here is used to create tiny window in swing. The TinyWindow.java - Creates a very small window...; and the window can be resized.   You can download the code given here and try on your
Enlarge Image pop up on hovering the image using plugin
Enlarge Image pop up on hovering the image using plugin In this tutorial, we will discuss about display of enlarge image popup on hovering the "image". In this Example, 4 images in a table is given. On hovering
child window - Development process
child window  I want to create new small window on my website using java script. But i couldn't hide the status bar in small window. How to do this one ? Kindly help me.   Hi Friend, Please visit the following
window addsubview remove in iPhone
window addsubview remove in iPhone  Hi, How to add a splash screen or some other view and then remove it and add new view. I want program... code: [window addSubview:tabBarController.view]; To remove
swings window header
swings window header  i have a string1 it contains 3 parts,for example "123456 service hello" and string2 contains "change request " like... for this program . i want to apply this to window header part. Thanks
Closing the browser window
Closing the browser window  <BODY> <form> <input type=button value="Close Window" onClick="javascript:window.close();"> <...; thought that this will close the window of the browser but not working
Sliding window protocol
Sliding window protocol  Hello Everyone. Will anybody send me the code to make sliding window protocol animation using java swings. I have to do project with all types sliding protocols such as selectiverepeat,gobackN..etc. I
JSP Window. Open
JSP Window. Open          JSP Window. Open  is used to open a new window in JSP. The JavaScript function  window.open( ) open a new browser
reload parent window - WebSevices
reload parent window  Hi, Here I have a code for close child window and reload parent window. window.opener.location.href="http://www.mysite.net/example.php"; self.close(); Its working properly when User enters
The Window Event - Swing AWT
The Window Event  hey plz i need help here... plz modify..., 700); setTitle("The Window Button"); setVisible(true...; } } }); add(exit_button); setVisible(true); setSize(100, 50); setTitle("Window
Relative positioning of the child window on top based on the movement of parent window
Relative positioning of the child window on top based on the movement of parent window  Relative positioning of the child window on top based on the movement of parent window
First Window
Java NotesExample - First Window This is about the simplest GUI (Graphical User Interface) window that you can make. The window is very small... 17 //--- basic_windows/FirstWindow.java - Creates a very small window
To put a "close window" link on a page?
To put a "close window" link on a page?  To put a "close window" link on a page
How to Make iPhone Window Application
How to Make iPhone Window Application  Hi, For Making iphone window application, what parameters i have to follow or provide example related to iphone window application. Thanks
JavaScript Open Modal Window
JavaScript Open Modal Window...; In this section, you will learn how to open Modal window in JavaScript. As we have already discussed about the window.open() method of Window object which
Advertisements
 

 

 

DMCA.com