What Event is Triggered When a Title Window is Shown?
I am creating the Title Window Component once, and then
showing it with PopUpManager.addPopUp, and hiding it with
PopUpManager.removePopUp. I need to run some logic each time the
PopUp is shown. However, I can't figure out what Event is triggered
when the TitleWindow is "opened". The window is there, it's just
not being displayed. This make me think that "show" would be
triggered, but it is not. I also tried "add", but this threw a RTE.
Any thoughts?
Thanks.
Since I couldn't find an Event to trigger, I am instead using
an override of protected function commitProperties() to run my
logic.
Similar Messages
-
Is there any event that triggers when you switch between components?
is there any event that triggers when you switch between components?
like for example... when i switch between components, i need a function to fire everytime i switch...
ive tried show, hide, and initialize... and none of them work...
any ideas or help is greately appretiated!!Depends on what you are trying to do,
you have mouseover and mouseout and mouseclick events which you can use on the component and write code to deal with what you want to happen when you change focus. You have keypress event which would allow you to monitor tabbing between components, remember that in most events the currentTarget and target values will give you the information you need to handle component interaction.
so
[Bindable] private var CurrentObject: Object; <------- use this as a pointer to what ever object you are currently focused on or just to indicate things have changed
addeventListener(MouseEvent.CLICK,myCompponentSwap);
protected function myComponentSwap(e:event): void
if (CurrentObject !=e.currentTarget && CurrentObject != null)
do what you want becuase a component switch just happened
CurrentObject = e.currentTarget;
Hope this gets you started.
David -
Which business event is triggered when terminate employee?
Hi,
I need to know which business event is triggered when press terminate button in end employment form.
Edited by: 969359 on Mar 18, 2013 5:36 AMIt must be oracle.apps.per.api.person.delete_person or oracle.apps.per.api.person.update_person.
Please check.
FYI: Both of these events are disabled at the instance I was checking. So makes sure they are enabled before you test the events.
Regards,
Peddi
Edited by: Peddi on Mar 18, 2013 3:31 PM -
What event is fired when a new native window is created
And where do you add the event listener? SystemManager?
Thanks in advanceI see your point. It is useful to have an event to let you know when a new window has been created and another when it is shown. You could add that functionality easily by subclassing the NativeWindow class. (In Flex, you could also subclass the Window class.)
I will add your recommendation for a systemManager level an event to our list of suggested features. Thanks. -
How can I disable the event sound played when a new window is opened?
When Firefox starts, or when a new window is opened there is an annoying click.
How can I disable this?
The only way I have been able to stop it is by disabling all event sounds from the control panel but I'd rather just disable this particular sound.No, it's Windows XP. Hmmm, I don't know! I only started noticing it recently and as far as I remember, the only new add on is NoScript. I found the event that was being triggered (Start Connection) and disabled the sound in Windows. So the problem is solved in that I don't have the annoying sound ... but don't know why it started and hope nothing sinister is going on.
-
BSEG.CREATED event not triggering when a document is posted in FB60
Hi All,
I have a requirement in which i need to post documents in FB60/FB65/FB01 tcode. But when i post the document in FB60 the event BSEG.CREATED is not triggering. I could not see any trace in SWEL. But when i park the document in FB60, FIPP.CREATED event is getting triggerd.
Can anyone tell me why this BSEG.CREATED event is not triggering.
Thanking you in advance,
satheesh.Hi Viji,
Thanks for your quick reply.
We have maintained the required configurations in the system related to this. But still the event BSEG.CREATED is not triggering.
for this the alternative solution is to implement the BTE '1030'. But our functional team is asking us to check whey standard business object BSEG.CREATED is not triggering when we post a document. So that particular reason we are not able to find out.
Configuration maintained.
1) Created a workflow variant and assigned it to particular company code(OBWA and OBWJ).
2) Checked the 'Posting' release' and 'Release payments' checkboxes in the OBWA transaction.
3) Event linkage for BSEG is active.(SWETYPV)
Thanks,
satheesh -
Hi Everyone,
I have a page that is displayed using
CompleteAuditController *screen = [[CompleteAuditController alloc] initWithNibName:@"CompleteAuditWindow" bundle:nil];
screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:screen animated:YES];
[screen release];
So when this is done on the CompleteAuditWindow page
[self dismissModalViewControllerAnimated:YES];
What event (if any) is fired on the caller page??
in essence, I need to know when this page become the active page on the stack.
Thank you
take care
tonyBoth [viewWillAppear:|http://developer.apple.com/iphone/library/documentation/UIKit/ Reference/UIViewControllerClass/Reference/Reference.html#//appleref/occ/instm/UIViewController/viewWillAppear:] and [viewDidAppear:|http://developer.apple.com/iphone/library/documentation/UIKit/R eference/UIViewControllerClass/Reference/Reference.html#//appleref/occ/instm/UIViewController/viewDidAppear:] should be sent to the parent controller object. - Ray
-
What event tells me when any data changes in a mx:datagrid?
I have a mx:datagrid that I need to have an event tell me when anything at all changes in the datagrid. The datagrid can be empty and as such may not have a dataprovider (=null) some of the time. I have looked at a variety of events but none seem to do what i want - can anyone suggest what event i should be listening for please?
many thanks,
Mark.We have not formalized the concept of nested collections in Flex. However,
let me amend my recommendation a bit.
Typically in a nested collection, the objects in the top-level collection
are not just collections but an object with some other reference data and
then a collection like:
public class FamilyTreeItem
public var name:String;
public var children:ArrayCollection;
The top-level collection is listening for propertyChange events. Typically,
as a data item gets modified, a propertyChange event is dispatched. If the
data items do not dispatch propertyChange events, then the itemUpdated()
method is used. Either way, the result is a COLLECTION_CHANGE event from
the top-level collection.
When you have a nested ArrayCollection, while that sub-ArrayCollection is
dispatching COLLECTION_CHANGE, nobody is listening for it at the top-level.
You can dispatch it yourself, or you can call itemUpdated() on the top-level
or dispatch a propertyChange.
The latter will be the most work, but most general. Code in FamilyTreeItem
would attach a listener to the collection for COLLECTION_CHANGE and then
dispatch a propertyChange as appropriate. -
What event is called when the handle next to a tree node is clicked
Hi,
I have a JTree...and the nodes in the tree have a little handle next to them. When i click on the handle, the children of that node, are shown below (as expected). However, what event occurs before the treeExpanded event is fired?? it seems like something happens just before it.
thanksPost your code, I dont think any event except treeExpanded is fired.
-
What event is fired when notification close ?
Hi,
I've subscription "oracle.apps.wf.notification.close" event,but when notification close my codes don't still work and have no exception come out !
I've try my codes by subscription "oracle.apps.wf.notification.send" event , and when notification send it can work ! I'm sure that there have no different between the subscription "oracle.apps.wf.notification.close" and the subscription "oracle.apps.wf.notification.close" in the subscription step .
Doesn't when notification closing raise the "oracle.apps.wf.notification.close" event?
I need your help!
thanks,
Your friend, yao!Pl post details of OS, database and EBS versions. Is the "oracle.apps.wf.notification.close" event enabled ?
HTH
Srini -
NetConnection.Connect.Closed event not triggered in Vista FF3 when in fullscreen mode
Hello Pals -
I'm trying to handle the net connection drop and provide some kind of visual cue to user. For this I'm listening to NetConnection.Connect.Closed event and when its triggered, I take further steps. The events are triggered in Vista FF3(window mode)/IE7 but in Vista FF3 full screen mode, the event is not triggered. I forcefully disconnect the network cable to see the NetConnection.Connect.Closed event is triggered.
I have following piece of code to listen to the event,
nc = new NetConnection;
nc.addEventListener(NetStatusEvent.NET_STATUS, onStatus, false, 0, true);
nc.connect();
public function onStatus(event:NetStatusEvent):void {
trace("Status " + event.info.level + " : " + event.info.code);
The function onStatus should be called whenever there is a status change in net connection. The events are not triggered in Vista FF3 full screen mode. Please share your views/ideas about this here. Thanks in advance. Please let me know incase more information is required.The problem decribed as above was caused by a fragile and eventually broken soldered connection on the curcuit board. My local dealer replaced the curcuit board and everything works fine again.
I still wonder how that happend. I did not try to bend my MacBook and it did not fall of my desk.
Thanks for reading. -
"Presave" Event triggered when the form is loaded.
Dear all,
I created an interactive form with an XML interface and I use it into a Web Dynpro ABAP.
The version of my Adobe LiveCycle Designer is 8.0.
My problem is that the "presave" event is triggered when the form is loaded.
For example, if I place a field in the form and add the script " this.rawValue = "123"; " to the "presave" event of this field, the field will have the value "123" when I launch the Web Dynpro application.
Then, if the user does not make any input and directly save the form, the "presave" event is not triggered.
Does anyone know why I get such a behavior?Steeven, I was unable to test this scenario as Adobe Credentials are not installed in my system. But something similar from Java Script is referenced here in the below mentioned link.
Please look if you find it useful:
http://careerabap.blogspot.ca/2011/02/custom-dialog-box-message-while-saving.html
Please reward if you find it useful.
Regards,
Nitin. -
How to find out which event is triggered in SDK
Hi all
From SDK, I am would like to know which event is triggered when the user select navigation menu Follow up -> Create Lead (screen 1).
I am guessing, it calls LeadCreateWithRef outport event but I don't see any absl code?? (screen 2)
When I try to switch from Display to Edit, I got error "Component which you are trying to edit comes from a lower layer. Please use Extensibility Explore to Edit" (screen 3)
Also in Extensibility Explorer, I can't open the button details (can't even see it in the buttongroup).
Any advice is welcomed.
Thanks
AnthonyHi Meghna
Thanks for the info. I am trying to do reverse engineering, to understand how to existing UI screen is built, how and what events get called when button is pressed and which screen will be opened.
For example, in Ticket screen, when I select Follow up then Create Lead:
I cannot drill down to see the button and its properties??
nb. Also there is no left right scroll bar to see the rest of button group. Is it a bug?? I am using Windows 8.1.
And in outport setting, I don't see which action/event triggered? and what screen to show?
Thanks again,
Anthony -
Hi All ,
I have created a sample project using a link button which when clicked opens up an TitleWindow which has an iframe and a text area in a hbox
When you execute the application ,
Click the link button
The Popup window opens up showing the title window with the close button
Click the close button of the title window
The Title window is removed and the iframe and the text area are not visible
Do this a couple of times
You can notice that the iframe is still visible even when the title window is closed
Can someone explain me how this issue can be resolved and also explain me why the iframe(child container) is still visible when the title window(parent container) is not visible.
Main Application file
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
width="100%" height="100%" creationPolicy="all"
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical" creationComplete="init()"
xmlns:containers="containers.*">
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
import containers.PopUpBrowser;
public function doRequest():void
var requestPopup:PopUpBrowser = PopUpManager.createPopUp(this, PopUpBrowser) as PopUpBrowser;
PopUpManager.addPopUp(requestPopup,this);
requestPopup.x = 220;
requestPopup.y = 50;
]]>
</mx:Script>
<mx:Text fontSize="14" fontWeight="bold" text="Click the link button below to open the Title Window" />
<mx:Spacer height="100"/>
<mx:LinkButton label="Click me" fontSize="16" fontWeight="bold" click="doRequest()"/>
</mx:Application>
PopUpBrowser.mxml Component
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow
xmlns:mx="http://www.adobe.com/2006/mxml"
close="removeMe()"
showCloseButton="true"
styleName="myTitleWindowStyle"
width="850" height="500"
title="Klout User Profile"
paddingTop="1" paddingBottom="1"
paddingLeft="1" paddingRight="1"
xmlns:generic="com.serendio.voom.components.generic.*"
xmlns:flexiframe="http://code.google.com/p/flex-iframe/"
horizontalScrollPolicy="off"
verticalScrollPolicy="off" >
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
public function removeMe():void
PopUpManager.removePopUp(this);
]]>
</mx:Script>
<mx:HBox width="100%" height="100%">
<flexiframe:IFrame source="http://www.google.com" id="iFrame" width="50%" height="100%"/>
<mx:TextArea text="Open and close the title window few times and watch the iframe remain visible even when the title window is closed"
fontSize="14" width="50%" height="80%"/>
</mx:HBox>
</mx:TitleWindow>
Thanks,
AjanthaHey,
This is working fine for me with the current 4.5 Flex, Firefox 3.6.12, IE8. On what browser you are getting this error.
Thanks,
Jayagopal. -
Hi ....
I want to create title window to menu that is in list but it not visible to me......first I created list ->it contains datagrid -when i click the data in the datagrid it will create the menu ->menu contains five labels when i click a label want to show title window but title window not shown to me....wat to do? any one give solution for me?
Thanks&Advance,
senthilfunction nenu():void
var myMenu:Menu= Menu.createMenu(null,Upload_Count, false);myMenu.labelField=
"@label";
myMenu.addEventListener(MenuEvent.ITEM_CLICK,itemClickUsermenu);
myMenu.setStyle(
"themeColor", "black");
myMenu.show();
function itemClickUsermenu(event:MenuEvent):void
if(event.item.@label=="Add"){
createPopUp();
else if(event.item.@label=="Edit"){
createPopUp();
else if(event.item.@label=="Edit Existing Data"){
createPopUp();
//title window creation//
function createPopUp():void
var rtw:TitleWindow = new TitleWindow();
var lbl1:spark.components.Label=new spark.components.Label();
var lbl2:spark.components.Label=new spark.components.Label();
rtw.title="Explorer User Prompt.";
rtw.height = 150;
rtw.width = 550;
rtw.x =80;
rtw.y =50;
lbl1.text = "Script Prompt:";
lbl2.text = "New Option Value.";
lbl1.top = lbl1.left =lbl1.right = lbl1.bottom = 10;
lbl2.top = 20;
rtw.addEventListener("close", closeHandler);
rtw.addElement(lbl1);
rtw.addElement(lbl2);
PopUpManager.addPopUp(rtw, this, false);
This one is perfectly working in outside area .i mean ouside of the list...but not working witin the list contains datagrid.....
-if i use directly in the datagrid without list it is working good....list only problem for me...pls give any idea...
Thanks&Regards,
senthil.
Maybe you are looking for
-
HOW TO CHANGE COLOR OF PARTICULAR CELL IN ALV
I HAVE DISPLAYED A REPORT IN ALV I WANT TO CHANGE THE COLOR OF VBELN FIELD ON WHICH HOTSPOT IS ON? HOW TO DO THIS?
-
Connecting laptop to ipod touch using wi fi lan
i have the laptop with the wired internet(broadband connection), i basically want to connect my ipod touch with my laptop(through wi fi) so that i can use the internet on it or in other words can i use my laptop as an router and please tell me the ba
-
TS1702 I can't download my pages app that I had already payed? How do I do?
I bought the pages app . They sent me the bill but I cannot download it. It says waiting and is still saying so, for almost 48 hours
-
Is posible execute script PLSQL in Visual Basic 2008?
Hi, i'm a beginner in PL/SQL. And i have a question: How is the procedure for execute script PL/SQL on clic a button in a visual basic 2008 form. Coud you help me please. I'm sorry for my english but i only speak spanish. Thanks Edited by: Edgar Moli
-
When i am trying to install Oracle 9i client in my system , i am getting error like ... The Oracle HOme is not Valid. Oracle names must be 16 characters or less and contain alphanumeric characters or _ I am giving my home like ... OraClient10g_home2