Enable/disable via managed bean

Hi
using jdev 11.1.1.3
Can anyone tell me how to disable/enable a input textfield from a managed bean which should happen on a button click.
The fields are already populated with data and is editable, and is part of a taskflow.
any help will be helpfull
thanks

Hi bigchill,
a possible solution could be:
1. create a bean containing following methods & attributes
public class MyBean
     // initial value
     private boolean disabled= true;
     public String doSomething()
          this.disabled= false;
          return null;
     public void setDisabled(boolean pDisabled)
          this.disabled= pDisabled;
     public boolean isDisabled()
          return disabled;
}2. Create an instance of the bean on a certain scope (depending on your requirements)
3. Link the disabled attribute of the input component with the disabled property of the bean and link the "doSomething" bean method with the action attribute of the commandButton:
<af:inputText label="Some textfield" disabled="#{s_myBean.disabled}"/>
<af:commandButton action="#{s_myBean.doSomething}"/>That's it.
Kind regards,
Koen Verhulst

Similar Messages

  • Switch to SSL via Managed Bean

    Hello all together,
    is it possible to switch to https-transfer in an action-method in the managed bean?
    Thanks

    Just invoke a redirect to a https:// URL. You can use ExternalContext#redirect() for this.

  • Server2003, enable / disable user login via powershell

    Hi all,
    Newbie, in Africa for short time only and probably haven't done all the homework I should have.
    Unix and OO background but just learning powershell.
    I need to be able to enable / disable local user accounts on a local server in a school; no clusters, pretty much stand-alone.  I presume if I can get the user object it has a member / method for enabling / disabling, but I don't understand how to get
    the user object.  In particular, I don't understand the two-character abbreviations used in front of params to queries.
    If I bring up active directory users and computers, what I see is:
    techna-school
      Tech/na school
          Students
    The users I want to enable/disable are members of the "Students" group above, and for RDP / security purposes are members of the "Learners" group.  The server is not in any "official" (i.e. DNS recognized) domain, just gets
    net access as a normal user via dialup and DHCP.
    I'm guessing I need something kinda like the following to get at the user objects, but I haven't a clue what the "ou", "dc", or anything else needed are supposed to be as I don't have an MS server background.
    $learners = [ADSI] "LDAP://ou=Learners,dc=techna-school"
    Any help would be much appreciated.
    Thanks,
    Gary

    From the sounds of it, you have domain accounts not local accounts. The difference is domain accounts can log onto any machine within your domain, whereas local accounts can only log onto the local machine they where created on. Since your users are using
    thin clients, it is most liekly a domain account they are using.
    For using AD cmdlets on Server 2003, you need some things in place, this article might help you
    Thanks for the info and pointer.
    I'm a little leery of going through that process as I don't have a test system to work on, but I appreciate the pointer; may delve into that later.
    In the meantime, I've managed to get the user objects using Get-WmiObject, but an attempt to modify them via Set-WmiInstance fails:
        $learners = Get-WmiObject -query "Select Name,Disabled From Win32_UserAccount"
        foreach ($learner in $learners) {
          Set-WmiInstance -InputObject $learner -Argument @{Disabled=$True} -PutType UpdateOnly
    Set-WmiInstance : Invalid Object
    Seems pretty straight-forward so I suspect it is a simple error but I'm not seeing it.

  • Enable/Disable Column in a Advanced Bean Table

    Hi,
    I have 2 columns that needs to be enabled/disabled on a standard oa page PO Lines summary page.
    I went through couple of blogs/forums and found 2 approaches :-
    Approach 1
    1) Extended the standard VO POLinesMerge.
    2) Added a attribute column DeriveDisplayFlag of type VARCHAR2 . This call a database function and will return Y or N
    3) Added a attribute of type ShowAdditionalColumn boolean. the get method of this attribute returns TRUE if DeriveDisplayFlag is 'Y' otherwise returns FALSE.
    4) created a substitution for the custom VO
    5) uploaded the substitution to mds.
    6) copied the xml/class files to $JAVA_TOP/..
    7) Bounced entire middle tier
    8) using personalization, entered a SPEL command on the rendered property. I know rendered will hide/show the column but for time being I just want this to work.
    But this fails :-
    oracle.apps.fnd.framework.OAException: Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XXPBPoLinesMergeVO; APPLICATION_MODULE = oracle.apps.po.document.server.DocumentAM;
    I am not aware how to get around this. Can someone help please?
    Approach 2
    1) steps 1 to 6 from Approach 1.
    2) trying to extend controller class OrderLinesTableRNCO. But have couple of questions. This iis a advanced bean table so how should i reference individual record and the column that i need to disable/enable ?
    Conceptual questions
    Also, when i am entering a new record at what point in time the 2 new attribute will derive its value? the 2 attributes are dependent on the Item number column but i have not created a dependency between the attributes and Item# column.
    Will the controller logic fire for every column while i am entering a new record?
    Thanks.

    Hi Anil,
    Thanks for the response. I have given up that i will get reply on this post.
    I have done the substitution and upload the jpx to umsing importer.
    But you are correct may be i might have done something wrong. Can you please help me. I can send you the files if you can review and let me know it will be great.
    Also, will this approach work since PO Lines is a advanced bean table ?
    One of the experts suggested to use Bound values. I am not sure how to implement it though?
    I have went and told back to my business team that I am not able to do this so now they have asked me to enable/disable columns based on a dff value on po header. I thought this will be easier by extending the controller class on PO Lines table but that too is not working.
    Can you help me please ?
    Here is my code to extend the controller class :-
    package xxpb.oracle.apps.po.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;
    import oracle.apps.fnd.framework.webui.beans.table.OAColumnBean;
    import oracle.apps.fnd.framework.webui.beans.table.OASortableHeaderBean;
    import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
    import oracle.apps.po.document.order.webui.OrderLinesTableRNCO;
    public class XXPBOrderLinesTableRNCO extends OrderLinesTableRNCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAAdvancedTableBean tableBean =
    (OAAdvancedTableBean)webBean.findIndexedChildRecursive("LinesTableRN");
    OAMessageLovInputBean poLineLov =
    (OAMessageLovInputBean)tableBean.findIndexedChildRecursive("XXPBSecondaryUOMLOV");
    poLineLov.setDisabled(false);
    }

  • Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options.

    Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options. I was able to select the account under "parental controls", but again, could not delete it. Why Apple? Why?!!????

    SOLVED Ok. I actually was able to disable it. I had to actually log in as the guest user to make it accessible in the preference window. Then I disabled it and logged out. Apologies if this was obvious for some people, but I have had some sort of issue with something every update since Snow Leopard.

  • Disabling a checkbox which is in a table, from managed bean

    disabling a checkbox which is in a table, from managed bean -
    i am able to iterate table and get/set value of checkbox but i want to disable it, how can i do that?
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp = elFactory.createValueExpression(elContext, "#{bindings}", Object.class);
    DCBindingContainer bindings = (DCBindingContainer) valueExp.getValue(elContext);
    DCIteratorBinding iter = bindings.findIteratorBinding("dogsIterator");
    RowSetIterator rit = iter.getRowSetIterator();
    rit.reset();
    while(rit.hasNext()) {
    Row currentRow = rit.next();
    Attribute attr = (Attribute)row.getAttribute("checked");
    what code should come here to disable checkbox?
    rit.closeRowSetIterator();
    thanks.

    Wes Fang wrote:
    You might find it easier to simply use EL and evaluate that value on the disable property:
    <af:column ...>
    <af:selectBooleanCheckbox ... disabled="#{row.bindings.checked.inputValue==YOUR_DISABLE_VALUE?true:false}"/>
    </af:column>
    i used this approach.
    kept a bean in session and used it's property in disabled attribute - now setting this property in my bean...

  • Toggle enabled/disabled on FloorPlan Manager step

    Hi Experts
    I am enhancing one of the standard ABAP WebDynpros for Travel Management.
    In the Overview screen I have added a checkbox which the user selects to indicate that he/she accepts the terms and conditions.
    The checkbox is linked to a WDYBOOLEAN in the controller context.
    I want this checkbox to control the enablement of the "Review" button as well as the "Review and Send" step in the FloorPlan Manager breadcrumb.
    Could somebody please explain to me how I can do this?
    Thanks
    Anton Kruse

    hi, you should process FPM Toolbar element programlly.
    For example, you can use "Process_Event" method, in which you can modify the enable/disable of the standard toolbar element in FPM header.
    1) You should know the Event-ID of the toolbar element
    2) You should  use the following example coding:
    method PROCESS_EVENT .
    *Check the incoming Event ID
      CASE IO_EVENT->MV_EVENT_ID.
        "Disable/Enable the Editable
        WHEN 'EDIT_NOT'.  "You desired Event ID
    3) in that method, you should modify the enable/disable according to the context attribute which you mentioned been bound to the Check box.
    For example, you can also bind one WDYBOOLEAN to the toolbar element "Review and Send""
    In addition, you should know that OIF and GAF are different for toolbar element, you should differentiate them.
    Hope it can help you a little.
    Best wishes~

  • IPhone App Management: Enabling/Disabling Apps, Ordering by Usage Frequency

    Hi Folks.
    Does anyone know whether Apple or a 3rd party is moving to more sophisticate app management. I've got over 350 apps installed on my iPhone 3GS and it would be great if:
    1) there was an option for ordering apps by usage frequency
    2) there was a supported mechanism for app "playlists" (dumb or smart) which could control sets of apps currently being installed on the iPhone.
    AppManager by Allan Marcus seems part of the way to a 3rd party solution - needs enable/disable functionality in a "playlist" fashion. Strange since playlists are already part of the rest of iTunes, why not extend the paradigm to apps?

    Hi Folks.
    Does anyone know whether Apple or a 3rd party is moving to more sophisticate app management. I've got over 350 apps installed on my iPhone 3GS and it would be great if:
    1) there was an option for ordering apps by usage frequency
    2) there was a supported mechanism for app "playlists" (dumb or smart) which could control sets of apps currently being installed on the iPhone.
    AppManager by Allan Marcus seems part of the way to a 3rd party solution - needs enable/disable functionality in a "playlist" fashion. Strange since playlists are already part of the rest of iTunes, why not extend the paradigm to apps?

  • Enabling/disabling the 'display PDF in browser' via a script after Reader 9 is installed

    So we have Reader 9 already installed on the machine, but we need a simple way that a user can click on a shortcut in the start menu to reconfigure how the PDF is opened - either from within the browser or outside of the brower.
    In Reader 7, I was able to use this:
    msiexec.exe /i {AC76BA86-7AD7-1033-7B44-A71000000002} Remove=ReaderBrowserIntegration /norestart /qb-!
    msiexec.exe /i {AC76BA86-7AD7-1033-7B44-A71000000002} ADDLOCAL=ReaderBrowserIntegration /norestart /qb-!
    which works well after the fact that Reader 7 is installed on the machine.
    For Reader 9, things have changed, and have tried this:
    msiexec.exe /i AcroRead.msi /qn DISABLE_BROWSER_INTEGRATION=YES
    msiexec.exe /i AcroRead.msi /qn DISABLE_BROWSER_INTEGRATION=NO
    The above don't work, nor if I run a repair instead of an install.  I also tried to modify the HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\Originals\bBrowserIntegration then following in up with the appropriate msiexec command and that didn't work
    No, asking users to go to the options and enable/disable the setting isn't ideal unfortunately as it requires too many clicks
    Anybody have any suggestions on this?

    Try this forum:
    http://forums.adobe.com/community/acrobat/acrobat_enterprise_install

  • Selected node in a tree table (via Data Controls and not managed bean)

    I am facing some problems in getting the selected row in a tree table.I have used data controls for creating the tree on the page.
    I have 3 POJO's,ex; Class AB which has a list of Class CD.And Class CD has a list of class EF. (Used for the tree table)
    Now i have a java class, called MyDelegate.java which has a list of AB.I generated data controls off this MyDelegate class and have dropped the ABlist as a tree table (also displaying CD and EF in the tree table).
    It displays fine with nodes of AB,CD (child of AB)and EF(child of CD)
    The tree table is not bound to any managed bean.
    For performing actions on the tree, i create a method - "doSomething() in the delegate class",generate data controls and drop it as a button.
    Inside doSomething(), i need acess to the selected node in the tree (it can be a node of type AB or CD or EF).
    The problem: I always get access to the node of type AB, and not the child nodes no matter what i click in the tree table.
    doSomething(){
    DCBindingContainer dcBindingContainer = (DCBindingContainer)ADFUtil.evaluateEL("#{bindings}");
    DCIteratorBinding dcTreeIteratorBinding = dcBindingContainer.findIteratorBinding("lstABIterator");
    RowSetIterator rowTreeSetIterator = dcTreeIteratorBinding.getRowSetIterator();
    DCDataRow rowTree = (DCDataRow)rowTreeSetIterator.getCurrentRow();
    if (rowTree.getDataProvider() instanceof AB) {
              //do something
              AB selectedAB = (AB)row.getDataProvider();
    } else if (rowTree.getDataProvider() instanceof CD){
              //do something
    } else if (rowTree.getDataProvider() instanceof EF) {
              // do something
    How do i access the "selected child node of the tree table" here in the delegate class method? Pls help.

    Hi Frank,
    Thanks for the response. In my case, i dont have a managed bean, so i am slightly unsure how to do it.
    There is a mention "Note that another way to access the treeTable component at runtime is to search for it in JavaServer Faces UIViewRoot. This latter option allows you to write more generic code and does not require to create a page dependency to a managed bean"
    How do i use this adf view root (without a managed bean) to get hold of the selected row in the tree table. Pls help.
    Thanks.

  • Problem with Action binding for a command button in a Managed Bean

    Hi
    Thank you for reading my post
    I am trying to use a backing bean for a button action binding.
    I followed all steps as they seems to be correct. i did not made any changes directly by hand , all of changes are introduced by oracle
    Jdeveloper wizards. but now i get this exception
    Managed bean is defined in faces-config.xml (it shows in preview mode) , the method is there in managed bean (Jdeveloper itself create the method i just enter its name)
    can you please take a look and tell me what can be wrong?
    thanks
    here is method and its body in managed bean
    public String userAccept_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        }here is the exception that i recive
    javax.faces.FacesException: #{ButtonActions.userAccept_action}: javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.share.security.authentication.AuthenticationFilter.handleAuthentication(AuthenticationFilter.java:177)
         at oracle.adf.share.security.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:112)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at webui.common.CharacterEncoding.doFilter(CharacterEncoding.java:26)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:167)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:415)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:143)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         ... 34 more
    Caused by: javax.faces.FacesException: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:292)
         at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
         at oracle.adfinternal.view.faces.el.AdfFacesVariableResolver.resolveVariable(AdfFacesVariableResolver.java:40)
         at oracle.adfinternal.view.faces.model.VariableResolverUtils$JspResolver.resolveVariable(VariableResolverUtils.java:79)
         at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
         ... 37 more
    Caused by: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
         at com.sun.faces.config.ManagedBeanFactory.evaluateValueBindingGet(ManagedBeanFactory.java:911)
         at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:567)
         at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:253)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:282)
         ... 43 more

    Thank you for reply , but it does not helps or maybe i did not apply it correctly
    here is faces-config.xml code snippet :
    <managed-bean>
        <managed-bean-name>ButtonActions</managed-bean-name>
        <managed-bean-class>webui.common.actionListener.ButtonAction</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
        <managed-property>
          <property-name>bindings</property-name>
          <value>#{bindings}</value>
        </managed-property>
      </managed-bean>here is binding for the button in jsp file :
    <af:commandButton
                                    text="#{res['button.accept']}"
                                    disabled="#{!bindings.Commit.enabled}"
                                    action="#{ButtonActions.userAccept_action}"/>and here is some code portion of ButtonAction class
    package webui.common.actionListener;
    import oracle.binding.BindingContainer;
    import oracle.binding.OperationBinding;
    public class ButtonAction {
        private BindingContainer bindings;
        public ButtonAction() {
        public BindingContainer getBindings() {
            return this.bindings;
        public void setBindings(BindingContainer bindings) {
            this.bindings = bindings;
        public String userAccept_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
    }and i still get the same error.

  • Synaptics enables / disables itself in a loop

    I have GT70 2OD
    Synaptics 18.1.30.4 08Oct14
    Synaptics TouchPad V7.2
    I recently installed the synaptic drivers and I can see that sometimes enter an enable/disable loop (I can see that is enabling and disabled both by the system tray icon and the led in the disable touchpad button below the spacebar).
    Usually this flickering / loop starts on any of this two conditions:
    1) Directly after at startup
    2) If I press the Disable touchpad button below the spacebar
    3) If I press Fn+F3
    Usually the loop ends when I press the Windows key a couple of times and I manage to go the Start screnn then the flickering stops and I'm able to reenable the touchpad via
    Control panel / Change mouse settings/ Device Settings/ Enable (using the keyboard to get there, since the touchpad is disabled).
    Does anybody know how to fix it or why it's happening?

    I upgraded the firmware to version 1516  (2014-10-15) and that solved the problem, no more enabling / disabling in a loop, no more flickering of the led.

  • Can you add a new managed bean when customizing taskflows?

    Hi,
    I see post on how to customize taskflows and most of the customization involves rendering changes such as showing/hiding parts of the page..
    But I was thinking is it possible to create your own managed bean in Customization Role of JDeveloper?
    I notice that when I right click some package, the New option is disabled by default? Does this mean that customization is limited to changing
    only the UI/JSFF file? The documentation does not mention about this or it maybe that I could not find it.
    What I would like is that, the new managed bean I define in my Customization Role will drive the UI.
    Anybody has done customization at this level? Would like to know your thoughts please.
    Is this possible or should I point my thinking in the other directions?
    Thanks.
    This is a Webcenter Portal Application by the way and I am looking into customizing an existing taskflow thru MDS means.
    Webcenter 11G PS5

    You cannot add a new managed bean via customization. Instead, these may be deployed as ADF Library jars within a shared library or as part of the Portal war.
    Once a managed bean has been added as above, then it can be referenced within a taskflow customization. For e.g. you can add a new button with the action set to a method in the managed bean.

  • Managed Bean attribute as Partial Trigger

    Hi all,
    I have a delete icon on my table, which needs to be enabled based on the condition.
    An attribute in the managed bean reflects that condition.
    Can i add this managed bean attribute as the partial trigger to my Delete icon?
    PS: I have tried the same with no success. Wondering if this is a right way to proceed!
    Thanks,
    Raghu

    Hi,
    You can follow following steps.
    1. Register the managed bean in adfc-config.xml.... is you hav'nt done yet.
    2. create set and get methods for the attribute in the managedbean, you can write your logic in the get method of the attribute
    3. the button should be enabled and disabled based on the condition...
    you can set the disabled property of button to boolean value or the elexpresson that evaluates to the boolean result.
    For example the button should be disabled when the attribute value is 'M' then you can do the following.
    disabled="#{myBean.myAttribute=='M'}"Hope this helps..
    Regards,
    Santosh.

  • Query with bind variable, how can use it in managed bean ?

    Hi
    I create query with bind variable (BindControlTextValue), this query return description of value that i set in BindControlTextValue variable, how can i use this query in managed bean? I need to set this value in String parameter in managed bean.
    Thanks

    Put the query in a VO and execute it the usual way.
    If you need to, you can write a parameterized method in VOImpl that executes the VO query with the parameter and then call that method from the UI (as a methodAction binding) either through the managed bean or via a direct button click on the page.

Maybe you are looking for

  • Hands free profile on iPhone

    Does anyone know if the 3G phone supports the SAP as well as the HFP Bluetooth profile? My new car does both but SAP is the better of the 2.

  • Airport ---Is it strong enouth

    Ok, so basically my G/F just got a new iBook. It has the same wireless card as mine, speciffically the Airport Extreme. While sitting in the exact same location, she appears to get a stronger connection to our wireless network then mine, and also she

  • Imovie startet nicht

    MAC OS X 10.5.5 ilife 08 auch mit aktuellen Update. Ich erhalte folgende Fehlermeldung: "Sie können diese Version des Programms "iMovie.app" nicht mit dieser Version von Mac OS X verwenden." Bei Microsoft habe ich mich ja schon an derart blöde Fehler

  • Early watch Report deletions from archive queue in Solution Manager

    Hi Experts , I am working on Solution manager EHP1 (SP24). Here more than 100 satellite systems are connected . and every week approximately 100 Early watch reports are getting generated into the system . Is there any way to delete the early watch re

  • Best pci sound blas

    I have a emachine t3958. It is a celeron d. I only have pci bus and would like to upgrade my sound for music enjoyment and manipulation and games. I would like to take advantage of my home speaker system. My question is what is the best card given my