Doubt on Table Filter

Hi,
I am using JDeveloper 11.1.1.4 and ADF-BC in my project.
In one of my pages,I display a table with 3 columns with one of the columns displaying a dropdown[selectOneChoice] and other 2 columns with input texts[Ex:EmpName,Salary,Sex[Male/Female] ].
I have filter enabled in my table. For the dropdowns I display Male/Female in U.I and store M/F in DB.
But the problem is for the filter, it works only if I give M/F..but it should work for Male/Female as this is data user sees.
Please advice on how to achieve this.
Regards,
Praveen

its better if you do it programatically like
http://fusionstack.blogspot.com/2009/08/adf-table-and-qbe.html

Similar Messages

  • Table filter combo

    Hello I have another question.
    I often use the filter on the table data screen. I have some table with column ID and I want to filter it according to this column. So I write ID = 123 in the Filter field and press enter. Now I want to enter another filter. Delete the current one and start typing ID = 12 now from the filter drop down list jumps a "hint" with previously entered ID = 123 and focus is set to it. If I now press enter I will get this ID = ID = 123 into the filter field. Do you think somebody can use this feature??? You not only force users to select some of the drop down list options, you even don't replace the text already typed in the field but add it to it...

    Hi,
    The table filter's auto-suggest feature does indeed behave as you say. It seems as soon as one goes past the first word of an expression, the hint is appended to the existing filter text rather than replacing it. I guess such functionality is necessary to support hints in expressions using AND/OR conditions.
    Anyway, a brief example:
    "ID" + hint("ID = 123") ==> "ID = 123"
    whereas
    "ID " + hint("ID = 123") ==> "ID ID = 123"In your specific test case, the problem can be solved by typing slower and/or less or using the backspace key. You might also consider using filters on individual columns for such a simple case.
    Perhaps someone will log a bug. The logic which triggers an append action versus a replace action could be more sophisticated.
    Regards,
    Gary
    SQL Developer Team

  • Issues with table filter during navigation between task-flows

    Hello everyone,
    I'm looking for a workaround to resolve two issues about the table filter. They are:
    1) If I type something in a filter and I change tha page (in a different task flow) when I return on the first page there is the previous search plus the string "%*". Here the video example: http://screencast.com/t/FbVenZGm
    2) In the same scenario, if I click enter on this filter the system returns this message error: "Attempt to set a parameter name that does not occur in the SQL: vc_temp_1 ". Here the video example: http://screencast.com/t/yMs6rNDF
    I have found something interesting in this thread: task-flow table filtering behaviour related to bug 8602867
    Anyway, I have implemented the solution reported in this document: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/april2012-otn-harvest-1609383.pdf (pp. 8-11). This solution works fine with my master table, but it doesn't with the detail table.
    Have you any idea for this kind of behavior?
    Thanks in advance,
    Baduel

    Sudipto,
    each table has a binding on a page fragment in this way:
    <af:table [...] binding="#{backingBeanScope.MyBackingBean.masterTable}">
    <af:table [...] binding="#{backingBeanScope.MyBackingBean.detailTable}">
    In the pageDef I have two methods, each one of the VOImpl class related to the table:
    <methodAction IterBinding="MasterTableVO1Iterator"
    id="clearOutstandingImplicitViewCriteriaMaster"
    RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="clearOutstandingImplicitViewCriteria"
    IsViewObjectMethod="true" DataControl="MyDataControl"
    InstanceName="MyDataControl.MasterTableVO1"/>
    <methodAction IterBinding="DetailTableVO2Iterator"
    id="clearOutstandingImplicitViewCriteriaDetail"
    RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="clearOutstandingImplicitViewCriteria"
    IsViewObjectMethod="true" DataControl="MyDataControl"
    InstanceName="MyDataControl.DetailTableVO1"/>
    MyBackingBean class:
    public class MyBackingBean {
    private RichTable masterTable;
    private RichTable detailTable;
    /*getter methods here*/
    public void setMasterTable(RichTable masterTable) {
    this.masterTable = masterTable;
    resetTableFilter(1);
    public void setDetailTable(RichTable detailTable) {
    this.detailTable = detailTable;
    resetTableFilter(2);
    /*This method returns the phase id */
    private String printCurrenPhaseID() { 
    FacesContext fctx = FacesContext.getCurrentInstance();
    Map requestMap = fctx.getExternalContext().getRequestMap();
    PhaseId currentPhase=(PhaseId)requestMap.get("oracle.adfinternal.view.faces.lifecycle.CURRENT_PHASE_ID");
    // System.out.println("currentPhase = "+currentPhase);
    return currentPhase.toString();
    public void resetTableFilter(int tab) {
    String phase = printCurrenPhaseID();
    FilterableQueryDescriptor queryDescriptor;
    if(phase.startsWith("RENDER_RESPONSE")) { // Only in this phase the binding is ready
    switch(tab) {
    case 1:
    queryDescriptor = (FilterableQueryDescriptor) getMasterTable().getFilterModel();
    if (queryDescriptor != null && queryDescriptor.getFilterCriteria() != null) {
    queryDescriptor.getFilterCriteria().clear();
    // PPR refresh a jsf component
    AdfFacesContext.getCurrentInstance().addPartialTarget(getMasterTable());
    break;
    case 2:
    queryDescriptor = (FilterableQueryDescriptor) getDetailTable().getFilterModel();
    if (queryDescriptor != null && queryDescriptor.getFilterCriteria() != null) {
    queryDescriptor.getFilterCriteria().clear();
    // PPR refresh a jsf component
    AdfFacesContext.getCurrentInstance().addPartialTarget(getDetailTable());
    break;
    default: return;
    invokeClearViewCriteria(tab);
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    /* This method invokes the exposed method in my fragment */
    public void invokeClearViewCriteria(int tab) {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding;
    if(tab == 1)
    operationBinding = bindings.getOperationBinding("clearOutstandingImplicitViewCriteriaMaster");
    else if(tab == 2)
    operationBinding = bindings.getOperationBinding("clearOutstandingImplicitViewCriteriaDetail");
    else
    return;
    if(operationBinding != null) {
    operationBinding.execute();
    Finally I have two identical exposed methods in the VOImpl classes of the tables:
    public void clearOutstandingImplicitViewCriteria() {
    // we only want to remove the stuff that was added though the table
    //filter (or a default search form)
    // "__ImplicitViewCriteria__" is the magic name for this VC
    ViewCriteria vcDefault = this.getViewCriteria(ViewCriteriaManager.IMPLICIT_VIEW_CRITERIA_NAME);
    if (vcDefault != null) {
    //Clear the stored values
    vcDefault.clear();
    //And refresh the collection
    this.executeQuery();
    Please note that this workaround works fine with my master table, but i does not with the detail table.
    Thanks again.
    Baduel

  • Another bug introduced in production release - table filter

    Hello guys,
    check this scenario:
    1) Open some table
    2) Use the column filter to filter the table
    3) Try to use the column filter on same column again without clearing all filters.
    The table filter will display only "Remove ('xyz')" message, where xyz is current value used to filter the column. It is not possible to delete the value and enter new value. You have to clear the filter first and then enter new value...
    Sadly, I have to say, with every new release you are making SQL Developer more and more unusable :(

    My bad.
    Logged Bug 13788551 - regression: have to remove quickfilter before entering new one.
    -Raghu

  • Af:table filter date format : task-flow navigation issue

    hi
    When trying to use the date format configured on the Entity Object, with Format Type as Simple Date and Format as "dd-MM-yyyy", there seems to be a problem when using task-flows.
    The approach involves an explicitly configured attributeValues binding to use in f:validator and af:convertDateTime components in the af:inputDate in the filter facet, as discussed in the forum thread "af:table filter date format"
    at af:table filter date format
    I used JDeveloper 11.1.1.3.0 to create the example application
    in http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.03.zip
    - The page filterEmp.jspx shows expected behaviour, the filter uses the configured date format and there is no problem when navigating to another page and back.
    see the screencast at http://screencast.com/t/CtQ9rsVFH3k
    - The page menuBTFPage.jspx allows for some navigation after using the filter resulting in the filter showing a date in the wrong format, using scenario (sc1)
    -- (sc1-a) : run menuBTFPage.jspx
    -- (sc1-b) : on "menu-btf : menu", click the "do go-filter-emp-btf" link
    -- (sc1-c) : on "filter-emp-btf : filterEmpFragment", filter on HireDate using "10-03-2005"
    -- (sc1-d) : click the "do goReturnSuccess" button
    -- (sc1-e) : back on "menu-btf : menu", click the "do go-filter-emp-btf" link again
    -- (sc1-f) : back on "filter-emp-btf : filterEmpFragment", see the HireDate filter value in the wrong format as "2005-03-10"
    -- (sc1-g) : click the "do goReturnSuccess" button again, which results in an error "The date is not in the correct format."
    see the screencast at http://www.screencast.com/t/ORHauBd3oQ
    questions:
    - (q1) Can the behaviour in scenario (sc1) be reproduced?
    - (q2) Why is the filter value in the wrong date format in step (sc1-f)?
    - (q3) What can be done to have the filter value consistently in the configured date format, so that errors as in step (sc1-g) can be avoided?
    many thanks
    Jan Vervecken

    hi
    First a short summary of relevant aspects of service request 3-2190488381:
    - development has reviewed bug 10193260
    - development identified some code where a pattern was not applied and started fixing the problem
    - out of the blue, development asked "Will clearing out the filter field completely when moving out of ataskflow be an acceptable behavior ?"
    - I pointed out some concerns (even in a phone call with development), but development did not see any alternative not "perceived to be very risky because of the current design", so the question whether the clearing-all-filter-fields approach would be acceptable became superfluous.
    - following this, bug 10193260 suddenly became an enhancement request (for reasons I still don't understand)
    - a workaround was suggested (for behaviour not perceived as a bug), "Clearing the search fields during taskflow exit in the backing bean (in the app)." for which I also received a modified version of my example application TableFilterDateFormatIssueApp-v0.04.zip with an implementation of the suggested workaround
    As an exercise to try an understand the suggested workaround (an because my example application seemed to have been modified using the currently yet-to-be-released JDeveloper 11.1.1.4.0) I re-implemented it in the example application
    at http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.05.zip
    It has a filter-emp-workaround-btf task-flow with a method-call activity on a managed-bean method, responsible for clearing the search fields, resulting in behaviour where the error "The date is not in the correct format." does not occur,
    as can be seen in the screencast at http://screencast.com/t/Nq7TkkRQ
      public void clearFilterFields()
        BindingContainer vBindingContainer =
          BindingContext.getCurrent().getCurrentBindingsEntry();
        DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
        DCDataControl vDCDataControl = vDCBindingContainer.getDataControl();
        ApplicationModule vApplicationModule = vDCDataControl.getApplicationModule();
        ViewObject vViewObject = vApplicationModule.findViewObject("EmployeesVOVI");
        ViewCriteriaManager vViewCriteriaManager = vViewObject.getViewCriteriaManager();
        vViewCriteriaManager.clearViewCriterias();
        vViewObject.clearCache();
      }Because the managed-bean method requires access to the ADF Model binding layer to get to the View Object instance used for the filtered table, the method-call activity has a page element configured in DataBindings.cpx referring to the same usageId as the page element for the page fragment showing the filtered table. So that both the method-call and view activity depend on one and the same Binding Container (e.i. PageDef file).
    The method-call activity, responsible for clearing the search fields, would need to be called before each task-flow-return activity.
    As there can be multiple view activities with multiple filtered tables in a bounded task-flow, would that result in multiple method-call activities responsible for clearing search fields (all to be called before each task-flow-return activity)?
    It looks like a more general/generic approach is desirable for the suggested workaround to be feasible.
    - (q5) Does the suggested workaround imply (as bug 10193260 is not a bug) that all bounded task-flows with filtered tables should implement it to avoid errors about formatting?
    thanks
    Jan

  • Table Filter with static LOV column

    Hi,
    I am using JDeveloper 11.1.14 and ADF-BC in my project.
    For one of the tables,I have the following scenario.
    1. I have a viewobject [Ex: EmpVo] in which one of the attributes has a static LOV[:Ex: 'Status' attribute in EmpVo has static LOV - StatusLOV with values A - Active I - Inactive].
    2. EmpVo -- > Employee table which stores A and I as status values in database
    3. Display this view object as table in jsff page.
    In the jsff page, when filter is enabled, for the status column I am able to filter only using 'A' and 'I'.
    But actually filter has to work with 'Active' and 'Inactive' as filter values.
    Please suggest the best way to implement filter in this scenario
    Thanks,
    Praveen

    Take a look at the following article:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/16-custom-table-filter-169145.pdf
    Here, for LOV's you could have an LOV as a filter component instead of the default inputText component.
    Thanks,
    Navaneeth

  • One more Standard table filter weird work

    In the same VO described in previous thread: Standard table filter weird work
    I have another filter trouble.
    The attribute is calculated, not bound to entity.
    SQL:to_char(case when ID_BASE_TYPES_MIME is null then substr(THE_VALUE, 0, 100)
                when ID_BASE_TYPES_MIME = 7 then
           dbms_lob.substr(
              regexp_replace(LargeTextData.DATA_TEXT, '<.*?>|&.*;')
              , 100)
                else LargeBinaryData.Filename
           end) as CONTENT_PREVIEW,VO attribute:<ViewAttribute
        Name="ContentPreview"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="255"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="CONTENT_PREVIEW"
        Expression="CONTENT_PREVIEW"
        SQLType="VARCHAR">
        <Properties>
          <SchemaBasedProperties>
            <LABEL
              ResId="ru.miit.cms.model.view.ContentComplexView.ContentPreview_LABEL"/>
            <DISPLAYWIDTH
              Value="90"/>
          </SchemaBasedProperties>
        </Properties>
      </ViewAttribute>With logging turned on I apply filter like P or \P\* - anything that contains letter P. ADF table with standard filter shows me no rows.
    I take the executed SQL and parameter value from AdminServer-diagnostic-1.log. It is like:SELECT * FROM ( main query ) QRSLT  WHERE ( ( (CONTENT_PREVIEW LIKE ( :vc_temp_1 || '%') ) ) )
    [SRC_CLASS: oracle.jbo.server.OracleSQLBuilderImpl] [APP: CMS] [SRC_METHOD: bindParamValue]  [850] Binding param "vc_temp_1": %РI execute this query in PL SQL Developer and it shows me 2 records - that is correct.
    While ADF shows me no records, executing the same VO with the same parameters - that is wrong.
    From this SQL query I also created a test VO with vc_temp_1 bind variable = %Р and run it in AppModule Tester. It shows me 2 rows.
    Any ideas?
    JDev 11.1.2.2

    Hello Derio,
    Thanks for your attention. This view object is a part of a composite application with lots of business components, running ~stable on 11.1.2.2. Sherman installed, of cause.
    There are several tables with filters and all of them work fine except this attribute in this VO.
    I believe the filter would work with no problems with such attribute if I create a clean new application, but in my specific case it doesn't.
    The trouble is I don't know where to look for the error source because generated SQL and app module tester seem fine.

  • Is it possible to center a checkbox in a table filter?

    Hi I am using Studio Edition Version 11.1.1.2.0.
    Is it possible to center a checkbox in a table filter without getting a bug? I have tried using a panelgroup with horizontal layout and Halign center. It looks good at first but when I use the filter the checkbox gets a dublicate which is left aligned above the original checkbox. Is there any way to center a checkbox inside a filter?

    Ok I will explain it as well as I can. I have a table with some columns that have an af:selectBooleanCheckBox in their body. These columns I have set the Align property to center because I think the layout looks better that way. This works fine.
    Now I also want to be able to filter these columns. Then I put an af:selectBooleanCheckBox in the filter facet and set the value of that checkbox to #{vs.filterCriteria.attributeName} which also seems to work but the checkbox in the filter facet is left aligned.
    So while I set the Align of the column to center the filter is not center aligned.
    I tried to get the checkbox in the filter center aligned by putting an af:panelGroupLayout where I set Layout: horizontal and Halign: center into the filter facet of the column and then put the checkbox into that af:panelGroupLayout.
    At first when the page is run the checkbox in the filter is in the center and everything seems fine but when you use the filter another checkbox that is left aligned and above the original one appears in the filter so that now I suddenly have 2 checkboxes in the filter.
    Below I have pasted the code of the table and one of these columns so you can see what I mean in case you still don´t understand me. I thought it would be enough to only paste the code of the table and one column but if the rest of the code is neccasary let me know and I will paste that here too.
    <af:table value="#{bindings.FvgQsPeriodTypeQuestionTyVO1.collectionModel}"
    var="row"
    rows="#{bindings.FvgQsPeriodTypeQuestionTyVO1.rangeSize}"
    emptyText="#{bindings.FvgQsPeriodTypeQuestionTyVO1.viewable ? 'No rows yet.' : 'Access Denied.'}"
    fetchSize="#{bindings.FvgQsPeriodTypeQuestionTyVO1.rangeSize}"
    filterModel="#{bindings.FvgQsPeriodTypeQuestionTyVO1Query.queryDescriptor}"
    queryListener="#{bindings.FvgQsPeriodTypeQuestionTyVO1Query.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.FvgQsPeriodTypeQuestionTyVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.FvgQsPeriodTypeQuestionTyVO1.collectionModel.makeCurrent}"
    rowSelection="single" id="table2"
    partialTriggers=":::pc1:table1"
    columnStretching="column:QTCol">
    <af:column sortProperty="P01AsBoolean" filterable="true" sortable="true"
    headerText="#{bindings.FvgQsPeriodTypeQuestionTyVO1.hints.P01AsBoolean.label}"
    width="50" align="center" id="c6">
    <af:selectBooleanCheckbox
    label="#{bindings.FvgQsPeriodTypeQuestionTyVO1.hints.P01AsBoolean.label}"
    value="#{row.bindings.P01AsBoolean.inputValue}"
    id="sbc1"/>
    <f:facet name="filter">
    <af:panelGroupLayout id="pgl1" halign="center"
    layout="horizontal">
    <af:selectBooleanCheckbox value="#{vs.filterCriteria.P01AsBoolean}"
    id="sbc2"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="footer"/>
    </af:column>
    </af:table>

  • Hi Developers help me on table filter

    Hi Developers,
    I want to develop filter concept in nwds7.0.Is there any document on this(or) provide me any link for this article
    Thanks
    Kishore

    Try checking the below,if you haven't already checked
    /people/peter.vignet/blog/2007/01/03/generic-web-dynpro-java-table-filter
    /people/kapil.kamble/blog/2006/12/21/how-to-get-ready-made-filter-for-your-web-dynpro-table-with-minimal-coding
    /people/subramanian.venkateswaran2/blog/2005/05/10/filtering-table-values-using-webdynpro

  • DropDown in table filter

    Hi,
    is it possible to use a dropdown menu in a table filter?
    Regards

    Hi,
    You can get a drop down for table filter
    IProposalList proposalsCity = wdContext.nodeFilter().getNodeInfo()
                             .getAttribute("lob").getModifiableSimpleType()
                             .getSVServices().getProposals();
                   proposalsCity.add("Corportate");
                   proposalsCity.add("ERS");
                   proposalsCity.add("FS");
                   proposalsCity.add("IMS");
                   proposalsCity.add("Cisco");
                   proposalsCity.add("LOB5");
    where "lob" is the column for which you wanted the drop down.Filter-is the name of the filter node
    Regards,
    Sudhir
    Edited by: Sudhir Gorantla on Apr 15, 2008 2:25 PM

  • Custom Table Filter

    I am using Jdeveloper 11.1.1.6
    I have been trying to follow the following documentation: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/16-custom-table-filter-169145.pdf
    The following XML was added to my page def when creating the tree iterator:
    <tree IterBinding="MyColumnLOV1Iterator" id="MyColumnLOV1">
    <nodeDefinition DefName="com.jcc.csg.model.staticview.MyColumnLOV"
    Name="MyColumnLOV10">
    <AttrNames>
    <Item Value="MyColumnCd"/>
    <Item Value="MyColumnDesc"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Here is what my the XML for my column looks like:
    <af:column headerText="#{customstoregroupviewcontrollerBundle.DESCRIPTION_LABEL}"
    id="Description" width="300" sortable="true"
    filterable="true" sortProperty="MyColumnCd"
    align="center">
    <af:selectOneChoice value="#{row.bindings.MyColumnCd.inputValue}"
    label="#{row.bindings.MyColumnCd.label}"
    required="#{bindings.MyVO2.hints.MyColumnCd.mandatory}"
    shortDesc="#{bindings.MyVO2.hints.MyColumnCd.tooltip}"
    id="soc2" readOnly="true">
    <f:selectItems value="#{row.bindings.MyColumnCd.items}"
    id="si2"/>
    </af:selectOneChoice>
    <af:selectOneChoice id="soc1"
    value="#{vs.filterCriteria.MyColumnCd}">
    <af:forEach var="listrow"
    items="#{bindings.MyColumnLOV1.rangeSet}">
    <f:selectItem id="si1" itemValue="#{listrow.MyColumnCd}"
    itemLabel="#{listrow.DepartmentName}"/>
    </af:forEach>
    </af:selectOneChoice>
    </af:column>
    For some reason, my itemValue and itemLabel aren't working. If I go to expression builder, I have nothing underneath the "listrow" variable. Do you have some guidance as to why I can't set my itemValue and itemLabel correctly?

    So here is what I have now. I am still unable to get any of the listrow attributes. Do you have any other thoughts
    <af:column headerText="#{customstoregroupviewcontrollerBundle.DESCRIPTION_LABEL}"
    id="Description" width="300" sortable="true"
    filterable="true" sortProperty="MyColumnCd"
    align="center">
    <af:selectOneChoice value="#{row.bindings.MyColumnCd.inputValue}"
    label="#{row.bindings.MyColumnCd.label}"
    required="#{bindings.MyVO2.hints.MyColumnCd.mandatory}"
    shortDesc="#{bindings.MyVO2.hints.MyColumnCd.tooltip}"
    id="soc2" readOnly="true">
    <f:selectItems value="#{row.bindings.MyColumnCd.items}"
    id="si2"/>
    </af:selectOneChoice>
    <f:facet name="filter">
    <af:selectOneChoice id="soc1"
    value="#{vs.filterCriteria.MyColumnCd}">
    <af:forEach var="listrow"
    items="#{bindings.MyColumnLOV1.rangeSet}">
    <f:selectItem id="si1" itemValue="#{listrow.MyColumnCd}"
    itemLabel="#{listrow.DepartmentName}"/>
    </af:forEach>
    </af:selectOneChoice>
    </f:facet>
    </af:column>

  • Adf table filter

    adf filterable table
    filter works only on numeric columns ,on text columns "No data...."

    I created a simple test application in JDev/ADF 11.1.1.6 and I can confirm the problem you encountered. My test application is very simple. It consists of a single ADF Faces page containing a read-only <af:table> with a filter. The <af:table> is based on an ADF ViewObject on a MySQL 5.5 DB table containing two varchar columns.
    The problem happens when a MySQL DB is used and it is related to the MySQL's SQL syntax. The problem is caused by a wrong WHERE-clause criterion generated by ADF when the user enters some condition in a filter field backed by a DB column of character datatype. ADF generates a WHERE-clause similar to this one:
    WHERE MyTable.col1 LIKE ( ? || '%' )This would be a correct WHERE-clause for many SQL-databases, but it is not correct for MySQL, because in MySQL the operator || does not perform a string concatenation but it acts as a logical OR. In this way the expression <tt>( ? || '%' )</tt> is not evaluated to a string but to a boolean value (e.g. 0 or 1), so the operator LIKE fails to filter the rows correctly.
    You can inspect the generated SQL-query and the values of the bind variables yourself by switching ADF diagnostics on (e.g. set -Djbo.debugoutput=console to the runtime configuration of your ViewController project).
    JDeveloper/ADF 11.1.1.6 certification matrix says that MySQL 5.5 is certified for both JDeveloper IDE and ADF, so in my opinion you can submit an official SR if you have a valid support contract which covers Oracle ADF.
    A good workaround would be to implement a custom SQLBuilder or a custom ViewCriteria adapter that patches the problem, but it would require a lot of efforts. Alternatively, you can try to implement a tricky workaround by subclassing the ViewObjectImpl class and overriding some of its query-related methods in order to replace the substring <tt>LIKE ( ? || '%')</tt> with <tt>LIKE CONCAT( ?, '%' )</tt> in the generated SQL query. This is tricky, so I do not recommend you this way either.
    However, if you decide to follow the later alternative, you can override both methods <tt>ViewObjectImpl.buildQuery(...)</tt> in a custom base ViewObjectImpl class (or in a custom ViewObjectImpl class of particular VOs only) as follows:
      @Override
      protected String buildQuery(int noUserParams, boolean forRowCount)
        String query = super.buildQuery(noUserParams, forRowCount);
        if (query!=null) {
          query = query.replace( "LIKE ( ? || '%')", "LIKE CONCAT( ?, '%' )");
        return query;
      @Override
      protected String buildQuery(int noUserParams, boolean forRowCount, String selClause, String fromClause, String whereClause, int subQueryLevel)
        String query = super.buildQuery(noUserParams, forRowCount, selClause, fromClause, whereClause, subQueryLevel);
        if (query!=null) {
          query = query.replace( "LIKE ( ? || '%')", "LIKE CONCAT( ?, '%' )");
        return query;
      }Dimitar
    Edited by: Dimitar Dimitrov on Feb 2, 2013 12:07 PM

  • Request for ready to deploy sample code for Table Filter/ Table Utilities

    i have gone thru some article about table filter
    /people/subramanian.venkateswaran2/blog/2005/05/10/filtering-table-values-using-webdynpro
    /people/peter.vignet/blog/2007/01/03/generic-web-dynpro-java-table-filter
    as well as the implemented the tableUtilities class
    /people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities
    does anyone successfully done this....
    can anyone send the ready-to deploy application for reference...
    pls send to
    [email protected]
    Message was edited by:
            yzme yzme
    Message was edited by:
            yzme yzme

    Hi:
    try:
    <https://www.sdn.sap.com/irj/sdn/softwaredownload?download=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/webdynpro_sampleapps/web_dynpro_java_table_filter.zip>

  • Iptables can't find table 'filter'

    I'm trying to use a pogoplug pro running archlinux as a ppptp server.  I was following this tutorial
    https://wiki.archlinux.org/index.php/PPTP_Server
    and everything worked fine until i got to the part about configuring iptables.
    Whenever I try any command against iptables i get the following error:
    FATAL: Module ip_tables not found.
    iptables v1.4.12.1: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.
    I did some reading and it appears that the kernel I am using does not have the module iptables needs to operate.
    Can anyone please help?

    So i decided to start from scratch and I got the latest tar ball of linux for the pogo plug pro from here:
    http://archlinuxarm.org/os/ArchLinuxARM … est.tar.gz
    and noticed that some things are different than when i used the script to install it. It appears there are modules for two kernels; is there a way I can switch to the 2.6.38 kernel so i can use all its modules?
    uname -r:
    2.6.31.6_SMP_820
    /lib/modules/*/kernel/net/*/netfilter/:
    /lib/modules/2.6.38/kernel/net/bridge/netfilter/:
    ebt_802_3.ko.gz       ebt_arp.ko.gz      ebt_log.ko.gz       ebt_snat.ko.gz
    ebtable_broute.ko.gz  ebt_arpreply.ko.gz  ebt_mark.ko.gz      ebt_stp.ko.gz
    ebtable_filter.ko.gz  ebt_dnat.ko.gz      ebt_mark_m.ko.gz    ebt_ulog.ko.gz
    ebtable_nat.ko.gz     ebt_ip6.ko.gz      ebt_nflog.ko.gz     ebt_vlan.ko.gz
    ebtables.ko.gz          ebt_ip.ko.gz      ebt_pkttype.ko.gz
    ebt_among.ko.gz       ebt_limit.ko.gz      ebt_redirect.ko.gz
    /lib/modules/2.6.38/kernel/net/ipv4/netfilter/:
    arptable_filter.ko.gz  ipt_ECN.ko.gz        nf_nat_h323.ko.gz
    arp_tables.ko.gz       ipt_LOG.ko.gz        nf_nat_irc.ko.gz
    arpt_mangle.ko.gz      ipt_MASQUERADE.ko.gz    nf_nat.ko.gz
    iptable_filter.ko.gz   ipt_NETMAP.ko.gz        nf_nat_pptp.ko.gz
    iptable_mangle.ko.gz   ipt_REDIRECT.ko.gz    nf_nat_proto_dccp.ko.gz
    iptable_nat.ko.gz      ipt_REJECT.ko.gz        nf_nat_proto_gre.ko.gz
    iptable_raw.ko.gz      ipt_ULOG.ko.gz        nf_nat_proto_sctp.ko.gz
    ip_tables.ko.gz        nf_conntrack_ipv4.ko.gz    nf_nat_proto_udplite.ko.gz
    ipt_addrtype.ko.gz     nf_defrag_ipv4.ko.gz    nf_nat_sip.ko.gz
    ipt_ah.ko.gz           nf_nat_amanda.ko.gz    nf_nat_snmp_basic.ko.gz
    ipt_ecn.ko.gz           nf_nat_ftp.ko.gz        nf_nat_tftp.ko.gz
    /lib/modules/2.6.38/kernel/net/ipv6/netfilter/:
    ip6table_filter.ko.gz  ip6t_eui64.ko.gz       ip6t_mh.ko.gz
    ip6table_mangle.ko.gz  ip6t_frag.ko.gz          ip6t_REJECT.ko.gz
    ip6table_raw.ko.gz     ip6t_hbh.ko.gz          ip6t_rt.ko.gz
    ip6_tables.ko.gz       ip6t_ipv6header.ko.gz  nf_conntrack_ipv6.ko.gz
    ip6t_ah.ko.gz           ip6t_LOG.ko.gz          nf_defrag_ipv6.ko.gz

  • Problems with SelectOneChoise component in table filter

    I have tried to make a SelectOneChoise filter in a table and I have two problems which are:
    1) If I use the filtering in the coloum with the SelectOneChoise and then navigate to another page and then back to the page with the table then the filtering in the table doesnt work anymore. Why the filtering in the table doesn´t work when I navigate back to that page?
    2) My second problem is that I can´t control the width of the SelectOneChoise. I want the width to be 100% and have tried to set that with the inlineStyle but it has no effect. How can I effect the width of the SelectOneChoise component?
    Below is the code for the coloum and filter:
    <af:column sortProperty="Status" filterable="true"
    sortable="true"
    headerText="#{bindings.Department11.hints.Status.label}">
    <af:selectOneChoice value="#{row.bindings.Status.inputValue}"
    label="#{row.bindings.Status.label}"
    shortDesc="#{bindings.Department11.hints.Status.tooltip}">
    <f:selectItems value="#{row.bindings.Status.items}"/>
    </af:selectOneChoice>
    <f:facet name="filter">
    <af:selectOneChoice inlineStyle="width:100%;"
    value="#{vs.filterCriteria.Status}"
    rendered="true">
    <af:selectItem/>
    <af:selectItem label="Virkin" value="Act"/>
    <af:selectItem label="ÓVirkin" value="NotAct"/>
    </af:selectOneChoice>
    </f:facet>
    </af:column>
    Thanks in advance
    Atlantic Viking

    Hi,
    for the sizing issue, try the "contentStyle" attribute.
    Regarding the filter issue, I have my doubts it works at all. The selectoneChoce value needs to be set to teh varStatus, which by default is "vs", not row
    Example:
    <af:selectOneChoice value="#{vs.filterCriteria.EmployeeId}" label="Label1">
    </af:selectOneChoice>
    Frank

Maybe you are looking for