How can I creat a filter in ADF

I am beginner in using ADF,so I need help PLZ
I want to know how to use filter in ADF 10g I want to make filter for the month and year, I have this format(Mon,dd,yyyy)
and how to do the look and feel?
Regards
Edited by: user807547 on Aug 5, 2009 12:26 AM

Can you explain what do you mean when you say filter? which technologies do you use? ADF BC?

Similar Messages

  • How can I create a filter for an exact set of characters?

    Hello! I am setting up a filter to catch messages with GG in the subject. Sometimes this will be at the beginning of the subject (no space at the front) and other times it will be somewhere in the middle. The problem I'm having is that this filter catches any word with "gg" in it, like "logged" or "baggage" (one of my customers has baggage in their name, but their messages should not be caught by this filter). How can I make this work? Thank you for your time!

    I think FiltaQuilla might be useful. It adds so-called Regular Expressions to the filter system, where you could use a construction like:
    "subject regex" "matches" "/\bgg\b/i"
    \b means a word boundary
    gg is your two letters
    \b is the trailing word boundary
    / and /i mean ignore the case, so it'll find gg, GG, Gg and gG.
    There lots of ways of doing this. You could have
    [ ]GG[ ]
    where it would require a space (explicitly; nothing else!) before and after, and capital letters. \b is usually superior as it matches at the beginning and end of the line, and recognizes regular punctuation in addition to spaces.

  • How can I create a fIlter to delete only "junk" from the server?

    One of my E-mail accounts is that of a major client. I handle their customer service online. Normally our protocol is to always leave all messages on the server, so for that one Thunderbird account, I have it set to never delete messages on the server.
    But the account recently started getting a lot of junk messages. Thunderbird is doing a remarkable job at marking those and placing them in the junk folder for that account. I would like to create a filter that could remove them from the server, preferably those more than "x" days old so I could monitor the activity to be sure that no important message are removed.
    I did notice that in "Filters" I can create a custom filter from a header of my choice, but can't seem to create what I want which is:
    - after mail is marked as Junk by Thunderbird to delete those messages from the server if they are older than "X" days (my choice of "X").
    - not delete any other messages from the server for that account

    I believe that did it! Thank you. I am running those changes on a secondary E-Mail address for the same job and server and it appears to be working properly.

  • How can I create a Filter for a four week period?

    Post Author: Sarahg
    CA Forum: Formula
    I am trying to create a filter so that on a sales report I can have a Year to Date figure and then the last 4 weeks shown. So far I have tried to creat a filter that shows current week number - 4 but this does not show the correct weeks.
    Any Ideas?

    Post Author: jsanzone
    CA Forum: Formula
    sarahg,
    You don't mention if there is a Universe involved or not, but if there were then you could create some objects that calculate measures based on a timeframe.  For instance, if you have a date field (date_fld) and a measure (x) in your database then you could create a measure such as:
    case when <date_fld> between getdate()-28 and getdate() then sum(x) else 0 end
    (the SQL code I'm using is in MS SQL server, so you may need to adapt if you're using a different DBMS).
    The key to dealing with the date field is in substracing 28 (i.e. 28 days), so any time that this report would run and include the above coding it would be a 28-day lookback.

  • How can I create a filter that automatically copies sent items to other folder than "sent" folder?

    I tried to create filter which automatically copies sent to different recipients messages to other folder than "sent". I tried many times with different setting but it doesn't work. With inbox messages it works fine.
    Thank you

    If you want to 'reply' to an email, but you want the sent reply to auto appear in the same folder of the message you are replying to.
    Tools > Account Settings > Copies & folders for the mail account
    There is a checkbox to select: 'Place replies on the folder of the message being replied to'
    then click on OK to save changes.
    If you want all sent emails not just replies to got to different fodlers based on who you sent the email to, then you would need to create a filter which when manually run moves selected emails to specific folders.
    So let the sent emails get auto stored in Sent folder.
    Tools > Message Filter
    click on New
    give filter suitable name
    Apply filter when: manually run
    select 'match all of the following'
    To is email address
    Perform these actions
    Move message to and select the folder.
    Do not enable.
    When you need to run this filter,
    open Message filter.
    enable only the filters you require
    Run selected filters on: Sent folder on the mail account
    click on 'run now'
    Best used when you have several sent emails which you need moving.
    Not exactly what you are looking for, but works if organising loads of sent emails.

  • How can I create a filter from a contact list?

    I have a lot of classes that I teach. I have created an email contact list for all of my individual classes, which I would like to create a single fitler for each of these list, in order to put them into a corresponding folder. It would save me a lot of drag and drop and checking, in which class my student is to create a filter for that student. I have ten classes with about 25 students each... So that would save me a huge amount of time!
    cheers and regards
    pmjj

    Perhaps a filter that looks like the one in this picture would work.
    http://kb.mozillazine.org/Filters_(Thunderbird)

  • How can I create my own TopLink ADF datacontrol in JDeveloper?

    To create your own TopLink ADF datacontrol in JDeveloper follow these steps:
    Step 1. Add “ADF TopLink Runtime” library to your project
    Step 2. Extend oracle.adf.model.generic.toplink.ToplinkDataControl with new class (e.g. MyToplinkDataControl)
    import java.util.Map;
    import oracle.adf.model.generic.toplink.ToplinkDataControl;
    public class MyToplinkDataControl extends ToplinkDataControl {
         public MyToplinkDataControl(String name, Map params, String beanClassName, boolean root)
         super(name, params, beanClassName, root);
         initialize(params, beanClassName);
         protected void initialize(Map params, String beanClassName){
              super.initialize(params, beanClassName);
              getServerSession().logMessages();
    Step 3. Extend oracle.adf.model.generic.toplink.DataControlFactoryImpl with new class (e.g. MyToplinkDataControlFactory) and override DataControlFactoryImpl.createSession as follows to return an instance of MyToplinkDataControl:
    import oracle.adf.model.generic.toplink.*;
    public class MyToplinkDataControlFactory extends DataControlFactoryImpl {
    public String getDataControlClassName() {
    return "MyToplinkDataControl";
    Step 4. Edit DataBindings.cpx (you may have to go to the disk directly). Set the FactoryClass attribute of the DataControl to equal the custom factory class name.
    FactoryClass="MyToplinkDataControlFactory"

    iOS Dev Center - Apple Developer
    iOS Developer Program - Apple Developer

  • How can i create datasource on apache server for ADF application?

    Hi All,
    i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
    So my question is that  how can i create Data Source i have goggling and find  two different way to do this.
    1. write following line of code on apache server conf/Context.xml file.
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource"
                   driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"/>
    but when i have used this way i got following exception.
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    check link-
    https://forums.oracle.com/thread/2564233
    2. write following line of code apache conf/Server.xml file
    <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/TestDB" auth="Container"
                  type="oracle.jdbc.pool.OracleDataSource"
                  description="User database that can be updated and saved"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"   />
      </GlobalNamingResources>
    and add this line in context.xml file inside <context> tag
    <ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
    but when i have run application i have got following error
    log-
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    so what is the solution how to create datasource on apche server which suitable for adf application?
    when i test data source using  following code used 1. way as i mentioned above  its running fine bt not for second.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select empname from pay_emphdr where empcd='JK1306'
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.empname}<br/>
    </c:forEach>
      </body>
    </html>
    please help me. it is very urgent.
    thanks in Advance
    Manish

    Hi Lindalnci
    i have already tried  this tutorial and in my post i have defined first way to do using this procedure.
    in that case i have got following exception as i have mentioned above
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

  • How can I create a search filter on my muse project?

    How can I create a search filter on my muse project like the 'sort by' function of this website? http://trufcreative.com/work
    By that I mean be able to narrow down the content displayed on a single page (preferably with an animation) without having the switch pages or reload the browser.
    I'm assuming this isn't something Muse can do natively, but if anyone knows the code, and how to make it work with Muse, that would be awesome.
    Cheers!

    yes i have same problem. i couldnt create one. please help me

  • ADF & JSF : how can I create a clickable  image

    Hi,
    How can I create a clickable object with an image property and have an action, I want to use it instead of a command button.
    thanks,
    Ahmad Esbita

    Hi Ahmad
    One way is to drop an objectImage tag inside a commandLink tag without a text attribute as follows:
    <af:commandLink actionListener="#{backingBean.someMethod}">
      <af:objectImage source="/someimage.gif"/>
    </af:commandLink>The image is clickable raising the actionListener event.
    Hope this helps.
    Regards,
    CM.

  • How can I create a new entry without using LOV for foreign keys.

    Referring to TUHRA sample application based on HR database schema. JDeveloper 10.1.3.0.4
    How can I create a new employee without using LOV for the foreign key "job_id".
    On the first page I would like to choose the job_title from adf read-only table.
    After clicking on the "create new employee button" a creation form appears in which the job_id field is set with previous selection.
    Regards M.Winkler
    Edited by: user3541283 on 06.10.2008 03:44
    Edited by: user3541283 on 06.10.2008 03:50

    Hi,
    usually the foreign key is only set if the VO you select is dependent from a master. If e.g. you have DepartmentsVO1 that has an EmployeeVO3 as its nested VO, then creating a new instance of employees automatically add the foreign key. If you add EmployeesVO1, which is not dependent to DepartmensVO1, then the foreign key is not set. So if this is the case in THURA (keep in mind that this is not an Oracle demo but a sample used in a book about ADF) then all you need is to take the independent VO when building the new employee form.
    Frank

  • How can I create a query with web service data control?

    I need to create a query with web service data control, in WSDL, it's query operation, there is a parameter message with the possible query criteria and a return message contains the results. I googled, but cannot find anything on the query with web service. I cannot find a "Named Criteria" in web service data control like normal data control. In Shay's blog, I saw the topics on update with web service data control. How can I create a query with web service data control? Thanks.

    Hi,
    This might help
    *054.     Search form using ADF WS Data Control and Complex input types*
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • How can I put a filter to message type COND_A

    I am creating message types: COND_A from Change Pointer.
    I have an active filter on element: Condition type. (BD64). This is working OK.
    I also want to set the filter on element: Material type.
    This is not working, probably because this element is not an active field in any delivered IDoc Segments. (Ref. WE05). The result is that no messages (IDoc's) are delivered.
    How can I get this filter to work for COND_A?
    In other words: How can I select on Material type = 'XXXX' creating message type COND_A from Change Pointer?

    No, however, you can have Favorites and Recents show on the App Switcher (Multitasking) screen, assuming you are running iOS 8: Settings App > Mail,Contacts,Calendars > Show in App Switcher [under CONTACTS]

  • How can I create variant of control query?

    Dear Expert,
    I am using BEx Broadcaster to bradcast query as a report.
    In tab Filter Navigation, I enter the control query, but the variant always gives me "(No Selection Possible)".
    How can I create variant of control query?
    I try to create variant via variable entry page when I excute my query.
    The variable show in table "RSRPARAMETRIZA" but not show in BEx Braodcaster.
    Thank you,
    Zilla

    Hello,
    Please run this control query on the portal and then save variant you require. If you want this variant to be available
    to all users make sure that the user specific flag is unchecked while saving the variant.
    Regards,
    Michael

  • How can i use JS files in ADF for language translation.

    Hi,
    I have JS for different languages and dn't want to convert them to property files(resource bundle files). How can i use JS files in ADF for language translation.
    Thanks

    Hi ILya Cyclone,
    Thanks alotfor the reply. Can you tell me where should i include this in the jspx page.
    Step 1)
    I have the js file as js/ifl_messages_US.js and i created a resource file as you mentioned: JS_FILE_PATH=js/ifl_messages_US.js
    Step 2)
    Then added the entry in faces-config.xml for the resource file as follow:
    <resource-bundle>
    <base-name>resource_en.properties</base-name>
    <var>resource</var>
    </resource-bundle>
    <locale-config>
    <supported-locale>en</supported-locale>
    </locale-config>
    Step 3) This is my jspx page. In which a table is dynamically created on page load. Can you help me where should i enter the "#{resource.JS_FILE_PATH}"
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:resource type="javascript" source="/js/pdfFile.js"/>
    <af:form id="f1">
    <input type="hidden" name="checkRadio" id="checkRadio" value=""/>
    <af:panelGroupLayout id="pgl1" halign="left" layout="vertical">
    <af:image source="/images/BRAND_IMAGE.gif" id="i1"/>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s1"/>
    <af:table varStatus="rowStat" summary="table"
    value="#{backingBeanScope.DummyBean.collectionModel}"
    rows="#{backingBeanScope.DummyBean.collectionModel.rowCount}"
    rowSelection="none" contentDelivery="immediate" var="row"
    rendered="true" id="t1" styleClass="AFStretchWidth"
    binding="#{backingBeanScope.DummyBean.myTableBinding}"
    columnResizing="disabled">
    <af:column id="c2" headerText="Actions">
    <af:activeOutputText value="#{row.Actions}" id="aot2"/>
    <af:goLink text="#{row.Actions}" id="gl1"
    clientComponent="true" visible="false"/>
    <af:selectBooleanRadio text="" id="sbr1"
    valueChangeListener="#{backingBeanScope.DummyBean.checkselectbox}">
    <af:clientListener method="selectCheckBox" type="click"/>
    </af:selectBooleanRadio>
    </af:column>
    <af:forEach items="#{backingBeanScope.DummyBean.columnNames}" end="#{backingBeanScope.DummyBean.columnSize}"
    var="name" begin="1">
    <af:column sortable="false" sortProperty="#{name}"
    rowHeader="unstyled" headerText="#{name}"
    inlineStyle="width:100px;" id="c1">
    <af:activeOutputText value="#{row[name]}" id="aot1" escape="false">
    </af:activeOutputText>
    <!-- <af:outputFormatted value="#{row[name]}" id="of1"/>-->
    <!--<af:goLink text="goLink 1" id="gl1"
    destination="#{row.bindings.url.inputvalue}"/>-->
    </af:column>
    </af:forEach>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks in advance

Maybe you are looking for