Dynamic Button - Disabled

I have created a dynamic UICommand button with the following codes:
UIComponent cmdConnect;
cmdConnect = new UICommand();
cmdConnect.getAttributes().put("id", "cmdConnect");
cmdConnect.getAttributes().put("value", "Connect");
cmdConnect.getAttributes().put("disabled", "false");
The above codes are based on the following JSF tags:
<h:commandButton id="cmdConnect" value="Connect" disabled="false"/>
I managed to see the button but it's not disabled. Is there any problem with my dynamic coding? Please advise. Thanks.
Yen

cmdConnect.getAttributes().put("disabled", "false");
I managed to see the button but it's not disabled. Is
there any problem with my dynamic coding? Please
advise. Thanks.If you want to disable the button, you need to set disabled to true. Setting it to false tells the browser to not disable it.

Similar Messages

  • Set JSF Command Button Disabled

    Hello,
    I have a JSF command button, I would like to dynamically change button disabled based on certain condition.
    I tried in the actionListener code in my managedbean
    like
    UIComponent component = event.getComponent();
    component.setRendered(false);However it makes button not visible, couldn't find setDisabled.
    How can I do this?
    Regards

    Hi,
    Basically, you can change the button status: enabled/didasled from JavaScript by changing the button css.
    You can also do this from JSF.
    The commandButton element has the disabled attribute and you can change the status depending on your condition.
    -- <h:commanButton disabled=""
    Please find an example: http://www.roseindia.net/jsf/EnableDisableButton.shtml
    If you use AJAX (ex. a4j) there is the same principle. In backing bean you can check your condition and in jsp you'll change to disabled.
    Hope this helps,
    Sergiu

  • How to set button disabled property based on backing bean method

    JDeveloper 12c
    I have a table and a button on the page. When user selects certain table row I want to enable/disable the button.
    My backing bean (which has backing bean scope in the task flow where the page is) is
    package view.backing;
    public class Studybrowse {
        public Studybrowse() {
        public String b1_action() {
              //Do something here
            return null;
       public boolean b1_user_auth(){
           // Do something here to return true or false
            return true;
    My button is something like this:
    <af:button text="Do something" id="b4" action="#{backingBeanScope.Studybrowse.b1_action}"
                   disabled="#{backingBeanScope.Studybrowse.b1_user_auth THIS DOES NOT WORK}"
                   partialTriggers="t1"/>  
    The first problem is in design time, it says: "Reference backingBeanScope.Studybrowse.b1_user_auth not found"
    and in runtime, desired behavior does not work.
    Any help is appreciated

    Timo:
    I changed my backing bean method like this:
        public Boolean isUserAuthorized(){
            // some code here that will return true or false, hardcode to true for now
            return true;
    and the button disabled property like this:
               <af:button text="Go to Reports!" id="b5" action="#{backingBeanScope.Studybrowse.b1_action}"
                           disabled="#{backingBeanScope.Studybrowse.isUserAuthorized}"
                           partialTriggers="t1"/>                   
    Still same problem in design time there is a warning and 500 error in runtime.
    <Jan 22, 2014 11:36:15 AM CST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Error processing viewId: /studyBrowse URI: /studyBrowse.jsf actual-URI: null.
    javax.el.PropertyNotFoundException: //C:/Documents and Settings/rade/Application Data/JDeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/ADFOracleReports/ViewControllerWebApp.war/studyBrowse.jsff @41,46 disabled="#{backingBeanScope.Studybrowse.isUserAuthorized}": The class 'view.backing.Studybrowse' does not have the property 'isUserAuthorized'.
      at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
      at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
      at oracle.adfinternal.view.faces.renderkit.rich.ButtonRenderer.getDisabled(ButtonRenderer.java:436)
      at oracle.adfinternal.view.faces.renderkit.rich.ButtonRenderer.encodeAll(ButtonRenderer.java:270)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:455)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1600(PanelGroupLayoutRenderer.java:30)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:761)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:653)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:195)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:326)
      at oracle.adfinternal.view.faces.taglib.region.IncludeTag$FacetWrapper.processFlattenedChildren(IncludeTag.java:683)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:171)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:326)
      at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:291)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:366)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
      at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3195)
      at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:68)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
      at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3195)
      at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:417)
      at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:228)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)
      at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:288)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
      at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3195)
      at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:275)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
      at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3195)
      at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1473)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:102)
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402)
      at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)
      at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)
      at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:338)
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)
      at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1104)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    >
    <Jan 22, 2014 11:36:15 AM CST> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <Error Rendering View[/studyBrowse]
    javax.el.PropertyNotFoundException: //C:/Documents and Settings/rade/Application Data/JDeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/ADFOracleReports/ViewControllerWebApp.war/studyBrowse.jsff @41,46 disabled="#{backingBeanScope.Studybrowse.isUserAuthorized}": The class 'view.backing.Studybrowse' does not have the property 'isUserAuthorized'.
      at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
      at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
      at oracle.adfinternal.view.faces.renderkit.rich.ButtonRenderer.getDisabled(ButtonRenderer.java:436)
      at oracle.adfinternal.view.faces.renderkit.rich.ButtonRenderer.encodeAll(ButtonRenderer.java:270)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)
      Truncated. see log file for complete stacktrace
    >

  • IOS 6.1.3 WIFI button disable problem on iPhone4S - It is definitely a BUG

    Hi Apple Fans
    I have a full house of Apple products from iPhone -> iPAD -> iPod -> Mac -> AirPort, and I am suffering from WIFI button disable problem after upgrade to iOS 6.1.3, without any clue after calling Apple Support, factory reset and reload iPhone for more than 10 times.  I also try all tips on Apple Support Communicties except put it into a freezer, still no any luck.  Apple Support suggests that my iPhone may be factly!
    Tonight, I can get my WIFI back in below sequence:
    1. Switch to English language from Chinese
    2. Turn Cellular Data Option to off
    3. Reset Network Setting
    After the phone reset, the WIFI row show 'Not Connected', and I can select my home WIFI (Airport Express) without trouble.  To prove my finding is workable to all case, can you try the same and update here if it works for you?
    Good Luck!
    PS: I always believe it is a BUG.

    Hi,
    I sympathise with you as my iPhone 4s is 7 months old and is also greyed out.  I tried everthing except the potentially stupid one of putting the iphone in a freezer!  I took the phone back to the vendor who sent it away and repaired it.  But alas after a month it is greyed out again.  I have again returned to the vendor and he will repair it again.  I asked him how and he told me it is a software conflict and he has to spend around 9 hours downloading a patch repair.  Apple are aware of this issue and I feel completely let down because they have not posted a fix on the net.  Presently I am living and working in Dubai, back in the UK I am sure my iPhone would have been exchanged for a new one.  I need my iPhone for my work and cannot afford to just buy a new one so I have been let down and despite for years being a supporter of Apple and their products I shall think twice before investing in any more Apple products.

  • Creation of satic and dynamic buttons in a view

    Hi,
    I have created a dynamic button using the code..
    DATA: lr_container TYPE REF TO cl_wd_uielement_container,
            lr_button TYPE REF TO cl_wd_button.
      CHECK first_time = abap_true.
      lr_container ?= view->get_element( id = 'ROOTUIELEMENTCONTAINER' ).
      cl_wd_matrix_layout=>new_matrix_layout( container = lr_container ).
      lr_button = cl_wd_button=>new_button( id         = 'BUTTON'
                                            text       = 'My Button'
                                            on_action  = 'ACTION' ).
      cl_wd_matrix_head_data=>new_matrix_head_data( element = lr_button ).
      lr_container->add_child( the_child = lr_button ).
    its working fine and iam able to see the button .....but when i create another button thorugh layout design its going for dump....whats the reason .?
    Cant we create static and dynamic buttons at a time?
    Thanks,.
    Shailaja Ainala.

    Hi Shailaja,
    Yes you can add static and dynamic ui elements together in the same view.
    The possible problem here could be the way in which the ui elements are added.
    You have created the dynamic button under the root container uielement.
    What about you static button ? Check your layout and layout data property.
    Thank You,
    Radhika.

  • I have created a site with iWeb. I have replaced the iWeb Nav bar with a vertical one I made myself. Problem is, my top button disables itself if it overlaps into the "hidden" nav bar area. I can cmd click and drag it into this area, but then all the rest

    I have created a site with iWeb. I have replaced the iWeb Nav bar with a vertical one I made myself. Problem is, my top button disables itself (and the animation doesn't work) if it overlaps into the "hidden" nav bar area (indicated by a blue rectangle). I can cmd click and drag it into this area, but then all the rest of my site is pushed down the page. Don't know what to do about this. I don't know how to bring the rest of the page up without dragging it also into the designated nav bar area. Also, by doing this, is it affecting my site in ant way? see my site here at www.steveburrowsimages.com
    The home page is with it all draged into the nav bar area and the about page is with is outside the nav bar area (notice that the top button does not animate or work as a button.
    Getting confused here. Anyone got any ideas?

    Well, you made a good start with SEO by getting rid of the iWeb default navigation since it doesn't help the spiders and, out there in the real world, there are more people than you would think with javascript turned off in their browsers.
    One of the downsides of iWeb is that it doesn't allow for the alt attribute in the img tag. Its well worth adding these to give you extra keywords even if you have captioned all your images. Use iWeb SEO Tool for this...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Tags.html
    iWeb, just like most drag and drop software, creates a huge amount of code which causes the pages to load slowly in the browser. Running you files through an optimizer will help to reduce this problem and further reduce the size of image files even beyond the initial optimization you do before loading them into iWeb...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Optimize.html

  • APEX:How to put dynamic buttons in a Report.

    Hello all,
    I am creating one application in which i want two buttons in every record. I can't put it manually because it should change according to records in a table So Can anyone tell me how to put dynamic buttons in a report.
    Thanks & Regards,
    Jiten Pansara

    Hi Jiten,
    you cannot create buttons in the report, but you can always create link columns with some css class to show it as button.
    So in the both link column report attributes you will have class="button1" and class="button2"
    And in dynamic actions you need to bind the events based on your link column's jquery selector like:
    .button1
    .button2Thanks

  • Make the Dynamic button to be invisible in srm

    Hi Guys,
    Am working in the current requirement where i need to delete the dynamic buttons in the shopping cart screen in SRM 7,i have mentioned the button names below ...Please help me out.
    Buttons;
    1)System info
    2)Export
    3)Memory snapshot
    Thanks,
    Vignesh.

    Hi Vignesh ,
    go to tcode 80 in webdynpro /component : FPM_OIF_COMPONENT expand thei webdynpro component go to component  configuration folder -->go this configuration  : /SAPSRM/WDCC_FPM_OIF_PO_PURCH
    click on the start configurator
    on screen will open in browser
    in this screen
    click on  other function button
    click on this and create the enhancement , after creating enhancement then click on change  button
    in the screen you can find the export button click onit
    here you cab set the visibility as  invisible .
    Thanks & Regards
    Pradeep Kumar Dondeti

  • Making the button disabled in the pop up window

    Hi experts,
    I have created a pop up with button type as buttons_yesno. The pop automatically creates two buttons YES and NO
    The pop up window contains two fields - Manufacturer and Description as input fields.
    The requirement i need is -> till the user enters the data into both the input field i wanted the yes button to be disabled.
    i have done the below code for the pop up to appear.
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
    DATA lo_api_component  TYPE REF TO if_wd_component.
    DATA lo_window         TYPE REF TO if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window(
                       window_name            = 'YWD_CREATE_MANF'
                     title                  =
                      close_in_any_case      = abap_false
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                     close_button           = abap_true
                       button_kind            = if_wd_window=>co_buttons_yesno
                       message_type           = if_wd_window=>co_msg_type_none
                      default_button         = if_wd_window=>co_button_ok
    lo_window->open( ).
    is there any option to make the button disabled initially and then enable it when the user enters both the input field.
    Regards,
    Vinod

    Hi,
    When ever you create the popup, store the window reference globally.
    Use the method - SET_BUTTON_ENABLED of if_wd_window based on the input field values.
    Use the GET_ATTRIBUTE for that input field get the value into lv_value,
    if lv_value eq initial.
    lo_window->set_button_enabled
    exporting
    button = button id
    is_enabled = abap_false.
    else.
    lo_window->set_button_enabled
    exporting
    button = button id
    is_enabled = abap_true.
    endif.
    Edited by: Lekha on Oct 14, 2009 6:25 PM

  • Share button disabled for I cloud

    Share button disabled on I cloud. Can't share video in message.

    Ellen...
    Try resetting the iPad then try again.
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    Apple - iCloud - Learn how to set up iCloud on all your devices

  • Cannot create chm layout, "Next" dialog button disabled

    I have used and created chm formats in the past on my project.  Now all of a sudden when I try to create one the dialog opens and allows me to designate the location, toc, index  etc. but the only button available to me is Save and Cancel.  I can't use the "Next" button (disabled) to go to any other dialog.  Has anyone had this problem before.  I'm using RBH 7.03 and generating locally.  I am wondering if this could be from a security hotfix or something like that.  I haven't tried reinstalling, I thought I would see if anyone has had this before going to that option.
    Also, I was asked to print to PDF and we noticed that the footer doesn't print in the PDF.  Is this a default of RBH?  I don't see a way to change it so it will print at the end of each topic.

    You should only see Save if you have accessed the properties of the layout. If you double click, then you should see Finish and Cancel. Previous and Next will be disabled as there is no next for this layout.
    Separate questions are best asked in separate posts as sometimes people can answer one and not the other, and then may not answer either. You haven't said whether you are talking about printing topics from the output or creating a printed document. If the latter, the headers and footers do not print. See Printed Documentation on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • SAPGUI (new session) button disable in Netweaver

    Hi all,
    I have a few users where their SAPGUI's "New Session" button is disable if they launch it via Netweaver (single-sign on). However, if they sign in to another computer, this issue did not arise.
    Likewise, any user that sign in to this particular PC will have it's "Net Session" button disabled.
    They are using Internet Explorer 7 version 7.0.5730.13
    My Netweaver version is SAP Netweaver 7.0 (2004s) SPS 15 (Release March 2008)
    I'm just wondering (confirming) if the reason behind this is because of compatibilty between Netweaver and Internet Explorer (similar to compatibility issue between Netweaver & Internet Explorer 8 earlier this year)?
    Or could it be due to a different (older) version of Java Runtime Environment that is installed onto the user's computer?
    Thank you.

    Hello,
    I think that SAP Note 1258154 - "EP 7.0: Different behavior for SAP WinGUI in the portal " could help :
    https://service.sap.com/sap/support/notes/1258154
    The related note "631198 - Behavior of SAP GUI for Windows in SAP Workplace/Portal" would be useful too.
    https://service.sap.com/sap/support/notes/0000631198
    Regards

  • HT204074 iTunes Match: "add this computer" button disabled

    Itunes match : "add this computer" button disabled.
    What should I check?

    You need to sign into the iTunes Store using the exact same AppleID from which you purchased the service originally.

  • Create Dynamic button

    can anyone guide me to create dynamic button? Thank you,

    Hi Pankaj,
    This is what you need:
      public static void wdDoModifyView(IPrivateStamappView wdThis, IPrivateStamappView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        if (firstTime){
             IWDButton button = (IWDButton) view.createElement(IWDButton.class,"myButtomid");
                 IWDTransparentContainer myCont = (IWDTransparentContainer) view.getRootElement();      
             myCont.createLayout(IWDMatrixLayout.class);
             myCont.addChild(button,0);
        //@@end
    Regards
    Nir

  • Send Button Disabled Until Text Typed - Half Done - Please Help

    Hi, i have a chat program and dont want users to be able to send messages without typing anything, i have got the send button disabled on loading, but dont no how to re enable it.
    how do i get it to react to a keyboard event?
    thanks.

    > is implementing that easy? or alot of code?
    False dilemmaDo you walk to work, or take your lunch?

Maybe you are looking for

  • Task fails while running Full load ETL

    Hi All, I am running full load ETL For Oracle R12(vanila Instance) HR But 4 tasks are failing SDE_ORA_JobDimention, SDE_ORA_HRPositionDimention, SDE_ORA_CodeDimension_Pay_level and SDE_ORA_CodeDimensionJob, I changed the parameter for all these task

  • How to fix ORA-33262: Analytic workspace MY_AW does not exist ?

    Here is my version of : http://download.oracle.com/docs/cd/E11882_01/olap.112/e10795/select.htm#CBBGEGFA I don't understand why I get this ORA-33262, it just does not make sense ... The API should be doing AW ATTACH MYSCHEMA.MY_AW RO Solution 1 : The

  • Change chart style

    how to change chart background color

  • Passing cookies to WSRP Provider

    When deploying a JSR168 portlet in OC4J 10.1.3.3 and registering it as a provider in Oracle Portal 10.1.4 the RenderRequest object does not contain all the cookie values from the original request. The "request" object in the portlet is of type Portle

  • Rental movies in original language

    I just downloaded a movie, and find that I can only see it in Spanish, and have no option to change to the original language, which is English. Ho w aggravating!! I live in Spain. Any way to fix this?