Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Retail Training Forum
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

OAF Substitution test from jdeveloper

0
Hi,
I am doing a small extension and created a substitution and I want to test this in jdeveloper without putting it into server, how can I do this. I don't have access to the server in the instance given to me by apps2fusion so this is required for me to test my substitution.In jdeveloper guide something mentioned as below but not working, I am able to run my standard oracle created page but my substitution in not in affect, please help me, requirement is to run the page with substituted EO or VO from jdeveloper without transferring the file to server :Make sure that the classpath contains the .jpx file. Use the runtime system property -Djbo.project=Name where Name is the JPX file name without the .jpx extension (ExtendLab). In JDeveloper, the classpath already contains the .jpx file when you compile the project. Hence, you just need to specify the runtime system property.Right-click on your project and select Project Settings.Then in Configurations | Development | Runner, add -Djbo.project=Name to the Java Options. Give a space between the existing options like -mx256m and the new option, -Djbo.project=Name
Please advise.
ThanksSreejit Nair
Responses (5)
  • Accepted Answer

    Tuesday, March 08 2016, 02:54 PM - #Permalink
    0
    Hi Sreejit,

    Yes you can run substitution from Local Jdeveloper.

    Following steps need to be taken

    1. Hope you are able run seeded page from Local Jdeveloper. (First try same)

    2. In the Project Properties navigation tree, select Run/Debug. Select Edit for the Default Run Configuration. In the Launch Settings page of the Edit Run Configuration window, add the following option to the existing Java Options:
    -Djbo.project=

    3. Do the requirement personalization by checking substitution from "About this page".

    Let us know if you are facing any issue

    Thanks..
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 09 2016, 11:15 AM - #Permalink
    0
    Hi Avinash,

    I can run the standard page from jdeveloper.

    Scenario:

    My workspace toolbox is having standard project tutorial
    where there is a standard page and then I created a new project xxprpProjects
    and extended standard EO and written a code in extended EOImpl's create method
    to set the default value to one attribute.

    I have done the EO substituion to set the attribute default (not
    by personalization) by using extended EOImpl java code by setting like
    public void create(AttributeList attributeList) {

    super.create(attributeList);

    setPaymentTermsCode("NET_60");


    }

    Question 1: For -Djbo.project configuration, One doubt in which
    project I need to put this -Djbo.project, should it be in main project tutorial
    or in my new project xxprpProjects?

    Question 2: I tried with -Djbo.project=xxprpProjects in my new
    project but when I run my page I cannot see the payment term taking the default
    value of NET_60, how can I say from the page that it has taken the substitution
    of extended EO into affect. For VO we can see from in About the Page
    "Business Component References Details" section but where to confirm
    for EO substitution?

    Thanks

    Sreejit Nair


    On Tuesday, 8 March 2016, 15:30,
    sreejit nair <sreejitnair123@yahoo.com> wrote:


    On Tuesday, 8 March 2016, 14:55,
    Apps2Fusion Discuss <discuss@apps2fusion.com> wrote:

    Oracle Training Experts

    Avinash Kapoor replied
    to the discussion OAF
    Substitution test from jdeveloper

    Hi Sreejit,

    Yes you can run substitution from Local Jdeveloper.

    Following steps need to be taken

    1. Hope you are able run seeded page from Local Jdeveloper. (First try same)

    2. In the Project Properties navigation tree, select Run/Debug. Select Edit
    for the Default Run Configuration. In the Launch Settings page of the Edit
    Run Configuration window, add the following option to the existing Java
    Options:
    -Djbo.project=

    3. Do the requirement personalization by checking substitution from
    "About this page".

    Let us know if you are facing any issue

    Thanks..


    You may view the discussion by clicking on the button below.


    Read this discussion »
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 10 2016, 11:40 AM - #Permalink
    0
    Hi Sreejit,

    Question 1: For -Djbo.project configuration, One doubt in which project I need to put this -Djbo.project, should it be in main project tutorial or in my new project xxprpProjects?


    Answer:
    ======
    we need to write definition in project property -> Business Component-> Substitution

    Here we need to provide project Name Substitution definition has been defined.




    Question 2: I tried with -Djbo.project=xxprpProjects in my new project but when I run my page I cannot see the payment term taking the default value of NET_60, how can I say from the page that it has taken the substitution of extended EO into affect. For VO we can see from in About the Page "Business Component References Details" section but where to confirm for EO substitution?

    Answer.
    =======
    Whether substitution(AM,EO or VO) is working or not, you can using About this Page.

    Check attached document for substitution.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 10 2016, 12:25 PM - #Permalink
    0
    Hi Avinash,
    Thanks for quick reply.
    I am attaching my steps which is similar to yours but still not showing the EO substitution in about the page VO section.
    Can you please check my steps in SubstitutionFromJdevloper.docx and let me know what I am missing? Do I need to run the jpximport from jdeveloper install path to import the substituion to database that's the only thing I guess might be the cause?
    ThanksSreejit Nair



    On Thursday, 10 March 2016, 11:45, Apps2Fusion Discuss <discuss@apps2fusion.com> wrote:
















    Oracle Training Experts




    Avinash Kapoor replied to the discussion OAF Substitution test from jdeveloper




    Hi Sreejit,



    Question 1: For -Djbo.project configuration, One doubt in which project I need to put this -Djbo.project, should it be in main project tutorial or in my new project xxprpProjects?





    Answer:

    ======

    we need to write definition in project property -> Business Component-> Substitution



    Here we need to provide project Name Substitution definition has been defined.









    Question 2: I tried with -Djbo.project=xxprpProjects in my new project but when I run my page I cannot see the payment term taking the default value of NET_60, how can I say from the page that it has taken the substitution of extended EO into affect. For VO we can see from in About the Page "Business Component References Details" section but where to confirm for EO substitution?



    Answer.

    =======

    Whether substitution(AM,EO or VO) is working or not, you can using About this Page.



    Check attached document for substitution.



    Attachments:






    Substitution Steps.docx









    You may view the discussion by clicking on the button below.



    Read this discussion »
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 10 2016, 04:44 PM - #Permalink
    0
    Question: Do I need to run the jpximport from jdeveloper install path to import the substituion to database that's the only thing I guess might be the cause?

    Answer : No this is not required if want to run substitution from Local System. Import is only required once you need to run after deployment on server.


    Checked... Your steps seems fine.

    Can you check whether your new EOImpl.java file is complied?

    Thanks..
    The reply is currently minimized Show
Your Reply

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  May 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
    1  2  3  4  5
  6  7  8  9101112
13141516171819
20212223242526
2728293031  

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner