problem with binding breadsticks

I have a page contains two jsff, dragged and dropped as a region.
I want to get the link of the other jsff container while I'm in the first jsff.
The jsff contains form and some components of text input and checkbox component.

This I have done it before, but in this case the other jsff was an array element.
I wrote this code to get the link container:

RicheTableau deptable = (RichTable) ADFUtil.findComponentInRoot ("deptTable");
Model CollectionModel = (CollectionModel) deptable.getValue ();
JUCtrlHierBinding employeesTableBinding = (JUCtrlHierBinding) model.getWrappedData ();
DCBindingContainer dcbindings = employeesTableBinding.getBindingContainer ();
OperationBinding operationBinding = dcbindings.getOperationBinding("ExecuteWithParams");

How to get the link container when I do not have a component of the table, but a layout of the form that contains some entries texts and boxes.

http://download.Oracle.com/otn_hosted_doc/JDeveloper/11gdemos/ADF-region-interaction/ADF-region-interaction.html
http://download.Oracle.com/otn_hosted_doc/JDeveloper/11gdemos/AdfInsiderContextualEvents/AdfInsiderContextualEvents.html

Tags: Java

Similar Questions

  • problem with bind variables in the SQL query view object

    Hi all

    I use JDev 11.1.2.4.0.

    I have a problem with bind variables in the SQL query view object.

    This is my original SQL

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE t.nctuser_id = '20022' 
          AND to_char(t.insertdate,'YYYYMMDD') in ('20130930','20130929')
    group by t.legertype_id
    

    In my view .xml object query tab, I am writing this

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE   t.nctuser_id = '20022'
        AND to_char(t.insertdate,'YYYYMMDD') in :dddd
    group by t.legertype_id
    

    Davis here is a variable of Type liaison: String, updatable and necessary.

    I try to deal with Davis as ('20130930 ', ' 20130929') hoping the view object, run as my original SQL.

    But failed. The view object retrieves 0 line after that I run.

    Why?

    Thank you! ('2original SQL0130930', '20130929') ('20130930 ', ' 20130929')

    A variable binding cannot be used as this is why you must use years table. Check decompilation binary ADF: using oracle.jbo.domain.Array with ViewCriteria to see a solution.

    Timo

  • Problems with Bind Variables

    SELECT co.ref_num, co.forename, co.surname, co.dob, a.address, a.postcode,
           co.ni_num
      FROM address a, contact co
     WHERE co.ref_num = a.ref_num
       AND (:1 IS NULL OR co.forename = :2)
       AND (:3 IS NULL OR co.surname = :4)
       AND (:5 IS NULL OR a.postcode = :6)
       AND (:7 IS NULL OR a.address = :8)
       AND (:9 IS NULL OR co.dob = :10)
       AND (:11 IS NULL OR co.ni_num = :12)
    With a jdbc connection, we use a web front end for a new management system. The SQL above runs since a search screen. We meet a few serious problems with bind variable and execution plans. When the above query is sent by the database 'AND' clauses could evaluate as follows:
    AND ('Tim' IS NULL OR co.forename = 'Tim')
       AND ('Clarke' IS NULL OR co.surname = 'Clarke')
       AND ('' IS NULL OR a.postcode = '')
       AND ('' IS NULL OR a.address = '')
       AND ('25051981' IS NULL OR co.dob = '25051981')
       AND ('' IS NULL OR co.ni_num = '')
    We cannot dynamically assign 'AND' conditions so they are sent through to the database. This translates FTS 99% of the time as the execution plan never prescribed any of the available indices.

    Someone has suggestions on how to better 'control' bind variables?

    Hello

    Don't you think that 'OR' Conditions are necessary to check for Null, where the binding variable is NULL or not.

    I think that rather than running the query from the front to FB, try to convey the values of some MS and run this query in the procedure, the extraction from the point of view Design coding application. Never fire the query of the frontal part.

    To come to the problem.

    SELECT co.ref_num, co.forename, co.surname, co.dob, a.address, a.postcode,
    Co.ni_num
    ADDRESS, contact co
    WHERE co.ref_num = a.ref_num
    AND (: 1 co.forename IS NULL or =: 2)
    AND (: 3 co.surname IS NULL or =: 4)
    AND (: 5 a.postcode IS NULL or =: 6)
    AND (: 7 a.address IS NULL or =: 8)
    AND (: 9 co.dob IS NULL or =: 10)
    AND (: 11 co.ni_num IS NULL or =: 12)

    Use the procedure.

    Fact exits of the indexes on the tables and stats are updated...?
    Try to predict explain it. ??

    -Pavan Kumar N

  • Problem with Binder

    There is something wrong with my hyperlink social media, when I publish my Web site that that work not, but they do not work in preview mode.

    It only my twitter I seem to have problems with. I'm very new with Muse and could really do with some help.

    Hi, you can publish the site to a temporary site of the BC for us to have a look on.

    Or if it's the Twitter feed widget displays do not, then you might want to check this.

    http://forums.Adobe.com/message/4725856#4725856

    Thank you

    Vinayak

  • Problem with bind variable and as operator usage

    Hi all

    I use JDeveloper Version - 11.1.2.4.39.64.36.1 .


    While implementing the search functionality in the hierarchical Viewer, I created a link in the underlying t variable, created to find, due east of the request-


    SELECT XxamAnkitObjects.ID,

    XxamAnkitObjects.OBJECT_NAME,

    XxamAnkitObjects.OBJECT_TYPE,

    XxamAnkitObjects.PARENT,

    XxamAnkitObjects.PARENT_ID,

    XxamAnkitObjects.PARENT_TYPE

    OF XXAM_ANKIT_OBJECTS XxamAnkitObjects

    WHERE object_name like ' %: o_name ".

    What I'm trying to accomplish here, it is that the input provided by the user in the search box must match with the object_name in the table.

    During execution, I met the following error (from newspapers WLS)-

    < QueryCollection > < buildResultSet > [598] java.sql.SQLException: try to set a parameter name that does not intervene in the SQL: o_name

    at oracle.jdbc.driver.OraclePreparedStatement.setNullAtName(OraclePreparedStatement.java:5384)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setNullAtName(OraclePreparedStatementWrapper.java:1451)

    The following query has been generated during the operation of a research-

    < ViewObjectImpl > < buildQuery > [593] SELECT XxamAnkitObjects.ID, XxamAnkitObjects.OBJECT_NAME, XxamAnkitObjects.OBJECT_TYPE, XxamAnkitObjects.PARENT, XxamAnkitObjects.PARENT_ID, XxamAnkitObjects.PARENT_TYPE XXAM_ANKIT_OBJECTS XxamAnkitObjects WHERE object_name like ' %: o_name ".

    < ViewObjectImpl > < bindParametersForCollection > [594] params for ViewObject Bind: [model.vo.ObjectNameSearch] AppModule.ObjectNameSearch1

    Advice kindly the way ahead.

    Best regards

    Ankit Gupta

    The problem is that you used quotes around the variable binding. Try

    SELECT XxamAnkitObjects.ID,
           XxamAnkitObjects.OBJECT_NAME,
           XxamAnkitObjects.OBJECT_TYPE,
           XxamAnkitObjects.PARENT,
           XxamAnkitObjects.PARENT_ID,
           XxamAnkitObjects.PARENT_TYPE
    FROM XXAM_ANKIT_OBJECTS XxamAnkitObjects
    WHERE object_name like '%' || :o_name || '%'
    

    A note: this type of query will do a full table scan, as the searches with wildcards to the left cannot use a regular index. If you have multiple lines, this will impact on the research persormance hughe!

    Timo

  • Problem with binding components of fragments of page in bean managed when rendered as region

    I detected a problem when I bind a component in a managed bean for a page fragment which is a view of a TaskFlow exposed to JSF as a region.


    This problem happened when I exhibited same TaskFlow as region of two or more instances in the same Joint Strike Fighter. The component that is only returned in the latter region.


    JDeveloper 12 c (12.1.2.0) ADF12c.

    This is the code:

    The page fragment:

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:panelGroupLayout id="pgl1">
        <af:inputText label="Label 1" id="it1" binding="#{bindingComponentBean.inputText}"/>
        <af:button text="button 1" id="b1"/>
      </af:panelGroupLayout>
    </ui:composition>
    

    Bean managed (within the scope of the request)

    package com.edisa.test.errors.view.backing;
    
    
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    
    
    public class BindingComponentBean {
        private RichInputText inputText;
    
    
        public BindingComponentBean() {
        }
    
    
        public void setInputText(RichInputText inputText) {
            this.inputText = inputText;
        }
    
    
        public RichInputText getInputText() {
            return inputText;
        }
    }
    

    TaskFlow

    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="TestTaskFlow">
        <default-activity>test_fragment</default-activity>
        <managed-bean id="__1">
          <managed-bean-name>bindingComponentBean</managed-bean-name>
          <managed-bean-class>com.edisa.test.errors.view.backing.BindingComponentBean</managed-bean-class>
          <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <view id="test_fragment">
          <page>/fragments/test_fragment.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    

    JSF page

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="index.jsf" id="d1">
            <af:form id="f1">
                <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
                    <f:facet name="center">
                        <af:panelGridLayout id="pgl1" inlineStyle="border: 1px solid #eee;">
                            <af:gridRow marginTop="5px" height="auto" marginBottom="5px" id="gr1">
                                <af:gridCell marginStart="5px" width="50%" id="gc1" inlineStyle="border: 1px solid #eee;"
                                             halign="stretch">
                                    <af:panelBox text="Region 1" id="pb1">
                                        <f:facet name="toolbar"/>
                                        <af:region value="#{bindings.TestTaskFlow2.regionModel}" id="r2"/>
                                    </af:panelBox>
                                </af:gridCell>
                                <af:gridCell marginStart="5px" width="50%" marginEnd="5px" id="gc2"
                                             inlineStyle="border: 1px solid #eee;" halign="stretch">
                                    <af:panelBox text="Region 2" id="pb2">
                                        <f:facet name="toolbar"/>
                                        <af:region value="#{bindings.TestTaskFlow1.regionModel}" id="r1"/>
                                    </af:panelBox>
                                </af:gridCell>
                            </af:gridRow>
                        </af:panelGridLayout>
                    </f:facet>
                    <f:facet name="header"/>
                    <f:facet name="end"/>
                    <f:facet name="start"/>
                    <f:facet name="branding"/>
                    <f:facet name="copyright"/>
                    <f:facet name="status"/>
                </af:pageTemplate>
            </af:form>
        </af:document>
    </f:view>
    

    Component to bind to the support extended to bean bean would be.

    In fact, it is solely to support the scope of the bean - to distinguish two or more instances of the page fragment component.

    It has the same duration of life as the requestScope, but for different instances of the components parts / declarative, you have separate instances of scope backingBean controlled beans.

    http://adfpractice-Fedor.blogspot.com/2012/03/managed-bean-scopes-for-page-fragments.html

  • Problem with Bind variable cannot be changed.

    Hi all
    I use Jdev 11.1.2.3.0. In my VO, I created a Bind Variable and set it NOT UPDATABLE. Then, I created a display with some other Variables Bind criterion.
    I use this criterion to display on a search page, but when running, I see also an inpunt for the defined variable NOT UPDATABLE text and I can't change its value.
    Of course, if I try to change the value, and I do research, I get an error.

    It is the source of the VO:

    < variable
    Name = "UlssVar".
    Type = "where".
    Type = "Java.lang.String"
    IsUpdateable = "false" >
    < TransientExpression > <! [CDATA [adf.context.current.sessionScope.get ('ulss')]] > < / TransientExpression >
    < / variable >

    Is this a bug of the ADF?
    I thank in advance.

    Hello

    try selecting the variable binding and open the property inspector, under the guidance of the user interface, set the flag of 'view' to hide. This should hide it (no bug for this reason)

    Frank

  • Creating symbols double-problem with binding

    Hi team,

    I created this insanely complex deployment menu with buttons, tweens with dynamic text lables - you name it... now I want to doublonnait of this symbol and changes its color to make a new tab menu, but when I try to do it (by going in there and by duplicating each part nested - I get an error of linkage -

    * WARNING * the binding identifier "Symbole1" was already assigned to the symbol ' symbol 2' and impossible to assign to the symbol ' symbol 1', because the link identifiers must be unique. "

    SO where can I find it and how do I do it please?

    Thanks for your help,

    void

    Binding identifiers are found in signs of properties/Assembly of the objects in the library.  If you right-click one of the symbols of the library in question, you should see an option to establish links in the offerings that appear.  This liaison Panel is a high school of the Properrties Panel for this library object (you can open the same way by selecting properties instead of Assembly.

  • Problems with binding on scrollPosition atribute

    Hello

    I'm having some trouble to implement the binding between a painting and a list.

    When I scroll vertically through the Web, the list scrolls, but the elements make as it should.

    The canvas are the same size from the list.

    I created a quick example to show what the problem is.

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
         layout="absolute"
         backgroundColor="0xFFFFFF"
         creationComplete="addRandomItems()">
         
         <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   import mx.utils.ObjectUtil;
                   
                   private function addRandomItems():void {
                        var provider:ArrayCollection = new ArrayCollection();
                        
                        for (var i:int = 0; i < 100; i++){
                             var o:Object = new Object();
                             var children:Array = [];
                             var incYear:int = 0;
                             
                             incYear += i % 2 == 0 ? 1 : 0; 
                             
                             o.description = "Teste " + i ;
                             
                             for (var j:int = 0; j < 3; j++){
                                  var xyz:Object = new Object();
                                  
                                  do {
                                       xyz.startDate = new Date(2008 + incYear , Math.random()*10, Math.random()*31);
                                       xyz.endDate = new Date(2008 + incYear, Math.random()*11, Math.random()*31);
                                       xyz.color = Math.random() * 0xFFFFFF;
                                       
                                       if (xyz.startDate.date == 31 && xyz.startDate.month == 11){
                                            xyz.startDate.date++;
                                       }
                                       
                                       if (xyz.endDate.date == 31 && xyz.endDate.month == 11){
                                            xyz.endDate.date++;
                                       }
                                  } while (ObjectUtil.dateCompare(xyz.startDate, xyz.endDate) != -1 );
                                  
                                  children.push(xyz);                              
                             }
                             
                             o.children = children;
                             provider.addItem(o);
                        }
                        descriptionList.dataProvider = provider;
                   }
              ]]>
         </mx:Script>
         
         <mx:List id="descriptionList"
              x="10" 
              y="10" 
              height="738"
              width="300"
              rowHeight="25"
              labelField="description" 
              horizontalScrollPolicy="off" 
              verticalScrollPolicy="off" 
              verticalScrollPosition="{viewer.verticalScrollPosition}"/>
         
         <mx:Canvas id="viewer" x="318" y="10" width="840" height="738">
              <mx:Canvas height="2500" width="2500" />
         </mx:Canvas>
         
         
    </mx:Application>
    

    Kind regards

    Fredy.

    Hi, Freddy

    Here is the solution:

    On the Web, create the updateComplete (event) method.

    private void updateComplete(evt:ScrollEvent):void {}

    If (evt.direction == ScrollBarDirection.VERTICAL) {}
    var p: Number;
    % = (100 * viewer.verticalScrollPosition) / viewer.maxVerticalScrollPosition;
    descriptionList.verticalScrollPosition = (descriptionList.maxVerticalScrollPosition * %) / 100;
    descriptionList.dataProvider.refresh ();

    }
    }

    When you scroll the canvas, the list scrolls.

    The problem is because the viewer.verticalScrollPosition is greater than the list.

    You must make a percentage.

    Thank you!

  • Problem with bind in Execute Immediate

    Hi all

    Scenario 1:
    It works very well.
    DECLARE
      V VARCHAR2(20) := ':X';
      X VARCHAR2(20) := 'Hello World';
      RES VARCHAR2(20);
      QRY VARCHAR2(100);
    BEGIN
      QRY := 'SELECT '||V||' FROM DUAL';
      EXECUTE IMMEDIATE QRY INTO RES USING X;
      DBMS_OUTPUT.PUT_LINE(RES);
    END;
    Scenario 2:
    DECLARE
      V VARCHAR2(20) := 'X';
      X VARCHAR2(20) := 'Hello World';
      RES VARCHAR2(20);
      QRY VARCHAR2(100);
    BEGIN
      QRY := 'SELECT '||V||' FROM DUAL';
      EXECUTE IMMEDIATE QRY INTO RES USING X;
      DBMS_OUTPUT.PUT_LINE(RES);
    END;
    
    Error:
    X invalid identifier. 
    Necessary 'X' as the output.

    I could do to make it works very well for both scenarios with small changes in the code?

    My code can't handle scenario 2.

    You can change to sth as follows:

    SQL> declare
      v     varchar2 (20) := 'X';
      x     varchar2 (20) := 'Hello World';
      res   varchar2 (20);
      qry   varchar2 (100);
    begin
      qry := 'SELECT ' || case when v not like ':%' then ':' end || v || ' FROM DUAL';
    
      execute immediate qry into res using case when v not like ':%' then v else x end;
    
      dbms_output.put_line (res);
    end;
    /
    X
    PL/SQL procedure successfully completed.
    
    SQL> declare
      v     varchar2 (20) := ':X';
      x     varchar2 (20) := 'Hello World';
      res   varchar2 (20);
      qry   varchar2 (100);
    begin
      qry := 'SELECT ' || case when v not like ':%' then ':' end || v || ' FROM DUAL';
    
      execute immediate qry into res using case when v not like ':%' then v else x end;
    
      dbms_output.put_line (res);
    end;
    /
    Hello World
    PL/SQL procedure successfully completed.
    
  • Cannot change 'Open with' binding for webloc files

    Since Friday, I can't change the bindings from the webloc files. It was (by default) Firefox, now it's "Simulator (Watch) .app" as shown below:

    Also, as shown in the previous picture, sometimes some files are selected to be opened by another application (either Safari.app either Simulator.app but never Firefox). This behavior changes each time I have reset the launch Services database.

    When I try to change the default link back to Firefox, I had two error messages. The first says:

    Then, when I press OK, I get this redundant error message:

    All the webloc files I checked read permissions in writing for me and read permission for the rest. This problem occurs with the former "webloc" links as well as newly created (as in the example above). In addition, for some reason, all the webloc files now have "hide extension" selected in the Info Panel (again Finder shows the extension).

    I tried to reset the launch Services database by using the following command:

    /System/Library/frameworks/CoreServices.Framework/versions/A/frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister-tuer - r-domain local - domain-domain user system; Killall Finder

    It changed nothing.

    I only have this problem with the webloc files, I have no problem changing the default binding to other types of files.

    Any suggestion?

    What happens if do change in the preferences of the browsers.

    Firefox > Preferences > General

  • Problems with Server 2008 R2 Kerberos with Mac and CentOS machines? Need to re - join domain

    We are having a problem with our Mac and Linux / CentOS machines constantly having to be re-attached to our AD domain.
    We are able to join machines to the domain successfully, but after a few weeks or if authentication is broken and we again join them to the domain.
    I see Security event logs on our domain controller when kerberos authentication fails.
    On the linux server - I see this message in the logs
    -binding failed: server not found in the kerberos database.

    I'm guessing this has to do with Server 2008 R2 and incompatible mac / linux versions.

    Any ideas?

    Hello

    I suggest you try to post the question in the forums and check them off below if it helps:

    http://social.technet.Microsoft.com/forums/en-us/windowsserver2008r2general/threads

    It will be useful.

  • Problems with Knockoutjs &amp; webworks?

    I have a piece I've been debugging for the whole weekend and I just can't understand what is wrong with it. As far as I can see everything is as it should be. The HTML code I have is

    div class = 'networkItem' x-blackberry-Focus='true'=onmouseover "this.style.backgroundColor ='#444444 '; '=onmouseout" this.style.backgroundColor =' #010101 ";

    x onUp-blackberry-=' netNavUp ($index ()) ' x-blackberry-onDown=' netNavDown ($index ()).

    bind data = ' click: changeNetwork.bind ($data, no()), attr: {'id': 'nIf' + $index ()} ">".

    It is part of a foreach knockoutjs model. $index () is the index number 0 -? list

    the attr section creates an ID of this item to the nli0 format, nli1, nli2 etc. depends on County look.

    I can inspect the HTML code that it creates in the debugger chome and IDS are set correctly. And I suppose, at this stage, which is irrelevant in any case, as I have commented little bits in the code that woud use anyway. It seems that the call to netNavUP and netNavDown are causeing the exception.

    My js code is as follows:-

    function netNavDown ()tmp( )

    {

    goID var ="";

    blackberry.ui.dialog.standardAskAsync ("to:" + goID, blackberry.ui.dialog.D_OK, tmp);

    tmp ++;

        if (tmp is appViewArray.network.length)

    {

    goID = "nliEnd";

    }

    on the other

    {

    goID = "NIF" + tmp.toString ()";

    }

    blackberry.focus.setFocus (goID);

    }

    As you can see the standardAskAync should give me some information, but never gets fired. No, I know it's asynchronous if she fell into the code. That's why I removed the call to set the focus. So indeed it would fulfil this function and return control to the html code.

    The error I get in the Simulator is - App error 104 - Eception RuntimeException

    I tried to lose the $index () and replace it with a number directly I can see if that was the problem, but no, I still get exactly the same error. Then there is a problem with X-blackberry-onDown? and onUp than also causes the crash. Note that I use navigation everywhere else without too much problem, but it's the only place where I "force" of a specific focal point, setting the focus is also not a problem I put emphasis in the code when it starts first, and that works. The fixed focus is commented, so it hangs a little on the call of the function as the first line of the function is an alert (of sorts)

    I solved this by sending not anything to the function, but rather when I get to the function to get the item currently developed. not the best solution, but it works.

    var id = blackberry.focus.getFocus ();

  • Problem with update of a column by using the procedure of database and refreshing or put in value programmatically

    Dear all,

    I am a beginner in the ADF and am under Jdeveloper Studio Edition Version 12.2.1.0.0.

    I have a page that consists of two taskflows.

    First workflow has a fragment which is to have a table based on view object salespersons (not editable)

    Second task flow contains a form of ADF from the same view object Salespersons.

    As the user selecting a line in the table of the same record is displayed as no problem.

    Now, I have added two buttons Activate and Deactivate that is to change the status of the sales.

    I tried to use two ways an updated using the procedure of database and then put in value by programming and I have different questions with two of them:

    Now, here's the code of the Java bean for activation:

    Option A - the problem with this is the value of the column in the list (the first task rate displayed) is not synchronized

    and Activate and Deactivate buttons are not disabled and active properly.

    {} public void confirmActivation (DialogEvent dialogEvent)

    If (dialogEvent.getOutcome () == DialogEvent.Outcome.yes) {}

    DBSequence vId;

    vId = dcId.getValue ((DBSequence));

    Links BindingContainer = getBindings();

    OperationBinding operationBinding;

    operationBinding = bindings.getOperationBinding ("changeSalespersonsStatus") (OperationBinding);

    operationBinding.getParamsMap () .put ("pId", vId.getValue ());

    operationBinding.getParamsMap () .put ("pStatus", "A");

    Object result = operationBinding.execute ();

    dcStatus.setValue ("A");

    } else {}

    return;

    }

    }

    Option B - the problem with this is that the value of input for status text appears in the Active form for all records in form regardless of its database.

    {} public void confirmActivation (DialogEvent dialogEvent)

    If (dialogEvent.getOutcome () == DialogEvent.Outcome.yes) {}

    -no doubt this two lines are not needed here

    DBSequence vId;

    vId = dcId.getValue ((DBSequence));

    dcStatus.setValue ("A");

    BindingContainer links = getBindings();

    OperationBinding operationBinding;

    the operationBinding = bindings.getOperationBinding("Commit") (OperationBinding);

    Object result = operationBinding.execute ();

    } else {}

    return;

    }

    }

    Here's the code from the Fragment of shape for used buttons.

    "< af:button text = 'Activate' id ="bActivate' icon="/icons/activate.png ' iconPosition = 'top '.

    partialTriggers = "Bcreer bSaveInsert bCancelInsert dDeactivate dActivate".

    Binding = "#{pageFlowScope.salespersonsForm.buttonActivate} '"

    Disabled = ' #{bindings. " Status.inputValue! {= ' n '} ">"

    < af:showPopupBehavior popupId = "pActivate" / >

    < / af:button >

    "< af:button text = 'Disable' id = 'bDeactivate' icon="/icons/deactivate.png ' iconPosition = 'top '.

    partialTriggers = "Bcreer bSaveInsert bCancelInsert dDeactivate dActivate".

    Binding = "#{pageFlowScope.salespersonsForm.buttonDeactivate} '"

    Disabled = ' #{bindings. " Status.inputValue! {= 'A'} ">"

    < af:showPopupBehavior popupId = "pDeactivate" / >

    < / af:button >

    Here's matching Popups for each of the buttons Activate and Deactivate.

    < childCreation = "deferred" autoCancel af:popup = "disabled" id = "pActivate" >

    < af:dialog id = "dActivate" type = "YesNo" title = 'Status of salespersons' closeIconVisible = 'false '.

    affirmativeTextAndAccessKey = "& amp; Yes"cancelTextAndAccessKey ="& amp; (Cancel)

    noTextAndAccessKey = "& amp; No '.

    dialogListener = "#{pageFlowScope.salespersonsForm.confirmActivation}" >

    < f: facet = 'buttonBar' name / >

    < af:outputLabel value = "Are you sure you want to enable the seller?" id = "ol1" / >

    < / af:dialog >

    < / af:popup >

    < childCreation = "deferred" autoCancel af:popup = "disabled" id = "pDeactivate" >

    < af:dialog id = "dDeactivate" type = "YesNo" title = 'Status of salespersons' closeIconVisible = 'false '.

    affirmativeTextAndAccessKey = "& amp; Yes"cancelTextAndAccessKey ="& amp; (Cancel)

    noTextAndAccessKey = "& amp; No '.

    dialogListener = "#{pageFlowScope.salespersonsForm.confirmDeactivation}" >

    < f: facet = 'buttonBar' name / >

    < af:outputLabel value = "Are you sure you want to disable the seller?" id = "ol2" / >

    < / af:dialog >

    < / af:popup >

    Thanks in advance.

    Best regards

    Arif Khadas

    If you bind components to a range of flow page bean. You must complete that it saves the State of the component longer than the life of the component.

    To change the value of the GET value of the component of the link layer and change it.

    In this way the changes are captured by the framework and you should see them.

    Timo

  • Problem with report PDF - external (Apache FOP) - APEX 5.0 + ADR 3.0 + Tomcat 7

    Hello

    I have a problem with the pdf reports.

    I tried to make the steps of Apache FOP missing Oracle Apex installable for 5.0 and 5.0.1 APEX APEX

    It's something wrong with my settings 'external (Apache FOP)'.

    When I download the report I .pdf file.

    I can't open this file with the reader of pdf, but Notepad ++ open it.

    In the first line is: "ORA-20001: the print engine could not be reached because the URL is incorrect or a proxy URL must be specified."

    I have:

    • APEX 5.0 (c:\apex)
    • ADR 3.0.1 (c:\OracleREST-
      • files apex.xml, apex_al.xml, apex_pu.xml and apex_rt.xml are in C:\OracleREST\pathtoconfig\apex\conf,
      • defaults.XML, fop.xml are C:\OracleREST\pathtoconfig\apex)
    • Apache Tomcat 7.0.64 (C:\apache-tomcat-7.0.64)
    • Apache FOP 2.0 (C:\ApacheFOP\fop-2.0) - I don't now how to bind with APEX, ADR and Tomcat

    My fop2pdf.jar file is located in C:\apache-tomcat-7.0.64\webapps\apex\WEB-INF\lib

    If I use ADR as print server is OK, but I need to use non-English characters.

    Can you help me? Please

    AGM

    P.S. I'm sorry for my English, I hope you understand me

    Hi AgaSz,

    AgaSz wrote:

    I have a problem with the pdf reports.

    I tried to make the steps of Apache FOP missing Oracle Apex installable for 5.0 and 5.0.1 APEX APEX

    It's something wrong with my settings 'external (Apache FOP)'.

    When I download the report I .pdf file.

    I can't open this file with the reader of pdf, but Notepad ++ open it.

    In the first line is: "ORA-20001: the print engine could not be reached because the URL is incorrect or a proxy URL must be specified."

    You use DB Oracle 11g or later? If so, you must enable Network Services to use the configured Print Services.

    Reference: The last point mentioned here: PDF of print on demand Express 3.1 and above

    My fop2pdf.jar file is located in C:\apache-tomcat-7.0.64\webapps\apex\WEB-INF\lib

    If I use ADR as print server is OK, but I need to use non-English characters.

    You should not use "External Apache FOP", but you can "Oracle REST Data Services" as an option "print server". But, you should open the ords.war file and replace the Apache FOP associated jar files so that it supports non-English characters.

    You crossed the aforementioned following threads in the thread:

    Recently, I met the following threads:

    3. ASK : if I agree that Apache FOP comes with ADR supports the Base-14 fonts and it's more issue ADR as Oracle APEX, but it will help you qualify for Oracle APEX + ADR as users of at least the next version ADR print server comes with Apache FOP 1.1 and the xmlgraphics - commons-1.5.jar. This will help the people setting up fonts and support for complex Scripts for example, Arabic, Hebrew, hindi and Southeast Asian scripts using Apache FOP comes with ADR as "print server".

    Kind regards

    Kiran

Maybe you are looking for

  • iPad iOS update fail

    Could someone provide me with an explanation to my problem. I received Apple security updated to 9.3.4. After 18 + hours the iPad is still showing 'CHECK updates' Now I can not manually shut down and no preview meeting. How can I stop and restart? He

  • Help with DVD and CD ROM msg needs Attention

    Never seen this message before when running VAIO Care a click but under maintenance contract section DIAGNOSTICS EQUIPMENT VAIOI have 2 separate messages which read DVDROM requires Attention and money he needs attention CDROM both with the yellow tri

  • 2 Apple ID

    I have always used the same ID for Itunes, no need to change it. Somehow, I created a new Apple ID, not for iTunes, but for something else. Now, iTunes will not take my old password and I have more access to this email account. I am sure I am buying

  • "Flash not allowed while playing games.

    Flash not allowed When I try to play Bejeweled Blitz or Word Scrap on FB, I get the error "Unauthorized Flash" I tried Google Chrome and IE and I use the latest version of flash.

  • I tried to download Skype on my laptop and it is stuck. I tried Ctrl-alt-del and ctrl-alt-esc and reboot... What else can I try?

    I have a Toshiba laptop.  Internet is stuck saying"check download.skype.com SkypeSetup.exe. "I can't undo - now, I have 2 stuck downloads