CB4

Dear friends

I found these files on the dbs of one of the server directory you think? I'll check out the os for it sysadmin

concerningdbs.jpg

Hello, Ibrahim.

Please see the newsletter below:

RMAN cryptic file in my directory in $ORACLE_HOME/dbs

Daily walk: large number of files in $ORACLE_HOME/dbs - complete file system

Hope this helps!

Kind regards

Hugues

Tags: Oracle Applications

Similar Questions

  • Image file in DB entry does not

    I try to have the user select an image file, and then insert into a db however I get this db error "entity line with null key is not found in NblNhIncsubmission."

    If you see my picture below you can see my code is correctly downloaded the file and update the "Attachment" field, but it throws an error inserting the entire form in the db

    Here's the PB I need to insert in (circled is the column I'm inserting the NblNhIncsubmission DB)

    Here is my page jspx code:

    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" binding="#{backingBeanScope.backing_Test.d1}">
          <af:messages binding="#{backingBeanScope.backing_Test.m1}" id="m1"/>
          <af:form id="f1" binding="#{backingBeanScope.backing_Test.f1}"
                   usesUpload="true">
            <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx"
                             id="pt1">
              <f:facet name="center">
                <af:panelFormLayout binding="#{backingBeanScope.backing_Test.pfl1}"
                                    id="pfl1">
                  <af:spacer width="10" height="10"
                             binding="#{backingBeanScope.backing_Test.s2}" id="s2"/>
                  <af:inputDate value="#{bindings.When.inputValue}" label="WHEN"
                                shortDesc="#{bindings.When.hints.tooltip}"                        
                                id="it6" required="true" showRequired="true"/>
                  <af:spacer width="10" height="10"
                             binding="#{backingBeanScope.backing_Test.s1}" id="s1"/>
                  <af:selectOneChoice value="#{bindings.Location.inputValue}"
                                      label="LOCATION"
                                      shortDesc="What is your location?"
                                      binding="#{backingBeanScope.backing_Test.soc1}"
                                      id="soc1" showRequired="true" required="true">
                    <f:selectItems value="#{bindings.Location.items}"
                                   binding="#{backingBeanScope.backing_Test.si1}"
                                   id="si1"/>
                  </af:selectOneChoice>
                  <af:spacer width="10" height="10"
                             binding="#{backingBeanScope.backing_Test.s3}" id="s3"/>
                  <af:selectOneChoice value="#{bindings.Category.inputValue}"
                                      label="OBSERVATION TYPE"
                                      shortDesc="Describe the cause of your observation."
                                      binding="#{backingBeanScope.backing_Test.soc2}"
                                      id="soc2" required="true" showRequired="true">
                    <f:selectItems value="#{bindings.Category.items}"
                                   binding="#{backingBeanScope.backing_Test.si2}"
                                   id="si2"/>
                  </af:selectOneChoice>
                  <af:spacer width="10" height="10"
                             binding="#{backingBeanScope.backing_Test.s4}" id="s4"/>
                  <af:inputText value="#{bindings.Details.inputValue}"
                                label="YOUR OBSERVATION"
                                columns="#{bindings.Details.hints.displayWidth}"
                                maximumLength="#{bindings.Details.hints.precision}"
                                shortDesc="#{bindings.Details.hints.tooltip}"
                                binding="#{backingBeanScope.backing_Test.it3}"
                                id="it3" required="true">
                    <f:validator binding="#{bindings.Details.validator}"/>
                  </af:inputText>
                  <af:spacer width="10" height="10"
                             binding="#{backingBeanScope.backing_Test.s5}" id="s5"/>
                  <af:inputText value="#{bindings.Action.inputValue}"
                                label="ACTION TAKEN"
                                columns="#{bindings.Action.hints.displayWidth}"
                                maximumLength="#{bindings.Action.hints.precision}"
                                shortDesc="#{bindings.Action.hints.tooltip}"
                                binding="#{backingBeanScope.backing_Test.it4}"
                                id="it4" showRequired="true" required="true">
                    <f:validator binding="#{bindings.Action.validator}"/>
                  </af:inputText>
                  <af:spacer width="10" height="10"
                             binding="#{backingBeanScope.backing_Test.s6}" id="s6"/>
                  <af:inputText value="#{bindings.Attachment.inputValue}"
                                label="#{bindings.Attachment.hints.label}"
                                required="#{bindings.Attachment.hints.mandatory}"
                                columns="#{bindings.Attachment.hints.displayWidth}"
                                maximumLength="#{bindings.Attachment.hints.precision}"
                                shortDesc="#{bindings.Attachment.hints.tooltip}"
                                binding="#{backingBeanScope.backing_Test.it2}"
                                id="it2" rendered="true">
                    <f:validator binding="#{bindings.Attachment.validator}"/>
                  </af:inputText>            
                  <af:spacer width="10" height="10"
                             binding="#{backingBeanScope.backing_Test.s8}" id="s8"/>
                  <af:inputFile label="Upload File"
                                binding="#{backingBeanScope.backing_Test.if1}"
                                id="if1"
                                value="#{backingBeanScope.backing_Test.file}"/>
                  <af:panelLabelAndMessage label="SUBMITTED BY:"
                                           binding="#{backingBeanScope.backing_Test.plam1}"
                                           id="plam1">
                    <af:outputText value="#{securityContext.userName}"
                                   binding="#{backingBeanScope.backing_Test.ot1}"
                                   id="ot1"/>
                  </af:panelLabelAndMessage>
                  <af:inputText value="#{bindings.Userid.inputValue}"
                                label="#{bindings.Userid.hints.label}"
                                required="#{bindings.Userid.hints.mandatory}"
                                columns="#{bindings.Userid.hints.displayWidth}"
                                maximumLength="#{bindings.Userid.hints.precision}"
                                shortDesc="#{bindings.Userid.hints.tooltip}"
                                binding="#{backingBeanScope.backing_Test.it1}"
                                id="it1" rendered="false">
                    <f:validator binding="#{bindings.Userid.validator}"/>
                  </af:inputText>
                  <af:panelGridLayout binding="#{backingBeanScope.backing_Test.pgl1}"
                                      id="pgl1">
                    <af:gridRow marginTop="5px" marginBottom="5px" height="auto"
                                binding="#{backingBeanScope.backing_Test.gr1}"
                                id="gr1">
                      <af:gridCell marginStart="5px" width="auto"
                                   binding="#{backingBeanScope.backing_Test.gc1}"
                                   id="gc1">
                        <af:commandButton
                                          text="Submit"
                                          disabled="#{!bindings.Commit.enabled}"
                                          binding="#{backingBeanScope.backing_Test.cb2}"
                                          id="cb2"
                                          action="#{backingBeanScope.backing_Test.cb2_action}"/>
                      </af:gridCell>
                      <af:gridCell marginStart="1px" width="auto"
                                   binding="#{backingBeanScope.backing_Test.gc2}"
                                   id="gc2">
                        <af:commandButton text="Cancel"
                                          binding="#{backingBeanScope.backing_Test.cb4}"
                                          id="cb4"
                                          partialTriggers="pfl1" disabled="true"/>
                      </af:gridCell>
                    </af:gridRow>
                  </af:panelGridLayout>
                  <af:panelGridLayout binding="#{backingBeanScope.backing_Test.pgl2}"
                                      id="pgl2">
                    <af:gridRow marginTop="5px" marginBottom="5px" height="auto"
                                binding="#{backingBeanScope.backing_Test.gr2}"
                                id="gr2">
                      <af:gridCell marginStart="5px" width="auto"
                                   binding="#{backingBeanScope.backing_Test.gc5}"
                                   id="gc5">
                        <af:resetButton text="Clear All"
                                        binding="#{backingBeanScope.backing_Test.rb1}"
                                        id="rb1"/>
                      </af:gridCell>
                      <af:gridCell marginStart="1px" marginEnd="5px" width="auto"
                                   binding="#{backingBeanScope.backing_Test.gc6}"
                                   id="gc6">
                        <a href="mailto:noharinc.com?subject=NO HARM Observation Feedback">Mail</a>
                      </af:gridCell>
                    </af:gridRow>
                  </af:panelGridLayout>
                  <f:facet name="footer">
                  </f:facet>
                </af:panelFormLayout>
              </f:facet>
              <f:facet name="header"/>
              <f:facet name="end"/>
              <f:facet name="start">
                <af:group binding="#{backingBeanScope.backing_Test.g1}" id="g1">
                  <af:decorativeBox binding="#{backingBeanScope.backing_Test.db1}"
                                    id="db1" topHeight="180px">
                    <f:facet name="center"/>
                    <f:facet name="top">
                      <af:image source="/[email protected]" shortDesc="NoHarmLogo"
                                binding="#{backingBeanScope.backing_Test.i1}"
                                id="i1"/>
                    </f:facet>
                  </af:decorativeBox>
                </af:group>
              </f:facet>
              <f:facet name="branding"/>
              <f:facet name="copyright"/>
              <f:facet name="status"/>
            </af:pageTemplate>
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_Test-->
    </jsp:root>
    
    
    
    

    Here is my java code snippet:

    //Method to create blobdomain from selected file
        private BlobDomain createBlobDomain(UploadedFile file) {
            InputStream in = null;
            BlobDomain blobDomain = null;
            OutputStream out = null;
            try {
                in = file.getInputStream();
                blobDomain = new BlobDomain();
                out = blobDomain.getBinaryOutputStream();
                byte[] buffer = new byte[8192];
                int bytesRead = 0;
                while ((bytesRead = in.read(buffer, 0, 8192)) != -1) {
                    out.write(buffer, 0, bytesRead);
                }
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            } catch (SQLException e) {
                e.fillInStackTrace();
            }
            return blobDomain;
        }
    
    //Action lsitener for submit button
        public String cb2_action() {
            BindingContainer bindings = getBindings();    
            OperationBinding operationBinding = bindings.getOperationBinding("Commit");  
            //Grab the file
            UploadedFile myfile = (UploadedFile)this.getFile();
    
            //Set the Attachment InputText field value to the blob domain generated
            FacesContext facesCtx = FacesContext.getCurrentInstance();
            Application app = facesCtx.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesCtx.getELContext();
            ValueExpression ve = elFactory.createValueExpression(elContext, "#{bindings.Attachment.inputValue}",Object.class);
            //set the Attachment value to the blobdomain contents before inserting into db
            ve.setValue(elContext,createBlobDomain(myfile));
          
            //Commit input into Database     
            Object result = operationBinding.execute();     
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            }
          
            //Display popup message
            FacesContext con = FacesContext.getCurrentInstance();
            FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO,"Thank you for submitting your observation.","");
            con.addMessage("",message);
          
            return null;
        }
    
    
    

    haha OMG finally got it to work thanks @Timo Hahn (idk why didn't you tag) and Cvele_new_account

    After reading comments Timo again and blog and wire with cvele comment

    Solution was to make sure my update of bindings is set correctly, then check the "Insert" for updating the after:

  • selectonechoice - submit a value nulls when I press button

    Hello

    I use jdeveloper 11.1.2.4. When I change the value of the civil status from single to married the value appears. But when I press submit, the value of the civil status code blanks. Pointers would be much appreciated.

    Here is my code:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1"xmlns:f =" " http://Java.Sun.com/JSF/core "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "

    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document title = "templateTest.jspx" id = "d1" > "

    < af:messages id = "m1" / >

    < af:form id = "f1" >

    "< af:pageTemplate viewId="/WEB-INF/templates/BCDHRMIStemplate.jspx "value =" #{bindings.ptb1} "id ="pt1">"

    < f: facet 'content' = name >

    < af:panelFormLayout id = "pfl1" >

    < af:inputText value = "#{bindings." Agencyemployeeid.inputValue}.

    label = "#{bindings." Agencyemployeeid.hints.label}.

    required = "#{bindings." Agencyemployeeid.hints.Mandatory}.

    columns = "#{bindings." Agencyemployeeid.hints.displayWidth}.

    maximumLength = "#{bindings." Agencyemployeeid.hints.Precision}.

    shortDesc = "#{bindings." Agencyemployeeid.hints.ToolTip}"id ="it1">

    < f: validator binding = "#{bindings." Agencyemployeeid.Validator} "/ >"

    < af:convertNumber groupingUsed = 'false' pattern = ' #{bindings. " Agencyemployeeid.format} "/ >"

    < / af:inputText >

    < af:selectOneChoice value = "#{bindings." Civilstatusid.inputValue}.

    label = "#{bindings." Civilstatusid.label}.

    required = "#{bindings." Civilstatusid.hints.Mandatory}.

    shortDesc = "#{bindings." Civilstatusid.hints.ToolTip}"id ="soc1.

    autoSubmit = "false" changed = "false" >

    < f: selectItems value = "#{bindings." Civilstatusid.Items}"id ="si1"/ >

    < / af:selectOneChoice >

    < af:inputText value = "#{bindings." Firstname.inputValue}.

    label = "#{bindings." FirstName.hints.label}.

    required = "#{bindings." FirstName.hints.Mandatory}.

    columns = "#{bindings." Firstname.hints.displayWidth}.

    maximumLength = "#{bindings." FirstName.hints.Precision}.

    shortDesc = "#{bindings." FirstName.hints.ToolTip}"id ="it2">

    < f: validator binding = "#{bindings." FirstName.Validator} "/ >"

    < / af:inputText >

    < af:inputText value = "#{bindings." Surname.inputValue}"label =" #{bindings. " Surname.hints.label}.

    required = "#{bindings." Surname.hints.Mandatory}.

    columns = "#{bindings." Surname.hints.displayWidth}.

    maximumLength = "#{bindings." Surname.hints.Precision}.

    shortDesc = "#{bindings." Surname.hints.ToolTip}"id ="it3">

    < f: validator binding = "#{bindings." Surname.Validator} "/ >"

    < / af:inputText >

    < f: facet name = "footer" >

    < af:panelGroupLayout layout = "vertical" id = "pgl1" >

    < af:panelGroupLayout layout = "horizontal" id = "pgl2" >

    < f: facet "separator" = name >

    < af:spacer width = "10" height = "1" id = "s1" / >

    < / f: facet >

    < af:commandButton actionListener = "#{bindings." First.Execute text}"="First"

    Disabled = "#{!}" bindings. PartialSubmit First.enabled}' = 'true '.

    ID = "cb1" / >

    < af:commandButton actionListener = "#{bindings." Previous.Execute text}"="previous ".

    Disabled = "#{!}" bindings. PartialSubmit Previous.enabled}' = 'true '.

    ID = "cb2" / >

    < af:commandButton actionListener = "#{bindings." Next.Execute text}"="next ".

    Disabled = "#{!}" bindings. PartialSubmit Next.enabled}' = 'true '.

    ID = "cb3" / >

    < af:commandButton actionListener = "#{bindings." Last.Execute text}"="Last ".

    Disabled = "#{!}" bindings. PartialSubmit Last.enabled}' = 'true '.

    ID = "cb4" / >

    < / af:panelGroupLayout >

    < af:commandButton text = "Submit" id = "cb5" partialSubmit = "true" / >

    < af:commandButton actionListener = "#{bindings.Commit.execute}" text = "Commit" "

    Disabled = "#{! Bindings.Commit.Enabled}" id = "cb6" / > "

    < / af:panelGroupLayout >

    < / f: facet >

    < af:inputText value = "#{bindings." Empid.inputValue}"label =" #{bindings. " EmpID.hints.label}.

    required = "#{bindings." EmpID.hints.Mandatory}.

    columns = "#{bindings." Empid.hints.displayWidth}.

    maximumLength = "#{bindings." EmpID.hints.Precision}.

    shortDesc = "#{bindings." EmpID.hints.ToolTip}"id ="it4">

    < f: validator binding = "#{bindings." EmpID.Validator} "/ >"

    < af:convertNumber groupingUsed = 'false' pattern = ' #{bindings. " EmpID.format} "/ >"

    < / af:inputText >

    < / af:panelFormLayout >

    < / f: facet >

    < / af:pageTemplate >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    Best regards and thanks,

    LUN

    Hello

    Also make sure that the data type of the attribute Civilstatusid and lov attribute should be the same

  • How to call a display object with the criteria of the different point of view in each line an ADF BC table (Urgent)

    Hello world

    I use 11.1.1.7 version of Jdeveloper. I have a table adf BC. I need to call another ADF BC table inside the table. I need get the questionId from each row in the main table and fix the questionId as a point of view of the criteria drop inside the main table. I use to execute with parameter but always get the id of the last row question and criteria of this id as a point of view to each row of the table. How can I do this? 

    < af:table value = "#{bindings." AttachmentYesNoVO11.collectionModel}.

    var = "row" rows = "#{bindings." AttachmentYesNoVO11.rangeSize}.

    emptyText = "#{bindings." AttachmentYesNoVO11.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." AttachmentYesNoVO11.rangeSize}.

    rowBandingInterval = "0" id = "t2".

    "partialTriggers =": cb4: cb3 ".

    styleClass = "AFStretchWidth" inlineStyle = "height: auto;"

    width = "1250" >

    < af:column sortProperty = "#{bindings." AttachmentYesNoVO11.hints.Question.name}.

    sortable = "false".

    headerText = "#{bindings." AttachmentYesNoVO11.hints.Question.label}.

    ID = "c10" width = "300" >

    < af:inputText value = "#{row.bindings.Question.inputValue} '"

    label = "#{bindings." AttachmentYesNoVO11.hints.Question.label}.

    required = "#{bindings." AttachmentYesNoVO11.hints.Question.mandatory}.

    columns = "#{bindings." AttachmentYesNoVO11.hints.Question.displayWidth}.

    maximumLength = "#{bindings." AttachmentYesNoVO11.hints.Question.precision}.

    shortDesc = "#{bindings." AttachmentYesNoVO11.hints.Question.tooltip}.

    ID = "it1" lines = '8' readOnly = "true" contentStyle = "width: 330px; "margin: 10px" >

    < f: validator binding="#{row.bindings.Question.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column headerText = "#{bindings." AttachmentYesNoVO11.hints.ApplicationId.label}.

    ID = "c1" width = "300" >

    < af:table value = "#{bindings." AttachmentVO1.collectionModel}.

    var = "row" rows = "#{bindings." AttachmentVO1.rangeSize}.

    emptyText = "#{bindings." AttachmentVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." AttachmentVO1.rangeSize}.

    selectionListener = "#{bindings." AttachmentVO1.collectionModel.makeCurrent}.

    rowSelection = 'single '.

    Binding = "#{uploadDownloadBean.downloadTable} '"

    rowBandingInterval = "0" id = "t1".

    partialTriggers =': cb5: cb6: cb7: cb10 ">"

    < af:column id = 'c12' width = '0 '.

    headerText = "Download File" >

    < af:commandButton text = "#{row.bindings.FileName.inputValue}" id = "cb23" > "

    < af:fileDownloadActionListener

    filename = "#{row." Bindings.FileName.inputValue}.

    Method = "#{uploadDownloadBean.downloadFile} '"

    contentType='"#{row.bindings.MimeType.inputValue}"'/ >

    < / af:commandButton >

    < / af:column >

    < / af:table >

    < / af:table >

    User, because the two tables have a relationship, we call matter detail relationship, you can use a link view defining the relationship, and the framework will be the selection detail for you automatically.

    The next thing is that you can not put a table in a column of a table. This is not supported by the table component. You can use a picture of the tree for this, or tables cascading as I show in JDeveloper 11.1.2.1: cascade Tables | JDev & ADF Goodies

    Timo

  • javax.faces.el.EvaluationException: inaccessible identifier, target &lt; managed bean &gt; resolved to null

    jdev 11.1.1.6

    I created a defined task with two jspx files browse.jspx and more.jspx flow(task-flow.xml)

    Click on the more button in browse.jspx, I'm supposed to be accessed at more.jspx. the code is as follows:

    < managed-bean id = "__21" >

    < id managed-bean-name = "__23" > TestBean < / managed-bean-name >

    < managed-bean-class id = "__22" > com.poc.bean.TestBean < / managed-bean-class >

    < managed-bean-scope id = "__20" > session < / managed-bean-scope >

    < / managed-bean >

    < id = 'Browse' view >

    Browse.jspx < page > < / print this page >

    < / view >

    < id of the view 'Plus' = >

    More.jspx < page > < / print this page >

    < / view >

    < rule of flow control = "__2" id >

    <-activity-id id = "__3" > Browse < /-activity-id >

    < control-flow-case id = "__4" >

    < result id = "__6" > goMore < / de-results >

    <-activity-id id = "___5" > more < / to-activity-id >

    < / control-flow-case >

    < / control-flow-rule >

    ..

    ...

    Browse.JSPX:

    < af:commandButton text = "More" id = "cb4".

    action = "#{TestBean.browseAction}" / >

    TestBean.java:

    public String browseAction() {}

    return "Gomoré";

    }

    Click on the button, I get the exception:

    javax.faces.el.EvaluationException: inaccessible identifier, target, "TestBean" resolved to null

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)

    Please notify

    Replace:

    action = "#{TestBean.browseAction}" / >

    with:

    action="#{pageFlowScope.TestBean.browseAction}"/ >

  • turn off the levels

    Hi all

    I recently found this forum and I find it amazing

    I don't understand anything about the script and ask for help to you.

    I have a lot of pictures that I have to deal with and I have to adapt to each a color image with a merger and so I have the opportunity to select or deselect the color more "suitable according to the uploaded photo.

    My thoughts and ' If you can turn on or off the levels with a small sign

    Like this.

    Schermata 2016-01-14 alle 10.48.50.png

    If you can not "do the same thing thank you all for taking the time."

    There is no automatic updates in a window. No interaction with the document automatically.

    Of course, you can refresh after each event click on each box and something more. That's why I named the title of the dialog box: "it is not a simple window.

    But soon you can do something like this (with an additional button):

    #target photoshop
    // layers_ShowNamedLayers_withDialog.jsx
    // regards pixxxel schubser
    // https://forums.adobe.com/thread/2065152
    
    app.bringToFront();
    if (app.documents.length > 0) {
    var aDoc = app.activeDocument;
    var col = ["white", "magenta", "blue", "yellow", "green", "red"];
    
    var win = new Window ("dialog", "It's not a simple window");
    var Panel0 = win.add("panel", undefined);
    Panel0.minimumSize.width = 120;
    Panel0.alignChildren = "left";
    
    var cb1 = Panel0.add("checkbox", undefined, col[0]);
    var cb2 = Panel0.add("checkbox", undefined, col[1]);
    var cb3 = Panel0.add("checkbox", undefined, col[2]);
    var cb4 = Panel0.add("checkbox", undefined, col[3]);
    var cb5 = Panel0.add("checkbox", undefined, col[4]);
    var cb6 = Panel0.add("checkbox", undefined, col[5]);
    
    var grpFooter = win.add("group", undefined);
    grpFooter.orientation = "column";
    var refreshBtn = grpFooter.add("button", undefined, "Refresh");
    var cancelBtn = grpFooter.add("button", undefined, "Cancel");
    var okBtn = grpFooter.add("button", undefined, " Show ");
    win.defaultElement = okBtn;
    win.cancelElement = cancelBtn;
    
    refreshBtn.onClick = function() {
        for (j=0; j
    

    This is going to be refresh the view of the document (info: but not the layers palette!) click the [refresh] button.

    Have fun

  • ArrayList of table

    Community salvation of oracle

    I have a problem to view the information of an arraylist on a table, I did some sort and create an arraylist (action with a button) then I call a popup which have the table according to the information of arraylist, but nothing does not appear anyone can helpme please?

    It is a part of my code:

    < af:panelCollection id = "pc1" >

    < f: facet = 'menus' name / >

    < f: facet name = "toolbar" >

    < af:toolbar id = "t2" >

    < af:commandButton text = "call" id = "cb4" >

    < af:showPopupBehavior popupId = "p1" triggerType = 'action' / >

    < / af:commandButton >

    < text af:commandButton = action = "#{medicos.mostrar_sesiones"show"}" id = "cb1" / > "

    < af:commandButton text = "sort" action = "#{medicos.» Programa2}"id ="cb6"/ >

    < / af:toolbar >

    < / f: facet >

    < name f: facet = 'bar of Θtat' / >

    < af:popup id = "p1" >

    < af:panelCollection id = "pc2" >

    < f: facet = 'menus' name / >

    < f: facet name = "toolbar" >

    < af:toolbar id = "t4" >

    < af:commandButton text = "Insertar" id = "cb5".

    action = "#{Medicos.mostrar_sesiones}" / >

    < / af:toolbar >

    < / f: facet >

    < name f: facet = 'bar of Θtat' / >

    < af:table value = "#{medicos.lista_medicos}" var = "row" rowBandingInterval = "0" id = "t3" > "

    < af:column sortable = "false" headerText = "Latitud" align = 'end' id = 'c9' >

    < af:outputText value = "#{row.latitud}" id = "ot1" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Length" align = 'end' id 'c10' = >

    < af:outputText value = "#{row.longitud}" id = "ot2" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Number" align = "DΘmarrer" id = "c11" >

    < af:outputText value = "#{row.nombre}" id = "ot3" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Esp" align = "DΘmarrer" id = 'c12' >

    < af:outputText value = "#{row.esp}" id = "ot4" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Centro_salud" align = "DΘmarrer" id = "c13" >

    < af:outputText value = "#{row.centro_salud}" id = "ot5" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Address" align = "DΘmarrer" id = "c14" >

    < af:outputText value = "#{row.direccion}" id = "ot6" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Cod_cmp" align = "end" id = "c15" >

    < af:outputText value = "#{row.cod_cmp}" id = "ot7" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Cod_zona" align = "end" id = "17" >

    < af:outputText value = "#{row.cod_zona}" id = "ot8" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Des_tipo_centro" align = 'end' id = 'c18' >

    < af:outputText value = "#{row.des_tipo_centro}" id = "ot9" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Des_sec_tipo_centro" align = 'end' id = 'c19' >

    < af:outputText value = "#{row.des_sec_tipo_centro}" id = "ot10" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Dia" align = "DΘmarrer" id = "c20" >

    < af:outputText value = "#{row.dia}" id = "ot11" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Hora_inicio" align = "DΘmarrer" id = "c21" >

    < af:outputText value = "#{row.hora_inicio}" id = "ot12" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Hora_fin" align = "DΘmarrer" id = "c22" >

    < af:outputText value = "#{row.hora_fin}" id = "ot13" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Option" align = "DΘmarrer" id = "c23" >

    < af:outputText value = "#{row.opcion}" id = "ot14" / > "

    < / af:column >

    < / af:table >

    < / af:panelCollection >

    < / af:popup >

    < af:table value = "#{bindings.lista_medicos1.collectionModel}" var = 'row' "

    Rows = "#{Bindings.lista_medicos1.rangeSize} '"

    emptyText = "#{bindings.lista_medicos1.viewable?" "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings.lista_medicos1.rangeSize} '"

    rowBandingInterval = '0 '.

    selectedRowKeys = "#{bindings.lista_medicos1.collectionModel.selectedRow} '"

    selectionListener = "#{bindings.lista_medicos1.collectionModel.makeCurrent} '"

    rowSelection = "single" id = "t1" >

    < af:column sortProperty = "prog" sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.prog.label} '"

    ID = "c8" >

    < af:inputText value = "#{row.bindings.prog.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.Prog.label} '"

    required = "#{Bindings.lista_medicos1.hints.Prog.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.Prog.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.prog.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.prog.tooltip} '"

    ID = 'it8' >

    < f: validator binding="#{row.bindings.prog.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column sortProperty = 'dry' sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.sec.label} '"

    ID = "c5" >

    < af:inputText value = "#{row.bindings.sec.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.sec.label} '"

    required = "#{Bindings.lista_medicos1.hints.sec.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.sec.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.sec.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.sec.tooltip} '"

    ID = "9" >

    < f: validator binding="#{row.bindings.sec.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column sortProperty = "DesNomCompleto" sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.DesNomCompleto.label} '"

    ID = "c1" >

    < af:inputText value = "#{row.bindings.DesNomCompleto.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.DesNomCompleto.label} '"

    required = "#{Bindings.lista_medicos1.hints.DesNomCompleto.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.DesNomCompleto.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.DesNomCompleto.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.DesNomCompleto.tooltip} '"

    ID = "it5" >

    < f: validator binding="#{row.bindings.DesNomCompleto.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column sortProperty = "Esp" sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.Esp.label} '"

    ID = "c7" >

    < af:inputText value = "#{row.bindings.Esp.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.esp.label} '"

    required = "#{Bindings.lista_medicos1.hints.esp.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.esp.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.Esp.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.Esp.tooltip} '"

    ID = "it4" >

    < f: validator binding="#{row.bindings.Esp.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column sortProperty = "Monday" sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.Horario.label} '"

    ID = "c16" >

    < af:inputText value = "#{row.bindings.Horario.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.Horario.label} '"

    required = "#{Bindings.lista_medicos1.hints.Horario.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.Horario.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.Horario.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.Horario.tooltip} '"

    ID = "it6" >

    < f: validator binding="#{row.bindings.Horario.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column sortProperty = "CentroSalud" sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.CentroSalud.label} '"

    ID = "c6" >

    < af:inputText value = "#{row.bindings.CentroSalud.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.CentroSalud.label} '"

    required = "#{Bindings.lista_medicos1.hints.CentroSalud.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.CentroSalud.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.CentroSalud.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.CentroSalud.tooltip} '"

    ID = "it7" >

    < f: validator binding="#{row.bindings.CentroSalud.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column sortProperty = "Address" sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.Direccion.label} '"

    ID = 'c3' >

    < af:inputText value = "#{row.bindings.Direccion.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.direccion.label} '"

    required = "#{Bindings.lista_medicos1.hints.direccion.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.direccion.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.Direccion.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.Direccion.tooltip} '"

    ID = "it3" >

    < f: validator binding="#{row.bindings.Direccion.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column sortProperty = "cant" sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.cant.label} '"

    ID = "c2" >

    < af:inputText value = "#{row.bindings.cant.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.cant.label} '"

    required = "#{Bindings.lista_medicos1.hints.cant.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.cant.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.cant.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.cant.tooltip} '"

    ID = "it2" >

    < f: validator binding="#{row.bindings.cant.validator}"/ >

    < af:convertNumber groupingUsed = "false".

    pattern="#{bindings.lista_medicos1.hints.Cant.format}"/ >

    < / af:inputText >

    < / af:column >

    < af:column sortProperty = "IndMedicoTop" sortable = "false".

    headerText = "#{bindings.lista_medicos1.hints.IndMedicoTop.label} '"

    ID = 'c4' >

    < af:inputText value = "#{row.bindings.IndMedicoTop.inputValue} '"

    label = "#{Bindings.lista_medicos1.hints.IndMedicoTop.label} '"

    required = "#{Bindings.lista_medicos1.hints.IndMedicoTop.Mandatory} '"

    Columns = "#{Bindings.lista_medicos1.hints.IndMedicoTop.DisplayWidth} '"

    maximumLength = "#{bindings.lista_medicos1.hints.IndMedicoTop.precision} '"

    shortDesc = "#{bindings.lista_medicos1.hints.IndMedicoTop.tooltip} '"

    ID = "it1" >

    < f: validator binding="#{row.bindings.IndMedicoTop.validator}"/ >

    < / af:inputText >

    < / af:column >

    < / af:table >

    < / af:panelCollection >

    Yes. You can get the lines by using the following:

    DCIteratorBinding gridBinding = ADFUtils.findIterator ("setToTable");

    RowSetIterator rowIter = gridBinding.getRowSetIterator ();

    Row [] allRowsInRange = gridBinding.getAllRowsInRange ();

    for (line r1: allRowsInRange) {}

    R1. GetAttribute ("col1");

    R1. GetAttribute ("col2");

    }

    Now, use the values for other operations.

  • SelectOneChoice discount after create insert

    Hello

    I use Oracle JDeveloper 11 g Release 2 (11.1.2.3.0).

    I have a page jspx with a tab with 2 tabs Panel. In the first, I have a select one choice that displays the items available at this time. On the other tab, I have a table (and a form) with all the elements and when I create, insert a new (and commit to databases), when I get back to the first tab, the new added is not show by the choice of a Select.

    What can I do to update the SOC after insert a new row in the table?

    Here is the code of the SOC:

    <af:selectOneChoice
         label="Coche"
         required="#{bindings.CocheIdTemp.hints.mandatory}"
         shortDesc="#{bindings.CocheIdTemp.hints.tooltip}" id="soc2"
         value="#{modeloAStockBean.modeloId}" autoSubmit="true"
         inlineStyle="float:left; margin-left:350px; margin-top:10px;">
         <f:selectItems value="#{bindings.CocheIdTemp.items}" id="si2"/>
    </af:selectOneChoice>
    

    And here is the code for the form:

    <af:panelFormLayout id="pfl2">
         <af:toolbar id="t3">
         <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
              text="Nuevo" id="cb4" />
         <af:commandButton actionListener="#{bindings.Commit.execute}" text="Guardar" id="cb5" />
              </af:toolbar>
              <af:selectOneChoice value="#{bindings.CocModId.inputValue}"
                   label="Modelo"
                   required="#{bindings.CocModId.hints.mandatory}"
                   shortDesc="#{bindings.CocModId.hints.tooltip}" id="soc1">
                   <f:selectItems value="#{bindings.CocModId.items}" id="si1"/>
              </af:selectOneChoice>
         <af:inputText value="#{bindings.CocColor1.inputValue}"
              label="Color"
              required="#{bindings.CocColor1.hints.mandatory}"
              columns="#{bindings.CocColor1.hints.displayWidth}"
              maximumLength="#{bindings.CocColor1.hints.precision}"
              shortDesc="#{bindings.CocColor1.hints.tooltip}" id="it1">
              <f:validator binding="#{bindings.CocColor1.validator}"/>
         </af:inputText>
         <af:inputText value="#{bindings.CocPuertas1.inputValue}"
              label="Puertas"
              required="#{bindings.CocPuertas1.hints.mandatory}"
              columns="#{bindings.CocPuertas1.hints.displayWidth}"
              maximumLength="#{bindings.CocPuertas1.hints.precision}"
              shortDesc="#{bindings.CocPuertas1.hints.tooltip}" id="it2">
              <f:validator binding="#{bindings.CocPuertas1.validator}"/>
              <af:convertNumber groupingUsed="false"
                   pattern="#{bindings.CocPuertas1.format}"/>
         </af:inputText>
         <af:inputText value="#{bindings.CocCombustible1.inputValue}"
              label="Combustible"
              required="#{bindings.CocCombustible1.hints.mandatory}"
              columns="#{bindings.CocCombustible1.hints.displayWidth}"
              maximumLength="#{bindings.CocCombustible1.hints.precision}"
              shortDesc="#{bindings.CocCombustible1.hints.tooltip}" id="it3">
              <f:validator binding="#{bindings.CocCombustible1.validator}"/>
         </af:inputText>
         <af:inputText value="#{bindings.CocPrecio1.inputValue}"
              label="Precio"
              required="#{bindings.CocPrecio1.hints.mandatory}"
              columns="#{bindings.CocPrecio1.hints.displayWidth}"
              maximumLength="#{bindings.CocPrecio1.hints.precision}"
              shortDesc="#{bindings.CocPrecio1.hints.tooltip}" id="it4">
              <f:validator binding="#{bindings.CocPrecio1.validator}"/>
              <af:convertNumber groupingUsed="false"
                   pattern="#{bindings.CocPrecio1.format}"/>
         </af:inputText>
         <af:inputText value="#{bindings.CocImagen1.inputValue}"
              label="Imagen"
              required="#{bindings.CocImagen1.hints.mandatory}"
              columns="#{bindings.CocImagen1.hints.displayWidth}"
              maximumLength="#{bindings.CocImagen1.hints.precision}"
              shortDesc="#{bindings.CocImagen1.hints.tooltip}" id="it5">
              <f:validator binding="#{bindings.CocImagen1.validator}"/>
         </af:inputText>
    </af:panelFormLayout>
    

    Thanks in advance!

    Hi Sheriton,

    Yes. You must create a listener for your action button. This action listener will be written in a java bean. But correct my previous message you run the validation and execution.

    The code will be something like this:

    BindingContainer links = bindingcontext.getcurrent () .getcurrentbindingsentry ();

    OperationBinding cocheExecute = bindings.getOperationBinding ("Execute"); (must match the method name in the links)

    The OperationBinding commit = bindings.getOperationBinding ("Commit");

    commit. Execute();

    cocheExecute.execute ();

    Try this and let me know if this worked for you. In addition, before you implement this, go to your tab where the LOV is after committing and press F5 (just to make sure that what we actually need to do is just to refresh the component). If the new value is there after F5 her you just need to add a part of this component LOV trigger to your validation button.

  • Security of ADF, added then I get error of insufficient privileges during validation.

    I was using a database user, then I have no error. After the addition of security of the ADF and the weblogic user, I got the following error message. Please suggest me, how to solve this error.

    < MethodExpressionActionListener > < processAction > received 'javax.faces.event.AbortProcessingException' when calling listener action "#{bindings.Commit.execute}" to the component 'cb4 '.

    < MethodExpressionActionListener > < processAction > javax.faces.event.AbortProcessingException: ADFv: interrupt exception.

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:199)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)

    at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    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:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    < Utils > < buildFacesMessage > ADF: addition of the JSF error message: ORA-01031: insufficient privileges

    java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)

    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:432)

    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8518)

    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6745)

    at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)

    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)

    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)

    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)

    at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)

    at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)

    at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    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:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    < Utils > < buildFacesMessage > ADF: addition of the JSF error message: ORA-01031: insufficient privileges

    java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)

    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:432)

    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8518)

    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6745)

    at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)

    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)

    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)

    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)

    at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)

    at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)

    at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    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:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    All communications of the db is made via the connection db defined in your application. Here, you set the user who speaks of the db. If this user has the power to hire you should be able to commit. You can use security adf to grant the insert, update, and delete on EO in your application to roles that belongs to the user of your application. I you have not done so each user of the application should be able to commit.

    Timo

  • Application Module not invoked popup screen method

    Hello

    I use jDeveloper 11.1.2.3.0.

    I have a method called selectAllPIDs in my AM. This method is exposed and available in data controls. I can do this drag onto a page as a button. Click the button, the method is executed as planned, and things work very well. However, my requirement is called from a button on a pop-up screen. The same method is not called when it is called from the pop-up screen. The popup (based on panelWindow) is called by clicking on a button on the home page.

    The command button on the pop-up screen is (it does not)

    < af:commandButton actionListener = "#{bindings.selectAllPIDs.execute}" = "selectAllPIDs" text "
    Disabled = "#{!}" Bindings.selectAllPIDs.Enabled}"id ="cb3"/ >


    The command button on the main screen is (this works)
    < af:commandButton actionListener = "#{bindings.selectAllPIDs.execute} '"
    Text = "selectAllPIDs."
    Disabled = "#{!}" Bindings.selectAllPIDs.Enabled}.
    ID = "cb4" / >

    I see no difference between the two. What I'm missing here?

    Thank you
    Ashwin

    Hello

    Can u please try set partialSubmit = true to the button on the shortcut menu.

    Thank you
    Pele

  • ADF Mobile: EL nested

    Hello

    I use ADF Mobile to develop a mobile application (so JDev, 11.1.2.3.0).
    Now, I am facing a problem of EL nested.

    I press a button and a display of witch popup opens an error/success message.
    My popup code:
    <amx:popup id="mess" inlineStyle="width:90%">
        <amx:panelGroupLayout id="pgl1" layout="vertical" halign="center">
            <amx:outputText value="#{viewcontrollerBundle.ACTIONDATE_ERROR}" id="ot2" rendered="#{bindings.message.inputValue eq 'ACTIONDATE_ERROR'}"/>
            <amx:outputText value="#{viewcontrollerBundle.TIME_ERROR}" id="ot3" rendered="#{bindings.message.inputValue eq 'TIME_ERROR'}"/>
            <amx:outputText value="#{viewcontrollerBundle.SUCCESS_REGISD}" id="ot4" rendered="#{bindings.message.inputValue eq 'SUCCESS_REGISD'}"/>
            <amx:outputText value="#{viewcontrollerBundle.ERROR_SAVING}" id="ot5" rendered="#{bindings.message.inputValue eq 'ERROR_SAVING'}"/> 
            <amx:panelGroupLayout halign="center" layout="horizontal" id="pgl2" rendered="#{bindings.message.inputValue eq 'SUCCESS_REGISD'}"> 
                <amx:commandButton text="#{viewcontrollerBundle.OK}" id="cb3">
                                <amx:closePopupBehavior popupId="mess"/>
                                <amx:actionListener binding="#{bindings.resetFeature.execute}"/>
                </amx:commandButton>
          </amx:panelGroupLayout>
          <amx:panelGroupLayout halign="center" layout="horizontal" id="pgl3" rendered="#{bindings.message.inputValue ne 'SUCCESS_REGISD'}">
                <amx:commandButton text="#{viewcontrollerBundle.OK}" id="cb4">
                                <amx:closePopupBehavior popupId="mess"/>
                </amx:commandButton>
          </amx:panelGroupLayout> 
      </amx:panelGroupLayout>
      </amx:popup>
    As you can see, I use mutiple output texts. I want to move it to only 1.
    I tried:
    <amx:outputText value="#{viewcontrollerBundle[bindings.message.inputValue]}" id="ot2" />
    And some variations as with one. or "but nothing seems to work.
    (I use a group of resources, because the application will be used in different languages)

    Any suggestions on how to fix this? Or another way to call the popup that can support the beams of resources?

    Thanks in advance.

    Hello.

    You can access all through Java code in a managed bean and bind your amx:outputText to one.

    Here is a code example:

    import oracle.adfmf.framework.api.Model;
    import oracle.adfmf.framework.contract.adf.NameValuePair;
    ...
    
        public String getMessage(String err) {
            Model mod = new Model();
            NameValuePair[] result = null;
    
           if (err.equals(ACTIONDATE_ERROR)) {
                result = mod.getValue(new String[] { "#{viewcontrollerBundle.ACTIONDATE_ERROR}" });
            }
           else if ...
    
           return (String)(result[0].getValue());
        }
    

    Simply create a binding method and assign bindings.message.inputValueas the parameter value.

    Best regards

    Frédéric.

  • Partial auto-refresh of an af:table required after a change

    Hi all

    I'm doing a "reset" button in some data that I can change into my project. The problem is, when I enter a value in an inputText field, press my reset button, the display of the label correctly, but the af data: table are updated to an incorrect value. It's as if it were an auto-commit to the database.

    There's my code:

    variables
    private String nameEmp; Save the name in another function
    Private RichInputText nameEmployee;

    the button:
    + < af:commandButton actionListener = "#{EmployeeOperations.resetFields}" +.
    text = "Reset".
    ID = "cb10".
    + Binding = "#{EmployeeOperations.buttonReset}" +.
    + disabled = "true" / > +.

    * Reset earpiece button: *.
    + ' public void resetFields (ActionEvent actionEvent) {+
    + reset(); +
    +}+

    * the function reset: *.
    + ' public void reset() {+
    + nameEmployee.setValue (nameEmp); +
    + AdfFacesContext.getCurrentInstance () .addPartialTarget (nameEmployee); +
    +}+

    * Af: table *.
    + < af:table lines = ' #{bindings. " EmployeeCreation1.rangeSize} ' + '.
    + fetchSize = "#{bindings." EmployeeCreation1.rangeSize} ' + '.
    + emptyText = "#{bindings." EmployeeCreation1.viewable? "{'No data to display.': 'Access Denied.'}". +
    + var = 'row' rowBandingInterval = '0 ' +.
    + value = "#{bindings." EmployeeCreation1.collectionModel} ' + '.
    + selectedRowKeys = ' #{bindings. " EmployeeCreation1.collectionModel.selectedRow} ' + '.
    + rowSelection = "single" id = "t1" +
    ' + partialTriggers =": cb2: cb3: cb5: cb4: cb7: cb8: cb1 +.
    + styleClass = "AFStretchWidth" +.
    + inlineStyle = "height: 120.0px +;
    + selectionListener = "#{EmployeeOperations.selectRow}" +.
    + binding = "#{EmployeeOperations.queryTable}" > +.
    + < af:forEach elements = "#{bindings." EmployeeCreation1.attributeDefs} ' + '.
    + var = 'def' > +.
    + < af:column headerText = "#{bindings." EmployeeCreation1.labels [def.name]} ' + '.
    + sortable = "true" sortProperty = "#{def.name}" +.
    + id = "c1" > +.
    + < af:outputText value = "#{row [def.name]}" id = "ot1" / > + "
    + < / af:column > +.
    + < / af:forEach > +.
    + < / af:table > +.

    There are the complete problem explained in pictures:

    http://S7.PostImage.org/ve4gifv97/Sans_titre.PNG

    If you need more code, I can add a little, I only wrote that I thought essential.

    I use Jdev 11.1.1.6

    Thanks ;)

    Hi, Maxim,.

    You'll have better luck posting in the forum JDeveloper & ADF.

    In any case, I would try to explain what is happening with your code. When the user clicks on the Reset, the current value in the text box becomes defined the variable binding. Your code only resets the value of the text box, but not the value of the binding variable itself. The table gets updated with the current value on the binding variable.

    See if the "" matches your use case. Alternatively, the best way to code this would be to get the current row of the view object and reset the value of the attribute on the VO.

    --
    BK

  • ADF CommandButton behaves differently when, in a popup window

    Hi all
    I have a page with input fields (af:inputText) and a popup with a commandButton control 'save' in it. The action of this button Save binds to my grain of support and so do all the input fields.
    When the user clicks 'save', the action method called getters of the input fields and use the GetValue method to get the user input. I'll then work with these values.

    This method works very well when the control knob is in the page (somewhere not on the shortcut menu), but when the button is moved in a popup window, geValue () will ignore all entries of the user and only returns the old value of input fields.

    for example, the loading of the page, I an entry submitted and indicates the current value
    Location: building 10

    and the user changes that for
    Location: building 20
    and save the clicks.

    Now, GetValue returns correctly "build 20' if the control button is not a popup and will return" to 10 "If the command button is in a popup."»»
    Part delivery is set to default (false) in both cases, and here is the declaration of popup, if this can help
     
    <af:popup id="confirm-saveTemplate"  contentDelivery="lazyUncached">
               <af:dialog id="d2" type="none">
    //a button here
    <af:commandButton text="#{rscBundle.SAVE}" id="cb4"
                    action="#{bean.save}"/>
               </af:dialog>
    </af:popup>
    Thanks in advance.
    (With the help of jDeveloper Version 11.1.1.6.0)

    Hello

    Part delivery is set to default (false) in both cases, and here is the declaration of popup, if this can help

    make it real

    Also define autoSubmit = true for the inputText

    Kind regards

    Published by: Santosh Vaza on 18 July 2012 10:20

  • How can I move Adobe Acrobat XI of my old iMac to my new Macbook?

    I recently changed computers and need to move my copy of Adobe Acrobat XI to the new.  It was a virtual copy (downloaded from this site).  Is it possible to move?

    CB4, salvation

    A single license for Adobe software allows you to install the software on two computers. However, you can use the software on a single computer at any given time.

    If you want to install the software on a third computer, deactivate the software on the computer on which you will no longer use the software. Then, activate the software on the new computer. Uninstalling the software does not disable it.

    Please visit: http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • Box after checking several boxes

    Hi, I'm looking for help. I'm new to Javascript and am currently based on my limited knowledge. I want to do is have a checkbox to be marked 'Yes' after scoring several checkboxes 'yes '.

    From my very limited understanding, I thought it was the way to go, but obviously not...

    var a = this.getField("cb1").value = 'Yes '.

    var two = this.getField("cb2").value = 'Yes '.

    var 3 = this.getField("cb3").value = 'Yes '.

    var 4 = this.getField("cb4").value = 'Yes '.

    If (one.value = "Yes" | two.vaule = "Yes" | three.value = 'Yes') {four.value ='Yes} ElseIf {four.value = 'off'}

    Anyone with ideas? Thank you very much

    Great! Thank you, I made a change;

    var a = this.getField ("cb1");

    var two = this.getField ("cb2");

    var 3 = this.getField ("cb3");

    var 4 = this.getField ("cb4");

    If (one.value == 'Yes' & two.value == 'Yes' & three.value == 'Yes') {four.value = 'Yes'} else {four.value = "Off"};

    and place this script in cb1 and cb2, cb3 as the MouseUp event. Thank you very much for your help!

Maybe you are looking for

  • I changed my computer from XP to vista. How can I get the activation key when Laura by windows vista?

    activation key for windows vista

  • taskbar lost and the menu bar

    I was check to find answers to problems which can't seem to resolve, like int exp 7 restart and now my taskbar and menu bar disappeared. Help, please

  • North America DVD

    Hello, I was wondering if you could help me with a simple enough question? I want to buy a DVD on Amazon, but it had the following message: requires a North American or multi-region DVD player and a compatible TV NTSC! I have vista PC with windows Me

  • Sample of 10.2 app without missing head

    I'm in the progress of my application without a head, so I'm digging the pushCollector sample provided by BlackBerry at this link https://developer.blackberry.com/native/documentation/cascades/device_comm/push/developing_a_push_en... "To download our

  • windows ODBC connection 7.

    I am using windows 7 32 bit. Can anyone help to connect ODBC. When I tried it says the Setup for the microsoft Access dBase ODBC driver routine driver (*.dbf, *.ndx, *.mdx) could not be found please reinstall the driver. In the next message it is sai