Enabling button in BSP

The query goes like this
OnClientclick of one button i am calling a function which enables another button which is in disabled mode.
Now the issue is buttonname.disabled = false ; does not work in this case
Isthere any other way to do the  same in javascript using BSP.
Thanks

HI Bhavana,
Maybe a little workaround can achieve this.We can use an invisible input field with no value initially.BOth the buttons would be visible and would call javascript functions.
The following code will make it clear
<head>
<script language="JavaScript" type="text/javascript">
         function fun1()
           document.form1.ip1.value = "hi";             
          function fun2()
              if(document.form1.ip1.value == "hi")
              alert("value is set");
              return true;
              else
              alert("value not set");
              return false;
          </script>
</head>
<htmlb:content design="design2003" >
  <htmlb:page title=" " >
    <htmlb:form id="form1" >
      <center>
     <br><htmlb:inputField id      = "ip1"
                        type    = "STRING"
                        visible = "FALSE" />
   <br><htmlb:button id       = "but1"
                    text     = "Button1"
                    onClientClick = "fun1()"
                     />
   <br><br<br>
    <htmlb:button id = "but2"
                  text          = "Button2"
                  onClick = "myEvent"
                  <b>onClientClick = "if(!fun2(this))htmlbevent.cancelSubmit=true;"</b>/>
      </center>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
If the second button is pressed,it triggers the javascript function fun2(),which checks the value of invisible input field,if it is initial,the onClick event is not trigerred.
If first button is pressed,it sets the value of the inputfield.Now if the second button is pressd,the values is set and the onClick event is trigerred.
BUt,in this case,both the buttons are visible as enabled.
So,with a little more effort,you can use the HTMLB image tag instead of buttons(they also have <b>onClick</b> and <b>onClientClick</b> attributes).Initially,you can show image of disabled button,but on click of first button,you can change the image on client side itself,by preloading it.
HOpe this solves your problem.
Regards,
Siddhartha Jain

Similar Messages

  • After updating to v. 24.0 (and restarting) ALL add-ons (regardless whether they work or not) are marked "(disabled)", and clicking Enable button does nothing

    After updating to v. 24.0 (and restarting, several times) ALL add-ons (regardless whether they work or not) are marked "(disabled)". I tried clicking "Enable" button for each add-on and nothing happened. There is only one add-on which is marked as incompatible with this version (but it was also incompatible with previous version, and so marked).
    Clicking "Update Add-ons", gives a short list of add-ons but "Install Updates" button is pale and doesn't work. I can only sort list by name or last update.
    Also, I disabled Ask Toolbar and that went well. When I click "Enable" button (button works ONLY for this add-on) it takes forever to get note: “Ask Toolbar will be enabled after you restart Firefox”, I used to get this info in seconds time before this update. (I do not really want Ask Toolbar, I just used it to see whether if I disable and then enable an add-on might do the trick.)
    Bottom line – I can not tell if add-on works (i.e. if it is enabled or disabled) unless I try using it.
    Even when I posted this question and installed Troubleshooter, it's also marked as "(disabled)"

    You're welcome
    Are this screenshots from an extension window because the built-in about:addons page looks different?

  • "record enable" buttons not showing up in Garage Band 10.0.3 (I have selected "show record enable"- a space in the track header opens up, but the button is not present.  Same with "input moniter".

    "record enable" buttons not showing up in Garage Band 10.0.3 (I have selected "show record enable"- a space in the track header opens up, but the button is not present.  Same with "input monitor".

    Look at all the posts in the forum from users with similar problems, it happened with the last Logic update.

  • Call an ABAP Function module on click of Button in BSP page

    Hello ,
    i would like to run a ABAP function module on click of a button in BSP page.
    or in other words i want a Funtion module ex: 'test1' to run after clicking this button ex: 'button1'
    and how to pass the values for a function module after clicking the button.
    i an new to bsp application .
    Can anyone help me on this .

    Hi Shalaxy,
    Triggering a URL to WDJ:
    I suppose the URL of WDJ app. is also a portal URL. I assume that from a BSP application inside portal you need to trigger the WDJ url.
    But the catch is that you cannot hotcode this URL, since it varies for a development, quality and production systems(diff. portal environments).
    To solve this issue, ABAP provides a system variable named sy-sysid, which says want system your ABAP system is, normally a development R/3 system will be associated to development portal system and quality R/3 to quality portal ans so forth.
    So you could have a internal table/db table/ variable for dev, quality or prod portal urls and from the bsp on button click based on the value in the sy-sysid you can trigger the url accordingly.
    Creating a URL in WDJ
    The above is about triggering a WDJ from BSP. But if you dynamically want to create a link in WDJ on a button click, then apparently you could not do that from BSP, since the applications are different. All you could do is to pass some URL parameters to WDJ application from BSP app. Then based on the URL parameters the WDJ application has to dynamically create a link and add it to its application.
    Hope it helps.
    Regards,
    Maheswaran
    Edited by: Maheswaran B on Mar 1, 2010 4:17 PM

  • How to provide a button in bsp that downloads data from SAP into powerpoint

    hi,
    how to provide a button in bsp that downloads data from SAP into powerpoint
    this absurd requirement is needed by my client.
    thanks
    saad

    Hi,
    Look at tools like the things mentioned above or things like
    http://www.investintech.com/products/developer/creatorsdk/creatorsdkmain/
    http://command-line-image-converter.qarchive.org/
    You need to look for tools that can run via the command line and thsu be executed as external command (http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/0971d4543b11d1898e0000e8322d00/frameset.htm)
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • Enabling Buttons

    I have disabled buttons on a page using a function and want to enable them after pressing a create button on the same page. I am trying to use another function call for the enable buttons but the create button is tied to a process and branch.
    What is the best way to call the function and have the process and branch still work.
    tks...Chris

    Hi Shijesh,
    I am using version 3.12 and have updated the enable_button() function with doSubmit('SUBMIT'); as you recommended.
    I also have my Insert Process setup with a Conditional Processing {Request = Expression1 (SUBMIT)}. My Branch is also setup with a Conditions {Request = Expression 1 (SUBMIT)}.
    I am getting the following error message related to the doSubmit('SUBMIT');
    ERR-1777: Page 5 provided no page to branch to. Please report this error to your application administrator.
    Do you have any recommendation?
    tks.. Chris

  • How to enable buttons

    Hi Friends
    How to enable buttons like "ship confirm , print Doc set , Action , Go "
    In order management shipping transaction i just query using my trip no# xxxxx... but i am seeing some of the buttons are diabled how can i enable them ? In which responsibity do i want to go for enabling it ?how to enable please suggest me
    Thanks
    AT

    Hi Friends
    Yes i got it by navigating to SET UP >Grands and role definition >grand we can define the user name and set the role as upgrade role ...by this we can make the button ennable or disable for the paricular user
    (Iam posting this solution since other can get benifited )
    Thanks
    AT

  • I'm not able to get the Enable button on Filevault

    I'm not getting the Enable button on Filevault 2 in order to add more users to the system. It's simply just not there.
    file://localhost/Users/dtservice/Desktop/Screen%20Shot%202013-10-23%20at%205.44. 53%20PM.png

    I have the same issue. I am logged in as the admin user and would like to add an additional user to unlock FileVault on OS X Lion (10.7.5) but the "Enable Users" button is not present on the FileVault tab.

  • Record Enable Button

    I've followed the manual, but I still can't get the record enable button to appear on my audio tracks.Can you help?

    What do you see on your audio tracks?

  • Pressed Enabled Button color

    Hi all,
    I would like to change the color of a "Pressed enable button".
    I see the possibility to change the color under the next option:
    "Simple Elements ->Buttons ->Standard Buttons ->Standard Backgroud Color"
    This option supposes changing the color of Standard buttons (unpressed & pressed) but it only changes the Unpressed buttons.
    Could it be an issue? or is there other possibility to change the color of a "Pressed Enable Button"???
    Regards, Fede

    Hi,
    The Browse button is defined by the browser itself and doesn't have a tag that you can style. You could try: [http://www.quirksmode.org/dom/inputfile.html] but it's a heck of a workaround!
    Andy

  • I have a m-audio producer usb microphone and since the update on Dec. 22, 2013 Logic hasn't been allowing me to record with it. Logic is reading the microphone as the input but the audio tracks don't have the record enable button. What's wrong?

    I have a m-audio producer usb microphone and since the update on Dec. 22, 2013 Logic hasn't been allowing me to record with it. Logic is reading the microphone as the input but the audio tracks don't have the record enable button and won't let me select an input for the audio track on the inspector panel. What are some possible solutions.

    Certain M-Audio USB devices (along with some other USB2 class compliant devices that don't use drivers) no longer work with Logic Pro X 10.0.5
    At this time it is unknown as to why this has happened. Nor is it known if Apple will need to fix it or if it is up to the Developers of said USB2 devices  to remedy the problem.
    In the mean time, assuming you made/could make backups prior to updating to 10.0.5.... the solution is to roll back to LPX 10.0.4...

  • Record enable buttons missing on Audio track headers!?

    They were there previously. There is even an empty space for them which disappears when I uncheck the record enable button when I go to configure track headers window. If this has happened to anyone, please tell me how to get them back. This now on all projects (9.01).
    Thanks, Confused

    Yep, this has changed in L9, as you can now choose different devices for In- and Output you will miss the recording buttons if you don't have an Input selected.

  • 10.0.5 update has removed "record enable" button

    Ever since the update I can no longer record any audio with my blue microphones yeti mic. The "record enable" button that is usually visible in the track header area has disappeared even when enabled in track header configuration. I have also messed with the audio preferences settings but cannot get the button to show up. Please help report this bug to apple using the following link!
    https://www.apple.com/feedback/logic-pro.html
    Thanks!

    Update: Apparently both M-Audio and Alesis have gone 'missing in action' over this issue on the net/forums.. but here are the phone numbers to contact M-Audio support directly for anyone wishing to do so..
    M-Audio USA & Canada
    Phone: 401-658-5765
    Hours: Monday - Friday 8:30AM - 6:30PM EST
    M-Audio Germany
    Phone: +49-2154-81299-20
    Hours: Monday - Friday 9:00AM - 5:00PM CET
    M-Audio UK
    Phone: 44(0)1252-896040
    Hours: Monday - Friday 9:00AM - 6:00PM BST
    M-Audio Brazil
    Phone: +5511 - 3222-6476
    Hours: Monday - Friday 9:00AM - 6:00PM BRT

  • No record enable button

    Hi, there is no Record Enable button between the Mute and Freeze button. I can't for the life of me remember how to put it there and can't find it in the reference guide or within the forum. How do I make it show up in the Track List?
    Many thanks, Ros

    Thanks a million Steve. I'm not a Garage Band user, but today I was able to record directly into it using the Built-in Input. It automatically set the source as "Stereo 1/2 (Built in input)", so at least I know that the computer Audio Input is working.
    I don't know how to load it as a Logic project, but I saved it as a "Compact Project" to export it to iTunes. Then I imported the audio file into LE. I have the audio file, but not the Record Enable button.
    So finally, I re-installed LE....guess what? Still no Record Enable button, not even in the Tutorial song. I used the Logic Set-up assistant again and chose Built-in input as the driver, rebooted. It tells me it will use the Built-in Inputs as it starts up. It shows Built-in input as the driver in the Core Audio LE preferences, but shows No Input in the arrange window when the Audio track is selected. If I touch Built-in input (as the driver) in the Core audio LE preferences, it disappears from the list of drivers (the only other one is Built-in Output) and asks me to reboot to launch CoreAudio, then the whole process starts over again.
    I did a fairly extensive search in the forum (several pages) before posting my question, but I'll go back through it again.
    The LE7 Manual just states that you should click the record Enable button on the Arrange channel strip. The problem is, it ain't there!
    I really appreciate your assistance and calling up your friend all.
    Thanks, Ros

  • Record enable button disappeared Logic Pro X

    I have been using Logic Pro X for several months without any problems but now the Record Enable Button has disappeared.
    There is a space where it should be. If I choose "Hide Record Enable" the space disappears, but choosing "Show Record Enable" results in only a blank space where R used to be.
    I have checked my hardware settings and my audio input appears like it should.
    The problem is not appearing on my MacBook so I tried creating a new file and importing it to my desdtop Mac (Mini), but when I did this the Record Enable button promptly disappeared.

    Well, yes.. but thats how you are meant to assign/select an Audio device in every version of Logic... going back several major versions now. You had to have done that in Logic Pro 8 or 9 in the past.. You probably just forgot you had to do so initially.
    Anyhow...
    The problem described in this thread was caused by incompatible drivers and a change made to LPX during an update...
    ...and was not caused by the OP failing to select the Audio interface correctly in audio prefs in the first place...
    Cheers..
    Nigel

Maybe you are looking for

  • Itunes stops working when I select the Apps tab for my phone

    As the title of this post suggests, I am experiencing difficulty accessing the APPS tab for my phone on itunes. I recently did the latest update, but it simply crashes every time I try to select it, then it resyncs every time I retry. I'm only experi

  • Create SD Billing document from Vistex Claim Request or Billback document

    Is there a way to create SD Billing document(VF01) from Vistex Claim request or Billback document. Our business is requesting that they do NOT want to settle the billback in Vistex instead want to create a SD Billing document. I found a check box 'cr

  • [BPM Email Feature] How to setup Emails?

    Hi There, I'm an enthusiast of this cool product of oracle and I'm wondering how can I make my system send emails, one of my activity contains this code which was written in the training material im using: do      Mail.from = "[email protected]";    

  • My serial number doesn't work. please help me

    i have the CS5 CD package which i purchased since 3 years but trying to reinstall it after my computer formating my i-mac reject the CD. so i download the CS5 design standard from adobe.com using my Serial number written on the CD box and it doesn't

  • EXTENSION of IDOC  DELVRY03, need correct exit

    Hi, Can anyone give me user exit for delvry03 to extend the IDOC as I know there is one available which is EXIT_SAPLV56K_002. I did put break point in the exit in function module but when I create a dummy scenario in WE19 and trying to do the Standar