JDAPI and XMLTOOLS javadoc

Hi,
Where can I find a javadoc description of the JDAPI and XMLTOOLS framework for Forms10g? I need it to change some properties in forms in batch. Some usage examples are welcome too.
Regards,
Roel

Hello,
<p>JDAPI documentation, and the list of JDAPI integer constants.</p>
Francois

Similar Messages

  • Oracle9iDS Forms Developer JDAPI and XMLTOOLS Javadoc Missing

    Oracle9iDS Forms Developer JDAPI and XMLTOOLS Javadoc ZIP file is missing. When you click on http://otn.oracle.com/documentation/9i_forms.html and scroll down to to Javadoc section, click on zip link moves you to http://otn.oracle.com/documentation/index.html which is wrong. Please take action and fix it!
    Cheers,
    Andrej Zabkar

    Hi Andrej,
    Thankyou for the feedback.
    I have fixed the link, please try once again.
    Regards,
    Les

  • Audit and Standard Javadoc applied to all Jdeveloper project java classes

    Hi,
    I want to apply standard Javadoc to all the java classes I have written. Is there a quick way of doing it in 11.1.1.3
    I have already done the following but the code editor rules are not getting enforced.
    1) Go to 'Tools' and then choose 'Preferences
    2) Go to the 'Code Editor' and under it 'Java' and then 'Javadoc'
    3) Select all the tags like @author @version @param etc and modify the Tag properties to be required and then click OK
    4) Next I create a new Java class but the code editor rules are not enforced.
    Questions:
    a) How to enforce the code editor preferences?
    b) How to automatically generate the missing javadocs in the existing classes in Jdeveloper?
    c) How to audit and setup a coding standard, so that it's easier to monitor what everybody in the project does and adheres to the coding guidelines.
    Bottomline - Are these possible in JDeveloper 11.1.1.3
    Thanks

    Have a look at the JDeveloper code audit feature.
    Under tools->preferences->audit->profiles
    You can either modify or add a new profile and check the JavaDoc Comments rules.
    You can switch the Missing Comment rule to have a more serious severity.
    Then you can audit your file (or the complete project).
    In the audit window you'll see an option to automatically fix error that the Audit flagged - this can include adding the missing Javadoc.

  • SOLVED JDAPI and block order

    Hi all,
    I'm running into the following problem whilst migrating some forms from 6i to 10g using JDAPI: the old set of forms reference items e.g. blocks from a form that was stored in the database. I'm modifying the forms to reference the same items from the form which is now saved to the filesystem. The problem is that when i rereference a block (by using the block.setSubclassParent() method) the newly subclassed block is moved to the first position in the block list causing the form to behave unexpectedly.
    The problem is easy to fix manually by opening the form in the builder and moving the newly referenced block to the end of the list but I have a large number of modules to migrate so I was wondering if there is a way to do this using JDAPI? I've tried experimenting with the destroy() method but don't seem to be making much progress.
    Any ideas?
    Lawrence
    Edited by: Lawrence Warnett on Sep 10, 2008 12:15 PM

    From JDAPI Javadoc:
    move
    public void move(JdapiObject next)
    Reorders an object with respect to its siblings in the collection it belongs to. This is similar to using drag and drop in Form Builder to move a block in a list. This method represents a way to do the same thing programmatically. For example, if you want a block appear immediately before Block5 in a list, you pass the object representing Block5 as the nextObject argument.
    Pass null to this method to move the object to the end of the list. If the specified object and the next_object do not share the same owner, or do not have the same type, the method throws an exception.
    You cannot use this method to move objects between parents. For example, it cannot be used to move an Item from one Block to another. If you want to move an object from one parent to another you will have to do something like:
    ...and so on...
    Specified by:
    move in interface JdapiObject
    Parameters:
    nextObject - the object next to which the specified object is to be moved.
    Throws:
    JdapiException - if you attempt to move an object next to an object that does not share the same owner or is not of the samme type.
    So this would be:
    FormModule Test = FormModule.open("c:\test.fmb");
    JdapiIterator lBlocksIterator = Test.getBlocks();
    while(lBlocksIterator.hasNext())
      Block lCurrBlock = (Block) lBlocksIterator.next();
      if(some_cirteria)
        lCurrBlock.move(null); //move it to the last position
    }I didn't try it, but give it a go...

  • Forms jdapi and attached libraries

    using Jdapi to manipulate forms is an exciting experience, especially, when misterious things happen
    i wrote a simple code to list all the attached libraries (the reason for that is i want to migrate Forms application from Windows env to Unix and i wanted to change all attached libraries to lower case)
    JdapiModule.openModule("c:\\MODULE2.FMB");
    JdapiIterator fmbs = Jdapi.getModules();
    FormModule fmb = (FormModule)fmbs.next();
    //FormModule fmb = new FormModule("myform.fmb");
    JdapiIterator libs = fmb.getAttachedLibraries();
    while (libs.hasNext())
    AttachedLibrary lib = (AttachedLibrary)libs.next();
    // System.out.println(lib);
    System.out.println(lib.getLibraryLocation());
    // System.out.println(lib.getLibrarySource());
    System.out.println(lib.getName());
    This works only if the libarary is attached with library path included!
    When i run the same code against a form where the library is attached with path removed, the code above does not detect the attached library at all?
    ie libs.hasNext() return false
    Ammar Sajdi
    www.e-ammar.com
    www.palco-me.com
    founder and managing partner

    I created another form with an attached library on another PC.
    I ran the same program, and the program runs perfectly!!!!!!!
    i really do not understand this behaviour!
    The forms i am using is 9.0.4.19
    Glad it works on other pc's
    Ammar Sajdi

  • Jdapi and InitializeValue

    Hi,
    I use jdapi to migrate some Forms (10g). But when the datatype of item is different of char, alpha or long, the xml file not contains InitializeValue information. It's strange. Have you some explication ?
    Tanks

    Hello Francois
    Jdapi can be use to create xml file with main() method of oracle.forms.util.xmltools.Forms2XML.

  • Forms 9i: Documentation, Samples

    Are there any documentation or samples on how to use the JDAPI and XMLTOOLS packages for Forms 9i that can be downloaded? Draft versions of books would be very nice (or are there published books already?) Thanks.

    The Demo Set for Forms 9i comes with a bunch of JDAPI samples. You should see this downloadable from the Forms Pages in the next day or so,
    There is fairly extensive documentation on the JDAPI and the XML tools in the online help. We don't have any specific papers published yet.

  • JavaDoc with Web Dynpro Components and SS9

    Hi All,
         Has anyone been able to get custom JavaDoc linkages to work correctly in NDS when working with components?
         I know I can get it to work if I manually attach the source and the JavaDoc location in the Properties -> Java Build Path for each of the .jar files (in each project that uses the Web Dynpro components in question), but I feel this should carry over automatically if I configure this information in the included project.
         The good news is that the configuration stays with a using project even when choosing the "Refresh from DC settings" option, but when adding a used DC the first time isn't there some way to have this information automatically added?  This information is already configured at the project level for the used components.
         Any suggestions, or should I just grit my teeth and say everyone has to add in these values manually?
         Thanks,
            --Greg

    Hi Naddy,
    Check the standard tables that are being used in the application for display/change/create of data. If these tables have a "Customer Include", your first step should be to define the Customer Include Structure and define your new custom components in it (the ones that you need to show on the statndard view.)
    Step 2: Create and enhancement of the standard component in which the view is present. In this enhancement, update the context so that the new fields that are present in the standard table (due to Customer Include) become available in the Context.
    Step 3: Create enhancement of the view on which the field has to be included. Firstlyupdate context of view from context of controller. Now ur fields will be available in context of view. Also create context attributes that will control visibility, read-only etc of UI elements. Now enhance the layout of the view, create your custom fields and bind value/visibilty/read-only etc to the respective context attributes that you have created.
    Also write a post exit method for domodify and check the mode of the standard application (create/change/display). Accordingly set values of the read-only, visibility etc.
    Regards,
    Reema.

  • Want to use JDAPI to change RPRROREPORTSERVER parameter (11g)

    Hi:
    I need to change the form-level, RPROREPORTSERVER parameter across many 11g forms. Is there any way to use JDAPI to accomplish this?  Right now, if I want to change blocks or items I start with getBlocks or getItems and iterate thru each block and item and set the new values. Is there an equivalent syntax for parameters?
    Thanks!

    You could get an iterator for all the Parameters using getModuleParameters like
    FormModule module = FormModule.open("my.fmb");
    JdapiIterator iter = module.getModuleParameters();
    You'd then could go through all the Parameters like you do it with your blocks or items; you'd get a module parameter which you could change like this
    ModuleParameter param = [...];
    if(param.getName().equalsIgnoreCase("your_parameter"))
      param.setStringProperty(JdapiTypes.PARAMETER_INITIALIZE_VALUE_PTID, "your_value");
    For further informations on the JDAPI check the javadoc:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/jdapi904019-131445.zip
    cheers

  • .jar files with javadoc

    Can I supply a .jar file on the -classpath and have javadoc parse it. I have a file that is referencing an annotation in a third-party package. So, I'm getting exceptions running javadoc. I'm trying to supply the .jar file in the -classpath but javadoc seems to be ignoring it.
    Can someone tell me if -classpath takes .jar files and do I need to specify the path to the file or the .jar file itself?
    Mary

    More details.
    I have a file called Ellipsoid.java that references an annotation called @Immutable. I've parred down my javadoc command to this:
    javadoc -d javadocs Ellipsoid.java -classpath /home/bamboo/annotations-1.3.5.jar
    where the annotations-1.3.5.jar file contains the annotation class referenced from Ellipsoid.java. I know about http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6442982 which is why I am adding the .jar to the classpath. Yet I continue to get this exception:
    java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl
    at com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
    at com.sun.tools.doclets.internal.toolkit.util.Util.isDeprecated(Util.java:804)
    at com.sun.tools.doclets.formats.html.AbstractIndexWriter.printComment(AbstractIndexWriter.java:179)
    at com.sun.tools.doclets.formats.html.AbstractIndexWriter.printDescription(AbstractIndexWriter.java:126)
    at com.sun.tools.doclets.formats.html.AbstractIndexWriter.generateContents(AbstractIndexWriter.java:91)
    at com.sun.tools.doclets.formats.html.SingleIndexWriter.generateIndexFile(SingleIndexWriter.java:76)
    at com.sun.tools.doclets.formats.html.SingleIndexWriter.generate(SingleIndexWriter.java:52)
    at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:103)
    at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:122)
    at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
    at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
    at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
    at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
    at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
    at com.sun.tools.javadoc.Start.begin(Start.java:128)
    at com.sun.tools.javadoc.Main.execute(Main.java:41)
    at com.sun.tools.javadoc.Main.main(Main.java:31)
    Removing the annotation from the file fixes the problem and Javadoc runs fine.
    Edited by: Mary_at_Palantir on Jan 12, 2009 10:39 AM

  • Logging in ifs and renderering capabilities out of the box

    Hello there
    Just wondering if anybody could clarify/confirm a few things for me...
    I'm currently trying to use 9ifs as a 'conversion' engine. I have an XML file within a 9ifs repository that I wish to transform using an xslt when I retrieve it.
    Does 9ifs contain out of the box functionality to perform this? If so, how do I use it or do I need to write a custom renderer to perform the tasks that I have specified?
    I have had a play with the SimpleXmlRenderer however have not been able to find any solid examples of how to use it nor do I know whether it is possible to use it to specify the xslt that will perform the transformation.
    I have also heard that 9ifs has an inbuilt 'logging' capability - ie it can keep a record of files that have gone in to 9ifs or gone out. Is this also true and how would I use it?
    Finally, I have heard that one of the capabilities of ifs is that it provides 'transactional' support in either putting files into the repository or taking files out - ie a file is either there or it is not, there is no in between, corrupt file state. Can anybody shed any light on this as to whether it is true or not?
    Jason

    The CMSDK does not include any out-of-the-box XML transformation capabilities, but it is very easy to code XML/XSLT transformations using Java, and I believe Internet Explorer has built-in support for it, so one could consider that built-in functionality. You could write your own servlet to perform any kind of transformation you wish on any file in the CMSDK, and serve up the resulting file via HTTP, for example.
    The CMSDK is extensible and configurable in a way that could allow you to keep track of files uploaded and downloaded into the instance. You can write custom code and plug it into various extensibility points which allow you to modify default behavior or extend it to include custom operations. See the developer's guide and the javadoc for more details.
    The CMSDK is a transactional object store -- it is true that files can be uploaded and modified within a transaction, and completely rolled back in case of failures.

  • Private constructor documented as public by javadoc

    I'm generating document for a class similar to the following:
    public class Example {
    public static final Example TYPE1 = new Example();
    public static final Example TYPE2 = new Example();
    private Example() {
    // private constructor
    When I run the Javadoc tool on this class, it lists the constructor as being public, which it is not! Is this a bug in javadoc, or am I doing something wrong?

    I think I can explain it.
    I would bet you first created the class without any constructor
    and ran Javadoc on it.
    In that case, not only does javac create a public default
    no-arg constructor, but javadoc also documents that constructor,
    even though it's not present in the source file.
    Later, when you added the private constructor, that prevented
    the default constructor from being automatically created.
    This is documented at:
    http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#16823
    BTW, we consider relying on default constructors as poor programming
    practice, as described at:
    http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#defaultconstructors
    -Doug Kramer
    Javadoc team

  • [Sun One ME Javadoc]

    Hi!
    I'm generating Javadocs thanks to Sun One ME, but I encounter
    this sort of problems:
    C:\MobileApplications\sampledir\MyWork\Midlet.java:9: package javax.microedition.midlet does not exist
    import javax.microedition.midlet.*;
    I don't encouter problems when I compile my programm
    neither while loading the .jad file.
    So, what's the problem with the javadoc tool?
    Is there a path to specify, settings to make?
    Thanks,
    RocJap
    PS: I'm not sure my post should be here,
    sorry if it is not in the right place :)

    Hi there,
    Just to let you all know that I've figured it out!(Thanks to Dougs advice above) To get the J2ME class files recognised, you need to first go into the J2MEWTK wireless toolkit folder, and into the 'lib' subfolder, and unzip the 'midpapi.zip' file to a convienient place,...we'll assume its called 'mylib' for now...
    afterwards, navigate through the command prompt to the source files...,
    and type:
    javadoc -classpath x:\mylib\ -d html -breakiterator *.java
    ....................^^ your path of unzipped midp api!
    voila! everything should work ok, if anyone experiences something similar to me, follow my example, or let me know!
    cheers,
    Jassen

  • Viewing javadoc in external browser (NetBeans)

    OK, so i know this question is awfully specific, but I haven't been able to google myself out of it.
    I've downloaded and installed NetBeans v. 6.7.1 on Windows 7. When i ctrl + space identifiers and the javadoc popup appears, the button for browsing the javadoc in an external browser (in my case, Firefox) is dimmed. My solution to this problem used to be to go Tools -> Java Platforms, and just add the javadocs zip-file under the Javadoc tab of the JDK. Does not work here!
    Any help appreciated...

    Yeah, there's a problem with the combination of 6.7.1 and Java 7 javadocs. Java 6 docs work for me. I posted to the NB Users forum a week ago, but no response. Here's the post. Add to it and bump it, maybe someone has more info.
    [http://www.nabble.com/NB-6.7.1-Javadoc-Index-Search-not-working-w-JDK-7b67-Javadoc-to24882301.html#a24882301]
    What you describe I also see.
    Move any further discussion to NB forums, not here.

  • Javadoc HTML document to contain external package information

    Hi there:
    I would like to know how to issue the proper command line to generate a javadoc html document containing external packages. I found the the -group option, can anyone provide some insights to this?
    I have one java source that use java.sql package, I like to be able to generated the html document to show everything associated with the java.sql package in addition to my own java program.
    Thanks, Joseph

    There are two ways to do this: (most people use the second approach)
    1) Include package and class pages for both your packages and the java.sql.package This requires that you have the java.sql
    source files and run javadoc on them both:
    javadoc -d docs -sourcepath <paths> com.yourpackage java.sql
    where <paths> is the paths to your package and java.sql
    source files (semi-colon separated on Windows).
    To get the source files for java.sql you might be able to use
    the source files in src.zip that comes with the J2SDK, but
    the package.html file is not included. You could re-construct
    that from the HTML page on our website (remove the table of
    classes from overview-summary.html), or just get the entire
    source release from:
    http://java.sun.com/j2se/javadoc/faq/index.html#sourcecode
    which has the complete source code.
    2) Include package and class pages for only your packages, and
    just links to existing java.sql documentation.
    javadoc -d docs -link <URL> -sourcepath <path> com.yourpackage
    where <URL> is http://java.sun.com/j2se/1.4/docs/api
    and <path> is the path to your source files.
    If your terminal window cannot ping that URL, then you must
    copy package-list from that location to your local drive and
    use -linkoffline instead (look up in the docs).
    -Doug Kramer
    Javadoc team

Maybe you are looking for

  • Purchased music not playing in ipod?!

    I'm having a couple of problems with iTunes in general, but for now I will try to deal with the purchased music problem I'm having. I've bought roughly 33 songs from the music store and after a computer "revamping", none of them are showing up in iTu

  • Date Format in Portal

    Hi all, Iam working in Portal 7.2 and I need to change the date format in portal. Is there any path in System Administration -> System Configuration any properties that i need to change the format. Any help/advice/suggestions highly appreciated. Than

  • How to display field of 250 character length using ALV Grid display

    Hello Experts, Currently I'm using 4.6 version. I got to insert a new field of length 250 characters into an existing ALV grid display. I passed a value of length 250 chars into the field and assigned it to the itab passing to the fn module 'REUSE_AL

  • How to get separate accounts

    My wife and I bought ipad2 at the same time.  She set up hers first. I set up mine with the same email address and now when I do anything I'm asked to input her password and her credit card.  How can I correct this?

  • Project thumbnails not showing properly

    While nearing completion of my project I published the iMovie file to the Media Browser so I could access in GarageBand and work on the soundtrack. When I returned to iMovie to edit it further I noticed none of the thumbnails were showing. The projec