Bug in ADF(10.1.3.2.0) with checkboxes in a table in a pop-up

So I've found a bug in ADF. The bug manifests when I have a dialog window pop-up with a table with many rows(13 or more). Each row has a checkbox in it. If I change the state of 12 or fewer of the checkboxes and click ok, the returnListener will fire. If I change 13 or more checkboxes, the return listener does not fire.
I'll try to create a test case/demo for this. Has anyone else encountered this?

Hi,
I haven't seen this problem, but I normally use a JSF HTML boolean checkbox for ADF editable tables.
<h:selectBooleanCheckbox value="#{row.Enabled}"/>I found that the <af:selectBooleanCheckbox> readonly attribute did not evaluate its EL so I stuck with the JSF component since. You could try this component as a workaround.
Brenden

Similar Messages

  • Problem with 2 View Objects based on One Entity -Probably a Bug in ADF BC

    Hi
    I am using JDeveloper 10.1.3(SU5) and adf faces and ADF BC and to explain my problem I use HR schema.
    First, I created 2 view objects based on countries table named as TestView1 and TestView2. I set TestView1 query where clause to region_id=1 and TestView2 query where clause to region_id!=1 in the view object editor and then I created 2 separated form on these 2 view objects by dragging and dropping from data control palette.
    Now when I insert a record in the form based on TestView1 with region_id set to 1 and commit the record and go to the next form I can see the record in the second form which is completely wrong since it is against the where clause statement of the second form.
    I am really confused and the situation is very wired and it seems to me something like bug in adf bc.Am I right.Is there any work around or solution for solving this problem.
    Any help would be highly appreciated.
    Best Regards,
    Navid

    Dear Frank,
    Thank you very much for your quick response.
    Reading your helpful comments now I have some questions:
    1- I have commited the record in the database so shouldn't the query of view objects be re-queried?
    2- We try to use ClearVOCaches (entity_name,false) in afterCommit of the base entity object but unfortunately it does not work correctly. after that,We got root app module and used findViewObject method to find all the view of that entity (we have found them by using name not automaticlly) and called executeQuery of all views. From my point of view it has 2 big disadvantages. First suppose that this entity is an important entity and 4 or 5 viow objects are based on it. Now, For inserting one record we should re-execute 4 or 5 view which I think makes some performance issues. Besides, If during the development one programmer add a new view object based on this entity and don't add the executeQuery in the afterCommit for this view, again we have the same problem. Isn't there at least a way that automatically refresh all related view objects however the performance issue still exists.
    3- You mentioned that this issue is handled in the developer guide. Could you kindly give me a refrence which developer guide you mean and which section I should read to overcome this problem.(I have ADF Developer's Guide for Forms/4GL Developer's Guide , however I search for clearVOCaches and surprisingly nothing was found!!!)
    4- Could you please give me some hints that from your point of view what is the best method to solve this problem with minimum performance effect.
    Any comment would be of some great help.
    Thanks in advance,
    Navid

  • ADF Table with CheckBox - Select/deselect issue

    I have seen couple of threads and blogs for ADF table with check box . but none of them exactly matching with my requirement . My Database table does not have any field for check box .
    Here is my DB Table
    tableA_
    A_Id
    A_Name
    tableB*
    B_Id
    Requirements :*
    1. Display the above tables data with Checkbox . ( if A_Id = B_Id then the checkbox will be checked , else unchecked ) .
    2. Select / deselect the check box and save the data . Saving the data , will update only tableB . i,e when a new check box is selected then A_Id value will be inserted to tableB . Similarly , deselecting a checked in data will remove the entry from tableB.
    Development :
    1. Created a VO where tableB has marked as updateable .
    2. Created a transient Boolean variable for checkBox . and modified the getter method of checkbox for returning true/false based on the below condition in the ViewRowImpl Class .
    if ( A_Id = B_Id )
    return true;
    else false ;
    3. I have not modified the setter method .
    Using the above concept i can view the data with selected checkbox . but the problem is to save the data . because , when I select a checkbox the above coding in the getter method will return false .
    Therefore , though i am selecting the checkbox but value of the checkbox has been set as false .
    While saving the Data , I am iterating through the VOIterator and observed that a newly selected checkbox value is false . and realized its because of the getter method condition .
    Can you please suggest how can I overcome this issue or shall I need to take any other approach ?
    Jdev version 11.1.1.5
    Regards,
    Amitava
    Edited by: Amitava on Mar 17, 2012 3:48 PM

    You need to go through the ADF page life cycle concepts. In simple words the boolean value in the model is not set while in valueChangeListener. Try adding valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance()); on top in your listener method and see the effect.
    Reference:
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/adf_lifecycle.htm

  • I cant find the end button when i receive a incomming call please help me. Is there any solution for it or is it a bug in the ios7.0.3 iam updated with ios7.0.3

    I cant find the end button when i receive a incomming call please help me. Is there any solution for it or is it a bug in the ios7.0.3 iam updated with ios7.0.3

    Do you mean decline button before picking up the call?

  • [svn] 4610: Commit Josh's patch for 3. x to fix bug SDK-17367 which works around an issue with Dictionary that stops ObjectUtil .toString() working with QNames.

    Revision: 4610
    Author: [email protected]
    Date: 2009-01-21 12:48:01 -0800 (Wed, 21 Jan 2009)
    Log Message:
    Commit Josh's patch for 3.x to fix bug SDK-17367 which works around an issue with Dictionary that stops ObjectUtil.toString() working with QNames.
    QE: Yes, please add a test case to ObjectUtil tests for this scenario.
    Doc: No
    Checkintests: Pass
    Bugs:
    SDK-17367 ObjectUtil.toString(QName) causes RTE
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17367
    http://bugs.adobe.com/jira/browse/SDK-17367
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/utils/ObjectUtil.as

    VPN-User,
    Ok - I see the list of issues and will ensure our X300 specialist takes a look at it.   
    Please do understand that while you have put together a very coherent list, I try to ensure priority to threads in which multiple customers are focused on a single issue, as we deliver the most benefit to the community in working on those.   This forum is primarly a peer to peer discussion forum rather than a Lenovo chat / tech support where we try to solve each and every issue put forth.
    Individuals with a long list of issues on a particular machine may find benefit from either contacting technical support and working through their list, or publishing it as you have done and wait for other users of the same system to share their experiences.
    Thanks for your patience
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Adf Tree with checkboxes beside..

    Hi All....
    I have a requirement to make an application in adf (in j dev) where in i want a tree structure, beside each node in my tree,there should be 6 coloumns with checkboxes(the checked or unchecked values should get reflected in a DB table).Is it possible?and if yes,can u tell me any tutorial or a direction,as to how to proceed?
    I could make a tree structure,but that doesnt serve my need.:(
    Please help....
    Waiting for your posts...
    Thank you!!!!:)

    Check out SRDemo, there is an example of something similar there.

  • ##BUG## Jdev/ADF/UIX/SCM

    I'm developing an UIX application with jdev 9.0.5.1, adf and SCM to versioning. And i've been lost half day to catch an problem, that i think, was a scm bug.
    Explaining :
    I've create a uix page and, drag and drop a VO from data control to create input form. Then i put an commit button, in same way. I look to page struture on tab UIModel and there is commit, i look to structur on my UIModel.xml and there is. So i think that all ok. But when i run and try to save changes the messagebox show java.lang.nullPointerException, and on log nothing appear. Only an strange message "Warning: using introspection to lookup return value from :Commit.". Then when i try to see xml source from uimodel, there is no commit dccontrol. I've to do manual check out from uimodel.xml and to all again. I think that scm must do it by his self.

    In case you have access to Metalink, could you please check Note 300714.1 and see if it relates to your case ?

  • Bug in ADF installer 10.1.3.2?

    I am running IAS 10.1.3.0 and since I am developing in Jdev 10.1.3.2 and I was getting the following error:
    java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z
    when deploying and running my application so I figured I needed ADF runtime installer 10.1.3.2, but after the install I get the following error in my OC4J log when I try to start it:
    07/02/24 20:50:01 Start process
    07/02/24 20:50:04 Error initializing server: Shared library "apache.commons.logging" could not be found.
    07/02/24 20:50:04 Fatal error: server exiting
    I have two entries in my server.xml, one in the the apache.webservices part and one in the oracle.ifs.client part. When I try to locate the commons-logging.jar (which i think has the package) its in the following places:
    /u02/app/oracle/product/ias10103/j2ee/home/applications/PRB/prb/WEB-INF/lib/commons-logging.jar
    /u02/app/oracle/product/ias10103/webservices/lib/commons-logging.jar
    I tried adding the jar explicitly to the server.xml but no luck there. Who can give me a clue?

    Hi,
    this is bug 5884357. The bug is under screening and so far the possible work around mentioned is
    1) Use OC4J version 10.1.3.1 or higher.
    or
    2) Remove the shared library <import-shared-library
    name="apache.commons.logging"/>
    The impact of the second action may be that certain element with runtime dependencies on apache.commons.logging may fail.
    Frank

  • A bug in ADF 11g?

    Hi all,
    It appears like a bug in 11g:
    1. when using regex with javascript: replacing all spaces from a string: replace(/\s/g, ''); it fails in 11g and works in 10g; (and if I use this: replace(/ /g, ''), it removes all spaces in 11g, but I don't think this is correct way to do it?); And trimming the spaces: replace(/^\s+|\s+$/, '') ; still works in 11g and 10g;
    2. whenever there is '*\d*' in the regex, it seems fails to work? I have to replace it with [0-9] or [0123456789]??
    3. one more: expecting to use this regex */^[A-Za-z]/* to start with letter, it fails too now, I can start with numbers?
    Thanks
    Shawn
    Edited by: shawn_abc on May 7, 2012 10:00 AM
    Edited by: shawn_abc on May 7, 2012 11:00 AM
    Edited by: shawn_abc on May 7, 2012 11:01 AM

    Hi,
    I tried the following in JDeveloper 11.1.1.6 and it works fine
    <f:view>
        <af:document id="d1">
        <af:resource type="javascript">
          function rmWhiteSpace(event) {
              var txtField = AdfPage.PAGE.findComponentByAbsoluteId("it1");
              var changeString = txtField.getValue();
              str = changeString.replace(/\s+/g, '');
              txtField.setValue(str);
        </af:resource>
          <af:form id="f1">
            <af:panelStretchLayout id="psl1">
              <f:facet name="center">
                <af:panelGroupLayout layout="scroll"
                                     xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                     id="pgl1">
                  <af:inputText label="Label 1" id="it1"
                                binding="#{ClearBlankBean.inputTxt}"
                                value="#{ClearBlankBean.value}"
                                clientComponent="true"/>
                  <af:commandButton text="Invoke Script" id="cb1"
                                    partialSubmit="true">
                    <af:clientListener method="rmWhiteSpace" type="action"/>
                  </af:commandButton>
                </af:panelGroupLayout>
                <!-- id="af_one_column_stretched"   -->
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>No Bug !!!!
    Frank
    Edited by: Frank Nimphius on May 15, 2012 9:56 AM

  • Is this a bug of ADF Authorization?

    Hi all
    I am observing this behavior of ADF Authorization and would like to confirm whether this is an ADF authorization bug.
    Taking the Fusion Order Demo (FOD) as a sample, below are the steps to observe this bug:
    1. Access a protected page, for e.g.
    http://127.0.0.1:7101/StoreFrontModule-StoreFrontUI-context-root/faces/myOrders
    2. ADF authorization and authentication intercepts and redirects user to the login page
    http://127.0.0.1:7101/StoreFrontModule-StoreFrontUI-context-root/faces/login.jspx?_adf.ctrl-state=1667297940_27
    3. Now copy that state id information (_adf.ctrl-state=1667297940_27) and try to access the myOrders page again without logging in
    http://127.0.0.1:7101/StoreFrontModule-StoreFrontUI-context-root/faces/myOrders?_adf.ctrl-state=1667297940_27
    The page is displayed this time, no login is required. This looks very much like a security bug since myOrders.jspx is protected and unauthenticated users should not be able to see its content.
    Regards
    Khang

    Hi Frank
    I think you misunderstand the problem I tried to describe here. It is about authorization, not authentication or caching (The problem still occurs if the user never authenticated before). This could be a security bug that allows any anonymous user to access the content of a protected resource.
    I found out about this problem with my own application. I just used the FOD app to describe the problem here so that everyone can reproduce it if they want to, and hopefully can redesign their applications to avoid this security issue. I tested very carefully before posting here, with different versions of jdev. Please also note that this issue no longer exists in the latest version 11.1.1.2.0
    Let me use the below scenario to make my point clearer.
    1. Assume user A just came to know about FOD application, and access it for the first time. User A does not have any user account in FOD.
    2. User A tries to access a protected resource in FOD.
    3. User A can see the content of that protected resource (using the steps mentioned before)

  • Bug concerning ADF security

    Just wanted to make a thread about this strange behavior when working with ADF security. Discovered it was a bug (i think).
    I have just enabled ADF security in my project after reading chapter 28 of the developers manual and watching Franks tutorials on the Code Core center. I was having trouble implementing it and thought I was just doing it wrong. It seemed so simple in the manual. The trouble I was having was that if I granted some access to a task flow or a web page to a application role or to the anonymous role it wouldn't become active. No changes made in the jazn-data.xml would make any different. Next day when I started up again it all worked. But making further changes would also not become active. I looked ad the logs and noticed the following error in the deploy process:
    +[Running application Health_Project1 on Server Instance DefaultServer...]+
    Uploading jazn-data identities.
    Uploading jazn-data policies.
    oracle.security.jps.JpsException: Destination context default missing in the specified jps-config.xml.
    +     at oracle.security.jps.internal.tools.utility.mgrs.JpsPolicyAPIManager.getPolicyStoreForDestination(JpsPolicyAPIManager.java:165)+
    +     at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.<init>(JpsDstPolicy.java:150)+
    +     at oracle.security.jps.internal.tools.utility.destination.JpsInitializerDst.getDestinations(JpsInitializerDst.java:82)+
    +     at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtility.java:63)+
    +     at oracle.security.jps.internal.tools.utility.JpsUtilDeploymentImpl.migrateAppPolicyToFarmLevelPolicyStore(JpsUtilDeploymentImpl.java:81)+
    +     at oracle.security.jps.internal.tools.utility.JpsUtilDeploymentImpl.migrateAppPolicyToFarmLevelPolicyStore(JpsUtilDeploymentImpl.java:103)+
    +     at oracle.jdevimpl.adrs.weblogic.JaznDataUploader.uploadPolicies(JaznDataUploader.java:610)+
    +     at oracle.jdevimpl.adrs.weblogic.JaznDataUploader.uploadJaznData(JaznDataUploader.java:212)+
    +     at oracle.jdevimpl.runner.adrs.AdrsStarter.uploadJaznData(AdrsStarter.java:1703)+
    +     at oracle.jdevimpl.runner.adrs.AdrsStarter.mav$uploadJaznData(AdrsStarter.java:116)+
    +     at oracle.jdevimpl.runner.adrs.AdrsStarter$5.run(AdrsStarter.java:1344)+
    +     at java.lang.Thread.run(Thread.java:619)+
    Uploading credentials.
    After some digging I found that this was a bug related to the application path. The application was located in "My Documents" with the path c:\Documents and Settings\.......
    It is no good to have space in the application path. After I moved the application to a more simple like path c:\dev\sb\mywork the ADF security worked fine. Changes in policies would become affective immediately. Later I ran into the same problem but this time the application path was simple but the application name had an underscore in it "my_project". By removing the underscore and making the application name MyProject along with changing all the properties, xml and connection files the ADF security worked like it should.
    So in short:
    ** Don't have a space in the path where the application is stored.*
    ** Don't have a underscore in the application name.*
    Please comment if I'm wrong. This post is just for information if other users are running into similar problems.
    Best regards,
    Sturla Thor

    hi,
    if you delete this line
    <property value="doasprivileged" name="oracle.security.jps.jaas.mode"/>
    in the jsp-config.xml you can at least use your application with authentication but authorization doesn't work b/c the subject does not contain the principals:
    ADFContext.getCurrent().getSecurityContext().getUserRoles();
    returns an empty String[].
    Is there a workaround?
    Cheers Andy

  • BUG ? :  ADF creating extra VO instance using bind variables in a LOV query

    ADF 11.1.1.1.0
    After "playing around" with bind variables Setting bind variables in view objects for LOV I've come across something strange that I've reproduce using the HR schema and tables Employees and Departments. Its a bit long but here goes :
    Using the HR schema tables departments and employeesI'm trying to create a LOV (selectOneChoice) for the
    employee department, the LOV having a bind variable that limits the values returned in this case returning only DepartmentId = 50
    I've create a VO lovDepartment (not based on an EO) with the following query :
    SELECT Departments.DEPARTMENT_ID,
           Departments.DEPARTMENT_NAME,
           Departments.MANAGER_ID,
           Departments.LOCATION_ID
    FROM DEPARTMENTS Departments
    where DEPARTMENT_ID  = :pDeptIdA LOV has been defined on the DepartmentId attribute of the EmployeesView.
    The lovDepartmentImpl overrides the executeQueryForCollection to set the bind variable value.
        @Override
        protected void executeQueryForCollection(Object object, Object[] object2,
                                                 int i) {
            setNamedWhereClauseParam("pDeptId", "50");       
            super.executeQueryForCollection(object, object2, i);
        }When using an ADF form to create a new employee the DepartmentId lov is empty.
    Enabling SQL tracing shows the following :
    [370] _LOCAL_VIEW_USAGE_model_EmployeesView_lovDepartment1_0 ViewRowSetImpl.doSetWhereClause(-1, pDeptId, null)
    [371] _LOCAL_VIEW_USAGE_model_EmployeesView_lovDepartment1_0 ViewRowSetImpl.execute caused params to be "un"changed
    [372] Column count: 4
    [373] _LOCAL_VIEW_USAGE_model_EmployeesView_lovDepartment1_0 ViewRowSetImpl.doSetWhereClause(-1, pDeptId, null)
    [374] _LOCAL_VIEW_USAGE_model_EmployeesView_lovDepartment1 ViewRowSetImpl.setNamedWhereClauseParam(pDeptId, 50)
    [375] ViewObject: _LOCAL_VIEW_USAGE_model_EmployeesView_lovDepartment1 Created new QUERY statement
    [376] _LOCAL_VIEW_USAGE_model_EmployeesView_lovDepartment1>#q computed SQLStmtBufLen: 235, actual=195, storing=225
    [377] SELECT Departments.DEPARTMENT_ID,
           Departments.DEPARTMENT_NAME,
           Departments.MANAGER_ID,
           Departments.LOCATION_ID
    FROM DEPARTMENTS Departments
    where DEPARTMENT_ID  = :pDeptId
    [378] Bind params for ViewObject: _LOCAL_VIEW_USAGE_model_EmployeesView_lovDepartment1
    [379] For RowSet : _LOCAL_VIEW_USAGE_model_EmployeesView_lovDepartment1_0
    [380] Binding null of type 12 for "pDeptId"
    [381] No Resource Bundle found but null value id:LOV_DepartmentId_LOVUIHints_NullValueId is defined in an ListBinding Definition.It would seem that 2 lovDepartment instances are used one at line 370 LOCALVIEW_USAGE_model_EmployeesView_lovDepartment1_0
    and one at line 374 LOCALVIEW_USAGE_model_EmployeesView_lovDepartment1
    The one at line 374 LOCALVIEW_USAGE_model_EmployeesView_lovDepartment1 gets the variable bound at line 374
    however LOCALVIEW_USAGE_model_EmployeesView_lovDepartment1_0 gets a null value and would explain the empty LOV
    Can anybody explain what is happening here ? (and how to use bind variables in LOV queries)
    Regards
    Paul
    (bump)
    Edited by: Paul (MITsa) on Jul 14, 2009 10:46 AM
    I've now tried all types of LOV from ChoiceList to Radio groupe by testing the application module - none of them work.....
    Edited by: Paul (MITsa) on 14-Jul-2009 22:52

    when you rinvoke executeQueryForCollection the bind variables are allready set and they exist in Object[] object2 method parameters.
    in order to change them you need something like:
    private void changeGenericBindVariable(Object[] params, String paramName, Object paramValue) {
    for (int i = 0; i < params.length; i++) {
    if (paramName.equals(((Object[])params)[0].toString()))
    ((Object[])params[i])[1] = paramValue;
    * executeQueryForCollection - overridden for custom java data source support.
    protected void executeQueryForCollection(Object qc, Object[] params,
    int noUserParams) {
    changeGenericBindVariable(params, "pDeptId", "50")
    super.executeQueryForCollection(object, object2, i);
    But its better to set bind variables before you executeQueryForCollection. like when you invoke LOV.
    For cascading LOVs and the problems i have check:
    [http://adfbugs.blogspot.com/2009/07/jdeveloper-11-r1-cascading-lov-bugs.html]

  • BUG: CheckBox colum inside table (ADF 11.1.2.1)

    I find a bug using CheckBox inside table, this are steps to get the bug.
    1.Create a view object from database table.
    2.Create a where clause in view Object
    3.Create a parameter form (using where clause)
    4.Create a editable table with filter enable
    -- AFTER TEST, ALL WORK
    5. Convert inputText to af:selectBooleanCheckbox
    -- AFTER TEST GET THIS ERROR:
    1- FIlter adf tabla and data is ok.
    2- Apply a filter using parameter form and same time adf:table filter. (Data is not well.)
    As I say this happend only when i change my inputText to af:selectBooleanCheckbox.
    With inputText work well, with booleanCheacBox work bad..
    Someone know if this was fix in 11.1.2.2 ??

    My attribute is not boolean but I fix it in viewRowImplementation accesor:
      public String getProgramada() {
            String dbValue= (String) getAttributeInternal(PROGRAMADA);
            if("S".equals(dbValue))
                retreturn  "true";
            else
                return  "false";       
    public void setProgramada(String value) {
            String valorSeleccionado = null;
            if("true".equals(value))
                valorSeleccionado = "S";
            else
                valorSeleccionado = "N";       
            setAttributeInternal(PROGRAMADA, valorSeleccionado);
        }Seems that change was the problem.. this code work bat generate the BUG i post here.
    SOLUTION:
    1. Revert the viewRowImpl to default accesor.
    2. Modify page definition in tis way using idea from Vinay Agarwal
    <tree IterBinding="VSiriusCorreriasUsuView1Iterator" id="VSiriusCorreriasUsuView1">
          <nodeDefinition DefName="modelo.vistas.VSiriusCorreriasUsuView" Name="VSiriusCorreriasUsuView10">
            <AttrNames>
              <Item Value="Correria"/>
              <Item Value="Descripcion"/>
              <Item Value="Instleer"/>
              <Item Value="Descargadas"/>
              <Item Value="Ejecutadas"/>
              <Item Value="Codusuario"/>
              <Item Value="Codterminal"/>
              <Item Value="Placaveh"/>
              <Item Value="Fechaprog"/>
              <Item Value="Programada" Binds="Programada"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
    <button IterBinding="VSiriusCorreriasUsuView1Iterator" id="Programada" DTSupportsMRU="false" StaticList="true">
          <AttrNames>
            <Item Value="Programada"/>
          </AttrNames>
          <ValueList>
            <Item Value="S"/>
            <Item Value="N"/>
          </ValueList>
        </button>And everything Seems to work Well. Seems to be more easy than add code to accesors in viewRowImpl and work better.
    My checkbox value is get from tree component:
    <af:selectBooleanCheckbox value="#{row.bindings.Programada.inputValue}"
                                                 shortDesc="#{bindings.VSiriusCorreriasUsuView1.hints.Programada.tooltip}"
                                                 id="it7" label="#{bindings.Programada.label}" simple="true" autoSubmit="true">
    </af:selectBooleanCheckbox>

  • BUG? ADF-UIX uix-configuration.xml template-import

    My UIX file works fine when I use templateImport:
      <templates xmlns="http://xmlns.oracle.com/uix/ui">
        <templateImport source="tmpl/library.uit"/>
      </templates>
    ...but I get the following error, when I try to make this templatelibrary global by adding the bold line in my uix-config.xml
      <application-configuration debug="false">
        <default-expression-language>el</default-expression-language>
        <ui-extensions>
          <extension-class>
            oracle.cabo.adf.rt.AdfUiExtension
          </extension-class>
          <extension-class>
            oracle.cabo.servlet.struts.StrutsUIExtension
          </extension-class>
          <template-library>tmpl/library.uit</template-library>
        </ui-extensions>
      </application-configuration>
    java.lang.IllegalArgumentException: Could not find ExpressionParser with name:null as specified in the ApplicationConfiguration
         at oracle.cabo.share.xml.XMLUtils.getDefaultExpressionParser(Unknown Source)
         at oracle.cabo.share.xml.XMLUtils.getDefaultExpressionParser(Unknown Source)
         at oracle.cabo.servlet.xml.parse.UIExtensionsConfigParser._loadTemplateLibrary(Unknown Source)
         at oracle.cabo.servlet.xml.parse.UIExtensionsConfigParser.addCompletedChild(Unknown Source)
         at oracle.cabo.share.xml.TreeBuilder$Handler.endElement(Unknown Source)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1211)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:300)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:267)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
         at oracle.cabo.share.xml.TreeBuilder.parse(Unknown Source)
         at oracle.cabo.share.config.ApplicationConfigurationParser.createInstance(Unknown Source)
         at oracle.cabo.share.config.ApplicationConfiguration.getInstance(Unknown Source)
         at oracle.cabo.share.error.ServletErrorLog.createErrorLog(Unknown Source)
         at oracle.cabo.servlet.BaseBajaContext.createErrorLog(Unknown Source)
         at oracle.cabo.servlet.BaseBajaContext.<init>(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.createBajaContext(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at oracle.cuervo.share.servlet.PreviewServletContainer.handleRequest(PreviewServletContainer.java:310)
         at oracle.cuervo.share.servlet.PreviewServletContainer.handleRequest(PreviewServletContainer.java:226)
         at oracle.cabo.ide.addin.preview.UIXRenderThread._reallyLoad(UIXRenderThread.java:274)
         at oracle.cabo.ide.addin.preview.UIXRenderThread.runImpl(UIXRenderThread.java:205)
         at oracle.cabo.ide.addin.preview.BasePreviewThread.run(BasePreviewThread.java:112)

    Hi MatLee,
    I follow the guide on chapter Configuration for ADF UIX to redefine paths for uit files and uix files but it doesn't work. I created a new uix page and it keep saving the page in the default root directory (public_html) instead of the path that I specified.
    Could you please show me very detail <uix-path> example and uit path example that redefine the default paths for those two type of files. I need a working code examples, not a generic or shortcut ones. I need to store those files in their respective directories and relative to the root directory because the application is big and have many modules; each module's uix pages should be saved in their own directories and also separate from the template files directory.
    Also, can I specify more than one paths in the <uix-path> tag? and is this tag used for redefining the path for uit templates file location as well or there is other tag for it?
    Thanks
    Tom

  • BUG TableSelectMany ADF Faces JDEV 10.1.3 BC

    Hi,
    I have few issues / concern about TableSelectMany component.
    1) How can I unselect default first row selection when my page loads?
    This component always select first row as checked.
    2) I have Disabled property set to #{row.DocStts != 'Pending Assignment'}(Some value)
    when page renders I can see check box on particular row get Disables due to that property setting but if you click on select all disabled row get selected. How to avoid that?
    3) Or how to disable select all or select none link or stop rendering link on certain values in table. I do not want user to select row when I have disabled check box on certain values on table.
    I will appreciate your help. Looks like to me it is BUG in component
    Thank you,
    Jigar
    <af:table value="#{bindings.FAListView1.collectionModel}" var="row"
    rows="5"
    first="#{bindings.FAListView1.rangeStart}"
    emptyText="#{bindings.FAListView1.viewable ? 'No rows yet.' : 'Access Denied.'}"
    selectionState="#{bindings.FAListView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.FAListView1.collectionModel.makeCurrent}"
    binding="#{backing_staff_FAList.faListTable}"
    id="faListTable">
    <f:facet name="selection">
    <af:tableSelectMany binding="#{backing_staff_FAList.tableSelectMany1}"
    id="tableSelectMany1"
    disabled="#{row.DocStts != 'Pending Assignment'}">
    <af:commandButton text="#{res['dmsfa.faPacketList.assignButton']}"
    binding="#{backing_staff_FAList.assignButton}"
    id="assignButton"
    action="#{backing_staff_FAList.assignButton_action}"/>
    </af:tableSelectMany>
    </f:facet>
    </af:table>

    Thanks Frank for reply. this.getTable1().getSelectionState().clear(); clear out selected row but if you go next and previous again if you have navigation, First row always get selected as by default. Also as I mentioned I can not able to disable Select all and select none programmatically.
    I will appreciate your help.
    Regards,
    Jigar

Maybe you are looking for