ADF Faces + ADF BC : how to pass an url parameter to a backend business ser

Hi,
I'm using latest JDev studio version SU 3.
My project is using ADF Faces with BC4J in the service layer.
I have a backend application module which exposes a method taking a String parameter as an input (ex: void setUsername(String username))
I need to have a jspx page which reads a parameter passed in the url (http://localhost/faces/registerUser.jspx?username=john) and send it to the backend service method when a submit is raised on a clicked button.
It's pretty simple when using inputtext for example but not obvious if I want to use urm param instead of inputtext.
How do I do this ?
Thanks

Hi,
Thanks a lot for your answers.
The link http://www.it-eye.nl/weblog/2006/06/12/passing-a-url-parameter-to-model-using-adf/ is no more reachable.
The following EL expression work for displaying the parameter inside an outputText component :
#{facesContext.externalContext.requestParameterMap[’yourParameter′]}
The parameter is not sent to the business service when the button is clicked.
Thanks,
Seb.

Similar Messages

  • JSF/ADF Faces - ADF-BC example/howto?

    Hi,
    Background:
    ==========
    I know that ADF-BC databinding is not included in the JDev 10.1.3 preview.
    I read and searched nearly all howto's, examples, blogs on ADF-Faces available on the net.
    For the past months I learned how to use the ADF-BC with JClient.
    This convinced me to use the ADF-BC and it's binding features (a fantastic framework!!!!) for my model layer.
    I'm developping a web application.
    Most of the examples on ADF-Faces/JSF are on the View Layer.
    My question:
    ===========
    I read somewhere that JDev 10.1.3 production with drag and drop of ADF-BC databinding will be available only in the summer.
    Question 1:
    ==========
    I suppose that meanwhile it is still possible to use the ADF-BC as the model layer for JSF or ADF-Faces, but the databinding must be done manually, is this correct?
    Question 2:
    ==========
    If answer to 1) is yes.
    Where can I find a howto/best practice document that explains how to use ADF-BC with JSF/ADF-Faces in the backing beans?
    My purpose is to develop my code so that it will be "standard" / "compatible" with the production version of JDev 10.1.3.
    I prefer to use the de-facto JSF standard and code the bindings manualy instead of using Struts with available drag'n drop ADF-BC databinding.
    Your advice will be apreciated
    Frederic

    There is no such document for (1) because we are in the process of delivering design time support for ADF BC integration with ADF Faces, as you mentioned.
    Therefore, you could either continue with ADF UIX, ADFm, ADF BC for the time being, or else try out ADF Faces with session scope Managed Beans. In either case, you'll want to convert this later on, when JDev 10.1.3 completes its support for ADF Faces / ADF BC drag-and-drop integration.
    Kind Regards.

  • ADF Faces ADF BC PlSql ???

    Hi All,
    We have clarify (Oracle tables) and stored procedures ready. Using Jdev 10.1.3
    We want to write a simple form, that has several input textfields, selectSelectChoice etc.
    On form submit, we want to call this stored procedure from ADF BC.
    Can I achieve (call plsql) this using ADF Faces and ADF BC ?
    I guess, I can. Following is my action plan.
    Please correct me if I am wrong.
    1>As I said, we hace Clarify repository (5 Oracle Tables). We have PL Sql procedures ready. These has business logic in it. Some procedured return a REF cursor, some take IN parameters and return OUT parameters.
    2>I will create a database connection in Jdev to these 5 Clarify tabes.
    3>I will use Jdev wizards and create 5 ENTITY and 5 VIEW Objects. I will craeate a Application Module.
    4>I will drag and drop view objects (drop as InputText, SelectOneChoice, Tables Tree, Radio button etc etc etc etc ) from Data Control on my JSF - JSP pages. This will help me generate the UI super FAST.
    5>Now, on UI submits the View Object will interact with corresponding Enity objects.
    6>Now, as I said, I HAVE to use the PLSQL code that is ready to use. So, instead of the ADF default dehaviour, I will override the doDML method in the entity object as follows to call PlSql procedures.
    Modified Entity object code as below
    protected void doSelect(boolean lock) {
    if (lock) {
    this.handleStoredProcLock();
    else {
    this.handleStoredProcSelect();
    public void doDML(int operation, TransactionEvent e) {
    switch (operation) {
    case DML_INSERT: {
    handleStoredProcInsert();
    break;
    case DML_UPDATE: {
    handleStoredProcUpdate();
    break;
    case DML_DELETE: {
    handleStoredProcDelete();
    break;
    void handleStoredProcSelect() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN departments_pkg.do_select(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    st.setLong(1,getDepartmentId().longValue());
    st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.NUMERIC);
    int rows = st.executeUpdate();
    populateAttribute(DEPARTMENTNAME,st.getString(2),true,false);
    populateAttribute(LOCATIONID,st.getBigDecimal(3),true,false);
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    void handleStoredProcInsert() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN departments_pkg.do_insert(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    st.setLong(1,getDepartmentId().longValue());
    if (getDepartmentName() != null) {
    st.setString(2,getDepartmentName());
    else {
    st.setNull(2,Types.VARCHAR);
    if (getLocationId() != null) {
    st.setLong(3,getLocationId().longValue());
    else {
    st.setNull(3,Types.VARCHAR);
    int rows = st.executeUpdate();
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    7> In short, above route lets me call Ready Stored Procedures and I am able to speed up the development as well (Because, I am generating the Entity and View Objects based on tables and able to drag drop the Views from Data Control on my JSF - JSP UI.
    I can deploy this code in App Server 10.1.2.0.2 and DONE !!
    What do you guys think ? Is this a good approach to take towards ADF Faces, ADF BC and Pl Sql ??
    thanks,
    pp

    Hi,
    I don't see an objection to this strategy. ll that can be said aboutthe use of PLSQL in ADF BC is mentioned in the documentation
    http://download-uk.oracle.com/docs/html/B25947_01/bcadvgen005.htm#sm0297
    Frank

  • How to pass in a parameter into a report viewer on a jsp - and hidden

    Hi, I've built a php application and am using the java environment to enable the crystal report/viewer.  The developer was looking how to pass in a parameter into a report viewer on a jsp. Ultimately the end product we need is to get an HTML report viewer loading a report file with hidden parameters so to not expose other customer data (it's a shared database for multiple customers) preferably loaded from php using maybe the php java bridge. Would anyone happen to have any sample code or any guidance?
    <%@ page contentType="text/html; charset=UTF-8"
       pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
    <%
    // just a test to grab rpt name from GET
    String rptFile = "report_files/" + request.getParameter("rpt");
    %>
    <crviewer:viewer reportSourceType="reportingComponent" viewerName=""
    isOwnPage="true">
       <crviewer:report reportName="<%= rptFile %>" />
    </crviewer:viewer>
    Many thanks in advance!
    Mark

    I am not aware of any html tags you can pass to the viewer for parameter values.  Normally, you would load the report in code and then use the SDK with the report object to pass parameter values.

  • How to get the URL parameter value when navigating from JSP Page to portal

    Hi All,
    I have web Dynpro application with one button, while clicking that button It will navigate to JSP page as external window. In the JSP page I have a input field and Button.
    In the JSP page input field I will enter some values and press submit button, it will navigate to Portal page by passing some URL parameter with values.
    Once user entering to portal by default WD page displayed, the same WD page I try to get the URL Parameter which I have passed from JSP page, but I am not able to get the URL parameter value.
    If same application running in without portal, I can able to get the URL parameter values. I am getting the URL parameter by interface view default inbound plug parameter.
    How do we resolve this problem?
    Regards,
    Boopathi M

    Hi
    Please try  these link might helpful for you
    1.[How to call WebDynPro application from JSP |/thread/452762 [original link is broken];
    2.[How to get the previous page url from abstract portal component? |/thread/1289256 [original link is broken];
    3.[how to launch and pass a parameter |/thread/5537 [original link is broken];
    Best Regards
    Satish Kumar

  • Passing custom URL parameter to a FPM app

    Hello,
    I am facing a problem when trying to pass an URL parameter to a GAF FPM application.
    The standard way by adding a parameter to the WD application and adding a parameter to the default plug in the window doesn't work for FPM... at least in my case.
    Does anyone know how URL parameters work with the FPM framework?
    Thank you and BR,
    Chris

    You just need to declare parameters which you will be using in WD Application - Parameters tab.
    To fetch parameters for application which is using FPM, you have to use following piece of code -
        wd_this->app_param = wd_this->mr_fpm->mo_app_parameter.
        CALL METHOD wd_this->app_param->get_value
          EXPORTING
            iv_key   = 'INTERFACE_MODEL'
          IMPORTING
            ev_value = wd_this->lv_interface_model.
        CALL METHOD wd_this->app_param->get_value
          EXPORTING
            iv_key   = 'MODE'
          IMPORTING
            ev_value = wd_this->lv_mode.
    Here wd_this->mr_fpm holds FPM reference and is of type ref to IF_FPM
    and wd_this->app_param holds FPM parameters reference and is of type IF_FPM_PARAMETER.
    After getting reference I'm calling methods to get individual application parameters by sending their names.
    We called this in DOINIT of component controller.
    Regards
    Manas Dua

  • ADF faces (adf-faces-impl.jar) on Glassfish not being deleted on undeploy

    I'm using Glassfish milestone 48 (Windows) and Oracle's ADF Faces in a basic web application. When undeploying an already deployed application the adf-faces-impl.jar is not being deleted from the applications WEB-INF/lib folder on the server.
    Google searches have led me to believe that this is because the file was locked at the time the app was being undeployed. All my application does is display an ADF Faces date component using the ADF taglib. There is no programming logic built in it (yet). So I'm guessing there is some issue with ADF Faces and Glassfish. I verified this same error when using the ADF Faces demo war application that is packaged with the ADF Faces download.
    Stopping Glassfish and starting it up again solves this file locking issue. But this is far from ideal in a development environment where we constantly redeploy apps.
    Any help on how to fix this would be of immense help.
    -sud

    Here is a stack trace from the point where the jar file is opened during deployment of adf-faces-impl to GlassFish. On the surface, it looks as if a stream might be opened but not closed in the ADF code?
    - Tim
    domains\domain1\applications\j2ee-modules\adf-faces-demo\WEB-INF\lib\adf-faces-impl-SNAPSHOT.jar
    java.util.zip.ZipFile.<init>(ZipFile.java:242)
    java.util.jar.JarFile.<init>(JarFile.java:132)
    java.util.jar.JarFile.<init>(JarFile.java:70)
    sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56)
    sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41)
    sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:63)
    sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102)
    sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124)
    java.net.URL.openStream(URL.java:1007)
    oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:125)
    oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:116)
    oracle.adf.view.faces.bean.FacesBeanFactory.<clinit>(FacesBeanFactory.java:151)
    oracle.adf.view.faces.component.UIXComponentBase.createFacesBean(UIXComponentBase.java:108)
    oracle.adf.view.faces.component.UIXComponentBase._init(UIXComponentBase.java:1192)
    oracle.adf.view.faces.component.UIXComponentBase.setRendererType(UIXComponentBase.java:332)
    oracle.adf.view.faces.component.UIXComponentBase.<init>(UIXComponentBase.java:102)
    oracle.adf.view.faces.component.UIXColumn.<init>(UIXColumn.java:159)
    oracle.adf.view.faces.component.core.data.CoreColumn.<init>(CoreColumn.java:215)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.table.SpecialColumnRenderer.<clinit>(SpecialColumnRenderer.java:17)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.<init>(TableRenderer.java:877)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:48)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:60)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    java.lang.Class.newInstance0(Class.java:350)
    java.lang.Class.newInstance(Class.java:303)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1308)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1379)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:774)
    com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
    org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
    com.sun.enterprise.web.WebModule.start(WebModule.java:292)
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:659)
    com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1478)
    com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)

  • Difficulty with ADF Faces/ADF Essentials and Glassfish

    Hi all,
    I've got a web application written with ADF Faces, and it runs just fine within jDeveloper 11.1.2.3 but when I deploy it to Glassfish 3.1.2 (with ADF Essentials installed) something curious happens.
    My application has no difficulty performing database reads, but when it tried to write to the database and commit, it fails.
    I've seen only a couple of other people with this problem, and none of them seem to have found a solution - so I'm assuming it's something stupid that I'm doing or misunderstanding.
    Here is the log file:
    [#|2013-11-10T11:45:17.601-0500|WARNING|glassfish3.1.2|oracle.adf.controller.faces.lifecycle.Utils|_ThreadID=79;_ThreadName=Thread-2;|ADF: Adding the following JSF error message: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
    java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
      at oracle.jbo.server.BaseSQLBuilderImpl.isSQLRecoverableException(BaseSQLBuilderImpl.java:4575)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3380)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      at app.AppModuleImpl.commitOperation(AppModuleImpl.java:50)
      at com.methods.lrc.view.VendorBean.createPaymentReceived(VendorBean.java:509)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
      at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at com.methods.lrc.view.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:42)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:724)
    Here is the method where it fails:
        public String createPaymentReceived() {
            AppModuleImpl appModule = this.getAppModule();
            ViewObjectImpl paymentReceivedVOI = appModule.getPaymentsReceivedView3();
            Row paymentRow = paymentReceivedVOI.createRow();
            paymentRow.setAttribute("CheckNumber", prCheckNumber);
            paymentRow.setAttribute("PaymAmount", totalSelectedValue);
            paymentRow.setAttribute("PaymentComment", prComment);
            paymentRow.setAttribute("PaymentDate", prPaymentDate);
            paymentRow.setAttribute("PaymentType", prPaymentType);
            paymentRow.setAttribute("TrackId", prTrackId);
            appModule.commitOperation();
            DBSequence paymentsReceivedId = (DBSequence)paymentRow.getAttribute("PaymentsReceivedId");
            Iterator selectionIt = unpaidPaymentItemsTable.getSelectedRowKeys().iterator();
            while (selectionIt.hasNext()) {
                Object rowKey = selectionIt.next();
                unpaidPaymentItemsTable.setRowKey(rowKey);
                int index = unpaidPaymentItemsTable.getRowIndex();
                JUCtrlHierNodeBinding row = (JUCtrlHierNodeBinding)unpaidPaymentItemsTable.getRowData(index);
                Row selectedRow = row.getRow();
                selectedRow.setAttribute("PaymentsReceivedId", paymentsReceivedId.getSequenceNumber());
                selectedRow.setAttribute("PaymentDate", prPaymentDate);
            appModule.commitOperation();
            prCheckNumber = null;
            totalSelectedValue = 0;
            prComment = null;
            prPaymentDate = new Date();
            prTrackId = null;
            prPaymentType = "K";
            refreshTableIterator("VendorPaymentItemsView1Iterator");
            refreshTableIterator("VendorPaymentsReceived1Iterator");
            return null;
    it fails on the second appModule.commitOperation() (which I've bolded)
    if anyone can give a clue to what I'm misunderstanding I'd really appreciate it.  I'm sure that if I had the course for BaseSQLBuilderImpl.java and/or DBTransactionImpl it would be easier to see what the actual error was - unfortunately java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception doesn't tell me much of anything.
    Thanks so much to anyone who's got the time/knowledge to help.
    Bob

    That doesn't seem to make any difference.  It works just fine within jDeveloper, but as soon as I deploy it, I can no longer write to the database.
    A few more details that seem relevant - it's not only this method that fails.  Even on screens which were designed without any backing code (where I used the wizards to create my forms and commit buttons) the same exact thing happens.
    I've also replicated this behavior in Tomcat.
    Part of what is happening is that something is throwing a NoClassDefFoundError, which is caught by a catch (Throwable thEx) clause within DBTransactionImpl.  This passes the Error to a method (isSQLRecoverableException) within the BaseSQLBuilderImpl class.  The problem is that this method takes only Exceptions for arguments, and NoClassDefFoundError is not a subclass of Exception (only of Throwable.)
    It seems obvious to me that there's somewhere a jar missing, but I cannot find it without knowing which class was not found.

  • ADF Faces  ADF BC

    its nice to know ADF 11g is released. I am fan of ADF, yet "why are'nt there enough ADF faces/BC related jobs in job market ? Isnt ADF been around for more than 8 years (including BC4J) now ? search and u find hardly 3 - 4 jobs here and there.

    I guess it all depends on where are you looking.
    Check this out: http://www.indeed.com/jobs?q=ADF&l=
    or this: http://www.indeed.com/jobs?q=JDeveloper&l=
    In general I think the Job trend shows we are in a decent position compared to some other Java frameworks:
    http://www.indeed.com/jobtrends?q=JDeveloper%2C+ADF%2C+SEAM%2C+Struts2%2C+Wicket&l=

  • NPE upon logout (ADF Faces / ADF BC) 10.1.3.0 SU 5

    Hi all,
    I have some code that I use to log out from an ADF Faces appliction. The way that it works is that the "logout" link uses a dialog to ask the user if they really want to log out. If they do, the return listener handles the logout like this:
        if (rv.equals("Logout:Y"))
          ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
          HttpServletResponse response = null;
          HttpSession session;
          if (ectx != null)
            response = (HttpServletResponse)ectx.getResponse();
            if (response != null)
              session = (HttpSession)ectx.getSession(false);
              if (session != null)
                try
                  session.invalidate();
                catch (Exception e)
                  e.printStackTrace();
                  // Ignore this exception - always happens
          try
            response.sendRedirect(ectx.getRequestContextPath() + "/index.jspx");
          catch (IOException e)
            System.out.println("ignoring error");
        }When the code hits the session.invalidate() call, the following exception occurs (note that my code explicitly ignores it - if I put an e.printStackTrace(system.out), I get this:)
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.JboException.<init>(JboException.java:346)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:76)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:43)
         at oracle.adf.model.BindingContext.get(BindingContext.java:491)
         at oracle.adf.model.binding.DCBindingContainer.release(DCBindingContainer.java:1910)
         at oracle.adf.model.binding.DCDataControl.release(DCDataControl.java:1551)
         at oracle.adf.model.bc4j.DCJboDataControl.release(DCJboDataControl.java:471)
         at oracle.adf.model.binding.DCDataControl.release(DCDataControl.java:1482)
         at oracle.adf.model.BindingContext.release(BindingContext.java:284)
         at oracle.adf.model.servlet.HttpBindingContext.valueUnbound(HttpBindingContext.java:36)
         at com.evermind.server.http.EvermindHttpSession.destroy(EvermindHttpSession.java:458)
         at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:400)
    etc..etc...etc... snippedIs this normal and expected? Do I need to clean something else up before logging out? When I ignore this exception, everything works just fine and dandy, so it may not be something to worry about, but I tend to wonder any time an exception is thrown, especially an NPE.
    Any ideas appreciated.
    Regards,
    John

    John,
    seems to be related to teh dialog use. Can you try the same logic from a logout button on a page to see if it also throws the exception ? I tried without dialog and it works fine.
    Btw, I changed
    String ctxpath = ectx.getRequestContextPath();
    try
    response.sendRedirect(ctxpath + "/indx.jsp");
    Also I redirected to a plain JSP file and not another JSF page (just in case you do this)
    Frank

  • How to pass a date parameter(from a procedure IN) to a API

    Hi,
    CREATE OR REPLACE package body xxal_basic_sal_increment_pkg1 as
    procedure emp_pro_inc1(ERRBUF VARCHAR2,RETCODE OUT NUMBER,
    p_business_group_id_enter in number,p_change_date in varchar2) is
    CURSOR STAFF IS
    SELECT pp.ASSIGNMENT_ID
    ,peo.EMPLOYEE_NUMBER employee_no
    ,pp.OBJECT_VERSION_NUMBER
    ,pp.PAY_PROPOSAL_ID
    ,pp.PROPOSED_SALARY_N basic_salary
    ,pp.PROPOSAL_REASON
    ,pp.change_date
    ,pp.BUSINESS_GROUP_ID
    ,pg.name
    ,pr.PERFORMANCE_RATING,
    '' v_effective_start_date,
    '' v_effective_end_date
    FROM per_all_people_f peo,
    per_all_assignments_f pa,
    per_pay_proposals pp,
    per_grades_tl pg,
    per_performance_reviews_v pr
    where pa.person_id = peo.PERSON_ID
    and pa.ASSIGNMENT_ID = pp.ASSIGNMENT_ID
    and peo.PERSON_ID=pr.PERSON_ID
    and pg.GRADE_ID=pa.GRADE_ID
    --and peo.EMPLOYEE_NUMBER=STAFF_VAR.employee_no
    and sysdate between peo.EFFECTIVE_START_DATE and peo.EFFECTIVE_END_DATE
    and sysdate between pa.EFFECTIVE_START_DATE and pa.EFFECTIVE_END_DATE
    and peo.BUSINESS_GROUP_ID = p_business_group_id_enter
    and pp.change_DATE = (select max(change_DATE) from per_pay_proposals temp
    where ASSIGNMENT_ID =pp.ASSIGNMENT_ID);
    --L_BUSINESS_GROUP_ID NUMBER:=5128;
    L_ASSIGNMENT_ID NUMBER;
    L_PAY_PROPOSAL_ID NUMBER;
    L_OBJECT_VERSION_NUMBER NUMBER;
    L_pyp_proposed_sal_warning BOOLEAN;
    L_additional_comp_warning boolean;
    l_person_id number;
    L_COMMON boolean;
    L_ELEMENT_ENTRY_ID NUMBER;
    TEMP NUMBER;
    L_EFFECTIVE_START_DATE DATE;
    L_MULTI VARCHAR2(30):='N';
    L_APPROVED VARCHAR2(30):='Y';
    L_CHANGE_DATE DATE:=TO_DATE('31-JAN-2008','DD-MON-YYYY');
    BEGIN
    v_disp_output:='EMPLOYEE_NUMBER'||','||
    'BASIC'||','||
    'EFF START DATE'||','||
    'EFF END DATE';
    fnd_file.put_line(FND_FILE.output,v_disp_output);
    FOR STAFF_VAR IN STAFF LOOP
    L_ELEMENT_ENTRY_ID:=null;
    begin
    select assign.assignment_id,assign.effective_start_date into
    l_assignment_id,l_change_date_new
    from per_people_f peo,per_assignments_f assign
    where peo.person_id=assign.person_id
    and sysdate between peo.effective_start_date and peo.effective_end_date
    and sysdate between assign.effective_start_date and assign.effective_end_date
    and current_employee_flag='Y'
    and primary_flag='Y'
    and peo.business_group_id=l_business_group_id
    and peo.employee_number=staff_var.employee_no;
    L_CHANGE_DATE_new:=L_CHANGE_DATE;
    --L_CHANGE_DATE_new:=STAFF_VAR.v_effective_start_date;
    begin
    HR_MAINTAIN_PROPOSAL_API.INSERT_SALARY_PROPOSAL
    P_PAY_PROPOSAL_ID=>L_PAY_PROPOSAL_ID
    ,P_ASSIGNMENT_ID=>staff_var.ASSIGNMENT_ID
    ,P_BUSINESS_GROUP_ID=>staff_var.BUSINESS_GROUP_ID
    ,P_CHANGE_DATE=>L_CHANGE_DATE_new
    ,P_PROPOSED_SALARY_N=>STAFF_VAR.basic_salary
    ,P_OBJECT_VERSION_NUMBER=>STAFF_VAR.OBJECT_VERSION_NUMBER
    ,p_multiple_components=>L_MULTI
    ,p_approved=>L_APPROVED
    ,P_VALIDATE=>false
    ,p_element_entry_id =>L_ELEMENT_ENTRY_ID
    ,P_INV_NEXT_SAL_DATE_WARNING=>l_common
    ,P_PROPOSED_SALARY_WARNING=>L_COMMON
    ,P_APPROVED_WARNING=>L_COMMON
    ,P_PAYROLL_WARNING=>L_COMMON
    in the above code the variable L_CHANGE_DATE DATE is hard coded .
    but we need to supply this variable value as dynamic, means (p_change date--procedure IN Parameter )
    i tried like below ,
    CREATE OR REPLACE package body xxal_basic_sal_increment_pkg1 as
    procedure emp_pro_inc1(ERRBUF VARCHAR2,RETCODE OUT NUMBER,
    p_business_group_id_enter in number,p_change_date in varchar2) is
    CURSOR STAFF IS
    SELECT pp.ASSIGNMENT_ID
    ,peo.EMPLOYEE_NUMBER employee_no
    ,pp.OBJECT_VERSION_NUMBER
    ,pp.PAY_PROPOSAL_ID
    ,pp.PROPOSED_SALARY_N basic_salary
    ,pp.PROPOSAL_REASON
    ,pp.change_date
    ,pp.BUSINESS_GROUP_ID
    ,pg.name
    ,pr.PERFORMANCE_RATING,
    '' v_effective_start_date,
    '' v_effective_end_date
    FROM per_all_people_f peo,
    per_all_assignments_f pa,
    per_pay_proposals pp,
    per_grades_tl pg,
    per_performance_reviews_v pr
    where pa.person_id = peo.PERSON_ID
    and pa.ASSIGNMENT_ID = pp.ASSIGNMENT_ID
    and peo.PERSON_ID=pr.PERSON_ID
    and pg.GRADE_ID=pa.GRADE_ID
    --and peo.EMPLOYEE_NUMBER=STAFF_VAR.employee_no
    and sysdate between peo.EFFECTIVE_START_DATE and peo.EFFECTIVE_END_DATE
    and sysdate between pa.EFFECTIVE_START_DATE and pa.EFFECTIVE_END_DATE
    and peo.BUSINESS_GROUP_ID = p_business_group_id_enter
    and pp.change_DATE = (select max(change_DATE) from per_pay_proposals temp
    where ASSIGNMENT_ID =pp.ASSIGNMENT_ID);
    --L_BUSINESS_GROUP_ID NUMBER:=5128;
    L_ASSIGNMENT_ID NUMBER;
    L_PAY_PROPOSAL_ID NUMBER;
    L_OBJECT_VERSION_NUMBER NUMBER;
    L_pyp_proposed_sal_warning BOOLEAN;
    L_additional_comp_warning boolean;
    l_person_id number;
    L_COMMON boolean;
    L_ELEMENT_ENTRY_ID NUMBER;
    TEMP NUMBER;
    L_EFFECTIVE_START_DATE DATE;
    L_MULTI VARCHAR2(30):='N';
    L_APPROVED VARCHAR2(30):='Y';
    L_CHANGE_DATE DATE:=TO_DATE(p_change_date,'DD-MON-YYYY');
    BEGIN
    v_disp_output:='EMPLOYEE_NUMBER'||','||
    'BASIC'||','||
    'EFF START DATE'||','||
    'EFF END DATE';
    fnd_file.put_line(FND_FILE.output,v_disp_output);
    FOR STAFF_VAR IN STAFF LOOP
    L_ELEMENT_ENTRY_ID:=null;
    begin
    select assign.assignment_id,assign.effective_start_date into
    l_assignment_id,l_change_date_new
    from per_people_f peo,per_assignments_f assign
    where peo.person_id=assign.person_id
    and sysdate between peo.effective_start_date and peo.effective_end_date
    and sysdate between assign.effective_start_date and assign.effective_end_date
    and current_employee_flag='Y'
    and primary_flag='Y'
    and peo.business_group_id=l_business_group_id
    and peo.employee_number=staff_var.employee_no;
    L_CHANGE_DATE_new:=L_CHANGE_DATE;
    --L_CHANGE_DATE_new:=STAFF_VAR.v_effective_start_date;
    begin
    HR_MAINTAIN_PROPOSAL_API.INSERT_SALARY_PROPOSAL
    P_PAY_PROPOSAL_ID=>L_PAY_PROPOSAL_ID
    ,P_ASSIGNMENT_ID=>staff_var.ASSIGNMENT_ID
    ,P_BUSINESS_GROUP_ID=>staff_var.BUSINESS_GROUP_ID
    ,P_CHANGE_DATE=>L_CHANGE_DATE_new
    ,P_PROPOSED_SALARY_N=>STAFF_VAR.basic_salary
    ,P_OBJECT_VERSION_NUMBER=>STAFF_VAR.OBJECT_VERSION_NUMBER
    ,p_multiple_components=>L_MULTI
    ,p_approved=>L_APPROVED
    ,P_VALIDATE=>false
    ,p_element_entry_id =>L_ELEMENT_ENTRY_ID
    ,P_INV_NEXT_SAL_DATE_WARNING=>l_common
    ,P_PROPOSED_SALARY_WARNING=>L_COMMON
    ,P_APPROVED_WARNING=>L_COMMON
    ,P_PAYROLL_WARNING=>L_COMMON
    but we are getting the error Cause: FDPSTP failed due to ORA-01839: date not valid for month specified
    ORA-06512: at "APPS.XXAL_BASIC_SAL_INCREMENT_PKG1", line 45
    ORA-06512: at line 1
    we tried the solution available in the metalink still its giving error ..
    pl help us to solve this issue ...
    how should we pass the date parameter while we run the concurrent program(we used date value set).
    also we tried with some other value set also ..
    Regards,
    kumar

    dear,
    I have the following code to create proposal, but the API create salary proposal for all record s and does not create entry for all records it just creates for the first record
    any advice
    the code ....
    /* Formatted on 2007/08/29 16:20 (Formatter Plus v4.8.8) */
    ----------------------- P R O P O S A L -------------------------
    DECLARE
    l_rows_processed NUMBER := 0;
    l_commit_point NUMBER := 500;
    l_business_group_id NUMBER
    := fnd_profile.VALUE ('PER_BUSINESS_GROUP_ID');
    l_proposal_salry NUMBER;
    l_approved CHAR (1);
    l_rowid VARCHAR2 (30);
    l_errmessage VARCHAR2 (400);
    l_entry_indecator NUMBER;
    l_assignment_id NUMBER;
    p_ctr_object_version_number NUMBER;
    -- Out Parameters --
    l_element_entry_id NUMBER;
    p_element_entry_id NUMBER;
    l_ctr_object_version_number NUMBER;
    l_pay_proposal_id NUMBER;
    l_inv_next_sal_date_warning BOOLEAN;
    l_proposed_salary_warning BOOLEAN;
    l_approved_warning BOOLEAN;
    l_payroll_warning BOOLEAN;
    CURSOR crs_dc_mn
    IS
    SELECT xdp.ROWID, xdp.assignment_id, xdp.change_date,
    xdp.proposal_reason, xdp.proposed_salary,
    xdp.assignment_number, xdp.employee_number, xdp.person_id,
    xdp.new_asg_id
    FROM apps.xx_dc_proposal xdp
    WHERE xdp.assignment_id <> -1
    AND xdp.processed = 'N'
    AND xdp.change_date =
    (SELECT MIN (xdc.change_date)
    FROM xx_dc_proposal xdc
    WHERE xdc.assignment_id = xdp.assignment_id
    AND xdc.processed = 'N')
    ORDER BY assignment_id, change_date ASC;
    pro_rcrd crs_dc_mn%ROWTYPE;
    CURSOR crs_dc_proposal1 (p_asg_id IN NUMBER)
    IS
    SELECT xdp.ROWID, xdp.assignment_id, xdp.change_date,
    xdp.proposal_reason, xdp.proposed_salary,
    xdp.assignment_number, xdp.employee_number, xdp.person_id,
    xdp.new_asg_id
    FROM apps.xx_dc_proposal xdp
    WHERE xdp.assignment_id <> -1
    AND xdp.processed = 'N'
    AND xdp.assignment_id = p_asg_id
    ORDER BY assignment_id, change_date ASC;
    BEGIN
    OPEN crs_dc_mn;
    FETCH crs_dc_mn
    INTO pro_rcrd;
    LOOP
    BEGIN
    hr_maintain_proposal_api.insert_salary_proposal
    (p_pay_proposal_id => l_pay_proposal_id,
    p_assignment_id => pro_rcrd.assignment_id,
    p_business_group_id => l_business_group_id,
    p_change_date => pro_rcrd.change_date,
    p_comments => NULL,
    p_next_sal_review_date => NULL,
    p_proposal_reason => NULL,
    p_proposed_salary_n => pro_rcrd.proposed_salary,
    p_forced_ranking => NULL,
    p_performance_review_id => NULL,
    p_attribute_category => NULL,
    p_attribute1 => NULL,
    p_attribute2 => NULL,
    p_attribute3 => NULL,
    p_attribute4 => NULL,
    p_attribute5 => NULL,
    p_attribute6 => NULL,
    p_attribute7 => NULL,
    p_attribute8 => NULL,
    p_attribute9 => NULL,
    p_attribute10 => NULL,
    p_attribute11 => NULL,
    p_attribute12 => NULL,
    p_attribute13 => NULL,
    p_attribute14 => NULL,
    p_attribute15 => NULL,
    p_attribute16 => NULL,
    p_attribute17 => NULL,
    p_attribute18 => NULL,
    p_attribute19 => NULL,
    p_attribute20 => NULL,
    p_object_version_number => l_ctr_object_version_number,
    p_multiple_components => 'N', -- 918219
    p_approved => 'Y',
    p_validate => FALSE,
    p_element_entry_id => l_element_entry_id,
    p_inv_next_sal_date_warning => l_inv_next_sal_date_warning,
    p_proposed_salary_warning => l_proposed_salary_warning,
    p_approved_warning => l_approved_warning,
    p_payroll_warning => l_payroll_warning
    UPDATE xx_dc_proposal
    SET processed = 'Y'
    WHERE ROWID = pro_rcrd.ROWID;
    l_rows_processed := l_rows_processed + 1;
    IF l_rows_processed = l_commit_point
    THEN
    COMMIT;
    l_rows_processed := 0;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_errmessage := SQLERRM;
    UPDATE xx_dc_proposal
    SET err_message = l_errmessage
    WHERE ROWID = pro_rcrd.ROWID;
    END;
    END LOOP;
    CLOSE crs_dc_mn;
    COMMIT;
    END;
    ..............................

  • How to pass in URL time format like this : DD/MM/YYYY HH24:MI:SS ?

    Hi,
    I have items date format in the folllowing format : 'DD/MM/YYYY HH24:MI:SS'.
    I want to pass them in URL but the sign':' is interpreted as an end of value by apex;
    For example if the item value is '21/03/2010 10:20:43' i get this as a result '21/03/2010 10';
    How top pass the tiem value in the URL wthout if possible to change the mask format ?
    Thank you for your help !
    Christian.

    This a bit of a brute force aproach, but is worth considering as it caters for all Apex specific characters (that htf.escape_sc preserves). It's also useful when extracting text to SQL scripts that may include line feeds, quotes etc etc. RAW representation is twice the as long as the input date string, so use with caution... It also helps obfuscate the URL which helps reduce URL hacking...
    SQL> select UTL_RAW.cast_to_raw('21/03/2010 10:20:43') from dual
    UTL_RAW.CAST_TO_RAW('21/03/201010:20:43')
    32312F30332F323031302031303A32303A3433
    1 row selected.
    SQL> select UTL_RAW.cast_to_varchar2('32312F30332F323031302031303A32303A3433') from dual
    UTL_RAW.CAST_TO_VARCHAR2('32312F30332F323031302031303A32303A3433')
    21/03/2010 10:20:43
    1 row selected.
    Edited by: maceyah on Mar 25, 2010 9:38 AM

  • How to pass SQL command parameter using OpenDocument

    Hi !
    I have a dynamic List of values configured in Business View manager, used across multiple reports.
    The data source for this LOV is a SQL Command which accepts a static parameter named stringParam. I need to pass this static parameter in the URL using OpenDocument command. How can I do this?
    I tried
    http://bobjdev/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?spath=[ReportFolder]&sDocName=WebReport.rpt&stype=rpt&lsSstringParam=ABC
    but it still prompts me to select the parameter. I need to avoid this prompt.
    Any help, please.

    Hi,
    I would recommend to take a look at the documentation in order to identify the correct syntax for your URL
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]
    Regards,
    Shweta

  • How  to pass the BAPI Parameter

    Hi,
    I can able to connect the Sap using sap .net connector in vb.net. also using SAP .Net Connector wizard in C#.net,i can able to create Dll files of BAPI .also when im adding the dll reference in visualbasic.net it has been added successfully.but after i dont know how to pass the parameter to BAPI function and how to get the return records from BAPI.Can any one guide me how to do this in Visualbasic .net?

    Yes. Thankx . Actualy problem is that SAP .net connector 1.0.1 is not uninstalled completely on my system .
    Now i can able to see all the function using filter in  server explorer.Now i selected BAPI_CUSTOMER_GETLIST.Can you guide how to (code)get the datas into ADOtable or any recordset in Visual basic.net.
    Please give me the example program .
    Thanks in advance
    Message was edited by: Prakash N
    Message was edited by: Prakash N

  • How to pass a date parameter from report builder query designer to oracle database

    i'm using report builder 3.0 connected to oracle database. i'm trying to pass a date parameter in the query with no success, i don't
    know the exact syntax. I've tried :
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date('01/01/2014','mm/dd/yyyy')
    it worked perfectly.
    However if i try to put a date parameter "From" instead of 01/01/2014 it will not work, a Define Query Parameter popup window appear and error occurred after i fill
    the values (usually i shouldnt get this popup i should enter the value when i run the report)
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date(:From,'mm/dd/yyyy')
    appreciate your assistance

    Hi Gorgo,
    According to your description, you have problem when in passing a parameter for running a Oracle Query. Right?
    Based on my knowledge, it use "&" as synax for parameter in Oracle, like we use "@" in SQL Server. In this scenario, maybe you can try '01/01/2014' when inputing in "From". We are not sure if there's any limitation for To_Date()
    function. For your self-testing, you can try the query in sqlplus/sql delveloper. Since your issue is related to Oracle query, we suggest you post this thread onto Oracle forum.
    Best Regards,
    Simon Hou

Maybe you are looking for