Problem generating detail disclosure in JHeadstart 10.1.2.1

Hi,
In order to get the "Read Only In Tables" and "Read Only In Forms" options to work in JHeadstart, I had to enable generating the view (UIX in my case). However, doing so effectively removed all Detail Disclosure columns in my page! In the Application Structure File editor I have the option "Detail Disclosure? (UIX only)" enabled, but no option to show the non-shown details is created in my table.
Can this be beacuse I upgraded from JHeadstart 10.1.2 (build 19) to JHeadstart 10.1.2.1 (build 27)? The relevant part of the Application Structure File is
<Group name="MyGroup" description="MyGroup" viewObject="MyGroupView"
viewObjectUsage="MyGroupView1" layoutStyle="table" breadCrumbs="true"
advancedSearch="samePage" quickSearch="dropdownList"
advancedSearchColumns="2" autoQuery="true" tabName="MyGroup"
displayTitle="MyGroup" displayTitleSingular="MyGroup"
descriptorAttribute="IntName" insert="false" update="false"
delete="false" tableInsert="true" tableUpdate="true"
tableDelete="false" formWidth="10%" columns="1" tableWidth="50%"
sortable="false" useTableRange="true" tableRangeSize="10"
detailDisclosure="true" formLink="button" generateUix="true"
overwriteUIModel="true" overwriteStrutsConfig="true"
generateGlobalHeader="true" generateServiceGroup="true"/>
In the JHeadstart ViewObject Editor for this group I have several attributes that are shown both in tables and in forms, but also several attributes that are shown in forms but NOT in tables. I even set these options to true or false where appropriate and this didn't help.
To be sure the generation of detail disclosure went ok before we merged to build 27, I took the old project files and regenerated the MyGroup pages. This went ok and detail disclosure works perfectly well.
So, the only difference between the build 19 and build 27 Application Structure Files is the "Read Only In Tables" and "Read Only In Forms" options which the build 19 file doesn't have, but the build 27 file does. I even removed them to see if that makes a difference, but it doesn't.
Would anyone know what's going on here?
Thanks,
Wouter van Reeven
AMIS

OK as it turns out, I didn't do a proper upgrade from JHeadstart 10.1.2 to JHeadstart 10.1.2.1 which caused the generation of detail disclosure to fail. To solve this issue I
- created a new Web Project with a name similar to the old one.
- enabled JHeadstart on this project
- created a new JHeadstart Application Structure File specifying the same View Package as my old project
After having done this I copied over the old Application Structure File to the new project and restarted JDeveloper. Next I edited the Application Structure File and made sure all pages and application parts (struts-config, tab bars etc) were set to be generated. Running the JHeadstart Application Generator on the Application Structure File now produced a UIX page with detail disclosure. All I have to do now is to check my old project for post generation changes and implement them in the new one, either by setting the proper options via JHeadstart or by modifying the UIX code afterwards.
Greets, Wouter

Similar Messages

  • Detail-Disclosure problem with Master- Detail VO

    Hi,
    I have UIX pages based on Master - Detail VO, detail data being shown when you press Detail button on the left, detail data display in the BC4J Table correctly, but I am able to update only the last record of the rowset. when I click on the first master detail and press update button i get Null Pointer Exeception error and other problem is that my detail data has sorted headers, when i click on the sorted column header, it close the Detail portion on the Table.
    Here is UIX page listing, please any one review the code and let me what is wrong
    Thanks
    View Page
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:viewpage="http://www.example.org/siriusbilling/templates">
    <ctrl:head xmlns="http://www.w3.org/TR/REC-html40">
    <title>View Properties</title>
    </ctrl:head>
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="templates/SiriusBilling.uit"/>
    </templates>
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="PropertiesForeignKeyLink1AppModule"
    definition="siriusbilling.SiriusBCModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="PropertyTypesMasterView"
    rangeSize="2" />
    <bc4j:viewObjectDef name="PropertiesDetailView"
    rangeSize="5" />
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <ctrl:content xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <viewpage:siriusPageLayout>
    <pageHeader>
    <globalHeader selectedIndex="0">
    <contents>
    <link text="View Properties" />
    </contents>
    </globalHeader >
    </pageHeader>
    <contents>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <bc4j:rootAppModuleScope name="PropertiesForeignKeyLink1AppModule" >
    <contents>
    <header text="Properties Search" >
    <contents>
    <form name="search" method="POST" >
    <contents>
    <inlineMessage prompt="Search by:" vAlign="middle" >
    <contents>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <flowLayout>
    <contents>
    <choice name="attrName"
    data:selectedValue="attrName@ctrl:page"
    shortDesc="Search Column">
    <contents>
    <option text="Property Id" value="PropertyId" />
    <option text="Property Name" value="PropertyName" />
    <option text="Property Description" value="PropertyDescription" />
    <option text="Unit Of Measure" value="UnitOfMeasure" />
    </contents>
    </choice>
    <textInput prompt="Criteria" name="attrValue" columns="20"
    data:text="attrValue@ctrl:page"
    shortDesc="Search Criteria for Propeties"/>
    </contents>
    </flowLayout>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    <end>
    <submitButton text="Go" ctrl:event="search" />
    </end>
    </inlineMessage>
    </contents>
    </form>
    </contents>
    </header>
    <spacer width="10"/>
    <separator />
    <header text="Property Types" >
    <contents>
    <form name="viewForm" method="POST" >
    <contents>
    <bc4j:viewObjectScope name="PropertyTypesMasterView" >
    <contents>
    <bc4j:table name="viewPropertyTypeTable" automatic="false"
    width="100%" alternateText="No rows found"
    formSubmitted="true"
    partialRenderMode="self"
    data:detailDisclosure="tableDetails@ctrl:eventResult">
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    <contents>
    <!-- placing the region in automatic mode will cause the key
    named child to be rendered, followed by each attribute
    in the ViewObject using the attrStamp named child. -->
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="PropertyType">
    <columnHeader>
    <bc4j:sortableHeader text="Property Type"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="TableName">
    <columnHeader>
    <bc4j:sortableHeader text="Table Name"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="Comments" >
    <columnHeader>
    Comments
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    <detail>
    <flowLayout>
    <contents>
    <header text="Properties Detail">
    <contents>
    <spacer width="10"/>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <!-- placing the table in automatic mode will cause the table
    to contain the keyStamp named child followed by the
    columnStamp named child for each attribute in the
    ViewObject. -->
    <bc4j:table name="viewTable" automatic="false"
    width="100%" alternateText="No rows found"
    formSubmitted="true"
    partialRenderMode="self">
    <tableSelection>
    <!-- single selection for each row in the table -->
    <singleSelection selectedIndex="0" text="Select Row and ...">
    <contents>
    <submitButton text="Create" ctrl:event="create" />
    <!-- the update button causes the currently selected
    row to be sent to the update page -->
    <submitButton text="Update"
    ctrl:event="update" />
    <!-- the delete button causes the currently selected
    row to be removed -->
    <submitButton text="Delete"
    ctrl:event="delete" />
    </contents>
    </singleSelection>
    </tableSelection>
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    <contents>
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="PropertyId">
    <columnHeader>
    <bc4j:sortableHeader text="Property Id"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="PropertyName">
    <columnHeader>
    <bc4j:sortableHeader text="Property Name"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="PropertyDescription">
    <columnHeader>
    <bc4j:sortableHeader text="Property Description"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="UnitOfMeasure">
    <columnHeader>
    <bc4j:sortableHeader text="Unit of Measure"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    <formValue name="disclosed" value="true" />
    </contents>
    </header>
    </contents>
    </flowLayout>
    </detail>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </form>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </try>
    </contents>
    </viewpage:siriusPageLayout>
    </ctrl:content>
    <handlers>
    <event name="search" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- search for the view criteria -->
    <bc4j:findByExample>
    <bc4j:exampleRow ignoreCase="true" >
    <bc4j:exampleAttribute>
    <bc4j:nameBinding><bc4j:parameter name="attrName" /></bc4j:nameBinding>
    <bc4j:valueBinding><bc4j:parameter name="attrValue" /></bc4j:valueBinding>
    </bc4j:exampleAttribute>
    </bc4j:exampleRow>
    </bc4j:findByExample>
    <bc4j:executeQuery/>
    <!-- store the current search criteria as page properties -->
    <bc4j:setPageProperty name="attrName" >
    <bc4j:parameter name="attrName" />
    </bc4j:setPageProperty>
    <bc4j:setPageProperty name="attrValue" >
    <bc4j:parameter name="attrValue" />
    </bc4j:setPageProperty>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="first" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the first department -->
    <bc4j:first/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="previous" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the previous department -->
    <bc4j:previous/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="next" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the next department -->
    <bc4j:next/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="last" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the last department -->
    <bc4j:last/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- sort by the submitted attribute name -->
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewPropertyTypeTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- sort by the submitted attribute name -->
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewPropertyTypeTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the submitted range -->
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- navigate to the submitted range -->
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="create" >
    <!-- forward to the create page -->
    <ctrl:go name="InsertProperties" redirect="true" />
    </event>
    <event name="update" >
    <!-- forward to the update page, passing the selected key
    as a page property -->
    <ctrl:go name="UpdateProperties" redirect="true" >
    <ctrl:property name="key" >
    <ctrl:selection name="viewTable" key="key" />
    </ctrl:property>
    </ctrl:go>
    </event>
    <event name="delete" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- find the selected Row -->
    <bc4j:findRowByKey>
    <bc4j:keyBinding>
    <bc4j:selectionKey name="viewTable" key="key" />
    </bc4j:keyBinding>
    <bc4j:handlers>
    <!-- remove the selected ViewObject row -->
    <bc4j:removeRow />
    <!-- execute the query to eliminate dead row access -->
    <bc4j:executeQuery/>
    </bc4j:handlers>
    </bc4j:findRowByKey>
    </bc4j:findViewObject>
    <!-- commit the transaction, forwards to self automatically -->
    <bc4j:commit/>
    </bc4j:findRootAppModule>
    </event>
    <event name="show">
    <method class="servlet.showDetails" method="doHideShowEvent" />
    </event>
    <event name="hide">
    <method class="servlet.showDetails" method="doHideShowEvent" />
    </event>
    </handlers>
    </page>
    Update View
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:updatepage="http://www.example.org/siriusbilling/templates">
    <ctrl:head xmlns="http://www.w3.org/TR/REC-html40">
    <title>Update Properties</title>
    </ctrl:head>
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="templates/SiriusBilling.uit"/>
    </templates>
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="PropertiesForeignKeyLink1AppModule"
    definition="siriusbilling.SiriusBCModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="PropertiesDetailView" >
    <bc4j:rowDef name="UpdatePropertiesDetailView" autoCreate="false" usesCurrency="true">
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    <!-- Display only 20 rows -->
    <bc4j:viewObjectDef name="PropertyTypesView" rangeSize="20" >
    <bc4j:rowDef name="UpdatePropertyTypesView" autoCreate="false">
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <ctrl:content xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <updatepage:siriusPageLayout>
    <pageHeader>
    <globalHeader selectedIndex="0">
    <contents>
    <link text="Update Property" />
    </contents>
    </globalHeader >
    </pageHeader>
    <contents>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <switcher childName="default">
    <boundAttribute name="childName">
    <if>
    <comparison type="equals">
    <dataObject select="key" source="ctrl:page"/>
    <dataObject source="ui:null"/>
    </comparison>
    <fixed text="error"/>
    </if>
    </boundAttribute>
    <case name="error">
    <header text="Required page property 'Property Type' missing. Cannot display page."/>
    </case>
    <case name="default">
    <flowLayout>
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <script>
    <contents>
    function UOMLovCallBack(lovwin, event)
    var value = lovwin.returnUOMValue;
    if (value!=(void 0))
    document.updateForm.UnitOfMeasure.value = lovwin.returnUOMValue;
    </contents>
    </script>
    <form name="updateForm" method="POST" >
    <contents>
    <!-- we cannot implicitly determine that events
    will be triggered because submit buttons are
    outside the form scope, so add the placeholder
    explicitly -->
    <formParameter name="event" />
    <!-- layout the fields in two columns -->
    <spacer width="10"/>
    <tableLayout width="80%"
    cellPadding="2"
    hAlign="center">
    <contents>
    <bc4j:rootAppModuleScope name="PropertiesForeignKeyLink1AppModule" >
    <contents>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <bc4j:rowScope name="UpdatePropertiesDetailView" >
    <contents>
    <bc4j:messageChoice prompt="Property Type" attrName="PropertyType" name="PropertyType">
    <contents>
    <bc4j:optionList voName="PropertyTypesView" attrName="PropertyType" textAttributeName="PropertyType" size="30"/>
    </contents>
    </bc4j:messageChoice>
    <bc4j:messageInput prompt="Property Id" vAlign="left" attrName="PropertyId" size="30"/>
    <bc4j:messageInput prompt="Property Name" attrName="PropertyName" size="30"/>
    <bc4j:messageInput prompt="Property Description" attrName="PropertyDescription" size="30" />
    <bc4j:messageLovField prompt="Unit Of Measure"
    attrName="UnitOfMeasure"
    name="UnitOfMeasure"
    onClick="openWindow(window,
    'UOMLov.uix',
    'lovwin',
    {width:480, height:300},
    true,
    'dialog',
    UOMLovCallBack);
    return false;" />
    </contents>
    </bc4j:rowScope>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </tableLayout>
    </contents>
    </form>
    </contents>
    <contents>
    <contentFooter>
    <contents>
    <html:center>
    <!-- place a row of buttons below the content -->
    <pageButtonBar>
    <contents>
    <!-- the cancel button performs a transaction rollback -->
    <button text="Cancel" ctrl:event="cancel" />
    <!-- the update button submits the user-entered
    form data -->
    <submitButton text="Update" formName="updateForm"
    ctrl:event="apply" />
    </contents>
    </pageButtonBar>
    </html:center>
    </contents>
    </contentFooter>
    </contents>
    </flowLayout>
    </case>
    </switcher>
    </contents>
    </try>
    </contents>
    </updatepage:siriusPageLayout>
    </ctrl:content>
    <handlers>
    <event name="cancel" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <ctrl:go name="ViewProperties" redirect="true" />
    </bc4j:findRootAppModule>
    </event>
    <event name="apply" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- find the row by key, falling back on a new default
    row if the key is not found -->
    <bc4j:findRow name="UpdatePropertiesDetailView" >
    <!-- set each attribute explicitly -->
    <bc4j:setAttribute name="PropertyId" />
    <bc4j:setAttribute name="PropertyType" />
    <bc4j:setAttribute name="PropertyName" />
    <bc4j:setAttribute name="PropertyDescription" />
    <bc4j:setAttribute name="UnitOfMeasure" />
    <!-- commit the transaction -->
    <bc4j:commit/>
    <bc4j:executeQuery/>
    <!-- forward to the summary page -->
    <ctrl:go name="ViewProperties" redirect="true" />
    </bc4j:findRow>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>

    I think the detailDisclosure state needs to be saved and retrieved from the session.
    I'm not sure using a table with singleSelection inside a detail disclosure is supported. Are you doing master-detail inside of detail disclosure? Detail disclosure is not really meant for that. In jdev 10g preview we make hooking up a master-detail easy. Here's a link to some doc about it.
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html#Create%20a%20Master-Detail%20page

  • Changes in detail-disclosure aren't kept over show/hide

    Dear forum,
    In a table with detail-disclosure is the filled-in data in hidden fields not kept when using the show/hide function.
    Is this is a bug in build 10.1.2 build 19? Is this solved in the new build? Or is this expected behavior?
    Is there anyone who encountered this problem or who found the solution for this?
    Your help is much appreciated.
    Arjen

    Arjen,
    This is fixed in release 10.1.2.1.
    Steven Davelaar,
    JHeadstart Team.

  • Problem generating stubs for Java EJB web service deployed in OAS

    I created an EJB web service and I've successfully deployed it in my Oracle App Server. Some of the methods work fine but others produce the ff error:
    org.apache.soap.SOAPException - java.lang.IllegalArgumentException: No Serializer found to serialize [classname] using encoding style [encoding]It seems that the objects specified as parameters in the web service methods exposed are the only ones that had stubs generated for them. Other objects I use, which are usually wrapped inside a Vector, did not have generated stubs.
    Example:
         public String loginUser(UserDTO userDTO) throws RemoteException, NamingException, SQLException;
    public String addItems (Vector vecItems) throws RemoteException, NamingException, SQLException; // where vecItems is a collection of ItemDTO objects     In this scenario, stubs were generated for the UserDTO class, but not for the ItemDTO class. In effect, calling the addItems method resulted to the exception I mentioned above.
    I did a workaround wherein I declared a dummy method which accepted all the types of objects I needed as parameters so all the necessary stubs can be generated, but this fix doesn't feel like it's the proper solution to my problem.
    If anyone can help me, it would be greatly appreciated. Thanks!

    Crossposted:
    Problem generating stubs for Java EJB web service deployed in OAS

  • RoboHelp 10: Problems generating Printed Documentation

    Environment
    Windows 7 Enterprise, Service Pack 1, 64-bit operating system
    Office Professional Plus 2010 Versions 14.0.7106.5001 (64-bit)
    RoboHelp 10: 10.0.0.287
    Visual Studio 2010 Professional. I open RoboHelp from within Source Control (have been doing it for two years).
    Problem
    Sometime after moving to RoboHelp 10, and even after successfully generating Printed Documentation output, I encountered a major problem generating Printed Documentation from RoboHelp: “Internal error encountered. Failed to generated Printed Documentation”. The error occurred when I tried to generate Printed Doc using my default TOC, which looks something like this:
    Topic A
    Topic B
    Book 1
    Book 2
    Book 3
    Topic C
    Topic D
    Based on an old Peter Grainge reply to someone about a similar problem, I removed all but the first topic from the Chapter Layout pane and generated the Help. Everything was fine until I got to the topics after Book 3. At that point everything started to fail again. When I removed Topics C, D, etc. from the Chapter Layout pane, the output was built successfully.
    I tried moving Topics C, D, etc. to the top of the Chapter Layout pane, and got the same error. I tried creating a new folder and put Topics C, D, etc. into that folder. Failure after failure.
    As an experiment, I removed all the Topics C, D, etc from the Chapter Layout pane, but then added them to the Print Document Section Layout pane (not where I want them). The Printed Documentation built successfully.
    During attempts to build with Topics C, D, etc. in the Chapter Layout pane, I kept getting a Word error: Word is trying to recover your information. After that there was always a failure.
    Selecting PDF as the output did not work when the Topic C, D, etc. files were at the bottom of the Chapter Layout pane.
    I create a new TOC and a new Printed Documentation SSL. Failed to generate.
    As a matter of reference, I've been generating Printed Documentation from the same TOC for more than a year and so cannot figure out what has changed in RoboHelp or Word to cause this grief .
    Has anyone experienced anything like this?
    Carol

    Dear Peter,
    Thanks for following up. Last Friday I finished extensive testing on my own and working with RoboHelp Support. Here's what I sent to Support this morning.
    If after reading this screed, you think it worthwhile for me to get a copy from Source Control for you to look at, I will do so. Thanks for offering to look at it.
    Environment
    Windows 7 Enterprise Service Pack 1, 8.00 GB RAM, 64-bit OS
    Microsoft Office Professional Plus 2010 Version 14.0.7106.5003 64-bit--Note: We repaired my current version of Word, in case that was the problem, but did not reinstall Office--we do not think that the Word version is the problem because we generated successfully with other TOCs and when generating individual documents.
    RoboHelp 10.0.1.292. Upgraded from RoboHelp 9 in May 2013. Replaced hard drive in September 2013 and reinstalled RoboHelp.
    Visual Studio 2010 Professional 10.0.40219.1 SP1Rel (I open the project from Source Control and check files out to a folder on my desktop.)
    Issue
    Printed Documentation failed multiple times with the default Table of Contents, which contains all the topics in the project. TOC specs are as follows:
    Properties: .docx, desktop location, no conditions, embedded images, “Generate a single document”, “Retain hyperlinks”.
    330 files, 12 top-level books, 15 second-level books, 7 third-level books, 6 fourth-level books, and 8 fifth-level books
    Results
    Generation to Printed Documentation does NOT fail for other, module-specific TOCs, nor to WebHelp Pro SSLs for the same sets of topics. In addition, and perhaps more important, generation to Printed Documentation does NOT fail with “Generate Individual Documents” selected, or when there are approximately fewer than 259 files in the TOC.
    Did not fail consistently based on any particular topic.
    Did not fail consistently based on location of any particular topic in the TOC.
    Failed when I created new TOCs based on ‘working’ TOCs. For example, copied a module-specific TOC and then added topics to it from the default (superset) TOC. I did this in case the original default TOC was corrupted.
    Failed when I create a new TOC with the same folder/file structure from scratch.
    Failed when I created a new TOC with a flat file structure from scratch.
    Failed when I retrieved an older TOC from the last release of the product.
    Failed when I created new SSLs each time. I did this in case the SSLs had got corrupted.
    Failed when I did not open the project from Source Control (removed project from Source Control and worked locally).
    Began to see failure when there were more than about 258-263 files in the TOC. For example, successfully generated Printed Documentation with 262 files in the TOC. Added one topic and the generation failed. Removed that topic and added several others, one at a time. Consistently failed. To test this, I created a TOC with all the files in a flat structure, generated a report for the TOC, printed it, and counted the number of files. I then began deleting files and regenerating the Printed Document to try to identify the number of files in the TOC when the generation failed. Successfully generated up to about 258 files and then it began failing. (Occasional successes at 260 and 261, but that may be because I didn’t always consistently remove the Glossary and Index from the Chapter Layout pane.)
    Other Comments
    (I know that we should generally post non-RH issues to other forums, but in this case I wanted to include all potentially related issues in this posting.)
    The first time you generate any type of output, the “Critical error of Source Control Provider. Please restart IDE.” Message appears. This message appears behind RoboHelp. As a result, if the RoboHelp window is maximized, you think that RoboHelp is hung. Forcing a close of RoboHelp leaves the partially generated Word document in an unstable state. When you re-open RoboHelp and try to generate the output again, RoboHelp says that the output is in use. Unfortunately, there is no way to ‘free’ the Word document and you have to restart the computer. In addition, when the dialog box is hidden, even using Alt+Tab to find the dialog box is complicated because you can’t grab it and click OK until RoboHelp completes its processing. The workaround is to reduce the size of the application window so that you can see the dialog box and try to quickly grab it and click OK. That said, as soon as processing is complete you can grab the dialog box and click OK; at that point RoboHelp displays its own error message about the success or failure of the output generation. It is not clear whether the RoboHelp API or Source Control puts up this error message, but it’s definitely a problem until you happen upon the workaround.
    RoboHelp does not check SSLs even when I right-click the SSL in the Single Source Layouts pane, click Check In, select the XML and SSL files, and leave “Keep checked out” deselected. The red check mark remains next to the SSL name. In addition, even when I Check In All files before closing the project, the next time I open the project RoboHelp displays a series of Check In dialog boxes requiring me to check them in again.
    When RoboHelp hangs during a Printed Documentation failure and the Version Control setting is to check in all files when closing a project (which I’ve now deselected to avoid this problem), Ctrl+Alt+Del indicates that you cannot shut down the program because RoboHelp is waiting for a response. Yes, RoboHelp was waiting for me to check in some files (because of the Version Control setting), but hid the Check In Source Files dialog box behind the application. This usually left a Word document in limbo, forcing me to restart the computer.
    At one point RoboHelp stopped saving changes to an SSL after I made changes and clicked Save and Generate. Each time I reopened the SSL, I had to select .docx, etc. all over again.
    Carol

  • How to add detail disclosure regon programmatically ?

    Hi all,
    I need to add detail disclosure in a seeded page. there are PO lines in the page and the requirement is to add receipts information as hide/show.
    What is step by step approach i need to follow? Any code samples to add detail disclosure via controller extension is highly appreciated.
    Thanks.
    Regards.
    Ram

    Hi ,
    REfer the following code:
    import oracle.apps.fnd.framework.webui.beans.layout.OADefaultHideShowBean;
    processRequest(OAPageContext pageContext, OAWebBean webBean)
    // Get a handle to the hideShow bean if this code is in a controller associated with
    // a parent or grandparent of the bean.
    OADefaultHideShowBean hideShow =
    (OADefaultHideShowBean)findIndexedChildRecursive("<component ID>");
    // Alternatively, if this code is in a controller associated with the hide/show
    // region, simply cast the OAWebBean parameter passed to the processRequest()
    // method.
    OADefaultHideShowBean hideShow = (OADefaultHideShowBean)webBean;
    // Set the undisclosed Text. Always remember to obtain a translated text value
    // from Message Dictionary. NEVER set a hard-coded text value.
    hideShow.setUndisclosedText("<Show...>");
    // Set the undisclosed Text. Always remember to obtain a translated text value
    // from Message Dictionary. NEVER set a hard-coded text value.
    hideShow.setDisclosedText("<Hide...>");
    // Set the default (initial) disclosure state.
    hideShow.setDefaultDisclosed(pageContext, Boolean.TRUE;
    Thanks,
    Kumar

  • Problem generating manifest. Could not load file or assembly  or one of its

    Dear all,
    i am using visual studio 2008 on windows7 (32 bit). my project was running very fine but today i received the following error when i build my project
    "Problem generating manifest. Could not load file or assembly  or one of its dependencies. An attempt was made to load a program with an incorrect format"
    i have deleted all the refrences and then added all one by one , all refrences added successfully, but when i added "CrystalDecisions.ReportSource" and build the application i found the above error. '
    i will be very thankfull if anyone could help me
    Regards.

    What version of Crystal Reports?
    - Ludek

  • Help needed: Detail Disclosure in UIX

    Hi,
    Can anyone help me with a example of dynamic Detail disclosure?
    Example provided by oracle is not explanatory enough and provides just superficial details.
    Thanks in advance

    If it's really UIX you're talking about, then take a look at this thread where I posted a sample:
    Re: hideShow  in table column in uix page
    Sascha

  • How can i change the undisclosed text of Detail Disclosure in a table

    Hi.
    I have a new OAF page, with an advanced table.
    The table has a Detail Disclosure (a row-level Hide/Show in a table).
    By default, the prompt is "Show" or "Hide" for disclosed/undisclosed state.
    I need to change this text to another text, like"payment".
    How can i change the text of the table Detail Disclosure?
    Please help...

    I found this reference in the guide:
    In accordance with BLAF guidelines, the Detail column header text for the detail disclosure column and the Show/Hide link texts within the cells of the detail disclosure column can not be modified.
    I guess it is currently not possible.
    Regards,
    LC

  • Flashbuilder 4.5 datagrid Generate Details Form not working

    flashbuilder 4.5 in datagrid when you right click the Generate Details Form
    is not there. Where is it?

    I see what you're saying. Right-clicking on an mx.controls.DataGrid in design view has a Generate Details Form option. Right-clicking on a spark.components.DataGrid in design view does not have this option.
    Let me ask around and get someone to reply with more information.
    Regards,
    Randy Nielsen
    Senior Content and Community Manager
    Adobe Systems Incorporated

  • Problem generating Key  with keytool command

    Hi Everyone;
    I'm having problems generating a key.
    Here's my output.
    C:\>keytool -genkey -alias learningIdeas -keysize 1024 -validity 365 -keyalg RSA
    Enter keystore password: changeit
    keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
    note i already did something with the keystore such that i have generated a key and placed this in server.xml
    <Connector className="org.apache.tomcat.service.PoolTcpConnector">
    <Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
    <Parameter name="port" value="8443"/>
    <Parameter name="socketFactory" value="org.apache.tomcat.net.SSLSocketFactory" />
         <Parameter name="keystore" value="C:/stephen" />
         <Parameter name="keypass" value="changeit"/>
         <Parameter name="clientAuth" value="false"/>
    </Connector>
    any ideas on what I can do to generate this key?
    stephen

    I have almost resolved this problem. I'm at the last step and getting an error message when trying to import the certificate that I received from verisign into my keystore.
    here's my error.
    C:\>keytool -import -alias mycompanyname123 -keystore STEPHEN4 -file mycompanyname.cer
    Enter keystore password: changeit
    keytool error: java.security.cert.CertificateException: Unsupported encoding
    but when I double click on this file mycompanyname.cer (which is exactly what I received from verisign, up comes the appropriate certificate
    i was able to succesfully able to install it into the microsoft browser and i see it correctly represented and displayed in the certificates section for OTHER PEOPLE.
    But I think i have to successfully import it into the keystore for it to work properly right when I start up the tomcaat app is that correct?
    any ideas?
    Stephen

  • Problem to generate secret field with JHeadstart 10.1.3.1.0

    Hi,
    I'm experimentig the new version of Jheadstart and I have a problem to generate a JSF page with a secret field using the Oracle JHeadstart 10.1.3 Evaluation Version.
    In fact when I change the display filed in the jheadstart Application Definition Editor to "secret" and then try to generate
    jsf pages, i have this message error for both form and table layout :
    Could not instantiate JhsApplicationGenerator class: No bean named 'secretPGItemModel' is defined:
    org.springframework.beans.factory.xml.XmlBeanFactory defining beans [applicationLayoutGenerator,facesConfigGenerator,
    regionMetaDataProcessor,includesGenerator,menuGenerator,nlsGenerator,pageGenerator,treeGenerator,generatorContext,findPageNameFormat,
    findPage,wizardFindPage,formPageNameFormat,formPage,wizardFormPage,formRegionPage,wizardFormRegionPage,selectPageNameFormat,selectPage,
    wizardSelectPage,treeFormPage,treePage,tablePageNameFormat,tablePage,wizardTablePage,lovTablePage,parentShuttlePage,
    wizardParentShuttlePage,intersectionShuttlePage,wizardIntersectionShuttlePage,formPageComponent,tablePageComponent,
    selectPageComponent,parentShuttlePageComponent,intersectionShuttlePageComponent,pgItemModelHelper,textInputPGItemModel,
    dateFieldPGItemModel,dateTimeFieldPGItemModel,secretFieldPGItemModel,fileUploadPGItemModel,fileDownloadPGItemModel,imagePGItemModel,
    editorPGItemModel,displayFieldPGItemModel,dropDownListPGItemModel,checkBoxPGItemModel,radio-verticalPGItemModel,
    radio-horizontalPGItemModel,hiddenPGItemModel,lovPGItemModel,pgGroupModel,pgDynamicDomainModel,pgStaticDomainModel,
    pgItemRegionModel,pgGroupRegionModel,stackedPGRegionContainerModel,separatePagesPGRegionContainerModel,horizontalPGRegionContainerModel,
    verticalPGRegionContainerModel,searchManagedBeanModel,dependsOnItemManagedBeanModel,dependsOnSearchItemManagedBeanModel,
    lovItemManagedBeanModel,lovItemInTableManagedBeanModel,editorItemManagedBeanModel,lovItemInAdvancedSearchManagedBeanModel,
    lovItemInQuickSearchManagedBeanModel,lovPageManagedBeanModel,fileItemInTableManagedBeanModel,mediaItemInTableManagedBeanModel,
    checkboxInTableManagedBeanModel,treeManagedBeanModel,parentShuttleManagedBeanModel,intersectionShuttleManagedBeanModel,
    collectionModelManagedBeanModel,queryBindParamsManagedBeanModel,queryBindParamsDomainManagedBeanModel,defaultValuesManagedBeanModel,
    wizardPageManagedBeanModel,wizardPageListManagedBeanModel,breadcrumbManagedBeanModel,customManagedBeanModel,velocityInitializer,
    formGroupLayoutFactory,tableGroupLayoutFactory,table-formGroupLayoutFactory,select-formGroupLayoutFactory,tree-formGroupLayoutFactory,
    treeGroupLayoutFactory,parent-shuttleGroupLayoutFactory,intersection-shuttleGroupLayoutFactory,
    pgModelFactory,templateBindingsFactory,pgModelValidator]; root of BeanFactory hierarchy
    My Jdeveloper Version is : 10.1.3.0.4 (SU5)
    thanks

    Steven
    I followed your instructions and it works
    I recently downloaded the production version of JDeveloper Studio Edition Version 10.1.3.1.0.3984
    Build JDEVADF_10.1.3.1.0_NT_061009.1404.3984
    I installed JHeadstart evaluation version.
    I recreate the same example with this new version of JDeveloper
    I found the bean definition in the jag-config.xml (by default)
    I removed the "#ITEM_PARTIAL_TRIGGERS_PROP" from the template (default/item/form/formSecret.vm )
    I thought it will work but unfortunately it doesn't work and and I got the same error
    Could not instantiate JhsApplicationGenerator class: No bean named 'secretPGItemModel' is defined: org.springframework.beans.factory.xml.XmlBeanFactory defining beans [applicationLayoutGenerator,facesConfigGenerator,regionMetaDataProcessor,includesGenerator,menuGenerator,nlsGenerator,pageGenerator,treeGenerator,generatorContext,findPageNameFormat,findPage,wizardFindPage,formPageNameFormat,formPage,wizardFormPage,formRegionPage,wizardFormRegionPage,selectPageNameFormat,selectPage,wizardSelectPage,treeFormPage,treePage,tablePageNameFormat,tablePage,wizardTablePage,lovTablePage,parentShuttlePage,wizardParentShuttlePage,intersectionShuttlePage,wizardIntersectionShuttlePage,formPageComponent,tablePageComponent,selectPageComponent,parentShuttlePageComponent,intersectionShuttlePageComponent,pgItemModelHelper,textInputPGItemModel,dateFieldPGItemModel,dateTimeFieldPGItemModel,secretFieldPGItemModel,fileUploadPGItemModel,fileDownloadPGItemModel,imagePGItemModel,editorPGItemModel,displayFieldPGItemModel,dropDownListPGItemModel,checkBoxPGItemModel,radio-verticalPGItemModel,radio-horizontalPGItemModel,hiddenPGItemModel,lovPGItemModel,pgGroupModel,pgDynamicDomainModel,pgStaticDomainModel,pgItemRegionModel,pgGroupRegionModel,stackedPGRegionContainerModel,separatePagesPGRegionContainerModel,horizontalPGRegionContainerModel,verticalPGRegionContainerModel,searchManagedBeanModel,dependsOnItemManagedBeanModel,dependsOnSearchItemManagedBeanModel,lovItemManagedBeanModel,lovItemInTableManagedBeanModel,editorItemManagedBeanModel,lovItemInAdvancedSearchManagedBeanModel,lovItemInQuickSearchManagedBeanModel,lovPageManagedBeanModel,fileItemInTableManagedBeanModel,mediaItemInTableManagedBeanModel,checkboxInTableManagedBeanModel,treeManagedBeanModel,parentShuttleManagedBeanModel,intersectionShuttleManagedBeanModel,collectionModelManagedBeanModel,queryBindParamsManagedBeanModel,queryBindParamsDomainManagedBeanModel,defaultValuesManagedBeanModel,wizardPageManagedBeanModel,wizardPageListManagedBeanModel,breadcrumbManagedBeanModel,customManagedBeanModel,velocityInitializer,formGroupLayoutFactory,tableGroupLayoutFactory,table-formGroupLayoutFactory,select-formGroupLayoutFactory,tree-formGroupLayoutFactory,treeGroupLayoutFactory,parent-shuttleGroupLayoutFactory,intersection-shuttleGroupLayoutFactory,pgModelFactory,templateBindingsFactory,pgModelValidator]; root of BeanFactory hierarchy

  • Display image in detail groups in jheadstart 11.1.1.3.35

    Hi, I've been trying to make a project that should display one picture in one of the detail groups. but when i generate the jheadstart definition editor and run the project, it shows an empty box for the image (image is not loaded).
    I've seen the source code and every thing seems right and when i use that detail group as a master group the image display just fine.
    is jheadstart 11g have a problem for displaying image in detail groups? because I've heard this option works in 10g pretty fine.
    please help me how i can fix this problem and i have to say my project deadline is coming :(

    We are not aware of such a problem.
    To really check whether it is related to a detail group, can you temporarily make the detail group a top-level group, generate and run your application to see whether the problem goes away?
    Make sure you first uncheck the Same Page checkbox before you drag and drop the detail group to become a top group.
    There is a known ADF issue that when you upload a new image, the new image is only shown when you restart the session.
    Steven Davelaar,
    JHeadstart Team.

  • Problem Generating a Report by passing a Resultset as a datasource

    I am having troubles generating a report using CR for Eclipse 2.0.
    I used the example that shows how do a simple select SQL query to the database and pass the resultset from the query to the report to generate a report from here: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201084dc-be66-2b10-64bf-dde4970c9b90
    I used a simple rpt file that simply shows the content of two columns from a table: TXN_TYPE_CD and TXN_STATUS_CD from a POLICY_TXN table.
    Using the code above, and just modifying it a bit to include my jdbc connection details as well as my select query, I was able to view the report which populated data from my database (Oracle 10g) at runtime of the application.  This test proved positive.
    However, the problem I am having is that I am trying to make this code into a Servlet for use in a Java EE application running on Websphere 6.1.0.17 using JVM 1.5.0_15  64-bit.  Instead of using the DHTML thick client, I export to PDF.  When I do this, the crystal report shows as a PDF, but the data is missing for some reason.  Only the headers for the two db columns are shown.  I don't see any startling differences between the code and am 100% positive that my resultset is being returned with data (I output the data returned in the result set as shown in the code).
    Here is the code I am using:
    public class CrystalReportGeneratorServlet_WOW extends Servlet {
         private static final long serialVersionUID = 768970549082466125L;
         protected HttpSession session;
         private final String EXPORT_FILE = "myExportedReport.pdf";
         private final String CUSTOM_PATH = "/custom/resource/crystalReport/";
         private String REPORT_NAME;
         public void service(HttpServletRequest request, HttpServletResponse response)
                   throws IOException, ServletException {
              Properties loParms = new Properties();
              ResultSet resultSet = null;
              //Obtain current JDBC Connection
              Connection loConn = AppEnvironment.getJDBCConnection();
              Statement statement = null;
              try {
                   REPORT_NAME = "Test.rpt";
                   //Open report
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open(SystemConfig.getAppHome() + CUSTOM_PATH + REPORT_NAME, 0);
                   //Create SQL query.    
                   String query = "SELECT \"POLICY_TXN\".\"TXN_TYPE_CD\", \"POLICY_TXN\".\"TXN_STATUS_CD\"" + "FROM   \"POLICY_TXN\"";
                   //Query database and obtain the Resultset that will be pushed into the report.  
                   statement = loConn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   //Execute query and return result set.
                   resultSet = statement.executeQuery(query);
                   //Look up existing table in the report to set the datasource for and obtain its alias.  This table must
                   //have the same schema as the Resultset that is being pushed in at runtime.  The table could be created
                   //from a Field Definition File, a Command Object, or regular database table.  As long the Resultset
                   //schema has the same field names and types, then the Resultset can be used as the datasource for the table.
                   String tableAlias = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
                   /////TESTING: OUTPUT contents of resultSet
                   while (resultSet.next()) {
                        System.out.println("TXN_STATUS_CD = " + resultSet.getString("TXN_STATUS_CD"));
                        System.out.println("TXN_TYPE_CD = " + resultSet.getString("TXN_TYPE_CD"));
                   //Push the Java ResultSet into the report.  This will then be the datasource of the report.
                   DatabaseController dbc = reportClientDoc.getDatabaseController();
                   dbc.setDataSource(resultSet, tableAlias , "resultsetTable");
                   //Export to PDF
                   ExportToPDF(reportClientDoc, response);
              catch(ReportSDKException ex) {     
                   System.out.println(ex);
              catch(Exception ex) {
                   System.out.println(ex);               
              } finally {
                   try {
                        resultSet.close();
                   } catch (SQLException e) {
                             e.printStackTrace();
                        } finally {
                             AppEnvironment.returnStatement(statement);
                             AppEnvironment.returnConnection ( loConn ) ;
         private void ExportToPDF(ReportClientDocument rcd, HttpServletResponse response)
              try {
                   ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)rcd.getPrintOutputController().export(ReportExportFormat.PDF);
                   rcd.close();
                   writeToBrowser(byteArrayInputStream, response, "application/pdf", EXPORT_FILE);
              catch(ReportSDKException ex) {
                   System.out.println(ex);
              catch(Exception ex) {
                   System.out.println(ex);
         * Utility method that demonstrates how to write an input stream to the server's local file system.
         private void writeToBrowser(ByteArrayInputStream byteArrayInputStream, HttpServletResponse response, String mimetype, String exportFile) throws Exception {
              //Create a byte[] the same size as the exported ByteArrayInputStream.
              byte[] buffer = new byte[byteArrayInputStream.available()];
              int bytesRead = 0;
              try{
                   //Set response headers to indicate mime type and inline file.
                   response.setHeader("Content-disposition", "inline;filename=" + exportFile);
                   response.setContentType(mimetype);
                   //Stream the byte array to the client.
                   while((bytesRead = byteArrayInputStream.read(buffer)) != -1) {
                   response.getOutputStream().write(buffer, 0, bytesRead);
                   //Flush and close the output stream.
                   response.getOutputStream().flush();
                   response.getOutputStream().close();
              } catch (Exception e){
                        e.printStackTrace();
         public static Servlet getInstance()
            return new CrystalReportGeneratorServlet_WOW();
    Any help would greatly be appreciated.

    Actually Uzair I came across this thread in trying to find a resolution to my problem.  I was wondering if you were able to resolve this issue as it appears as though I may have the same problem.
    Thanks.

  • Problem generating javadoc

    I am using jdk 1.6.0.03 for development
    I am facing some problem while creating java doc
    details of the problem can be understood by details given below
    upon issuing command the following output occurs
    Loading source files for package applet...
    [parsing started C:\java\applettest\AppletTest.java]
    [parsing completed 31ms]
    Constructing Javadoc information...
    [search path for source files: C:\java\applettest]
    [search path for class files: C:\Program Files\Java\jdk1.6.0_03\jre\lib\resources.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\rt.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\sunrsasign.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\jsse.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\jce.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\charsets.jar,C:\Program Files\Java\jdk1.6.0_03\jre\classes,C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\dnsns.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\localedata.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunjce_provider.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunmscapi.jar,C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunpkcs11.jar,C:\Program]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/applet/Applet.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/awt/Button.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/awt/Color.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/awt/Graphics.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/awt/Panel.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/javax/accessibility/Accessible.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/lang/Object.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/awt/Container.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/awt/Component.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/awt/image/ImageObserver.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/awt/MenuContainer.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/io/Serializable.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/lang/Override.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/lang/annotation/Annotation.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/lang/annotation/Target.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/lang/annotation/ElementType.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/lang/annotation/Retention.class)]
    [loading C:\Program Files\Java\jdk1.6.0_03\lib\ct.sym(META-INF/sym/rt.jar/java/lang/annotation/RetentionPolicy.class)]
    Standard Doclet version 1.6.0_03
    Building tree for all the packages and classes...
    Generating C:\java\applettest/\AppletTest.html...
    java.lang.IllegalArgumentException
         at sun.net.www.ParseUtil.decode(ParseUtil.java:189)
         at sun.misc.URLClassPath$FileLoader.<init>(URLClassPath.java:953)
         at sun.misc.URLClassPath$3.run(URLClassPath.java:326)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:320)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:297)
         at sun.misc.URLClassPath.findResource(URLClassPath.java:144)
         at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
         at java.lang.ClassLoader.getResource(ClassLoader.java:977)
         at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
         at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:89)
         at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:250)
         at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:223)
         at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:128)
         at com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.parseXML(LayoutParser.java:72)
         at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:108)
         at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:155)
         at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:164)
         at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:106)
         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:597)
         at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:215)
         at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:91)
         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)
    com.sun.tools.doclets.internal.toolkit.util.DocletAbortException
         at com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.parseXML(LayoutParser.java:79)
         at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:108)
         at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:155)
         at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:164)
         at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:106)
         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:597)
         at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:215)
         at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:91)
         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)
    com.sun.tools.doclets.internal.toolkit.util.DocletAbortException
         at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:159)
         at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:164)
         at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:106)[done in 1094 ms]
         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:597)
         at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:215)
         at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:91)
         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)

    this is just a simple test applet to check generation of javadoc
    import java.applet.Applet;
    import java.awt.Button;
    import java.awt.Color;
    import java.awt.Graphics;
    * @author Pushpraj
    public class AppletTest extends Applet{
         public void start() {
              super.start();
              setBackground(Color.gray);
              add(new Button("Click"));
         public void paint(Graphics g)
              String prm=getParameter("abc");
              if(prm!=null)
                   g.drawString(prm,10,10);
    }

Maybe you are looking for

  • My Brand New MacBook Pro just quit.... completely....

    So, I was watching a soccer match on TV and wanted to check the score on my computer (I mean a play by play). Got an alert for a software update. Did so, and hit the 'restart' option when it came up. Suddenly, when it restarts and I enter my security

  • Images in Spry menu blank in IE

    I have a website with a spry drop down menu. It appears perfect in Safari and Firefox, but the image areas are blank in IE. Any help?

  • How to store .doc and .pdf files in oracle

    pls anyone give me exact procedure for storing .doc & .pdf files in oracle table data types etc...

  • Lost songs HELP!

    I bought a new computer and no longer have the old one with around 200 songs on it. When I downloaded iTunes to the new computer and purchased 10 songs, it asked if I'd like to replace my existing songs on my iPod with the new ones. I accidentally cl

  • LAYER STYLES NOT RENDERING

    hi! :) i'm using after effects cs3 on a quadecore pc, 2gb RAM. my output is in quicktime .mov. layer styles that i've added doesn't come out in my rendered project like drop shadow or stroke. none of my layers are in 3D so i don't know what i may or