Q: Customizing /ptg/applicationContents.jsp for J2ME

Hi
I am doing some customizations to applicationContents.jsp in order to provide some addional parameters passed when the user chooses to download a Java midlet. The values I need can be found using DeliverableContent and DeliveryService, but I have severe problems using them.
DeliverableContent cnt = services.lookupDeliverableContent(long ???);
DeliveryService ser = services.lookupDeliveryService(long ???);
To be precice, I have not found out what long value to pass on to lookupDeliverableContent and lookupDeliveryService.
According to the docs for oracle.panama.model.ModelServices, the long passed should be " the system level unique object id", but I have no idea how to find it ! Please note that I am not a hardcore Java developer :-)

Here is the logic to determine the content
If the application only 1 content: then that is picked
if application has more than 1 contents:
then if the userdevice information is available
then the content which is suited for the physical device is picked
else (i.e. if userdevice information is not available)
then the most recent version of the content is picked.
hope this helps
thanks
Seshadri

Similar Messages

  • Custom JSP for Human Task

    Hi all,
    How can I create cusstom JSP for my Human task? Where can I see the log if I modify anything in the JSP?
    I am not able to see any log anywhere when I pass some messages through payload jsp.
    Regards

    Hi All,
    Atleast I came to know where payload-body.jsp resides. I got all my list of values inside my JSP. Now I want to select only one value and want to send only that selected value to the process.
    I've customised payload jsp and I've put radio buttons against all the values but when I select any one radio button then also, its sending all list values to the process and not the selected one.
    What shall I do now? How to pass only selected value to the process?
    Hope we all can make this happen. Looking forward for your support again.
    Thanks & Regards

  • Error in saving customer information. Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.

    I was trying to create a text alert. I was calling following in jsp
    email.setContactPointPurpose(myLookUpCode); //say XXMY_SMS_SHIP
            PartyManager.createEmail(email, ApiConstant.CONTACT_POINT);
    Getting following exception:
    Error in saving customer information.
    Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.
    Error trace:
    oracle.apps.ibe.customer.CustomerException: Error in saving customer information. at oracle.apps.ibe.tcav2.Email.create(Email.java:187) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Caused by: oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) ... 11 more Error in saving customer information. oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.

    Tried this but it is giving the below error
    APP-FND-01242: Cannot read value from field PER_ASSIGNMENT_ID
    Cause: The field PER_ASSIGNMENT_ID could not be located or read.
    Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field.

  • Custom PL/SQL servlet for HTTP Listener like HTMLDB

    We would like to migrate our applications from apache that use a custom perl application server to the xdb http listener and would need to be able to write a custom pl/sql servlet for the listener
    eg
    <servlet xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
    <servlet-name>Custom</servlet-name>
    <servlet-language>PL/SQL</servlet-language>
    Can this be done? (Well obviously, HTMLDB did it.)
    Is information available to do this?
    Information on the request (url/headers/content) and response (headers/content) objects
    of the http listener would be needed.
    Our pl/sql applications look like
    create package my_app as
    procedure my_job (request xmltype);
    end;
    This is why we need to do the servlet ourselves and why dbms_epg is not suitable.

    Currently
    we don't plan to allow large input to be passed as a
    CLOB parameter to the procedure. Is there a use-case
    for this?YES ;). I have seen this coming up quite a few times in this forum.
    1) we cannot edit sql scripts in Apex directly (>32KB), this is quite inconvenient to download, edit and upload again. If we are talking about sql scripts, they are often larger than 32KB.
    2) building an application where the user can directly edit or copy/paste spreadsheet data or xml data. It is quite a restriction to only have 32KB at your hand.
    3) the common workaround would be to split the data in 32KB chunks and then reassemble them in the backend. Quite tedious.
    4) editing larger HTML texts for a portal application for example.
    5) editing larger HTML texts for a forum application for example.
    ... the list goes on ...
    Another argument is that all other major technologies like servlets, jsps, perl, php, python they are all capable of handling this kind of data. I often feel it is too much of a restriction.
    What do others in the forum think? Feedback is welcome!!!
    Thanks,
    ~Dietmar.

  • Custom taglibs w/ JSP features

    Hello Together,
    I am currently facing a little problem:
    I use custom taglibs for rendering certain web elements (lets say widgets etc.). The reason is greater reusability and full integration into the runtime. However, what do you recommend on how to render such components?
    As far as i know, there are only two solutions:
    - embedding markup (e.g. XHTML, XML...) into the tag class (not so good, especially when large chunks of markup)
    - reading from markup templates located on the file system and populating them w/ data (slow?).
    What do you use for custom taglibs that are to render markup contents (thus, no flow taglibs)?
    I know that i can fallback to pure JSPs, but there is no elegant way calling them with parameters. The reason is that i have "abstract control classes" with some properties. According to these properties, my taglib renders the control. When doing this with a JSP fragment, there is no "cool" way:
    the class proto: an GUI class with properties
    - id
    - caption
    - state
    - etc.
    -- taglib example --
    <some:guiElement obj="${controls.current}" method="xml" />
    This taglib can query all properties by the obj reference and render.
    -- JSP equivalent w/ JSTL call --
    <c:import url="/base/guiElement.jsp?id=${controls.current.id}&caption=${controls.current.caption}[...]" />
    This is bad design, and all params have to be passed seperately (or not?).
    You see, Taglibs are quite more handy to use, as you know. But i am missing JSP features in taglibs, such as how to do an <c:import /> from within an taglib etc.
    Another thing in mind is themeability. One can use a copy of the JSP fragment and modify its visual appearance, but w/ taglibs, that is more harder (except when using markup templates).
    Does anyone knoe how to marry JSP featires into custom taglibs?
    Sorry for that long posting :-)
    Greetings, Timo

    Hello,
    Just an answer to myself and anyone who is interested:
    The solution to my problem is migrating to JSP 2.0 where you can use tag template files.
    Thus, if possible, upgrading to JSP 2.0 + Servlet 2.4 does the job.
    Greetings, Timo

  • Where can find  JHeadstart  customizing using Struts & JSP

    We can found the Tutorial-Customizing JHeadstart Applications , using MVC-Framework and UIX,
    but where we can find the tutorial-Customizing on Struts & JSP solution ?

    Dear Steven:
    As you mentioned in early:
    we will make a new version of this tutorial available through the supplement option which will then contains the same customizations as the MVC-UIX one.Whether this new version of Sruts-JSP tutorial is released now ? and whether have any supplement option for Jhs10g have been released ?
    thanks a lot !

  • How to get values from a table(in jsp) for validation using javascript.

    hi,
    this is praveen,pls tell me the procedure to get values from a table(in jsp) for validation using javascript.
    thank you in advance.

    Yes i did try the same ..
    BEGIN
    select PROD_tYPE into :P185_OFF_CITY from
    magcrm_setup where atype = 'CITY' ;
    :p185_OFF_CITY := 'XXX';
    insert into mtest values ('inside foolter');
    END;
    When i checked the mtest table it shos me the row inserted...
    inside foolter .. Now this means everything did get execute properly
    But still the vallue of off_city is null or emtpy...
    i check the filed and still its empty..
    while mtest had those records..seems like some process is cleaining the values...but cant see such process...
    a bit confused..here..I tried on Load after footer...
    tried chaning the squence number of process ..but still it doesnt help
    some how the session variables gets changed...and it is changed to empty
    Edited by: pauljohny on Jan 3, 2012 2:01 AM
    Edited by: pauljohny on Jan 3, 2012 2:03 AM

  • How to create a custom task in SRM for the standard task

    Hi Gurus,
    How to create a custom task in SRM for the standard task  eg: TS10407929
    regards,
    George.

    from PFTC itself. Same.

  • Custom Extractor using FM for Delta Upload

    Hi,
    I created a Custom Extractor using FM for Full Upload. The requirement now is that it should be able to handle Delta also.
    I used the standard FM RSAX_BIW_GET_DATA_SIMPLE to create my Z FM.
    Please suggest me the changes I have to make in this to be able to upload Delta also.
    Thanks
    Nageswara

    Hi Mahesh,
    You can selectively load from BI side (through Infopackage) and for that you should have those selection field defined as ranges in your FM.
    As per my genius friend Sidharth Gupta:
    FM RSAX_BIW_GET_DATA_SIMPLE is a funct. Mod having a simple interface in which I_UPDMODE is not used. Actually FM RSAX_BIW_GET_DATA_SIMPLE is used for a full update and uses an F2 extraction method. However through ABAP we can try to make it delta capable like below.
    *Declare
    DATA  I_UPDMODE.
    Now to capture delta on AUDAT
           I_UPDMODE = u2018 u2018.
    LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'AUDAT'.
                MOVE-CORRESPONDING L_S_SELECT TO L_R_AUDAT.
                 I_UPDMODE = u2018 D u2019.
                APPEND L_R_AUDAT.
              ENDLOOP.
    This code works however is not flexible as you do not use a CASE stmt on I_UPDMODE.
    CASE stmt gives more flexibility which is used in FM RSAX_BIW_GET_DATA.
    FM RSAX_BIW_GET_DATA is a funct. Mod having a complete interface in which I_UPDMODE is passed to funct mod during its call.FM RSAX_BIW_GET_DATA can be  used for all update types and uses an F1 extraction method. However after writing the funct mod the default extraction method is F2 in table ROOSOURCE which needs to b changed to F1 for ur mod to work.  This change from F2 to F1 can be done via test abap code.
    Part two of that Article is yet to be published so wait for sometime or follow above mentioned approach.
    Hope it helps.
    Regards,
    Ashish

  • Precompilation of JSPs for default web application

    Hello,
    Once in a while I need to redeploy my "Default" web application. I would like to have its all JSPs precompiled, so that it was immediatly available after redeployment.
    However, if I try to redeploy my web application (.war file) under, let's say, "DefaultWebApp" root context, using the administration console, with the "Precompile JSPs" option enabled, it does compile all JSPs, but ONLY those deployed under the "DefaultWebApp" root context.
    However, If I access a url like "http://somehost/SomeResource.jsp" (a file that belongs to that default web application"), I can see (due to a pause) that my JSPs have not been compiled under the root context.
    Is there any way to precompile JSPs for my default web applications?
    Sincerely,
    Sergei Batiuk.

    Hello,
    Once in a while I need to redeploy my "Default" web application. I would like to have its all JSPs precompiled, so that it was immediatly available after redeployment.
    However, if I try to redeploy my web application (.war file) under, let's say, "DefaultWebApp" root context, using the administration console, with the "Precompile JSPs" option enabled, it does compile all JSPs, but ONLY those deployed under the "DefaultWebApp" root context.
    However, If I access a url like "http://somehost/SomeResource.jsp" (a file that belongs to that default web application"), I can see (due to a pause) that my JSPs have not been compiled under the root context.
    Is there any way to precompile JSPs for my default web applications?
    Sincerely,
    Sergei Batiuk.

  • How to construct table in jsp for the resultset from helper class

    Hi Dudes!!!
    Want to construct table in jsp for the resultset, but the resultset are retrieved at the helper class.I constructed Table in Helper class Using StringBuffer and return it as string from the helper class.Is their any other feasible and efficient way to construct table in Jsp for the resultset from Helper class.Solution will be highly appreciated.Thanx in Advance.

    no, we can't.
    Certainly noone can with such vague specifications even if they had the intent to do so.
    "the computer", which computer?
    "attach to our current page", what is meant by that?
    And noone should ever help you if you're planning to breach security anywhere.

  • Customer unit coming in for repair

    Hello All:
    I am hoping I am posting this in the right forum So I am posting in a few places....I am in desperate need of help...we are at our year end and have an issue that I need to clear up badly.  We are using ECC 6.0
    Scenerio
    When we perform an inbound delivery on a customer unit coming in for repair, it automatically creates the service order in (IW31).  The technician then releases it and repairs the unit.  At times he may need material from the stock room for the repair.  He adds this to his service order and it creates an automatic reservation.  The stockroom issues the material in MIGO to the service order.  If the technician decides he does not need the material he will then take it back to the stockroom for them to cancel the goods issue to the service order.  We learned that the stockroom when doing the cancellation was cancelling the document to the order and not cancelling to the material document number....
    Problem
    When cancelling to the order it was putting this in a different GL account.
    Goods issue to GL account 5XXXXXX
    Cancellation to GL account 6XXXXXXX
    So when we were doing the DP90 (billing request) the GL account number 6XXXXXX was popping up saying that the cost element is without combination odf the ZProfile (ODP1).  The set up of the ODp1 is not the problem as we are not maintaining any of the cost elements there.
    We tried to reverse the cancellation that was done to the order and cancel to the material document number so that it grabbed the correct GL account number...however the service order still shows the account number 6XXXXXXX in the actual costs...and when I try to run the DP90 again I get the same error.....I am not sure how the cost center is being derived in the service order for this as the technicians do not enter a cost center/element at all.  They do chnage the account indicator at times but that is it.
    Please give me any guidance as where to look so I can get this fixed. 
    I have tried to get with consultants but they are at a lost.

    Hi JP and thanks for your response.
    I am understanding what you are saying however when I am looking at the OBYC and OPUU I see different things..
    First to start my valuation class is 7901
    OPUU does not appear to have the profile set up for the service orders...I am only seeing two:
    T&M-Fixd-R&D-Exp NW Profile w/Act. Asgmt
    and
    Capital NW Profile w/Act. Asgmt
    In the OBYC transaction I do see the 5XXXXX with the GBB general modifier VBR only
    In the OBYC transaction I do not see the 5XXXXX or the 6XXXXX  with the BSX the valuation class 7901 starts with 13XXXX
    Any more help?  Is this a finance issue?

  • I am trying to understand the licensing procedures for using tabKiller for 3.5.7 firefox. Who should I contact for this? I do not see any customer service phone number for Firefox

    I am trying to understand the licensing procedures for using tabKiller for 3.5.7 firefox. Who should I contact for this? I do not have the customer service phone number for Firefox

    Tab Killer is not created by Mozilla, it is created by a private individual who has made it available at no cost for other people to use.

  • Re:- How to see customer/vendor open items for profit center wise

    any one help me regarding : How to see customer/vendor open items for profit center wise. That is possiable or not please suggest to me. I am using 4.6c version .

    Run the report from Tcode FBL1N for vendor open item and from FBL5N fron Customer open items.
    When you get the report, click on Change Layout icon ( or press Control + F8 from keyboard), search Profit Center fron the Table of Hidden fields on the right hand side. Move that field to the Left hand side table. Click ok, now you should be able to see the Profit Center column in your report.
    You can save this layout by clicking on the Save Layout icon ( or press Control + F12 from keyboard)
    Next time you can choose the saved layout by clicking on the Select Layout icon ( or press Control + F9 from keyboard)
    Regards
    Dharmveer

  • Custom drop down list for the filter for BEX report

    Hi, all:
    I am writing a query for a BEX report that prompts the user to enter a value for a field "GL account".  I would like to have the user select from a limited number of GL options rather than have the whole Chart of accounts show up. Is there a way to make a "custom" drop down list for the filter?
    Thanks!
    Jenny

    You need to make your GL account info object as an authorization object. And in the info object ,for BEx you need to select the option "only authorized values".
    Create an analyis authorization on gl account and assign the restricted set of GL accounts to the user. Asign this analysis authorization to the user.In the query restrict this infoobject with an authorization variable. This would solve your purpose.user would be able to see only a selected set of GL accounts for which he is authorized.

Maybe you are looking for