Initialize custom VO from servletContext

Hi!
I am creating a custom VO that will retrieve data from UCM using CIS. To do this, I am overriding the executeQueryForCollection method. From there, I will need to retrieve a ICISApplication object from the servletContext.
I do not need help on the UCM part, but how can I retrieve, from within the view object implementation code, the servletContext to retrieve this object?
Greetings,
Jeroen van Veldhuizen

Hi,
I think the proper way of doing this would be to expose a method on the AM or VO and then have the client passing this information in.
Frank

Similar Messages

  • Dispatch custom event from itemClick handler

    hi,
    I'm trying to dispatch a custom event from my itemClick handler.
    So when I click on an item of my datagrid, I want to send a custom event.
    private function dataGridItemClickHandler( event:ListEvent): void
         dispatchEvent( new myEvent( myEvent.NEW, values[event.columnIndex]["name"]) );
    <mx:DataGrid dataProvider="{values}" itemClick="dataGridItemClickHandler(event)">
    </mx:DataGrid>
    but this code doesn't work.
    Can you help me
    thanks
    best regards

    Please see that you override the function clone() and return the new function.If that is correct.you can call the super() method to initialize your base class.
    If your custom event {myEvent} is in package say: CustomEvent,
    1)import package CustomEvent.myEvent
    2) keep in <mx:metadata>[Event(name="NEW", type="CustomEvent.myEvent")]</mx:metadata>.. name suggest  what type of event you want
    3)Create an itemclick listener and in dataGridItemClickHandler
    private function dataGridItemClickHandler( event:ListEvent): void
         dispatchEvent( new myEvent( ' NEW ', values[event.columnIndex]["name"]) );
    private funcation myEventListener(evt:myEvent):void
    //Put your logic
    4)Use this event by name NEW="myEventListener(event)"  this will behave as event type in the datagrid tag like click, hover and others.
    Hope this helps! Please excuse if anything is logically incorrect.Do point out.Thanks.

  • Can you send custom events from one form to another?

    I have a compli
    cated application, where I about hundred inp
    uts organized in several input forms. Some of the forms
    require data which has been input in other forms. I have tried to
    dispatch custom events from one form to another, but it dispatches the
    whole form and I only need one or two items.
    Ha anybody else come across such a problem?
    Svend

    One way is to share data in a static singleton

  • Compile all custom forms from 11i to r12

    Hi,
    I have to compile 11i forms into R12.
    Copyresource folder and fmb to local system and compile forms manually in local system is one way
    I heard there is another easy way of compiling custom forms from 11i to r12. If you have any solution for this please help me.
    Any help is big help, thanks in advance.

    Hi;
    In addition to Hussein Sawwan great post,please review:
    Custom form upgrade 11i to R12
    Planning to upgrade from 11i to R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    How To Migrate My Customized reports & Forms To R12?
    How To Migrate My Customized reports & Forms  To R12?
    Regard
    Helios

  • How to query a custom picklist from Opportunity's revenue?

    Hello,
    I would like to query a custom picklist from Opportunity's revenue. I am using Picklist.wsdl:
    myPort.getPicklistValues(myPicklist, Revenue, "");
    With this operation I have the following message: denied acces. (SBL-ODS-50085).
    I have tested with another entity and it works perfectlly:
    myPort.getPicklistValues(myPicklist, Opportunity, "");
    So, I think the problem is in the entity name, so can I access to Opportunity's revenue¿?
    I am very confusing, because in Web Services documentation I have seen:
    NOTE: The Revenue child object of Opportunity is actually called Product.
    I have tested with:
    myPort.getPicklistValues(myPicklist, Product, "");
    But it isn't exists in this entity: SBL-SBL-00000
    The role has access to do the query via Web Service, because it is the administrator and with it I can do any other operation via Web Service...
    What I am doing wrong?
    Thank you and regards.

    I have found the answer:
    Objects Supported with getPicklistValues operation:
    GetPicklistValues is supported for all Web Services v1.0 and v2.0 accessible parent-level objects.
    Revenue is a child object, so I can interact with this operation :(

  • Is it possible to change the color of a layer of a Customs CSS from an External Style sheet?

    Hi,
    I have sucessfully link External .css  file to my HTML page and able to change the font size of the headlines and the paragraph.
    What I am not able to do is to ADD the color my Custom CSS from the External sheet.  I have difined the color attribute as a 'Advance'
    and gave it the same name "#bigwraper" that is has in my HTML file.
    Attached is the color outline of my 'Blank Layout' with colors?
    Thank you.
    Dreamer101.1

    Hi Murray,
    I am building a web site on which the entire content would be changed at least daily. The website would have similar design to www.Helium.com
    The page will have CCS layout boxes in which different content would  be pasted.
    To re-phrase my question:  I want to know how to change the color of a layer from an external style sheet?
    Because my home page 'Sidebar' and colors would be the same for all page, only the content of different pages would be different.  If I want to change a color of my web side pages, I need to learn how to do it in one spot through an External Style Sheet.
    I am amble to link my external style sheet and to change H1 tag and to give it different colors. But I was not sucess with change the color of a layer on which my content sits around.
    I took out the color from my HTML page and gave the same name to the layer in my External Style Sheet with the same color.
    Hope my question and the reason I was able to clarify.
    cheers,
    Dreamer101.1

  • Contract mis-sold. Terrible customer service from a supervisor-no clear way to make a complaint

    After being a good customer for a year and a Verizon Wireless customer for 5 years, numerous issues with Verizon Fios have surfaced.
    1) Representative totally mis-informed about the contract
    When I took out a contract with Verizon FIos a year ago, I had not wanted to have a contract because they only option available was for 2 years and I knew that the lease for my apartment was only for 1 year and in all likliehood I would be moving. I was told by the representative that there would be no problem if I took out a 2 year contract because I could simply transfer the existing contract to wherever I moved with no issue.
    Fastforward a year and I'm moving, call Verizon to make the transfer and i"m told, that actually i'm effectively cancelling my existing contract and re-starting as a new customer. This means that my bundle has gone up $10 a month and I would have to start another 2 year contract.This completely contradicts what I was told a year ago. I would never have taken out the 2 year contract if I had known this.
    2) Terrible customer service from someone who is a supervisor
    This morning I spoke to a representative and after she said she couldnt address my concerns about being mis-sold the contract, I asked to speak with a supervisor. How he handled the call was incredibly unhelpful and rude - I dont understand how someone at a supervisor level can have that kind of attitude. First he tried to indicate that it was my fault for not being clear with the representative last year (before he knew the full facts), he did not take show any recognition that being mis-informed about a contract is a significant issue. When I asked him how to make a complaint he told me to go to verizon.com/contact. I did this while I was on the phone with him and told him that there was no clear way to make a complaint, I was told "I am a supervisor, I cant sit here on the phone with you and take you through it step by step" - I was not asking for step by step help, I assumed that as a supervisor he would know which wa the right section to click on. He then basically made it sound like I was an idiot and I was told that every other customer seems to find it intuitive (which judging by other comments on this forum about the contact piece of the site is not actually true).
    3) Impossible to file an official complaint through normal channels 
    There is no email address to which you can send a complaint (according to the team on the phone). On the verizon.com/contact page, there is no option for making a complaint. When you type in a question about making a complaint nothing comes up. This seems ridiculous and makes it seem like Verizon is not interested in hearing customers feedback.

    Hi customer11201,
    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you. Please go to your profile page for the forum and look at the top of the middle column where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under "My Support Cases" you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis, as the agent may be waiting for information from you before they can proceed with any actions. To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe". Please keep all correspondence regarding your issue in the private support portal.

  • 500 Internal Server Error - Unable to run a custom page from JDEV 10.1.3...

    Hi
    I am trying to run a Custom page from my JDEV. But i am getting the following error.
    *500 Internal Server Error*
    oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.getnullThe base exception is:
    Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    .... 54 more
    I have checked the DBC file. The APPS_JDBC_URL was containing "\". I tried removing that but it dint worked. I checked whether i am using the right version of the JDEV patch, no issues with that also.
    Kindly let me know the solution.
    Thanks.
    Edited by: user605470 on May 23, 2009 5:39 PM

    Anoop
    DBC file is not having any issues. Domain name seems to be correct.
    DBC File
    #DB Settings
    #Fri Dec 19 12:54:03 EST 2008
    GUEST_USER_PWD=GUEST/ORACLE
    APPL_SERVER_ID=5D03027668AF2054E043A8920BA0205451873975540904546222829851405157
    FND_JDBC_BUFFER_DECAY_INTERVAL=300
    APPS_JDBC_DRIVER_TYPE=THIN
    FND_JDBC_BUFFER_MIN=1
    GWYUID=APPLSYSPUB/PUB
    FND_JDBC_BUFFER_MAX=5
    APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(ADDRESS_LIST\=(LOAD_BALANCE\=YES)(FAILOVER\=YES)(ADDRESS\=(PROTOCOL\=tcp)(HOST\=<Host Name>)(PORT\=<Port #>)))(CONNECT_DATA\=(SERVICE_NAME\=<Instance Name>)))
    FND_JDBC_STMT_CACHE_SIZE=100
    TWO_TASK=<Instance Name>
    JDBC\:processEscapes=true
    FND_MAX_JDBC_CONNECTIONS=500
    FND_JDBC_USABLE_CHECK=false
    FNDNAM=APPS
    FND_JDBC_PLSQL_RESET=false
    DB_PORT=<Port #>
    FND_JDBC_CONTEXT_CHECK=true
    FND_JDBC_BUFFER_DECAY_SIZE=5
    DB_HOST=<Host Name>
    This is my DBC files. I have verified the values of <Host Name>, <Port #> and <Instance Name>. The seems to be correct. Is my error is related to the line which is highlighted ? Any inputs will be appreciated.
    Thanks.
    Edited by: user605470 on May 25, 2009 9:00 AM

  • 500 Internal Server Error - Unable to run a custom page from JDEV 10.1.3.3.

    Hi
    I am trying to run a Custom page from my JDEV. But i am getting the following error.
    *500 Internal Server Error*
    oracle.apps.fnd.cache.CacheException     
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.getnullThe base exception is:
    Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    .... 54 more
    I have checked the DBC file. The APPS_JDBC_URL was containing "\". I tried removing that but it dint worked. I checked whether i am using the right version of the JDEV patch, no issues with that also.
    Kindly let me know the solution.
    Thanks.
    Edited by: user605470 on May 23, 2009 5:27 PM

    User,
    You are not running JDEV, but OA Framework, hence you should use the OA Framework Forum to ask.
    John

  • Error in running custom query from jspx(site) for Content Tracker Report

    Hi All,
    I want to generate a custom Content Tracker Report. I am able to do so from Content Tracker console, but when i try to invoke the service 'SCT_GET_DOCUMENT_INFO_ADMIN' or 'SCT_GET_DOCUMENT_INFO' with my custom query(which simply counts the number of rows in a table) from my jspx page, it gives the following error.
    oracle.stellent.wcm.server.request.RequestException: Error
    occurred in Content Server executing service
    'SCT_GET_DOCUMENT_INFO_ADMIN'
    Caused By: oracle.stellent.ridc.protocol.ServiceException: Unable to get
    document info. Unable to execute service method 'sctExecuteQuery'. The
    error was caused by an internally generated issue. The error has been
    logged.
    What could be the reason and the resolution?
    Also, I know that i am invoking the service in the right way as custom report from query as 'select * from users' works fine from site.
    P.S. I am using UCM 11g + SSXA

    Things are turning weird. The below two queries work from jspx.
    1. SELECT * FROM Users
    2. SELECT dname FROM Users
    But, the following query gives error (SQL is correct).
    select dname, count(dname) from users group by dname
    Unable to execute service method 'sctExecuteQuery'. Null pointer is dereferenced.
    $Unable to get document info.!csUnableToExecMethod,sctExecuteQuery!syNullPointerException
    intradoc.common.ServiceException: !$Unable to get document info.!csUnableToExecMethod,sctExecuteQuery
    *ScriptStack SCT_GET_DOCUMENT_INFO_ADMIN
    3:sctExecuteQuery,**no captured values**
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at intradoc.server.Service.doCodeEx(Service.java:584)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.NullPointerException
    at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
    at intradoc.util.IdcConcurrentHashMap.get(IdcConcurrentHashMap.java:60)
    This works fine from Content Tracker UI.
    Anyone has any idea, what could be the issue here?

  • Customer replication from R/3 to CRM as BP's in install at role

    Hi experts,
    Customer's already exist in our ECC system. In CRM, we need to create the ECC customer;s as BP in install at role. From some ot the previous threads, I found that PIDE transaction can be used. Can anyone explain me the steps clearly for creating the BP's in CRM correpsonding to the R/c customer. I don't want to replicate them as BP's in ECC.
    Thanks
    Santosh

    >
    Santosh Kolleti wrote:
    > Customer's already exist in our ECC system. In CRM, we need to create the ECC customer;s as BP in install at role. From some ot the previous threads, I found that PIDE transaction can be used. I assigned the customer account group classification to BP and to test the replication added a filter in R3AC1 transaction to pick only one customer and run the initial load transaction R3AS, system goes into infinite loop and I had to kill the simulation run.
    > Error is " The program "SAPLSMO0" has exceeded the maximum permitted runtime without
    > interruption and has therefore been terminated."
    > Information on where terminated
    > Termination occurred in the ABAP program "SAPLSMO0" - in
    > "SMOF0_READ_SMOFOBJECT".
    > The main program was "SMOF_DOWNLOAD ".
    >
    > In the source code you have the termination point in line 58
    > of the (Include) program "LSMO0U06".
    > Do I need to download anything else before doing the customer download from ECC to CRM.
    >
    > Can anyone help me fix this issue.
    Hi,
    You have done important steps.
    You have to check all relevant functional modules are available in the table.
    Then,you have to maintain/delete entries based on standard document.
    Make sure all Queue is available with system users,right RFC and the queue is registered.
    Make sure all the RFC connections are created and working properly.
    You have to generate the objects.
    Please check some of the above steps .
    Regards,
    SSN.

  • Customer replication from R/3 to CRM as BP

    Customer's already exist in our ECC system. In CRM, we need to create the ECC customer;s as BP in install at role. From some ot the previous threads, I found that PIDE transaction can be used. I assigned the customer account group classification to BP and to test the replication added a filter in R3AC1 transaction to pick only one customer and run the initial load transaction R3AS, system goes into infinite loop and I had to kill the simulation run.
    Error is " The program "SAPLSMO0" has exceeded the maximum permitted runtime without
    interruption and has therefore been terminated."
    Information on where terminated
    Termination occurred in the ABAP program "SAPLSMO0" - in
    "SMOF0_READ_SMOFOBJECT".
    The main program was "SMOF_DOWNLOAD ".
    In the source code you have the termination point in line 58
    of the (Include) program "LSMO0U06".
    Do I need to download anything else before doing the customer download from ECC to CRM.
    Can anyone help me fix this issue.

    >
    Santosh Kolleti wrote:
    > Customer's already exist in our ECC system. In CRM, we need to create the ECC customer;s as BP in install at role. From some ot the previous threads, I found that PIDE transaction can be used. I assigned the customer account group classification to BP and to test the replication added a filter in R3AC1 transaction to pick only one customer and run the initial load transaction R3AS, system goes into infinite loop and I had to kill the simulation run.
    > Error is " The program "SAPLSMO0" has exceeded the maximum permitted runtime without
    > interruption and has therefore been terminated."
    > Information on where terminated
    > Termination occurred in the ABAP program "SAPLSMO0" - in
    > "SMOF0_READ_SMOFOBJECT".
    > The main program was "SMOF_DOWNLOAD ".
    >
    > In the source code you have the termination point in line 58
    > of the (Include) program "LSMO0U06".
    > Do I need to download anything else before doing the customer download from ECC to CRM.
    >
    > Can anyone help me fix this issue.
    Hi,
    You have done important steps.
    You have to check all relevant functional modules are available in the table.
    Then,you have to maintain/delete entries based on standard document.
    Make sure all Queue is available with system users,right RFC and the queue is registered.
    Make sure all the RFC connections are created and working properly.
    You have to generate the objects.
    Please check some of the above steps .
    Regards,
    SSN.

  • Error in delta load of 'Customer Group' from R/3 to CRM

    Hi Experts,
    I added new 'Customer Groups' in R/3. But this is not being updated in CRM. Do I have to trigger initial load again through R3AS or should I create new Customer Groups in CRM?
    The BP delta load BDocs are stuck in SMW01 due to this change. Also, if I need to do the Initial load of Customer Group, which object do I need to do the load for? Is it dnl_cust_sales?
    Please help as it is a Production issue.
    -- Pat

    Hi Pat,
    Use object 'DNL_CUST_SALES' to download Customer Group from R/3 to CRM.
    Use R3AS4 transaction to execute the same.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • How to invoke a custom adapter from a BPEL process

    Hi guys,
    I've implemented a custom outbound adapter and deployed successfully on Weblogic V.10.3.4.
    My current installation also consists of Oracle SOA Suite 11g / JDeveloper 11g (11.1.1.4.0)
    In the Weblogic administrator's console,
    *1.* I navigated to:
    Summary of Deployments -> AdapterName -> Configuration -> Outbound Connection Pools
    *2.* Selected: javax.resource.cci.ConnectionFactory and added new JNDI name for Outbound Connection Instance: "*eis/HelloWorld*"
    My task is to invoke the custom adapter from a BPEL process.
    I altered the customAdapter-config.xml so as to be able to use custom adapter wizard from JDeveloper's "Service Adapters" palette,
    and fullfilled the custom adapter wizard's fields accordingly. The 3rd step of the wizard requires Connection Information.
    I added: "*eis/HelloWorld*" in the "*Connection Factory Location*" field.
    Deployed BPEL process successfully, but testing failed due to binding.jca-12510 error:
    "The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/HelloWorld'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/HelloWorld. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server "I tried to apply (just for testing) "eis/FileAdapter" in the "Connection Factory Location" field of the custom adapter wizard,
    and BPEL successfully invoked the adapter.
    Any ideas ?
    Thanks,
    George

    George, What deployment do you have this associated with?
    - D.J.

  • Calling Custom Form from Another Form

    Hi All,
    I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
    Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
    using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
    BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
    How can I do it ?
    Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
    Please help !
    Thanks
    Shankar

    Hi ,
    I found similiar solution on another forum as below.
    http://it.toolbox.com/blogs/apps-traction-blog/how-to-create-a-zoom-using-oracle-form-personalization-12081
    This works fine for the Purchasing form and allows me to zoom to the Supplier form.
    But in my case, I want to zoom from the Supplier Form to my CUSTOM form. I replicated the exact steps as per the link.
    However, it does NOT work as expected. It gets up to the ENTER QUERY mode in my CUSTOM form and remains in Enter Query mode. If I manually then Press key F11 to execute the query it brings back all records.
    Do I need to do anything special in my CUSTOM form to make it behave in a similiar way to the Supplier Form ?
    Thanks
    Shanky

Maybe you are looking for