Collection binding to radio button: No command button action

Hi,
I bound a List collection to radio buttons as below.
<h:selectOneRadio disabledClass="selectOneRadio_Disabled"
               styleClass="selectOneRadio" id="radio1" layout="pageDirection" value="#{param.selectedChoideId}">
<f:selectItems value="#{PollBean.choices}" />
</h:selectOneRadio>
I also added a command button to send the value of selected radio item. The item labels and values are displayed properly on run time.
But when the button is clicked, the JSF lifecycle is started but the execution thread cannot enter phase 4 called "Update Model Value" after phase 3 "Process Validations" and directly jump to phase 6 called "Render Response". By this way, navigation rule is not applied and the execution gets back to the starting page.
Is there anyone have encountered this problem ever before ? What can cause this problem ?
Regards.
UmutRR

It might be a typical problem of SelectOne/Many.
Check the types of param.selectedChoideld and PollBean.choices.
My post will help you:
http://forum.java.sun.com/thread.jspa?threadID=604798

Similar Messages

  • JSP Data table - Rendering for command buttons.

    Hi All,
    We are designing a JSP page where results from table have to be thrown on a data table. (h:dataTable)
    Based on one column value on the data table, we need to render a command button for each row of data table.
    For example, I select the employees from a table and throw it on data table.
    Only for those employees where address is not present, I need to enable an "Update address" command button.
    (Command button "Update address" is also part of data table.)
    Is it possible to accomplish this on a data table?
    If so how should we code the "rendered" tag of the command button in data table.
    Any help would be greatly appreciated.
    Thanks.

    Sounds like the JSF forum would be a closer alignment, but in general
    - retrieve your information from the database into a list of Employee beans.
    - Have your h:dataTable use the list of Employee beans as a datasource
    - have the rendered attribute of your update button depend on the value of employee.address maybe #{empty employee.address}
    cheers,
    evnafets

  • I need a gaming keyboard for my mac but the only ones I can find are for Windows,  there is no Command button or FN button.  Any suggestions?

    So, I have an OS X 10.7.5 and I want to get a gaming keyboard, but the only good ones I can find are for windows.  I know because they have the Windows home key button, and no FN button or Command button.  Any suggestions?

    Normally, most Windows-compatible keyboards are also compatible with Mac OS X. If I'm not mistaken, the Windows key (the key with the Windows icon) is the command key. Also, if you do need to use the F1-F12 keys as standard function keys (you would normally hold FN and then press the button), you can set them to standard function keys in System Preferences. There may be some good gaming keyboards on the market that use the Mac layout, but most may use a Windows keyboard. Personally, I prefer the Mac keyboard on my Macbook. I hope this helps!

  • ADF JSF 10.13 how do you reference a binding from a command button?

    I have developed the following code as a model as I am trying to utilise ADF JSF without using a database.
    I have a collection called School. This has the appropriate operations that populate the school with a number of Child. A Child simply has a firstname and a surname.
    I have generated data controls for these collections and created two JSP pages and added a navigation link as follows:
    index.jsp --> goToSchool (navigation) --> school.jsp
    I have then added a command button to the index.jsp page. When the button is then pressed the school.jsp page is displayed. This works correctly.
    I would like to override the action of the button though so that before the navigation is executed I can get a handle on the school collection and populate it so that it will be displayed on the school.jsp page.
    I have previously done this in 10.12 when I had the following setup:
    index.jsp --> getSchool (dataAction) --> school.jsp
    by overriding the getSchool dataAction.
    I have looked through the 10.13 ADF user guides and tried various different things but have not managed to successfully acheive my goal of populating the school collection when the button is pressed prior to navigating to the school.jsp page.
    I would appreciate it if you could offer any advice, and if possible let me know the recommended best practices to acheive this.
    Thanks in advance for your help
    David

    Check out the ADF Tutorial (TopLink edition) chapter 5 has a section called:
    Adding a Drilldown Link
    I think this is what you are looking for.
    http://www.oracle.com/technology/obe/ADF_tutorial_1013/ADF_tutorial.pdf

  • Adf faces command button, bindings and ejb 3.0 persisting problem

    When mapping the persist method to an adf command button it got this error:
    1. JBO-29000: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21.; nested exception is: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21. -
    2. java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21.; nested exception is: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21. -
    Is that because Departments are serialized by the container when the session bean is accessed by the data control to catch the data when the form is populating and entities are detached from the persisting context ? or something else ?
    I bind the button to the current row data provider for the departments. Is it correct, isn't ?

    When mapping the persist method to an adf command button it got this error:
    1. JBO-29000: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21.; nested exception is: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21. -
    2. java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21.; nested exception is: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21. -
    Is that because Departments are serialized by the container when the session bean is accessed by the data control to catch the data when the form is populating and entities are detached from the persisting context ? or something else ?
    I bind the button to the current row data provider for the departments. Is it correct, isn't ?

  • Command button does not commit unless hit twice

    I'm using ADF/BC, 10.1.3.2 jdev. I have the following code in my backing bean:
        public String cardLost() {
            inputText12.setValue("1"); 
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
    The command button is defined as follows:
    <af:commandButton
                                    text="Save" disabled="false"
                                    binding="#{find_student_mb.commandButton4}"
                                    id="commandButton4"
                                    action="#{find_student_mb.cardLost}"
                                    immediate="false"/>When I hit the Save button the first time, the input text field (inputText12) changes to 1, but the data does not get commited to the database. (I have verified this in the database) If I hit the Save button again, the data gets committed.
    Is there a way to update the field and commit the data with one button?
    Thanks,
    Bob

    Hi,
    commit doesn't execute before a field is submitted. So what you do is you submit a page then update the field (which then is not yet reflected in the submit) an call commit, which basically executes on no new data. In the second call you now submit the data shown in the field that then also gets commited. To get it commited on the first button press, set the field value to the binding layer (attribute binding or iterator binding )
    Frank

  • ADF Table - Command buttons disappear when no rows returned for table

    We have a command button that navigates to a create screen, when the table returns no rows the button disappears. We need to have this displayed always and within the ADF table. The code looks like:
    <f:facet name="selection">
    <af:tableSelectOne text=""
    binding="#{Search.tableSelectOne1}"
    id="tableSelectOne1">
    <af:commandButton actionListener="#
    bindings.ExecuteWithParams1.execute}"
    text="Edit n"
    action="edit"
    binding="#{SearchCtgry.commandButton3}"
    id="commandButton3">
    <af:setActionListener from="#{row.Code}"
    to="#{processScope.toCode}"/>
    </af:commandButton>
    </af:tableSelectOne>
    </f:facet>

    try placing the command button within the "actions" facet of the table. It will place it above the actual rows of the table. You could also use the "header" facet.
    <af:tableSelectOne text=""
    binding="#{Search.tableSelectOne1}"
    id="tableSelectOne1">
    <f:facet name="actions">
    <af:commandButton actionListener="#
    bindings.ExecuteWithParams1.execute}"
    text="Edit n"
    action="edit"
    binding="#{SearchCtgry.commandButton3}"
    id="commandButton3">
    <af:setActionListener from="#{row.Code}"
    to="#{processScope.toCode}"/>
    </af:commandButton>
    </f:facet>
    </af:tableSelectOne>

  • Retrieve URL from database and navigate through command button

    I am new to ADF and Jdeveloper. In our database we store the URLs to our help/FAQ webpage in a table. What I would like to do is retrieve this URL from the database and code a command button to navigate the user to this URL but I am not sure how to accomplish this and have not had any lucking searching for a solution. I have created a view object for the table that contains the URL. Many thanks in advance.

    Hi,
    Welcome to OTN.
    You can create a view object based on the table (on which you have the URL stored).
    Create a goButton (Instead of a command button) and bind the column (which stores the URL) to the destination property of the go button.
    Something like
    <af:goButton text="Help" id="gb1"
                        targetFrame="_blank" destination="#{bindings.URL.inputValue}"/>-Arun

  • Show/Hide Command button in ADF

    I want to hide "Command Button" based on the select of "tableSelectOne". I have tried using the following code but I am not able to do that. So pls suggest some other options.
    <af:panelGroup partialTriggers="DestRulesSelectionId">
    <af:commandButton text="..."
    disabled="false"
    shortDesc="Test"
    partialTriggers="DestRulesSelectionId"/>
    </af:panelGroup>
    <af:tableSelectOne text="Select and" autoSubmit="true"
    id="DestRulesSelectionId"/>

    Hi Didier,
    But I have also developed the same example and it is working, without putting the command button under any parent component.
    Page defination is
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html binding="#{backing_ShowHide.html1}" id="html1">
          <afh:head title="ShowHide" binding="#{backing_ShowHide.head1}" id="head1">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body binding="#{backing_ShowHide.body1}" id="body1">
            <h:form binding="#{backing_ShowHide.form1}" id="form1">
              <af:panelPage title="Show Hide" binding="#{backing_ShowHide.panelPage1}"
                            id="panelPage1" partialTriggers="selectOneRadio1">
                <f:facet name="menu1"/>
                <f:facet name="menuGlobal"/>
                <f:facet name="branding"/>
                <f:facet name="brandingApp"/>
                <f:facet name="appCopyright"/>
                <f:facet name="appPrivacy"/>
                <f:facet name="appAbout"/>
                <af:selectOneRadio label="Select "
                                   value="#{backing_ShowHide.radioBtnValue}"
                                   autoSubmit="true"
                                   binding="#{backing_ShowHide.selectOneRadio1}"
                                   id="selectOneRadio1">
                  <af:selectItem label="One" value="one"
                                 binding="#{backing_ShowHide.selectItem1}"
                                 id="selectItem1"/>
                  <af:selectItem label="Two" value="two"
                                 binding="#{backing_ShowHide.selectItem2}"
                                 id="selectItem2"/>
                </af:selectOneRadio>
                <af:commandButton text="commandButton 1"
                                  binding="#{backing_ShowHide.commandButton1}"
                                  id="commandButton1"
                                  partialTriggers="selectOneRadio1"
                                  rendered="#{backing_ShowHide.radioBtnValue =='one'}"/>
              </af:panelPage>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_ShowHide-->
    </jsp:root> ~Vikram
    http://kohlivikram.blogspot.com/
    Message was edited by:
    KoVik
    Message was edited by:
    KoVik

  • Command button hiding based on roles

    Hi,
    I was following the section 29.6 -Performing Authorization Checks in a Fusion Web Application, in the following link :
    http://st-doc.us.oracle.com/review/AS11/web.1111/b31974/toc.htm.
    I was able to implement page level authorizations. However, I want to set the rendered property for an ADF command button dynamically based on a role. The ADF command button does not even have a binding in the pagedef, because, its purpose is just to provide a navigation to some other page. What I see in the tutor is for task flow, page, method, and attribute.
    Please let me know what is the manual setting I should be doing for the rendered property for an ADF command button.
    Best Regards,
    nattu

    Hi,
    Thanks for the reply. I tried something like this :
    <af:commandButton text="Add"
    action="createincident"
    rendered="#{controllerContext.security.CreateIncidentPageDef.isViewAuthorized}"/>
    This button is defined in a page A.jspx, and the navigation is to a page called CreateIncident.jspx. But during the page launch of A.jspx, I get an exception:
    un 6, 2008 10:17:12 PM oracle.security.jazn.oc4j.JAZNFilter doFilter
    WARNING: The class 'oracle.adfinternal.controller.security.ControllerSecurityManagerImpl' does not have the property 'CreateIncidentPageDef'.
    javax.el.PropertyNotFoundException: The class 'oracle.adfinternal.controller.security.ControllerSecurityManagerImpl' does not have the property 'CreateIncidentPageDef'.
    at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:561)
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:70)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1160)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.isRendered(UIXComponentBase.java:400)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.FrameBaseRenderer._getMaximizedChildComponent(FrameBaseRenderer.java:606)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.FrameBaseRenderer._getMaximizedChildComponent(FrameBaseRenderer.java:622)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.FrameBaseRenderer._getMaximizedChildComponent(FrameBaseRenderer.java:622)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.FrameBaseRenderer._getMaximizedChildComponent(FrameBaseRenderer.java:622)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.ShowDetailFrameRenderer.encodeContent(ShowDetailFrameRenderer.java:806)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.ShowDetailFrameRenderer.encodeAll(ShowDetailFrameRenderer.java:453)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:947)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.CellFormatRenderer.encodeAll(CellFormatRenderer.java:96)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeChild(RowLayoutRenderer.java:110)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeAll(RowLayoutRenderer.java:88)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.TableLayoutRenderer.encodeAll(TableLayoutRenderer.java:87)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.CellFormatRenderer.encodeAll(CellFormatRenderer.java:96)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeChild(RowLayoutRenderer.java:110)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeAll(RowLayoutRenderer.java:88)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.TableLayoutRenderer.encodeAll(TableLayoutRenderer.java:87)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:69)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:294)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer._encodeAllChildren(PanelBoxRenderer.java:634)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer._renderContentRow(PanelBoxRenderer.java:608)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer.encodeAll(PanelBoxRenderer.java:200)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:947)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBorderLayoutRenderer._encodeAllWithSideFacets(PanelBorderLayoutRenderer.java:198)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBorderLayoutRenderer.encodeAll(PanelBorderLayoutRenderer.java:82)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:947)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:69)
    at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:64)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:294)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:441)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:947)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1287)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:769)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:245)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Jun 6, 2008 10:17:12 PM com.evermind.server.ServerBase log
    WARNING: Demo13-ViewController-webapp: Servlet error
    oracle.security.jazn.JAZNRuntimeException: The class 'oracle.adfinternal.controller.security.ControllerSecurityManagerImpl' does not have the property 'CreateIncidentPageDef'.
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:480)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.el.PropertyNotFoundException: The class 'oracle.adfinternal.controller.security.ControllerSecurityManagerImpl' does not have the property 'CreateIncidentPageDef'.
    at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:561)
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:70)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1160)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.isRendered(UIXComponentBase.java:400)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.FrameBaseRenderer._getMaximizedChildComponent(FrameBaseRenderer.java:606)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.FrameBaseRenderer._getMaximizedChildComponent(FrameBaseRenderer.java:622)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.FrameBaseRenderer._getMaximizedChildComponent(FrameBaseRenderer.java:622)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.FrameBaseRenderer._getMaximizedChildComponent(FrameBaseRenderer.java:622)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.ShowDetailFrameRenderer.encodeContent(ShowDetailFrameRenderer.java:806)
    at oracle.adfinternal.view.faces.renderkit.rich.customizable.ShowDetailFrameRenderer.encodeAll(ShowDetailFrameRenderer.java:453)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:947)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.CellFormatRenderer.encodeAll(CellFormatRenderer.java:96)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeChild(RowLayoutRenderer.java:110)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeAll(RowLayoutRenderer.java:88)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.TableLayoutRenderer.encodeAll(TableLayoutRenderer.java:87)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.CellFormatRenderer.encodeAll(CellFormatRenderer.java:96)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeChild(RowLayoutRenderer.java:110)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeAll(RowLayoutRenderer.java:88)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at org.apache.myfaces.trinidadinternal.renderkit.html.TableLayoutRenderer.encodeAll(TableLayoutRenderer.java:87)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:69)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:294)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer._encodeAllChildren(PanelBoxRenderer.java:634)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer._renderContentRow(PanelBoxRenderer.java:608)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer.encodeAll(PanelBoxRenderer.java:200)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:947)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBorderLayoutRenderer._encodeAllWithSideFacets(PanelBorderLayoutRenderer.java:198)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBorderLayoutRenderer.encodeAll(PanelBorderLayoutRenderer.java:82)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:947)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:69)
    at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:64)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:294)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:316)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:441)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:947)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:220)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:749)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1287)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:769)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:245)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
    ... 13 more
    Please let me know, if I am missing anything here.
    In the expression,      
    #{controllerContext.security.myTaskFlow.isViewAuthorized},
    please advice, what should be the entry for 'myTaskFlow'.
    Best Regards,
    nattu

  • Command button action not calling when in subview

    i have a page that is fine when it's in it's own view...
    the command button calls a managed bean's method..
    <af:commandButton text="Call Method"
    action="#{backing_myPage.CallMethod}"
    binding="#{backing_myPage.commandButton1}"
    id="commandButton1"/>
    but when i remove the view tags and include it in a main index.jspx page
    that has a main view and a tabbed panel with showdetailitems and
    for each showdetaileditem i have a subview
    and then an include
    <f:subview id="discovered_subview" rendered="true"
    binding="#{backing_index.mypage_subview}">
    <jsp:include page="/mypage.jspx" />
    </f:subview>
    Mypage renders but the commandbutton's action is not called..
    but is called when run as a standalone page
    tia

    I also have the same problem as above. Changing the dropDown values to String does not fix it.
    I am using Netbeans Visual Web Pack.
    I drag a drop down box onto a brand new page.
    I double click the drop down box and in the processValueChange action i put System.out.println("Hello World");
    In the init() method i add 2 options to the drop down box:
    "option 1", "1"
    "option 2", "2"
    values are Strings
    I press F6 to run
    I notice that the drop down box is correctly populated.
    I change the drop down box selection
    Nothing is printed.

  • Execute command button after user tabs out of inputtext

    All,
    I have a command button which is used to call a webservice. This works fine.
    I also have an Inputtext field. What I want is to execute the action when the user tabs out of the inputtext.
    Does any one have the solution for me ? I've not yet been able to achieve this for instance in a backing bean.
    My code:
    <af:inputText
    value="#{bindings.pEan.inputValue}"
    label="Ean-code"
    required="#{bindings.pEan.mandatory}"
    columns="#{bindings.pEan.displayWidth}"
    autoSubmit="true">
    <af:validator binding="#{bindings.pEan.validator}"/>
    </af:inputText>
    <af:commandButton id="BepaalVoorraad"
    actionListener="#{bindings.GetStockQuote.execute}"
    text="Bepaal Voorraad"
    disabled="#{!bindings.GetStockQuote.enabled}"/>
    The binding from my pageDef.xml:
    <methodAction id="GetStockQuote" MethodName="GetStockQuote"
    RequiresUpdateModel="true" Action="999" DataControl="GetStock"
    InstanceName="GetStock" ReturnName="GetStock.methodResults.GetStock_GetStockQuote_result">
    <NamedData NDName="pEan" NDType="java.math.BigDecimal"
    NDValue="${bindings.GetStockQuote_pEan}"/>
    </methodAction>

    Set the inputText to have autosubmit on, and add a valueChangeListener to it.
    <af:inputText label="Label 1"
    binding="#{backing_untitled1.inputText1}"
    id="inputText1"
    valueChangeListener="#{backing_untitled1.valchange}"
    autoSubmit="true"/>
    In the method of the valueChangeListener call the method that is associated with the button.

  • Conditionally Display ADF Command Button

    I have an ADF table with a select option. I have a command button that executes a query titled "View Detail". I want the button to display but I only want it enabled when the Item Name column in the selected row of the table appears in a separate view object which takes the Item Name as a parameter.
    Thank you for your help.

    Thank you Frank,
    Let me be more clear - I hope this is not too confusing.
    I have an adf table (ID ItemsTable) that has the following columns:
    Select, Object Name, Sequence, Item Name, Source
    I set autosubmit on the Select column to true
    I set the ID to Select
    The partialtrigger value on the table is ItemsTable:Select
    I have a command button in the table header labeled "View Details".
    I have a view object (Obtotal) with the following syntax
    select object_name from
    objects
    where object_name = :vitem;
    In the page def, I created an action to execute the VO and pass #{row.ItemName} into the vitem bind variable. I also invoke the action.
    The disabled property of my View Details button is
    #{bindings.Obtotal.estimatedRowCount >=1}
    The partialtrigger value is ItemsTable:Select
    I would expect that each time I select a different row, the row.ItemName would be passed to the view object which would execute and return different results based on the vitem passed.
    I would expect my View Details button to toggle (enabled/disabled) based on the whether or not there are results in the Obtotal iterator.
    I must be missing something because My View Details button is always enabled.
    Thank you for your help.

  • Referencing a command button

    I have a Word (2010) template document which pops up a user form on Open.  The user form solicits info to go into the document and has a button allowing the user to post the info to the document, and then Save and Email it.   Or the user can
    click another button to just Save the document for editing and emailing later.  So, there is a command button in the document itself allowing the user to Email the document when it is finally ready.  I want to delete or disable the command button
    in the document if the user chooses to e-mail the document from the user-form.
    I can't figure out how to reference the button in the document.  I have tried ActiveDocument.Shapes("btnEmail").delete and ActiveDocument.InlineShapes("btnEmail").delete and .Enabled=False with and without quotes to no avail. In
    each case I get one or another error message about member not found or property or method not supported.  Shapes.Count returns 0 members, and InLineShapes.Count returns 3 members.  I have tried code to delete every member of the InLineShapes
    collection, and 3 items are deleted (a couple of horizontal lines and something else), but the command button survives.
    Any suggestions?
    Thanks,
    Peter

    Well, I deleted the command button and put it back.  It now appears in the Shapes collection where I can get at it. I can now enable/disable it with:
    ActiveDocument.Shapes(1).OLEFormat.Object.Enabled = True/False
    but only because it is the only (or at least the first) shape in the collection.  If there were more Shapes and I wanted to pick this one out by name I can use:
    Dim shp As Shape
    For Each shp In ActiveDocument.Shapes
            If shp.OLEFormat.Object.Name = "btnEMail" Then shp.OLEFormat.Object.Enabled = False
    Next
    Also, I discovered that in the Shapes collection, my button's name is "Control 5", so I can also use :
    ActiveDocument.Shapes("Control 5").OLEFormat.Object.enabled=true/false
    But if I have created the button with the name "btnEMail", it seems like I should be able to refer to it directly and not by having to loop through the Shapes collection to find it, and not by having to use debug.print to discover its Shapes
    collection name.
    I know that in Excel, I could reference a button on a worksheet very simply with:
    Sheet1.btnEMail.Enabled = True/False
    What am I missing that explains why Word is so different and cumbersome about this?
    Thanks,
    Peter

  • Popup Command Button - ActionListener not accessed

    Hi there, I'm working with the JDeveloper 11.1.1.6.0.
    I have a view in a popup. Which creates a new empty row, if there could not be found any data in the database. So far so good.
    When i know enter some values and then click a command button the values should be filled into the VO and EO, and also commited to the DB.
    I have to do that in a ActionListener, beacuse i have to set some value programmatically, because they come from the calling page, and could not be seen by the user.
    So, when i now click the button, the popup dissapears, but the ActionListener was not entered. I tried it via breacking points and debuging and via some Outputs, but neither they are reached. Do I have to make something more to reach the listener to perform my actions?
    Thanks in advance.
    Alex.

    John Stegeman wrote:
    Show us the code for the af:popup.
    Have you read about the auto cancel behaviour in af:popup?
    JohnNo, i haven't read about it.
    <af:popup id="p1" binding="#{viewScopeMyBB.popup}"
                    contentDelivery="lazyUncached">
            <af:panelWindow id="pw1" title="MyPopUpTitle">
              <af:panelGroupLayout id="pgl6" layout="scroll">
                <af:panelHeader text="MyPanelHeaderText" id="ph4">
                  <af:panelLabelAndMessage label="Label 1" id="plam4">
                    <af:panelGroupLayout id="pgl8" layout="horizontal">
                      <af:inputText label="Label 7" id="it8"
                                    simple="true" columns="3"
                                    value="#{bindings.att1.inputValue}"/>
                      <af:outputLabel value="Std" id="ol1" for="it8"/>
                      <af:inputText label="Label 8" id="it7"
                                    value="#{bindings.att2.inputValue}"
                                    simple="true" columns="2" autoSubmit="true"/>
                      <af:outputLabel value="Min" id="ol2" for="it7"/>
                    </af:panelGroupLayout>
                  </af:panelLabelAndMessage>
                  <af:inputText label="Label 9" id="it9"
                                value="#{bindings.att3.inputValue}"
                                binding="#{viewScope.MyBB.inputText1}"
                                rendered="false"/>
                  <af:inputText label="SID" id="it10"
                                value="#{bindings.att4.inputValue}"
                                binding="#{viewScope.MyBB.inputText2}"
                                rendered="false"/>
                  <af:selectBooleanCheckbox text="MyText"
                                            label="My Label" id="sbc3"
                                            simple="true"
                                            value="#{bindings.boolVal}"/>
                </af:panelHeader>
                <af:panelGroupLayout id="pgl7" layout="horizontal" halign="center">
                  <af:commandButton id="cb7" textAndAccessKey="&amp;Ok"
                                    actionListener="#{viewScope.MyBB.test}"/>
                  <f:facet name="separator">
                    <af:spacer width="10" height="10" id="s5"/>
                  </f:facet>
                  <af:commandButton id="cb8" textAndAccessKey="&amp;Cancel"/>
                  <af:commandButton id="cb9" textAndAccessKey="&amp;Help"/>
                </af:panelGroupLayout>
              </af:panelGroupLayout>
            </af:panelWindow>
          </af:popup>For testing in the ActionListener i just print the values and some text.

Maybe you are looking for

  • Personal File Sharing on my eMac turns off by itself

    I have three computers in my home office environment-- a eMac using Tiger fully updated--in fact it just came back from Apple Care doctors due to hard drive and memory issues-- (we think a power surge into my house caused it)--I also have a iBook-- f

  • Investment grant on asset

    Hi all, I would like to know how it could be possible to integrate investment grant on a legacy asset. I have two kind of assets : asset capitalized on a previous fiscal year asset capitalized on the current fiscal year Integrating investment grant f

  • How can I get my phone to turn on?

    I went to go take a nap earlier and set an alarm. Within minutes, my turned to a black screen and hasn't turned on. I know it's not dead. I've tried countless ways to get it back on but so far nothing has worked. I've only had the phone for a couple

  • Error in format date Oracle - SAP

    Hi Abapers, I am facing the following issue: i have a date field in ORACLE database and in SAP a have the corresponding field as DocDate(8),   When i read the field to the internal table i receive 12-JUN-1. I get the same result even if the field in

  • I just bought the NY Times crossword app and not happy that my stats are shared.  how can i turn off this feature?

    i just bought the NY Times crossword app and not happy that my stats are share and that i can see others stats.  can i turn off this feature?