[SOLVED] ADF BC - Substitution

Hi,
I'd like to implement substitution between Application Modules.
I have one Workspace containing one project from which I generate a jar containing the base AM.
I have one other completely different Workspace and Project in which I have one AM that extends the base one. I'd like to substitute this AM with the base one. For this, I have declared a user library in the project pointing to the jar containing the base AM. Now when I try to make use of the substitution screen in the project properties editor, I can't see the base AM.
Is there anything else to do ?
Thanks,
Seb.

Here are my conclusions after some more investigations.
I was trying to reference an AM in a target project. The steps involved were :
1. create a jar for the BC to be imported,
2. define and add the corresponding library to the target project,
3. do the import of the AM.
At step 3, it failed when trying to import the AM's xml file. I got the following error message :
Unable to find the file on the source or class path ...
In fact JDeveloper at step 2, gave me the choice to create a library which location was oracle.jdeveloper.10.1.3.41.57. I didn't pay any attention to this. After carefuly create a user library, everything works as described in the developer's guide.

Similar Messages

  • How to problem solve adf issue in the mx340 model

    how to problem solve adf issue in the mx340 model

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

  • [Solved] ADF Security permission error

    Hi,
    I have used ADF Security to authorize access on SRTutorial sample application but I get an error: 'JBO-35108: No permission for action: executeWithParams'. There is not an 'Edit Authorization' context menu item for this method, so how can I set permissions for it?
    Thanks,
    Saeed
    Message was edited by:
    Saeed Shafieian

    Hi Frank and Saeed,
    i get the same error (JBO-35108) like Saeed. The only difference is that the error occurs in my own application (not in SRDemo, i didn't tested this). Is there any workaround or bugfix available, or is waiting for a newer JDeveloper version the only solution?
    Solves JDeveloper11g the problem?
    Originial error message (in german):
    Fehler
    JBO-35108: Keine Berechtigung für Aktion: executeWithParams.
    My JDeveloper version:
    Studio Edition Version 10.1.3.2.0.4066
    What means 'RMT'?
    TNX in advance
    hobbes

  • [SOLVED] ADF: calling a method at runtime

    Hi all,
    I have a method that I need to call (once) when the page loads, the method contains setting a whereClause of a ViewObject and setting the render property of some items to true/false.
    I implemented the PagPhaseListener menthod's afterPhase() and beforePhase() but it did not work, I also tried "Using Custom ADF Page Lifecycle to Invoke an onPageLoad Backing Bean Method" way as explained in :
    http://download-uk.oracle.com/docs/html/B25947_01/bcdcpal005.htm#sthref828
    also did not work.
    any suggestions?
    Regards,
    Ahmad Esbita

    It seems that the PagPhaseListener's afterPhase() and beforePhase() way will not work unless you set the controller class of the page definition to the class implementing the PagPhaseListener.
    Sorry for the mistake,
    Ahmad Esbita

  • [SOLVED] adf faces demo doesn't work with jdev 10.3.1.2

    Has anybody tried to run the ‘Introduction to adf faces/trinidad using jdev’ demo at
    http://www.oracle.com/technology/obe/obe1013jdev/10131/trinidad/adf_faces_trinidad.htm
    with jdev 10.1.3.2 studio?
    I am trying it and I am getting this error
    500 Internal Server Error
    java.lang.NoSuchMethodError: oracle.adf.view.faces.context.AdfFacesContextFactory.createContext(Loracle/adf/view/faces/webapp/wrapper/ContextWrapper;Loracle/adf/view/faces/webapp/wrapper/RequestWrapper;)Loracle/adf/view/faces/context/AdfFacesContext;
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.startFilter(AdfFacesFilterHelperImpl.java:112)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:111)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Message was edited by:
    mauro avon

    We don't automatically migrate the adf-faces-api.jar since in a 10.1.3.x ADF Faces application this JAR is not part of your project's WEB-INF/lib directory.
    The issue must be specific to migrating this Apache Trinidad example.

  • Solved: ADF BC and primary keys - how to implement without using triggers

    Using the following OBE as an example:
    http://www.oracle.com/technology/obe/obe9051jdev/ADFWorkshop/BuildingADFApplicationsWorkshop.htm
    There is just one view that has CustomerId defined as a primary key, where the value for the primary key comes from the customer_seq sequence.
    How do you create the model using ADF BC entity to create an entity object that has a primary key that needs to be populated by a sequence table when inserted WITHOUT using a trigger?
    Basically I want to just use ADF BC instead of toplink in the OBE. We do not use triggers to insert primary keys, so this example is a good match for what I need.
    Can someone help me out. How do I adjust the model to use just ADF BC - how do I define the entity object to use a sequence. Do I just override the create method in the impl? Is it that simple? Or is there a way to do this point and click in the entity tool.
    Thanks!

    I'm not the dba (or one of several) - so don't shoot the messenger... the dba's do not like to use triggers in the code. I have been told that this has caused too many problems in application development.
    I don't ask why, just deal with the fallout.
    I did try using the following code in a create method:
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    SequenceImpl s = new SequenceImpl("customers_seq", getDBTransaction());
    // this.setCustId(s.getSequenceNumber());
    this.createPrimaryKey(s.getSequenceNumber());
    When I run the test program for the module, I get a new entry with the id empty and greyed out. I was hoping that this would be filled in on the actual insert, but no joy. As soon as I try to commit, I get an error:
    (oracle.jbo.AttrValException) JBO-27014: Attribute CustId in CustomersWSView is required)
    So what needs to be done?
    Message was edited by:
    klee

  • [SOLVED]ADF BC/JSF-how to execute a "ExecuteWithParams" from a b.-bean?

    Hello everyone. I am new to ADF BC/JSF web apps. and I have a situation where I have a form that inserts a record into the DB, the page has a backing bean attached to it and the "create" button on the form is attached to a method called "grabarButton_action()" on the backing bean... here I do some validation first and then I commit the changes.... until this moment everything works fine but the thing is that after the insert takes place I need to query and get the new row I just inserted in the DB to get a value from a column that gets inserted using a trigger on the DB.
    I have been trying to do this unsuccessfully, I created a ViewObject with bind variables to try to execute the query using the "executeWithParams" action but I dont know exactly how to send the values to the action and get the results from it...
    Can anybody point me in the right direction or give me some code examples here please???!!!
    Thanks.
    Message was edited by:
    dragonov7
    Message was edited by:
    dragonov7
    Message was edited by:
    dragonov7

    DragonV,
    Why not just mark the attribute in your EO as "refresh after insert" and/or "refresh after update?" These are there to support attributes that are populated by a trigger.
    Hope this helps,
    John

  • [SOLVED] ADF BC : event mechanism

    hi
    I'm not sure what I am looking for, but I was wondering if ADF BC had some kind of "event mechanism" to "notify the view of changes in the model"?
    For example, what if I would like to be "notified" (in my view implementation), if a change to some SCOTT.EMP.SAL value would cause the average SCOTT.EMP.SAL value to be above some limit?
    Because ADF BC has this "Active Data Model" implementation, it looks like some "event mechanism" could fit in.
    For things that "go wrong" there is already a "Bundled Exception Mode" feature in place, but maybe a general "event mechanism" could be similar.
    many thanks
    Jan Vervecken

    Thanks for your reply Steve.
    Based on both your sample applications 98 and 101 I have been able to create an example application that has some kind of "model to view event mechanism":
    http://verveja.footsteps.be/~verveja/files/oracle/ADFEventMechanismStuff-v0.05.zip
    It enables me to "react" in the view implementation to "events in the model", like this:
    public class EmpViewAllPanel
         extends JPanel
         implements JUPanel
         private void myInit()
              JboWarningEventBindingContainer vJboWarningEventBindingContainer =
                   (JboWarningEventBindingContainer)panelBinding;
              vJboWarningEventBindingContainer.addJboWarningEventListener(
                   new JboWarningEventListener()
                        public void handleJboWarningEvent(JboWarningEvent pJboWarningEvent)
                             myHandleJboWarningEvent(pJboWarningEvent);     
         public void myHandleJboWarningEvent(JboWarningEvent pJboWarningEvent)
              if (pJboWarningEvent instanceof AverageSalEvent)
                   AverageSalEvent vAverageSalEvent = (AverageSalEvent)pJboWarningEvent;
                   fMyStatusPanel.setAverageSalAlert(
                        !vAverageSalEvent.isAverageSalBelowLimit());
              else if (pJboWarningEvent instanceof CreateEmpEvent)
                   CreateEmpEvent vCreateEmpEvent = (CreateEmpEvent)pJboWarningEvent;
                   fMyStatusPanel.setEmpCreateDate(vCreateEmpEvent.getCreateDate());
    }All suggestions for improvement are welcome.
    I also wonder if there would be an alternative that does not require a DCBindingContainer subclass as a JboExceptionHandler implementation?
    regards
    Jan Vervecken

  • [SOLVED] ADF BC : View Object "second level" Entity reference issue

    hi
    If I insert a row in a View Object that uses "two levels" of Entity references, the attributes of the Entity on the "second level" don't get a value.
    Consider these tables:
    MY_ROW (MY_ROW_ID, MY_ROW_STUFF, MY_ROW_LU1_ID)
    MY_ROW_LU1 (MY_ROW_LU1_ID, MY_ROW_LU1_STUFF, MY_ROW_LU1_LU1_ID)
    MY_ROW_LU1_LU1 (MY_ROW_LU1_LU1_ID, MY_ROW_LU1_LU1_STUFF)
    Where MY_ROW.MY_ROW_LU1_ID is a "look-up" in MY_ROW_LU1 and MY_ROW_LU1.MY_ROW_LU1_LU1_ID is a "second level look-up" in MY_ROW_LU1_LU1.
    I created default Entities and Associations on these tables and a View Object that uses all 3 Entities (MyRow as Updatable, MyRowLu1 and MyRowLu1Lu1 as Reference).
    See example code in
    http://verveja.footsteps.be/~verveja/files/oracle/ViewObjectEntityReferenceIssue-v0.03.zip
    (contains no Java code, all out-of-the-box ADF BC)
    problem scenario:
    If run the MyRowService Application Module in the Oracle Business Component Browser and "open" the MyRowViewAll View Object instance, I get the rows and their related "look-up values".
    If I click the "Insert a new record" button and fill out values for MyRowId, MyRowStuf and MyRowLu1IdEntity, I only get "look-up" values for the "first level". While the "second level" stays empty.
    For example, a MyRowLu1IdEntity of "2003" gives a MyRowLu1Stuff value of "2003 stuff", but no value in MyRowLu1Lu1Stuff.
    What am I doing wrong? What should I change to also get a value in the "second level" MyRowLu1Lu1Stuff attribute?
    many thanks
    Jan Vervecken

    Jan,
    If you create a view object on Emp and Dept, with Dept as a reference entity, you might choose to build the view object to only include the:
    Emp.Empno (required, since it's the PK of Emp entity usage)
    Emp.Ename (included since you want to show the ename)
    Dept.Deptno (required, since it's the PK of the Dept entity usage)
    Dept.Dname (included since you want to show the dname)
    The wizard enforces the inclusion of the required attributes above.
    When you run this view object, a join is performed and you see the reference data.
    Now, if you want to allow the user to UPDATE the reference data, you need to add one more attribute to the list of attributes:
    Emp.Empno
    Emp.Ename
    Emp.Deptno (To allow user to change Deptno employee belongs to)Dept.Deptno
    Dept.Dname
    At this point, not only is the join performed for you, but the ADF BC reference mechanism reacts to any modification of the Emp.Deptno attribute, correctly showing the reference information for that new foreign-key-referenced department (even before commiting and requerying, at which time the SQL join would pickup that correct, related information).
    The "second level" problem you describe in this thread is simply the same issue described here as a master/first-level-detail situation, taken to its logical next step. If you want the end-user to be able to change the second-level detail to which the first-level-detail is associated, you need to include the first-level-detail's foreign key attributes in the view object's select list. Otherwise, there is no foreign key attribute whose value-change event the framework can react to in order to coordinate the related reference data in the row.
    I've blogged a link to a working example of a four-level reference information view object here:
    http://radio.weblogs.com/0118231/2007/05/09.html#a818
    based on the HR schema.

  • [solved] ADF BC - Automatically fill in form fields

    Hi all,
    I think i just need pointing in the right direction. I am using ADF 11g BC.
    Here is the case in EMP/DEPT terms. I click a row on the DEPT table, and click add employee button. A popup launches with a form. I want to have the DEPTNO and DEPTNAME filled in already based on the row that was clicked on. I currently am using createWithParameters when the button is pressed and am able to send in the deptname and deptno as parameters, i am just unsure of how to actually fill in those 2 fields of the form.
    Any pointers/suggestions?
    ~Dan
    Edited by: Dan Surkan on 25-Mar-2009 9:37 AM

    I had that problem too recently. It seems the parameters table is disabled wrongly. I worked around that be manually editing the XML via the Source tab. Here's an example of a "Create with parameters" action with two parameters:
        <action IterBinding="XyzIterator"
                id="CreateWithParams" RequiresUpdateModel="true"
                Action="createWithParams">
          <NamedData NDName="XyzId"
                     NDValue="#{someBean.someValue}"
                     NDType="java.lang.String"/>
          <NamedData NDName="Year" NDValue="#{someBean.someOtherValue}"
                     NDType="oracle.jbo.domain.Number"/>
        </action>Bart

  • SOLVED - ADF Table - Column move beyond bounds

    JDeveloper 11.1.1.0.0
    At runtime, moving a column (by dragging) outside the bounds of and af:table throws a client browser runtime error in IE 7:
    Line 70021
    Error: 'rows' is null or not an object
    The "Do you wish to Debug" message is repeated until the dialog is moved within the table (column) bounds.

    Are you using tech preview 2? I am attempting to reproduce this error in IE 7 as well as firebug, but without success. The jspx file I am using can be found below.
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document>
          <af:messages/>
          <af:form>
            <af:table value="#{bindings.Persons1View1.collectionModel}" var="row"
                      rows="#{bindings.Persons1View1.rangeSize}"
                      first="#{bindings.Persons1View1.rangeStart}"
                      emptyText="#{bindings.Persons1View1.viewable ? 'No rows yet.' : 'Access Denied.'}"
                      fetchSize="#{bindings.Persons1View1.rangeSize}"
                      selectedRowKeys="#{bindings.Persons1View1.collectionModel.selectedRow}"
                      selectionListener="#{bindings.Persons1View1.collectionModel.makeCurrent}"
                      rowSelection="single">
              <af:column sortProperty="PersonId" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.PersonId.label}">
                <af:outputText value="#{row.PersonId}">
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.Persons1View1.hints.PersonId.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="PrincipalName" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.PrincipalName.label}">
                <af:outputText value="#{row.PrincipalName}"/>
              </af:column>
              <af:column sortProperty="Title" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.Title.label}">
                <af:outputText value="#{row.Title}"/>
              </af:column>
              <af:column sortProperty="FirstName" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.FirstName.label}">
                <af:outputText value="#{row.FirstName}"/>
              </af:column>
              <af:column sortProperty="LastName" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.LastName.label}">
                <af:outputText value="#{row.LastName}"/>
              </af:column>
              <af:column sortProperty="PersonTypeCode" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.PersonTypeCode.label}">
                <af:outputText value="#{row.PersonTypeCode}"/>
              </af:column>
              <af:column sortProperty="SupplierId" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.SupplierId.label}">
                <af:outputText value="#{row.SupplierId}">
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.Persons1View1.hints.SupplierId.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="ProvisionedFlag" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.ProvisionedFlag.label}">
                <af:outputText value="#{row.ProvisionedFlag}"/>
              </af:column>
              <af:column sortProperty="PrimaryAddressId" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.PrimaryAddressId.label}">
                <af:outputText value="#{row.PrimaryAddressId}">
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.Persons1View1.hints.PrimaryAddressId.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="RegisteredDate" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.RegisteredDate.label}">
                <af:outputText value="#{row.RegisteredDate}">
                  <af:convertDateTime pattern="#{bindings.Persons1View1.hints.RegisteredDate.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="MembershipId" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.MembershipId.label}">
                <af:outputText value="#{row.MembershipId}">
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.Persons1View1.hints.MembershipId.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="Email" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.Email.label}">
                <af:outputText value="#{row.Email}"/>
              </af:column>
              <af:column sortProperty="ConfirmedEmail" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.ConfirmedEmail.label}">
                <af:outputText value="#{row.ConfirmedEmail}"/>
              </af:column>
              <af:column sortProperty="PhoneNumber" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.PhoneNumber.label}">
                <af:outputText value="#{row.PhoneNumber}"/>
              </af:column>
              <af:column sortProperty="MobilePhoneNumber" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.MobilePhoneNumber.label}">
                <af:outputText value="#{row.MobilePhoneNumber}"/>
              </af:column>
              <af:column sortProperty="CreditLimit" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.CreditLimit.label}">
                <af:outputText value="#{row.CreditLimit}">
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.Persons1View1.hints.CreditLimit.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="DateOfBirth" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.DateOfBirth.label}">
                <af:outputText value="#{row.DateOfBirth}">
                  <af:convertDateTime pattern="#{bindings.Persons1View1.hints.DateOfBirth.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="MaritalStatusCode" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.MaritalStatusCode.label}">
                <af:outputText value="#{row.MaritalStatusCode}"/>
              </af:column>
              <af:column sortProperty="Gender" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.Gender.label}">
                <af:outputText value="#{row.Gender}"/>
              </af:column>
              <af:column sortProperty="ChildrenUnder18" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.ChildrenUnder18.label}">
                <af:outputText value="#{row.ChildrenUnder18}">
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.Persons1View1.hints.ChildrenUnder18.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="ApproximateIncome" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.ApproximateIncome.label}">
                <af:outputText value="#{row.ApproximateIncome}">
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.Persons1View1.hints.ApproximateIncome.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="ContactMethodCode" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.ContactMethodCode.label}">
                <af:outputText value="#{row.ContactMethodCode}"/>
              </af:column>
              <af:column sortProperty="ContactableFlag" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.ContactableFlag.label}">
                <af:outputText value="#{row.ContactableFlag}"/>
              </af:column>
              <af:column sortProperty="ContactByAffilliatesFlag" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.ContactByAffilliatesFlag.label}">
                <af:outputText value="#{row.ContactByAffilliatesFlag}"/>
              </af:column>
              <af:column sortProperty="CreatedBy" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.CreatedBy.label}">
                <af:outputText value="#{row.CreatedBy}"/>
              </af:column>
              <af:column sortProperty="CreationDate" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.CreationDate.label}">
                <af:outputText value="#{row.CreationDate}">
                  <af:convertDateTime pattern="#{bindings.Persons1View1.hints.CreationDate.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="LastUpdatedBy" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.LastUpdatedBy.label}">
                <af:outputText value="#{row.LastUpdatedBy}"/>
              </af:column>
              <af:column sortProperty="LastUpdateDate" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.LastUpdateDate.label}">
                <af:outputText value="#{row.LastUpdateDate}">
                  <af:convertDateTime pattern="#{bindings.Persons1View1.hints.LastUpdateDate.format}"/>
                </af:outputText>
              </af:column>
              <af:column sortProperty="ObjectVersionId" sortable="true"
                         headerText="#{bindings.Persons1View1.hints.ObjectVersionId.label}">
                <af:outputText value="#{row.ObjectVersionId}">
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.Persons1View1.hints.ObjectVersionId.format}"/>
                </af:outputText>
              </af:column>
            </af:table>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • [SOLVED] ADF - How to disable/enable CommandButton from JavaScript

    CommandButton is rendered as a image in HTML and image does not have disabled property in JavaScript. Is there some other way to dynamically change render property of ADF/CommandButton without auto submitting?

    - if you don't mind that it doesn't 'look' disabled, you can have an onClick return false
    - you might be able to hide it by putting it in the custom 'div' tag someone recently posted on this forum and then using visibility:hidden from the javascript
    - or you could put it in the div tag, or use a seperate div tag and float that on top, and play around with opacities
    - or you could just grit your teeth and do the partial submit. Hmm, speed vs. maintainability :-p

  • [SOLVED] ADF skin CSS works properly in FF, IE7 but not in IE6

    Hi
    I have an ADF BC application written in jdev 10.1.3 that has a custom skin. The main pages in the app each have an af:menuBar with af:commandMenuItem items within it. The menubar is skinned to be transparent other than a top and bottom border while the af:commandMenuItems are skinned to be a particular colour with a hover colour.
    This works great in Firefox and IE7 but in IE6 the af:commandMenuItems are the same colour as the menubar background. They are only visible on mouse hover (see screenshot linked)
    http://i249.photobucket.com/albums/gg219/pschweig/ie6cssscreen2.jpg
    I noticed that the css file used by the different browsers are different e.g. for firefox
    B2B-desktop-10_1_3_3_0-en-gecko.css
    and for IE6 B2B-desktop-10_1_3_3_0-en-ie-6-windows-s.css
    Could there be some error in the IE6 css generated by ADF? Or is it an IE6 bug? Either way any info on how I can progress with this would be much appreciated.
    thanks
    paul schweiger

    After working with support found that the following css selectors do the job in IE6
    af|menuBar::selected-link{ background: none; color: #661047; }
    af|menuBar::enabled-link{ background: none; color: #661047; }

  • [solved]Mono font substitution problem in gnome terminal

    I have to edit mono font substitution in 65-nonlatin* in /etc/fonts/conf.d
    Still don't understand why font rendering in terminal is different from the rest of the system though...
    Don't know where else to post this, so it ends up here...
    I just upgraded fontconfig today and substituted the ubuntu packages (cairo, freetype2 and libxft) with the cleartype ones (as the later are up-to-date and turn out looking cool too).
    The only problem I have now is that mono font substitutiton got messed up in gnome-terminal.
    Both gedit and terminal use the system mono font (which is set to Monospace), with Liberation Mono as the preferred font. But somehow the terminal decides to use a different font (looki like my Chinese font: wenquanyi-zenhei).
    If I tell the terminal to use Liberation Mono, I get a serifed Chinese font, so this is not a solution for me.
    I've read somewhere that gnome-terminal does not follow the system fontconfig? It gave me a lot of trouble the last time I upgrade the relevant files. So unfortunate that it decides to be naughty again this time...
    Last edited by allbluedream (2008-07-30 11:25:08)

    http://wiki.archlinux.org/index.php/Configuring_locales instructed me to 'export LANG=en_EN.utf8' to set the system language to english, yet that locale doesn't exist in locale.gen. Of course, I had neglected to look in locale.gen for such an entry to uncomment it, or I would have noticed the error sooner. All is working now.

  • [Solved] ADF BC - Correlation of Refresh After Update checkbox with Returni

    Hello all,
    As per JDev (10.1.3.3.0) help system Refresh After Update option is used when there is Before Update trigger on a table.
    As far as I know ADF BC framework is using Returing clause of an Update statement to implement Refresh After Update option.
    First of all I created the following objects in Oracle DB 10.2.0.3.0:
    CREATE TABLE TAB1
         ID          NUMBER          PRIMARY KEY,
         EDITED_AT     DATE,
         VALUE          VARCHAR2(64)
    CREATE SEQUENCE S_TAB1
         INCREMENT BY 1
         START WITH 1;
    CREATE TRIGGER T_TAB1_BIE
    BEFORE INSERT OR UPDATE ON TAB1
    FOR EACH ROW
    BEGIN
         IF INSERTING THEN
              SELECT S_TAB1.NEXTVAL INTO :NEW.ID FROM DUAL;
         END IF;
         :NEW.EDITED_AT := SYSDATE;
    END;
    /Taking into consideration aforesaid I tried to do the following in SQL Plus:
    SQL> insert into tab1(value) values('ddd');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> select * from tab1;
            ID EDITED_AT           VALUE
             1 27.03.2008 17:01:24 ddd
    SQL>
    SQL> declare dt date; val varchar2(64);
      2  begin update tab1 set value = 'ddd' where id = 1 returning edited_at, value into dt, val;
      3  dbms_output.put_line('txt = ' || dt || ', ' || val);
      4  end;
      5  /
    txt = 27.03.2008 17:01:24, ddd
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from tab1;
            ID EDITED_AT           VALUE
             1 27.03.2008 17:02:12 ddd
    SQL>As it can be seen Returning clause of an Update statement does not return a new date, i.e. 27.03.2008 17:02:12, that was updated by the trigger, it returns an old one - 27.03.2008 17:01:24.
    Should I change any parameter in Oracle DB or what can I do that ADF BC refreshes values generated by a Before Trigger?

    Yerzhant,
    Something is certainly not right. I don't have a 10.2.0.3.0 instance handy at the moment, but I tried verbatim your example in 11.1.0.6.0, and it works properly.
    I am using this capability all over the place in ADF BC with no problems, database versions from 10gr1 to 11gr1.
    Perhaps time to contact support.
    John

Maybe you are looking for

  • Acrobat 6.0.6

    I just loaded my copy of acrobat 6.0.6 onto a new computer running windows 7home premium, 64 bit, and when I try to open acrobat I get a window telling me the programs are incompatable and to contact Adobe. Well it's Saturday and no one is home! What

  • Illustrator CC trial version on mac

    I am new in illustrator, I am using the CC trial version, I have noticed that I cannot access the layers, Is that because the version is trial, so if I will subscribe the layers option will be available in CC version.

  • Single Opportunity for Create List?

    When creating a dynamic list, step 2 of the wizard (select columns where you can also relate the column to another table), only appears at initial creation. When going back to modify the dynamic list, only step 3 and 4 is available. If you neglect to

  • Elements 8 Organiser won't load Photoshop CS5 as external editor

    For some years I've succesfully used Photoshop CS2 with Elements (various versions) Organiser as my photo file manager.  The Organiser allowed me to select Photoshop as the external editor and subsequently accepted/managed the edited photos from Phot

  • Authorization on table maintenance

    Hi Experts! I have created a table maintenance for a custom table which contain a field VKORG(Sales Org). In this table user should be able to edit / diplay data according to the sales organisation and users authority lavel. Example: USER1 may have a