Htp.p doesn't work from the custom button event handler ...

Hi,
I am trying to pop up an alert from the custom button event handler. I created a button and put the following code.
htp.p('<script language='JavaScript1.3">
alert ("Test Message");
</script>;
But alter doesn't show up after clicking the button.
Thanks

OK i've attached them and copy/pasted the relevent parts. The parent window is the SFLB file.
-----------------------------------------here's the code in the parent window
private function editServerPool():
void
serverPoolPUW = PopUpManager.createPopUp(
this,popups.ServerPoolPopup,true);PopUpManager.centerPopUp(serverPoolPUW
as IFlexDisplayObject); 
if (newServerPool.SecondarySPAlgorithm != null){
serverPoolPUW.enableSSCheckBox.selected =true;serverPoolPUW.DisplaySecondaryServerPool();
serverPoolPUW.bigResize.play();// serverPoolPUW.height = 602; //yes...i know i need to move thisserverPoolPUW.switchoverPolicyCB.selectedItem = newServerPool.SwitchOverPolicy;
serverPoolPUW.switchoverThresholdTI.text = newServerPool.SwitchOverThreshold;
----------------------here's the code in teh popup window (popups.ServerPoolPopup.mxml)
<mx:Resize id = "bigResize" heightFrom="506" heightTo="602" target="{this}" /> 
<mx:Resize id = "littleResize" heightFrom="602" heightTo="506" target="{this}"/>
 public function DisplaySecondaryServerPool():void{
//make the screen large if the secondary server checkbox is selected; otherwise small.  
if (enableSSCheckBox.selected){
//display secondary server pool tab, expand the screen 
//note that we cannot attach a data provider to the data grid until the grid creation is  
//completed. This is done in an event handler.secondaryPanel.enabled =
true; switchoverPolicyCB.visible =
true;switchoverThresholdTI.visible =
true;thresholdFI.visible =
true;policyFI.visible =
true;bigResize.play();
else
 <mx:CheckBox label="Enable a Secondary Server Pool" width="264" fontWeight="bold" click="DisplaySecondaryServerPool()" id="
enableSSCheckBox" fontSize="12" x="83" y="40"/>

Similar Messages

  • Where should I change the adapter? It doesn't work from the start.

    where should I change the adapter? It doesn't work from the start. But there is no apple store in our city.

    The phone does not charge when linking with adaptor. But it is OK when linking PC using USB instead. I do not know why, but I am just sure there is something wrong with the adaptor.

  • My keyboard doesn't work from the login screen, but when I login as a guest user it works fine (minus the brightness buttons, playback buttons, etc.).

    I've already switched out the batteries and the keyboard works fine, so I fear it might be some sort of bug? All the methods of restarting or resetting certain settings can only be done from the login screen or from within an account, when the keyboard doesn't work, and the guest options are limited to non existent.

    Try doing a SMC reset, you may need to do this 2-3 times as sometimes the reset doesn't always "take" the first time. To do a SMC reset, shut down the computer, unplug the power cord from the wall and computer, wait 15-20 seconds and restart normally and test. If after 2-3 resets it still does not work test another keyboard. If that keyboard works then this indicates your keyboard has failed and needs to be replaced.

  • Custom Button Event Handler

    I'm working on a form that inserts data into my database. The normal Insert PL/SQL just does "doInsert". I want to add in the PL/SQL Button Event Handler a condition statement as follows:
    IF :new.name_id != null THEN
    doInsert;
    ELSE
    "do something else"
    END IF;
    "name_id" is one of the form items. I want to check the value in name_id before I insert it into the database. What is the correct verbage in order for this condition to work -- :new.name_id does not work.
    Thanks
    Susan

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Susan Miller ([email protected]):
    I'm working on a form that inserts data into my database. The normal Insert PL/SQL just does "doInsert". I want to add in the PL/SQL Button Event Handler a condition statement as follows:
    IF :new.name_id != null THEN
    doInsert;
    ELSE
    "do something else"
    END IF;
    "name_id" is one of the form items. I want to check the value in name_id before I insert it into the database. What is the correct verbage in order for this condition to work -- :new.name_id does not work.
    Thanks
    Susan<HR></BLOCKQUOTE>
    null

  • Is there a C# example of using the ExpressionEdit Control Custom Button Event Handler

    TestStand 4.1
    C# 2008
    I have added the event handler to the ExpressionEdit events as I would any event handler:
    exprEdit.ButtonClick += new NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEventHandler(_ExpressionEditEvents_ButtonClickEvent);
    Next, I create the Event Handler using the syntax
    public void _ExpressionEditEvents_ButtonClickEvent(NationalInstruments.TestStand.Interop.UI.ExpressionEditButton btn)
    I get the following error when I try to build:
    Error 1 No overload for '_ExpressionEditEvents_ButtonClickEvent' matches delegate 'NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEventHandler' 
    I assume this means that I don't have the correct parameters or types in my Event Handler declaration but it matches the Object Browser.  Any ideas on what I am missing?
    Solved!
    Go to Solution.

    Try removing the "Ax." from your namespace qualifier as I marked below.  I think you want the one in just the UI namespace.
    Edit: well not necessarily.  Is your exprEdit variable declared as "NationalInstruments.TestStand.Interop.UI.Ax.AxExpressionEdit" or as "NationalInstruments.TestStand.Interop.UI.ExpressionEdit"?
    If it is an AxExpressionEdit then I think you will want your event handler to look like this:
    void exprEdit_ButtonClick(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEvent e)
     -Jeff
    skribling wrote:
    TestStand 4.1
    C# 2008
    I have added the event handler to the ExpressionEdit events as I would any event handler:
    exprEdit.ButtonClick += new NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEventHandler(_ExpressionEditEvents_ButtonClickEvent);
    Next, I create the Event Handler using the syntax
    public void _ExpressionEditEvents_ButtonClickEvent(NationalInstruments.TestStand.Interop.UI.ExpressionEditButton btn)
    I get the following error when I try to build:
    Error 1 No overload for '_ExpressionEditEvents_ButtonClickEvent' matches delegate 'NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEventHandler' 
    I assume this means that I don't have the correct parameters or types in my Event Handler declaration but it matches the Object Browser.  Any ideas on what I am missing?
    Message Edited by Jeff.A. on 06-11-2010 03:25 PM
    Message Edited by Jeff.A. on 06-11-2010 03:28 PM

  • Iam from Yemen we have CDMA carrier called Yemen mobile I bought an iPad from the US CDMA works with Verizon when I got to Yemen doesn't work with the carrier Yemen mobile and  both carriers verizon and Yemen mobile work by the CDMA system don't know whey

    Iam from Yemen we have CDMA carrier called Yemen mobile I bought an iPad from the US CDMA works with Verizon when I got to Yemen doesn't work with the carrier Yemen mobile and  both carriers verizon and Yemen mobile work by the CDMA system don't know whey can anyone help me please..

    A Verizon-model iPad can only work on CDMA with Verizon. You cannot use it with any other carrier. Apple, to my knowledge, has not released the iPad in Yemen, so there is no iPad you can use with any carrier there that works only on CDMA. You would need to find a GSM carrier and then get an unlocked GSM iPad.
    Regards.

  • HT4847 Why is the "done" button inactive when I try to downgrade my iCloud storage plan to 5GB free? Doesn't work from iOS device or macBook system preferences. I didn't sign up for a $40 plan.

    Why is the "done" button inactive when I try to downgrade my iCloud storage plan to 5GB free? Doesn't work from iOS device or macBook system preferences. I didn't sign up for a $40 plan.

    I found the solution .,,,
    1) click on your current plan and press done your payment details will appear .
    2) the first section is your plan and there is a botton "change" click on it
    3) it will take you back to the upgrade options
    4) press on the downgrade options
    5) choose the 5 GB and the done botton will be enabled
    6) click on it  you'll back to the step number 2 , here read carefully you'll see that your changes will take effect after the current plan expired with the date.

  • Every app on my ipod (2nd gen) which requires wifi connection doesn't work although the wifi mark is on. i did try restarting my ipod, resetting network setting, disconnect from wifi and reconnected it but non of them worked.

    every app on my ipod (2nd gen) which requires wifi connection doesn't work although the wifi mark is on. i did try restarting my ipod, resetting network setting, disconnect from wifi and reconnected it but non of them worked.

    This may sound silly but try your date a time setting my ipod had the same problem and i had even checked the the date and time went all the way to the apple store for help and the genius guy just rest the date and time and it worked just fine.

  • Safari show all tabs doesn't work all the time

    It is annoying: safari show all tabs doesn't work all the time. The little icon to the right of the "New Tab" area sometimes works, and sometimes doesn't. The Shift Command Back-slash, sometimes works, and sometimes doesn't. I find no rhyme nor reason for this. I have a MacBook Pro, Mountain Lion, the latest updates. It doesn't matter if I am in Full Screen or not.
    I am quite confused regarding this.

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that helped, empty the cache more often from your keyboard.
    Command + Option + E

  • I have an iPod 4th gen and the bottom part of it doesn't work where the space, .?123, and the go buttons are I droped it yesterday but it started doing this an hour ago I can slide to get in but it's stops working after that someone tell me how I fix this

    I have an iPod 4th gen and the bottom part of it doesn't work where the space, .?123, and the go buttons are not working I droped it yesterday but it started doing this an hour ago I can slide to get in but it's stops working after that someone tell me how I fix this

    Try:
    - Reset the iOS device. Nothing will be lost       
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                                              

  • Whenever I try to sync my ipod touch, it doesn't work.  The computer seems to get hung.  What could be happening?

    Whenever I try to sync my ipod touch, it doesn't work.  The computer seems to get hung during the back up stage.  It says it is backing up the ipod but nothing happens, for hours.  I eventually have to interrupt it and give up.

    I have the latest itunes.
    I tried resetting sync history.
    For this section:
    If the issue persists, and you know all your contacts, calendars, bookmarks and notes are on your iPhone, iPad, or iPod touch:
    Remove all of the contact and calendar information from Outlook.
    Select the device in iTunes and click the Info tab.
    Scroll down to the Advanced section, and under "Replace information on this iPhone/iPad/iPod touch" make sure Contacts and Calendars are not selected.
    Click Apply.
    This doesn't seem to make sense for my situation.  I don't sync anything between outlook and my ipod touch. 
    I have no other USB devices connected to my computer.
    I have no other Windows users on my computer - only me and I am the administrator.  However on my diagnostic, it said this user is not the administrator.  Weird.
    So I have tried to follow that you referred me to, but still I haven't got it working yet.  Do you have any further suggestions?

  • SDK function FindText doesn't work from Acrobat X

    I have written this question more than one time in this forum, but Adobe developers do not reply.
    See the object. Other details it is possible to find in the following discussions:
    http://forums.adobe.com/thread/826756
    http://forums.adobe.com/message/3762837
    https://forums.adobe.com/thread/1032471
    https://forums.adobe.com/message/6080063
    https://forums.adobe.com/message/4646354
    https://forums.adobe.com/message/6531764
    If Adobe developers want to solve this problem, I am available for any trial or details (also source code that it works with Acrobat 9 and it doesn't work from Acrobat X).
    Regards

    This is a place for developers to help each other. If you want to contact developer support (of course, you will not reach actual developers of the product), you can pay to raise a support case. I can tell you their first question: does it work with Acrobat XI? There will be no fixes for Acrobat X.

  • Skill Search works fine from search center, but it doesn't work from Lync client

    My environment consists of Lync Server 2013 and SharePoint Server 2013.
    I configured skill search and it works fine from search center, but it doesn't work from Lync client. An error appears says"error occurred during the search, please try again".
    I configured these URLs in my client policy
    set-csclientpolicy -identity global -spsearchinternalurl http://<Sharepoint Server>/_vti_bin/search.asmx
    set-csclientpolicy -identity global -spsearchcenterinternalurl http://<Sharepoint Server>/searchcenter/pages/peopleresults.aspx
    I checked these URLs from the browser and they work fine.
    I disabled anonymous access to _vti_bin, but no change then i checked lync log but i didn't find any error then i used Wireshark and found that when Lync client contacts Sharepoint, Sharepoint responded to it with internal server error http 500
    Please advice for what to do

    Hi,
    Thanks For your sharing.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Autoreaction doesn't work from client 000 but works from other clients

    Autoreaction doesn't work from client 000.
    More details coming.   Having trouble getting the thread to post.

    We set up a new local auto-reaction.   This is not a central auto-reaction.  The auto-reaction writes a
    message to the UNIX system log /var/adm/messages when a "Security"
    alert i.e. - Logon, RFCLogon, TransactionStart, etc.  occurs.
    The RZ20 alerts are being properly generated and can be seen in both
    the CEN system and the local system. On the local system if I view
    all alerts for the MTE using transaction RZ20 and select one of the
    alerts and choose Edit -> Nodes ( MTE ) -> Start methods -> Start auto-
    reaction method. The auto-reaction writes the message to the UNIX
    system log. If I execute the same procedure in client 000 nothing is
    written to the UNIX system log.
    I've also tried triggering a new alert and running SAPMSSY8 from SE38
    while the alert is still in status ACTION_REQUIRED. If I do this from
    client 010, an entry is written to the unix system log. If I do this
    from client 000, nothing is written to the unix system log. In both
    cases, the status of the alert changes from ACTION_REQUIRED to ACTIVE.
    Since the System Cyclic program ( SAPMSSY6 ) that triggers SAPMSSY8
    always runs in client 000, the auto-reaction never writes the messages
    to the UNIX system log.
    I have been working on this issue for days.  There are several posts and notes relevant to a similar situation with e-mail alerts that are not working from client 000 because SAPCONNECT is not set up in client 000.   However, this auto-reaction does not send an e-mail, so SAPCONNECT set-up should not be necessary.   I've searched Service Marketplace and could not find any notes that resolved the problem either.  
    I've also checked CCMS Self-Monitoring and cannot find any alerts or errors relevant to this problem.
    Does anyone know why the auto-reaction only works from a client other than client 000?
    Best regards,
    Dave

  • I record some information to some slides but the presentation doesn't start from the 1st one but from the one I started the recording. What should I do?

    I record some information to some slides but the presentation doesn't start from the 1st one but from the one I started the recording. What should I do?
    Also, can I use music as backround to some of the slides, not to all of them as I'd like to play videos on the others?

    I have reinstalled the drivers. I watched it install the realtec and cirrus drivers. Hovering the mouse over the speaker icon says 'speakers: HP'. They are actually 'Creative'. 'Properties' indicates 'IDT High Definition CODEC' and 'This device is working correctly'.
    Driver details gives 'c:\Windows\system32\drivers\dmk.sys'.
    There is still no sound, although the little level meter on the control shows a green bar rising and falling.
    Obviously, it thinks it's working, but there's no connection to the speakers. They're not muted, either. I checked that too.
    Any other ideas?
    Thanks.

Maybe you are looking for