H-grid in ADF

Hi all,
Please help me how to develop H-grid(OAF) structure in ADf (Jdeveloper 11g)

Hi John,
Thanks for reply, i need to say that, In OAF page if we go to "About this page" there we can see "Expand and Collapse" with + symbol hierarchy structure like wise my requirement
please help me in this
Thank you

Similar Messages

  • ADF component to display a grid with wrap around

    We need to create a grid of images on a page, such that maximum number of images that can fit in the viewable area are displayed in a row. The remaining images wrap to the next row. One should be able to select one or more images from the grid and drag-and-drop them in the same grid or outside the grid. Any suggestions about the best ADF component that can serve this purpose. Also, wonder if Collection drag-and-drop mechanism is available for components other than <table> and <tree>?. For example, can we use it with <panelList> or <panelForm>?

    this related to css instead of which component to use, following code should work:
    <af:panelGroupLayout id="pgl1" layout="vertical" inlineStyle="width:90%; border:1px solid black;float:left">
         <af:image source="#{resource['images:logo.png']}" shortDesc="Img 1" id="i1"
    inlineStyle="height:60px;float:left"/>
    <af:image source="#{resource['images:logo.png']}" shortDesc="Img 2" id="i2"
    inlineStyle="height:60px;float:left"/>
    </af:panelGroupLayout>
    if you remove af:panelGroupLayout and just use following inside your component
    <af:image source="#{resource['images:logo.png']}" shortDesc="Img 1" id="i1"
    inlineStyle="height:60px;float:left"/>
    <af:image source="#{resource['images:logo.png']}" shortDesc="Img 2" id="i2"
    inlineStyle="height:60px;float:left"/>
    it should still work

  • ADF blank data grid at page load.

    i want a blank data grid when a page loads. Can i drag and drop a data control to the page(this makes the ADF data table) and then clear the ADF cache and then issue an InsertRow() on the rowiterator?
    or do i have to do the binding manually?

    Hi there!
    Did u find out how to do that? if so please let me know.
    Thanx.

  • Add grid rows in panel grid layout in adf UI page

    I'm using panel grid layout in adf UI page. I need to add a dynamic grid row in panelGridLayout. Or in simple way programatically I need to add grid rows in panel grid layout in adf UI page.Timo Hahn Frank Nimphius Shay Shmeltzer-Oracle

    Hi Shay,
    It is a dynamic grid.
    there can be one dropdown, two dropdown.... n dropdown.
    Please tell me if there is any specific method to add children.

  • Grid like Structure in ADF

    Hi I need values that are abstracted from iterater operation in a fine Grid Layout format .
    Please suggest.

    use this
    http://blogs.oracle.com/jdevotnharvest/entry/grid_layouts_in_adf_faces_using_trinidad

  • Get selected row from grid

    Hi
    I use JDev 11.1 with ADF, i have grid, i need to get selected row of grid when i press buttom, how can i do that?
    Thanks

    Hi,
    You have a table in your page that is based on a viewObject iterator and you need to get the selected row in your backing bean when you click on a button.
    Did I get this right?
    If so then you need to add an actionListener on this button that executes a method in the backing bean.
    the button code:
    <af:commandButton text="commandButton 1" id="cb1"
                                        actionListener="#{myBean.buttonActionListener}"/>In this method you need to add code like this:
      public void buttonActionListener(ActionEvent actionEvent) {
        BindingContext bindingctx=BindingContext.getCurrent();
        DCBindingContainer bindings=(DCBindingContainer)bindingctx;
        DCIteratorBinding iter= bindings.findIteratorBinding("iteratorName");
        Row currentRow=iter.getCurrentRow();
      }If this is not what you need give some more details.
    Gabriel

  • How to Restrict the values of Field TASKTYPE on a ALV Grid.?

    Hi;
    Let me explain my problem. I have report written by another abap developer who has gone now.
    On the ALV Grid there is a field called "Activity Process". By F1 F9 I can read that field depends on table TCATX_TASKTYPES and field TASKTYPE   . From se11 I can see that there is no search help related with the field.
    When the user press F4 all the data in the table is listed . The user want to filter some of the listed data according to same logic .
    When I debug the code after F4 on the field I found that the system finds Search Help: TCATX_TASKTYPES of type 'CT'. But unfortunately SE11 says that there in  no search help such as TCATX_TASKTYPES.
    The previous abap developer used BADI NETW_USER_FIELDS_F4 AT_F4 with class ZCL_IM_NETW_USER_FIELDS_F4 and interface IF_EX_NETW_USER_FIELDS_F4  for the transaction cj20n to filter the same field but this is not triggered by the F4 on the ALV Grid.
    What can I do ?
    Would you please help me ?

    I know i can do this using ADF Business Components as the business service but the problem is that the initial value for that attribute will be changed depending on the screen ... ill give u a simple example : lets say that I have employee table ( which include dept column) and under that table I have a table called "Emp_dept_movements" now in the main ADF page "employee entry" I have two blocks Employee data ( master view) employee dept data ( detail view ) now when the user press the create-insert button on the employee dept view the system should copy the dept no from the employee view to the dept no on the emp_dept_movements view... and the "Emp_dept_movements" will be used in another screen called " employee departement movements" without any initial value for the DeptNo
    I dont want to create more than one view and cant set the initial value for that attribute in the view , Can this be done through the UI by adding set action listener on that button and specifying from ( binding master_view.dept ) - to (binding of detail_view.dept) ..
    hope that am clear this time,
    Edited by: Delta on Jul 5, 2010 11:21 PM

  • Error when discover Weblogic 10.x under Grid Control 11g

    Hi all,
    I'm trying to adding web logic from middleware tab but I receive Internal Error has occurred. Check the log file for details. agent is installed and everything is working perfect.
    But every time I discover I receive this error which may indicate the problem from Grid itself.
    logfile showing
    ===============
    2013-01-16 18:14:00,141 Thread-5756 WARN upload: Truncating value of "STRING_VALUE" from "Errors in directory: c:\oracle\gc_inst\user_projects\domains\gcdomain\servers\emgc_oms1\adr\diag\ofm\gcdomain\emgc_oms1\incident\incdir_846 (incident=846):~MDSConfigurationException encountered in parseADFConfigurationMDS-01330: unable to load MDS configuration document~MDS-01329: unable to load element &quot;persistence-config&quot;~MDS-01370: MetadataStore configuration for metadata-store-usage &quot;writeable&quot; is invalid.~MDS-00922: The ConnectionManager &quot;oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl&quot; cannot be instantiated.~weblogic.common.resourcepool.ResourceDeadException: 0:~Could not connect to &apos;oracle.jdbc.OracleDriver&apos;.~The returned message is: ORA-01017: invalid username/password; logon denied~It is likely that the login or password is not valid.~It is also possible that something else is invalid in~the configuration or that the database is not available.~Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}" to "Errors in directory: c:\oracle\gc_inst\user_projects\domains\gcdomain\servers\emgc_oms1\adr\diag\ofm\gcdomain\emgc_oms1\incident\incdir_846 (incident=846):~MDSConfigurationException encountered in parseADFConfigurationMDS-01330: unable to load MDS configuration document~MDS-01329: unable to load element &quot;persistence-config&quot;~MDS-01370: MetadataStore configuration for metadata-store-usage &quot;writeable&quot; is invalid.~MDS-00922: The ConnectionManager &quot;oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl&quot; cannot be instantiated.~weblogic.common.resourcepool.ResourceDeadException: 0:~Could not connect to &apos;oracle.jdbc.OracleDriver&apos;.~The returned message is: ORA-01017: invalid username/password; logon denied~It is likely that the login or password is not valid
    ===============
    Thank you

    also log show
    Incident Id: 847
    Incident Source: SYSTEM
    Create Time: Wed Jan 16 21:47:48 AST 2013
    Problem Key: OFM-99999 [EMGC_OMS1][oracle.adf.share.config.ADFMDSConfig]
    Application Name: emgc
    Error Message Id: OFM-99999
    Description
    The following log message matched one or more log detection conditions:
    [2013-01-16T21:47:48.573+03:00] [EMGC_OMS1] [INCIDENT_ERROR] [] [oracle.adf.share.config.ADFMDSConfig] [ecid: 0000Jl4g42a7q2w_KDc9ye1GoAEJ006Ho7,0] [APP: emgc] MDSConfigurationException encountered in parseADFConfigurationMDS-01330: unable to load MDS configuration document [[
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
    MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
    weblogic.common.resourcepool.ResourceDeadException: 0:
    Could not connect to 'oracle.jdbc.OracleDriver'.
    The returned message is: ORA-01017: invalid username/password; logon denied
    It is likely that the login or password is not valid.
    It is also possible that something else is invalid in
    the configuration or that the database is not available.
    Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}
    oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
    MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
    weblogic.common.resourcepool.ResourceDeadException: 0:
    Could not connect to 'oracle.jdbc.OracleDriver'.
    The returned message is: ORA-01017: invalid username/password; logon denied
    It is likely that the login or password is not valid.
    It is also possible that something else is invalid in
    the configuration or that the database is not available.
    Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}
         at oracle.mds.config.PConfig.loadFromBean(PConfig.java:695)
         at oracle.mds.config.PConfig.<init>(PConfig.java:504)
         at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)
         at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)
         at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)
         at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2007)
         at oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.java:1169)
         at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:569)
         at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:137)
         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 oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:442)
         at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:507)
         at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:490)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:546)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:541)
         at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
         at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1203)
         at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:434)
         at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:351)
         at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:55)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:103)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntimeExceptionFilter.java:58)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
    MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
    weblogic.common.resourcepool.ResourceDeadException: 0:
    Could not connect to 'oracle.jdbc.OracleDriver'.
    The returned message is: ORA-01017: invalid username/password; logon denied
    It is likely that the login or password is not valid.
    It is also possible that something else is invalid in
    the configuration or that the database is not available.
    Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}
         at oracle.mds.config.PConfig.loadFromBean(PConfig.java:689)
         ... 45 more
    Stack Trace
    oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
    MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
    weblogic.common.resourcepool.ResourceDeadException: 0:
    Could not connect to 'oracle.jdbc.OracleDriver'.
    The returned message is: ORA-01017: invalid username/password; logon denied
    It is likely that the login or password is not valid.
    It is also possible that something else is invalid in
    the configuration or that the database is not available.
    Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}
         at oracle.mds.config.PConfig.loadFromBean(PConfig.java:695)
         at oracle.mds.config.PConfig.<init>(PConfig.java:504)
         at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)
         at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)
         at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)
         at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2007)
         at oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.java:1169)
         at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:569)
         at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:137)
         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 oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:442)
         at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:507)
         at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:490)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:546)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:541)
         at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
         at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1203)
         at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:434)
         at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:351)
         at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:55)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:103)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntimeExceptionFilter.java:58)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
    MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
    weblogic.common.resourcepool.ResourceDeadException: 0:
    Could not connect to 'oracle.jdbc.OracleDriver'.
    The returned message is: ORA-01017: invalid username/password; logon denied
    It is likely that the login or password is not valid.
    It is also possible that something else is invalid in
    the configuration or that the database is not available.
    Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}
         at oracle.mds.config.PConfig.loadFromBean(PConfig.java:689)
         ... 45 more
    Diagnostic Dumps
    Name: dms.ecidctx
    Dump Files: dms_ecidctx229_i847.dmp
    Name: jvm.threads
    Dump Files: jvm_threads230_i847.dmp
    Name: dms.metrics
    Dump Files: dms_metrics231_i847.dmp
    Name: odl.logs
    Dump Arguments: ecid=0000Jl4g42a7q2w_KDc9ye1GoAEJ006Ho7
    Dump Files: odl_logs232_i847.dmp
    Name: odl.logs
    Dump Arguments: timestamp=1358362068573
    Dump Files: odl_logs233_i847.dmp
    Name: wls.image
    Dump Files: diagnostic_image_EMGC_OMS1_2013_01_16_21_47_50.zip
    Edited by: 886280 on Jan 17, 2013 12:52 AM

  • How to show data from different tables in database in ADF Jdeveloper 11g R2

    Hi,
    My requirement is to display the data in the grid (html > table), the data is to be displayed from more than one table in a single grid and thereafter I am supposed to display the sum of some of the records in another table, I am confused about this, plz help.
    Rajat

    The view link is generally used to relate two view objects together in the AMs data model, for example in a master-detail relationship. If you use them properly, ADF takes care of coordinating master/detail records - for example, ensuring that the detail record has the correct FK to the master record.
    Have you read the Fusion Developers Guide for ADF? [url http://docs.oracle.com/cd/E26098_01/web.1112/e16182/bcquerying.htm#CEGJCAHC]This section, for example?
    John

  • Question for Steve Muench - ADF/EJB & Applets?

    Steve or anyone who can help - Do you have any sample demo that can demonstrate how to take advantage of ADF caching technology on the server, or an EJB solution integrated with an applet in a web application?
    It is kind of late in the game, because we are about to roll out an application in our company, nevertheless we are still researching a better way for handling tremendous amount of data by our applet. We are using F1 Formula engine (spreadsheet like tech) in our applet. But, we have severe performance problems, especially in our remote locations trying to load thousands of rows in the applet and on top of that do all kinds of formatting and Excel like functionality in the applet grid at run time.
    We are looking for a way to integrate ADF or EJB caching solution with our applet, so that we can cache the client data on the app server if possible, in order to improve performance.
    Any guidance, suggestion and help is very much appreciated.
    Thanks,
    [email protected]

    Hi,
    my recommendation would be to use JavaWeb Start with BC deployed as EJB to the Application Server. This way you have a real client installation and don't need to download the Applet classes all the time (and JClient, assuming you use JClient, comes with a couple of libraries slowing down the initial application startup). Using EJB on the middle tier allows you to use batch mode, which reduces the number of roundtrips between the client and the server. Note that the default implementation is synchronous, which is more chatty.
    Frank

  • ADF: Calendar

    Hi all,
    I'm using JDev 11.1.2.0 and I'm having a couple of question concerning calendar component.
    1) Is there any way to present an event as an all-day event?
    Even when the returned VO record has only date (dd/mm/yyyy - NO time at all), it still shows by default 12:00am before the event
    2) Regardless of the above issue, can I hide time for all events?
    BR
    Apostolos

    Hi,
    Welcome to OTN. Always mention your JDev version (Check out this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56)
    Check this out : http://jdevadf.oracle.com/adf-richclient-demo/faces/components/skinningKeys/calendar.jspx
    af|calendar::month-grid-cell:active-day is what you would need to skin.
    -Arun

  • Centering table cell content in panel grid

    How can I center the content of the cells in a table grid so it would end up something like this:
    <table>
    <tr>
    <td align="center">

    You can do that using stylesheet. You can look at the
    repeater demo example for ideas. The corresponding
    stylesheet class is components/web/stylesheet.css .
    Hope this helps.
    -JayashriI think we need more powerfull layout oriented components.
    XAML, XUL, ADF all of them have powerfull layout components library.
    Maybe it's time start working in this direction.
    I'm sure that JSF must provide in near future more powerfull layout related components library, no doubt here!
    After that it will be possible to remove from styles classes and jsp code everything that was used for layout.
    Layout components will take care about align components, preferred size and etc.
    We need minimize number of style classes.
    That possible if you will make them more universal.
    But no way to make universal style classes with layout related attributes inside them.
    Take a look on simple layout case:
    <s:row align="opposite" styleClass="footerPage">
         <h:outputText value="#{bundle.copyright}"/>
         <h:outputText value="#{bundle.terms}"/>
    </s:row>
    public class RowRenderer extends HtmlBasicRenderer {
    public RowRenderer() {
    super();
    public boolean getRendersChildren() {
    return true;
    public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
    if (!component.isRendered())
    return;
    ResponseWriter writer = context.getResponseWriter();
    writer.startElement("div", component);
    writeIdAttributeIfNecessary(context, writer, component);
    String styleClass = (String) component.getAttributes().get("styleClass");
    if (styleClass != null) {
    writer.writeAttribute("class", styleClass, "styleClass");
    Util.renderPassThruAttributes(writer, component);
    public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
    if (!component.isRendered())
    return;
    Iterator kids = null;
    String style = null;
    int i = 0;
    String align = (String) component.getAttributes().get("align");
    if (align == null) align = "start";
    if (null != (kids = getChildren(component))) {
    while (kids.hasNext()) {
    UIComponent child = (UIComponent) kids.next();
    if (!child.isRendered())continue;
    style = (String) child.getAttributes().get("style");
    style = (style != null) ? style + ";" : "";
    if ( (align == "start") || (align == "left"))
    style += "float: left;";
    else
    if ( (align == "end") || (align == "right"))
    style += "float: right;";
    else
    if (align == "opposite") {
    if ((i % 2) == 0)
    style += "float: left;";
    else
    style += "float: right;";
    child.getAttributes().put("style", style);
    encodeRecursive(context, child);
    i++;
    public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
    if (context == null || component == null) {
    throw new NullPointerException(Util.getExceptionMessageString(
    Util.NULL_PARAMETERS_ERROR_MESSAGE_ID));
    if (!component.isRendered())
    return;
    ResponseWriter writer = context.getResponseWriter();
    writer.endElement("div");
    It's good idea in many layout situations to use tableless layout.
    Row component just simple demonstration how it work.
    There are some problems with implementation and using tableless layout
    but at least in some cases it's good choise.
    I'm ready to provide plenty suggestions in area of creating and using layout components.
    Just don't know if you have interest to discuss that matter.
    Vladimir

  • Get a list of af:selectBooleanCheckbox adf

    Hello, I have a few selectBooleanCheckboxes in a grid layout format. I would like to get a collection of these checkboxes: I don't want to bind them individually to a backing bean as they will be related to each other. Is there anyway to do this? Each checkbox is separate, but I would like to for instance get an ArrayList of these UI Components, and then figure out which of them is selected and which isn't. Maybe there is a group attribute I can use for this? Any help highly appreciated in this time-sensitive matter. Thank you for reading.

    Hi,
    get a handle to the parent container (something that marks the grid) and then call getChildren iteratively to parse the component tree. Check the UI component instance for RichSelectBooleanCheckbox. If the instance matches, the you can continue checking its select state
    http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e10684/oracle/adf/view/rich/component/rich/input/RichSelectBooleanCheckbox.html
    Frank

  • Custom grid spread in Hyperion Planning v 11.1.2.3

    Hello
    In Hyperion Planning version 11.1.2.0 one could add custom grid spread methods to be used in planning forms.
    To add methods one had to add entries to the HSP_SPREAD_PATTERN table
    On migrating to version 11.1.2.3 the values still exist in the above table, but are not availabke in the front end planning form
    We are running planning in the new ADF interface mode
    Is there some trick to make custom grid spread work in ADF mode in version 11.1.2.3?
    Thanx
    Berndt 

    Hello All
    Official reply from Oracle regarding this issue:
    "I am sorry to say that this functionality is currently not being supported in ADF mode, we have raised
    Bug 16851347 - LABEL FOR CUSTOM GRID SPREAD DOES NOT SHOW IN ADF INTERFACE, for this issue already and our development team is working on the same to fix it."
    I have asked for an estimated delivery date of this fix- will post it once I get the reply
    Thanx
    Berndt

  • Implement dragsort in oracle adf

    Hi,
    I want to implement the drag sort (eg: http://jqueryui.com/sortable/#display-grid) in oracle adf.
    This is my sample code in oracle adf.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:trh="http://myfaces.apache.org/trinidad/html">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" title="Sortable">
    <af:form id="f1">
    <af:resource type="css" source="/css/test.css"/>
    <af:resource type="javascript" source="/js/jquery-1.9.1.js"/>
    <af:resource type="javascript" source="/js/jquery-ui.js"/>
    <trh:script id="sx4">
    $(function () {
    $("#sortable").sortable();
    $("#sortable").disableSelection();
    $(function () {
    $("#test").sortable();
    $("#test").disableSelection();
    $(function () {
    $("#sortable1").sortable();
    $("#sortable1").disableSelection();
    </trh:script>
    <af:panelList rows="6" maxColumns="3" id="sortable1"
    listStyle="thumbnail" inlineStyle="list-style-type:none" >
    <af:forEach varStatus="vs" begin="1" end="17">
    <af:panelList rows="6" maxColumns="3" styleClass="span4" id="test"
    listStyle="thumbnail" inlineStyle="list-style-type:none">
    <af:outputText id="ot2" value="#{vs.index} #{vs.count} #{vs.begin}"/>
    </af:panelList>
    </af:forEach>
    </af:panelList>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Can any one help me out...
    I am using JDeveloper 11.1.1.6.0 version.
    Thank you and regards
    Madhava
    Edited by: Madhava Maiya on Apr 18, 2013 2:17 AM

    Hi Frank,
    I am using client side because I did not get any solution using ADF (Also I am new to ADF).
    Also I need display the data in grid, that is why I used panelList.
    I will expalin the thing in simpler way.
    Suppose I have a list of size = 7
    I want to display the data of each list in grid format mentioned below:
    1 2 3
    4 5 6
    7
    For the above requirement I have used panelList. The only thing I want to do is to use drag sort and make changes in the grid. After refreshing the page the original grid should display.
    If any thing can be done using ADF is well and good for me.
    Thanks
    Madhava

Maybe you are looking for