ApplicationModule wizard generates no javadoc in generated interface

When the ApplicationModule wizard generates the interface for the client with my custom methods, the javadoc is not copied from the Impl file to the interface.
I want to give the interface to somebody else who is going to implement the user interface for my business tier.
Therefore I expected the documentation of the methods getting copied to the interface. As I understand, all the classes in the common package represent the interface to the business tier. Please correct me if I'm wrong.
How do you document the interface of the business tier?
Thanks for any help,
Robert

Unfortunately you're right. There currently is not a good way to document the client interface files.
We don't transfer any method comments from the original file to the client interface file, nor do
we work to preserve user entered comments in client interface file, since we regenerate the
interface methods each time you save the object in the wizards. We try to do a pretty good job
of preserving user code and comments in the other bc4j generated files, but I guess we let
this one go up to this point A bug has been filed related to these issues and we will be working
on it in the 9.0.4 release. Thanks!

Similar Messages

  • Populating a calculated value on a Wizard generated Tabular Form

    Hi
    I have created a wizard generated tabular form, the form works great by itself.
    However I also have a requirement to populate the column "Updated By" which will contain the :APP_USER and this needs to be done whenever any value is changed on the updatable columns on the tabular form.
    How can I achieve this functionality ?
    thanks in advance.
    regards
    Vivek

    Hi Vivek,
    There're different possibilities of doing it. By using a javascript function or a direct call.
    Whatever you'll chose, you'll probably need something like: $x("P1_ITEM").value = 'Your value';
    I believe you're using a tabular form, so you're items are called something like: f03_0001
    Hope that helps,
    Dimitri

  • Can't compile the HTML-Java Wizard generated file.

    I have created a java file using HTML-Java Wizard.
    when compiling the java file it gives an error
    method getDeclaredMethod(java.lang.String,null) not found in
    class in java.lang.class
    can anyone tell me how can I remove the error ?
    waiting for your early reply in this regard.
    Thanks
    null

    Thanks, My problem has been solved.Now it is working.
    Initially I was using wrong classes.zip file in myclasspath.The
    Correct one is in %JDEVELOPER_HOME%\java\lib. The size of that
    file is 9.48 MB.
    Regards
    -- Sujit
    JDeveloper Team (guest) wrote:
    : Sujit,
    : I assume that you have access to the OAS jars needed to compile
    : this file (refer to the "Building Java Applications for OAS"
    : guide in the helpsystem for details).
    : Also, try deleting the dependecy files in your
    : myclasses/your_package directory .
    : Regards,
    : Sujit Hazra (guest) wrote:
    : : Hi,
    : : The error is still there.
    : : I have tried as you suggested.That brought me the code of
    : : java.lang.Class and also found that method as you
    : mentioned.This
    : : means my libraries are properly installed.
    : : The following code is taken from the HTML-Java Wizard
    generated
    : : file:
    : : private HtmlPage makePage() {
    : : HtmlPage hp = new HtmlPage(new java.io.File(filepath +
    : : java.io.File.separator +
    filename));
    : : for(int i=0;i<WRB_tags.length;i++) {
    : : try {
    : : hp.setItemAt(WRB_tags[0], new SimpleItem(
    : : this.getClass().getDeclaredMethod(
    : : "get"+WRB_tags[i][2],null).invoke(this,null)));
    : : catch (java.lang.Exception ex) {
    : : hp.setItemAt(WRB_tags[i][0],
    : new(SimpleItem(WRB_tags[i][1]));
    : : return hp;
    : : I didn't change anything on that.What else should I do?
    : : waiting for your early reply in this regard.
    : : Thanks
    : : - Sujit
    : : JDeveloper Team (guest) wrote:
    : : : Sujit,
    : : : Test this:
    : : : Bring up JDeveloper
    : : : Press Ctrl / - Control key and the Slash key
    : : : Type in java.lang.Class
    : : : This brings up the code for java.lang.Class
    : : : If it does not, then somehow your libraries
    : : : are not properly installed for JDeveloper to find
    : : : (see IDEClassPath ).
    : : : Otherwise, there you should see many methods including:
    : : : public Method getDeclaredMethod(String p0, Class[] p1)
    : : : throws NoSuchMethodException, SecurityException {
    : : : // implementation not available
    : : : Also note: Your spelling for Class should be
    : : : java.lang.Class
    : : : - JDeveloper Team
    : : : You can browse the class
    : : : Sujit Hazra (guest) wrote:
    : : : : I have created a java file using HTML-Java Wizard.
    : : : : when compiling the java file it gives an error
    : : : : method getDeclaredMethod(java.lang.String,null) not found
    : in
    : : : : class in java.lang.class
    : : : : can anyone tell me how can I remove the error ?
    : : : : waiting for your early reply in this regard.
    : : : : Thanks
    null

  • How to generate interface like the following?

    How to generate interface like the following? It is very practical.
    http://dl.getdropbox.com/u/212185/WebPics/AdobeForum_001.png
    Thanks!
    hanyang

    Interesting. I know much of that is possible, but it'd be heavy customization work. There's no 'table' type in the ADM, nor is there anything about lists with columns.
    That said, you can pretty much customize the drawing of a list entry to your heart's content so I don't see why you could do it manually. Drawing text is done by specifying boxes so it should be fairly easy to do that part.
    As for making a combo box pop up when you click...that I'm far less sure about. Again, catching the click and figuring out what column it's in shouldn't be too hard, so long as you take the proper care in setting up your widget & variables. And you *might* be able to create a combo box on the fly and position it appropriately -- though without a clear z-order I can't guarantee that it wouldn't appear *behind* the list. The trouble I see is figuring out how to dismiss the combo box when finished with it. You'd have to be careful to catch a lot of events like the panel losing focus and clicks to anything else on the panel and hooking them all up to let the list know it's time to dismiss the temporary combo box.

  • Wizard generated Master-Detail form issues

    The wizard-generated master/detail forms have several severe usability issues when the "Choose Layout" option is set to "Builder master detail with: edit detail as tabular form on same page".
    Some of these issues are:
    - The form has two Apply Changes buttons, one to save the master row and one to save the detail row. Users find this very confusing. If you save the master row changes, any changes to the detail rows are lost and vice versa.
    - The form has two Delete buttons, one to delete the master row and one to delete the checked detail rows. Users find this confusins also. Clicking the lower delete button discards any other changes that were made.
    - The Add Row button also discards any other changes that were made.
    The first two issues are easily fixed. With a few simple changes to the generated page, I can make it so there is a single "Apply Changes" button that 1) saves any changes to the master row, 2) saves any changes to detail rows and 3) deletes any checked detail rows.
    I cannot figure out how to solve the third issue (that the add row button discards any changes). I can make it so the "Add Row" button saves the changes, but this isn't user friendly either; I don't think any changes should be comitted unless the user specifically presses 'Apply Changes'.
    So far, I thought of several ways to possibly fix this but can't get any of them to work. Some of the ideas were:
    1. The 'Add Row' button could run the automatic row processing and MRU processes, but not do a commit untill/unless Apply Changes is pressed. I don't think this is feasible because http is stateless and connection pooling may be used, so we can't have a transaction that spans http requests.
    2. Move the Add Row process to page rendering so that the detail table always has an empty "add row" row thereby making the Add Row button unnecessary. I tried this, but it looks like the add row process was designed to run during the page processing, not during rendering, and it fails with a divide by 0 error when it is run during page rendering.
    3. Use client-side DHTML (instead of the HTML DB add row process) to add an empty row to the html table (i.e. add row button does not do a submit, it is handled entirely on the client). I tried this, but the MRU process fails because it doesn't expect the added row.
    If anyone has any other ideas on how to fix this problem, they would be greatly appreciated.
    HTML DB solves this problem in the SQL workshop create table wizard.
    In HTML DB 1.6, the "Add Column" button does a submit but somehow saves any changes that were entered.
    In HTML DB 2.0 beta, client-side DHTML is used (my approach 3 above).
    Can someone from Oracle share how the HTML DB create table wizard solves this problem?

    Eric,
    Thanks for your feedback. I’ll add your suggestions to our list of tabular form enhancement request.
    The wizard generates a regular form for the master record and a tabular form for the detail records. As you pointed out, it’s quite easy to customize this to your individual needs.
    Unlike regular forms, there’s currently no session state concept for tabular forms, so you either need to write your data to the database, or you will loose any changes if you e.g. paginate. For the same reason, the “Add Row” button and the associated process is generated so that any changes are saved to the database before adding a new row. Of course the MRU process that is executed on “Add Row” can be removed, if that is the preferred behavior.
    A work around would be to code the DML processes for tabular forms manually, and temporary store the data in HTML DB collections to simulate a stateful behavior.
    In HTML DB 2.0 we started adding DHTML features, such as the create table wizard you’re referring to. Some features, like the pull down menus, will be available to be used in your own applications. Other features, like the DHTML tabular form, won’t be available for custom applications in 2.0.
    Regards,
    Marc

  • SoftMotion 2010 - Trajectory Generator interface

    Hi
    I'm just upgrading from 8.6.1 to 2010 SP1, and am having some problems with the changes to the SoftMotion module.
    My code that used the Trajectory Generator interface no longer works.  I get an error message saying "Trajectory Generator Method: Library that defines the XNode cannot be found".  A quick search of the website suggests that this may be because I've got the 'Standard' version of the module, and need the 'Premium' version to use this interface.  Is that right?
    My NI licenses just got upgraded automatically (under SSP) and there was no warning that existing functionality would be removed.  Does that mean there's a simple way round this?  It doesn't look like the standard scan mode interface will do what I need.
    Thanks,
    Ian

    Hi Chris,
    I don't think my problem is due to either of those things.  I'm unable to create new VIs using the Trajectory Generator interface because those VIs don't seem to be installed.
    From the readme file you linked to:
    New Features
    The following items are enhancements or additions to the LabVIEW NI SoftMotion Module relative to the NI SoftMotion Development Module for LabVIEW.
    LabVIEW Palette Reorganization
    The VIs previously on the NI SoftMotion palette are now included on the NI SoftMotion»Advanced»Trajectory palette.
    But in my installation there isn't an Advanced palette under NI SoftMotion.  After reading the help files, I think this may be because I have the 'Standard' version of SoftMotion, not 'Premium'.  Please could you confirm whether this is the case?
    I did previously have access to this functionality (when using 8.6.1), so I don't think I'd agree with the readme's description of these changes as "enhancements or additions"!
    Regards,
    Ian

  • Oracle Custom Class Wizard generating "IsNull" bool fields

    Hi there,
    we're using Visual Studio 2005, Oracle 11g and ODTwithODAC1110621.
    I need to generate custom classes to map Oracle UDT's.
    The generate process works fine but it creates additional fields like "private bool m_SomeFieldIsNull;"
    I've spotted that this occurs at least for Oracle Number and TimeStamp fields.
    Does anybody knows why the wizard behaves like that ?
    After generating the custom classes i need to make them implement some interfaces.
    Does anybody knows a way to automate this instead of going to the code and manually do it ?
    Could it be done by extending the wizard behaviour ?
    Thanks in advance!
    Cheers,
    Ricardo

    don'u use the mapping type xml, you sholud use the attribute type mapping, for more information please see the examples folder.

  • Using oc4j to generate interfaces from wsdl produced improper method names

    The method names that were produced from the opperations in my WSDL, generated an interface file with incorrect method names. The name went from "DoTest" in the wsdl to "doTest" in the Interface file.
    I double checked and all the cases are correct in the wsdl.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by John Reynolds (MedPlus) -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:y="http://localhost/TestService" targetNamespace="http://localhost/TestService">
         <types>
              <xs:schema targetNamespace="http://localhost/TestService" xmlns="http://www.w3.org/2001/XMLSchema">
                   <xs:element name="Tresult" type="xs:string"/>
                   <xs:element name="Tname" type="xs:string"/>
                   <xs:element name="Tfault" type="xs:string"/>
              </xs:schema>
         </types>
         <message name="DoTestResponse">
              <part name="Result" element="y:Tresult"/>
         </message>
         <message name="DoTestRequest">
              <part name="Name" element="y:Tname"/>
         </message>
         <message name="DoTestFault">
              <part name="ExceptionDetail" element="y:Tfault"/>
         </message>
         <portType name="TestService">
              <operation name="DoTest">
                   <input message="y:DoTestRequest"/>
                   <output message="y:DoTestResponse"/>
                   <fault name="DoTestException" message="y:DoTestFault"/>
              </operation>
         </portType>
         <binding name="TestService" type="y:TestService">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="DoTest">
                   <soap:operation soapAction="urn:#DoTest" style="document"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
                   <fault name="DoTestException">
                        <soap:fault name="DoTestException" use="literal"/>
                   </fault>
              </operation>
         </binding>
         <service name="TestServiceSoap">
              <port name="TestService" binding="y:TestService">
                   <soap:address location="http://localhost/TestService"/>
              </port>
         </service>
    </definitions>

    Obviously one could rename the operation to that standard, but that doesn't exactly strike me as being anything other that a work around for a bug.
    WSDL provides a contract in which multiple languages have to conform to a set of interfaces, and it's not exactly good to have a tool, just a assume the contract for an interface is wrong.
    I could argue that I'm only doing Java on the front end and .Net on the client side and that they don't neccessarily follow the Java convention, nor should be constrained by it.
    I do agree with you that they probably just followed the convention when writing to code generator and just happened to pick up the convention. They just need to fix it now.

  • Wizard generated table control: bug in insert line function?

    Hi,
    I added a table control to a dynpro using the wizard in the screen painter. Now I have an issue with the inserting line button:
    If I add a new line the first time, a new empty line is added to the table control before my last line. So far so good.
    If I add now another line, again a new line empty is added before my last line and two lines are added after my last line: one empty line and a line with the same content as my former second last line.
    The following should explain it a bit better:
    table before inserting new line:
    line 1
    line 2
    line 3
    line 4
    line 5
    after inserting a new line:
    line 1
    line 2
    line 3
    line 4
    new empty line
    line 5
    table before inserting the second line:
    line 1
    line 2
    line 3
    line 4
    line 5
    line 6
    after inserting the second line:
    line 1
    line 2
    line 3
    line 4
    line 5
    new empty line
    line 6
    new empty line
    line 5
    I didn't change the generated coding yet!
    Thanks in advance and regards,
    Martin
    Edited by: fischerman on May 29, 2008 9:08 AM

    Here is the code of the form which is called in PAI if the insert button was pressed:
    FORM fcode_insert_row
                   USING    p_tc_name           TYPE dynfnam
                            p_table_name             .
    *&SPWIZARD: BEGIN OF LOCAL DATA----------------------------------------*
       DATA l_lines_name       LIKE feld-name.
       DATA l_selline          LIKE sy-stepl.
       DATA l_lastline         TYPE i.
       DATA l_line             TYPE i.
       DATA l_table_name       LIKE feld-name.
       FIELD-SYMBOLS <tc>                 TYPE cxtab_control.
       FIELD-SYMBOLS <table>              TYPE STANDARD TABLE.
       FIELD-SYMBOLS <lines>              TYPE i.
    *&SPWIZARD: END OF LOCAL DATA------------------------------------------*
       ASSIGN (p_tc_name) TO <tc>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
       CONCATENATE p_table_name '[]' INTO l_table_name. "table body
       ASSIGN (l_table_name) TO <table>.                "not headerline
    *&SPWIZARD: get looplines of TableControl                              *
       CONCATENATE 'G_' p_tc_name '_LINES' INTO l_lines_name.
       ASSIGN (l_lines_name) TO <lines>.
    *&SPWIZARD: get current line                                           *
       GET CURSOR LINE l_selline.
       IF sy-subrc <> 0.                   " append line to table
         l_selline = <tc>-lines + 1.
    *&SPWIZARD: set top line                                               *
         IF l_selline > <lines>.
           <tc>-top_line = l_selline - <lines> + 1 .
         ELSE.
           <tc>-top_line = 1.
         ENDIF.
       ELSE.                               " insert line into table
         l_selline = <tc>-top_line + l_selline - 1.
         l_lastline = <tc>-top_line + <lines> - 1.
       ENDIF.
    *&SPWIZARD: set new cursor line                                        *
       l_line = l_selline - <tc>-top_line + 1.
    *&SPWIZARD: insert initial line                                        *
       INSERT INITIAL LINE INTO <table> INDEX l_selline.
       <tc>-lines = <tc>-lines + 1.
    *&SPWIZARD: set cursor                                                 *
       SET CURSOR LINE l_line.
    ENDFORM.                              " FCODE_INSERT_ROW

  • ODI:HOW TO GENERATE INTERFACES AUTOMATICALLY

    DEAR ALL:
    I'm now using ODI as etl tools.In the source datastore there are a lot tables called A,B,C,D...,in the target datastore are a lot tables called A_T,B_T,C_T,D_T...which every table has the same structure mapping to the previous one except including an additional column called DELETE_FLAG.Now I need to make the interfaces each implemnts like this:
    A -> A_T
    B -> B_T
    C -> C_T
    each interfaces in one folder named by the souce table name,and each interfaced is named by the souce table name too.It's a large job if I generate the interfaces one by one manually as the total number of the tables is very large.Is there an easy way to achieve this?In every interface I nearly do the same thing...
    I'm sorry I'm not good at English,maybe I don't describe clearly,help me,thanks~ - -#

    The link I posted redirect to the 5th post of this conversion where David Allan give some links towards his blog.
    Here is a copy of his message:
    David Allan wrote:
    Interface accelerator;
    https://blogs.oracle.com/warehousebuilder/entry/odi_11g_interface_builder_accelerator
    Groovy version - Getting Groovy with ODI
    https://blogs.oracle.com/warehousebuilder/entry/odi_11g_getting_groovy_with
    Extending the interface accelerator example (auto mapping extensions);
    https://blogs.oracle.com/dataintegration/entry/extending_the_interface_accelerator
    More interface accelerator options around auto mapping;
    http://blogs.oracle.com/warehousebuilder/entry/odi_11g_more_accelerator_options
    Interface Builder (explicit interface definition driven from a file);
    https://blogs.oracle.com/warehousebuilder/entry/odi_11g_interface_builder
    Cheers
    David

  • Seiban Wizard - Generating Tasks for existing Projects errors out

    Hi All,
    As I try to generate tasks using Seiban Wizard for an existing project, I am getting an error -"APP-PJM-58127: Task Creation returns the following error : Project ID is invalid"
    Navigation:
    1) Accessing Project Manufacturing Super User Responsibility -> Project Definition -> Seiban Wizard
    2) Select (R) Using Project Number -> (R) Add an existing Project -> ( Select the existing project from LOV) -> ( Enter the Tasks sequence related data for generation)
    I get the Error:  "APP-PJM-58127: Task Creation returns the following error :  Project ID is invalid".
    Observations:
    - The  project being used is valid
    - When trying to create new project and tasks using the Seiban Wizard, it is working fine,
    Can you please provide any resolution for this.
    Thank you
    Regards
    Naveen.

    Break your code into two parts:
    1. Extract the data from the database into variables in memory.
    2. Generate the XML.

  • Generate Interface Documentation

    Hello all,
    could you tell me where i can find information regarding with SAP PI Interface Documentation. How can i generate reports of created objects, interfaces, scenarios if i have documented them in IR and ID? Is there any guide i can use to document my interfaces? Can this documentation be published as a HTML resource?
    Thank you in advance.

    Are you talking about the technical + functional document that we prepare for an interface developed in SAP XI/ PI? If yes, then have a look at this section:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/86bdc490-0201-0010-b9a2-b98373ea4dc4
    Normally such documents are hosted in a server which has a user interface....this user interface has a link which refers to the actual document.....a search kind of functionality.
    May be a search on SDN can help you further.
    Regards,
    Abhishek.

  • Programmatically generating Interfaces

    Hi,
    We are using ODI as part of our project to migrate the data from source(oracle DB) to target(oracle DB). The mapping between source and target table columns are user configurable.
    Is it possible to generate the interfaces programatically (based on the user mapping between source and target table columns) in the production instance?.
    Also please provide the steps or pointers to any document describing the same..
    Thanks, Satya

    HI Satya,
    Can you please briefly elaborate about your issue or send me an email (a d i e t l.m n [email protected]) about your issue so that i can guide you in a better way.
    I am putting spaces between email id so that net spammers dont track the email.
    Thanks,
    Lony
    8763043086

  • Runtime Exception from WDP generated interface class

    Hi,
    I am having runtime class cast exceptions from the Internal component file. There is no errors in compiling/building. The application is trying to use another method in the component in another DC. I believe some generated files may have go corrupt but i am not sure how to fix this. Anyone have any suggests? Or maybe other ideas what might be causing this.
    java.lang.ClassCastException
    at com.xxx.yyy.component.wdp.InternalABCComp.wdGetTestInterface(InternalABCComp.java:694)

    Hi,
        If this DC is using is using other components then the problem may be with the UsedDCs. Check if any one of them or their models are changed. Then you have to reimport the models in that DCs. (Hint: Build and deploy those DCs if there have problems you can find)
    REgards,
    Siva

  • Why doesn't the wizard generated applet work?

    I can't get an applet to run inside a html page using the embedded OC4J.
    I have re-installed Jdev a couple of times but no dice. Is there some sort
    of Apache setting I am missing here?
    thanks in advance for any suggestions.
    owen

    <APPLET CODE="project1.Applet1" HEIGHT="200" WIDTH="200" ALIGN="bottom">This browser does not support Applets.</APPLET>
    i get a class not found error... it looks like the wizard is not putting the the right path....

Maybe you are looking for

  • No usb mouse/keyboard detection on K8n Diamond

    My logitech ultrax wireless media desktop ( infrared combined reciever,  only one usb port) does not be detected with a computer reboot . When i switch  in the bios" usb mouse detection" at disable ( or !!) enable, it works for a while but a few rebo

  • Multiple follow up material

    Hi,   I hav eone requirement  we have material X  for this in material master follow up material is Y  now user want that for the material Y  they want to add anothere follow up material z  so is it possible  how it works,  now when  I am trying to a

  • Problem Installing Jive Portlet(please help me)

    Hi every body, i am installing the Jive Portlet on OralceAS 10g on a new instance of oc4j, but got errors. i extracted the OracleProviderForJive.zip, but when we run the test URL: http://localhost:7782/forum/providers/forum i get this error: Provider

  • How to make the times of all nodes similar

    Hi, i have a 3 node 10.2.0.4 64Bit Cluster database on HP Itanium with OS RHEL-4.6. we donot have any NTP Server integrated with these. Three nodes are running with three different Time with significant differences. More over 2 of the Nodes run well

  • Widgets in iWeb ?

    Is there a way to load the desktop widgets into iWeb? If yes, your guidance would be appreciated. Thanks