ADF Jdeveloper Accordion Implementation

Hi
Could you please help in one of ADF accordion implementation.
I have a requirement to implement accordions on page. The scenario could be best explain with example: Lets say I have 3 tables schools, students, subjects. School contain list of schools. for each school there are number of students stored in students table and each student can enroll number of subjects. So, when user login in on page, depending upon school-ID,
for each student in that school there would be an accordion component say student1, student2, student3 etc.. number of students-accordion will be dynamic based on number of students in that school. When student1 accordion is clicked, it should show all the subjects that student has enrolled. Similarly if student2- accordion is clicked it should corresponding list of subjects for that student.
Any inputs or pointers on dynamic accordion. One approach would be iterate on number of students and create accordion accordingly..not sure it will work..

Hi,
use an af:foEach as a child ofthe panelAccordion to iterate over a list of students. Within teh af:forEach component have a showDetailItem and within this, populate the student detail information. Using ADF, I would use a tree binding that shows all students and as child nodes the detail information
Frank

Similar Messages

  • Deploying ADF/JDeveloper portlets in WebSphere Portal

    I'd like to use ADF/JDeveloper to build my application, but my customer is already heavily invested on a WebSphere Portal deployment platform.  The JDeveloper/ADF documentation has extensive information on creating portlets in various ways, but they all seem focused exclusively on deploying in an Oracle platform.  I have tried both the "Standards-Based" as well as the "JSF Portlet Bridge".  I have tried to deploy the portlets in WebSphere Portal using both the generated WAR file, as well as by registering the WSRP producer.  None work.
    With the WAR file, WebSphere Portal seems to import the WAR file just fine, and I can add a portlet to a page, but the portlet always shows as "unavaiable"
    With the WSRP producer, I can get something to show in the page, but the functionality within the portlet doesn't seem to work.
    I've searched extensively, but cannot locate any documentation or use cases for deploying portlets from JDeveloper into WebSphere Portal.  Does anyone have any thoughts?

    Dvohra21, again, I apreciate the effort, but I think you're missing the fundamental question.
    You've given me two types of articles/links.  Some are generic WebSphere Portal documentation about deploying a portlet from a WAR file.  Others are Oracle articles about who to generate portlets in JDeveloper, with examples deploying in Oracle/WebLogic servers.   Unfortunately I don't have a problem with either of those.
    I CAN deploy a portlet WAR file in WebSphere Portal, and sucessfully add it to a Portal page.  I have done that with multiple WAR files generated from Rational Application Developer.
    I CAN produce a WAR file from JDeveloper, following the instructions in the same resources you included, plus a few others.
    The problem is, the WAR file from JDeveloper, does not successfully run on WebSphere Portal.  I create a simple Hello World portlet in JDeveloper, and I can generate a WAR file from it, and seemingly deploy to WebSphere Portal.   However when I add it to a Portal page, it always displays only a blank box with the text "This portlet is unavailable".  This is in the same exact portal page, where the portlet created with Rational Application Developer shows up just fine right along side it.
    Bottomline is, although there is a great deal of information an demos about generating portlets from JDeveloper within an Oracle environment, I could not find a SINGLE ONE, that goes through an end to end scenario where it is deployed in WebSphere Portal.  Nothing in this forum, nothing in Oracle docs, and nothing I can find on a Google search.

  • How to custom SQL in ADF JDeveloper 10.1.3.3

    How to custom SQL in ADF JDeveloper 10.1.3.3 as follows,
    SELECT A.attribute1,
    A.attribute2,
    B.attribute1,
    B.attribute2,
    FROM table1 A,
    table2 B
    WHERE A.id = B.id
    Thanks
    sumury

    Hi,
    this isn't really a question as it is not obvious where you want to customize it. My initial idea was to suggest SQL Worksheet to you, but then this most likely isn't what you are looking for.
    http://blogs.oracle.com/shay/2007/03/02
    Frank

  • Oracle ADF & Jdeveloper.

    Any one have an idea that which institute other than oracle school, give training for Oracle ADF & Jdeveloper in Dubai, United ARab Emirates.
    I am using Forms10g and would like to upgrade to Jdeveloper.I have no experience in Java.

    I've also written a book, and given I come from a Forms background, it should address many of the issues those coming from a Forms background hit when learning ADF. The book itself is aimed at getting developers up to speed as quickly as possible,
    Quick Start Guide to Fusion Development: JDeveloper and Oracle ADF is now published. See http://www.mhprofessional.com/product.php?isbn=0071744282
    See also http://www.oracle.com/technetwork/developer-tools/jdev/formsdesignerj2ee-092778.html which is a page specifically for Forms developers who are picking up JDeveloper and Oracle ADF.
    Regards
    Grant

  • Does current Oracle Maven Repo supports 11.1.1.7 ADF JDeveloper ?

    Hi All
    Does current Oracle Maven Repo (OMP) supports 11.1.1.7 ADF JDeveloper ?
    What's the minimum JDeveloper version that OMP currently support ?
    Thanks

    Right now, the Oracle Maven Repository only contains artifacts to support ADF 12.1.3.  We will be adding newer versions as they become available but there are currently no plans to add support for 11g-based releases.

  • Is their a tutorial Explaining SRDemo ADF BC version implementation ?

    Hi All,
    Is their a tutorial explaining SRDemo ADF BC Version implementation ?
    i have the SRDemo (JSF, EJP,TOPLink) implementation tutorial( ADF Developers guide) but did not find a similar one for ADF BC Version
    Thanks
    Raghavendra

    The ADF Developer Guide - ADF BC edition is in final stages or review.
    See: http://radio.weblogs.com/0118231/2006/05/12.html#a693

  • ADF Faces + accordion component

    Hi all,
    Has anyone out there used any 3rd party "accordion" component with ADF Faces? Examples of one's that I've found but not tried:
    Google Web Toolkit (GWT) StackPanel widget - might be hard to integrate with JSF
    MyFaces accordionPanel - pretty nice, but it's still in the "sandbox" project
    IceFaces has an in-development accordion - IceFaces doesn't play nice with ADF Faces components on the same page due to a special renderer
    Spry Accordion from Adobe - similar comments to GWT.
    Some examples of what I mean:
    The Mail/Tasks/Contacts item here: http://code.google.com/webtoolkit/documentation/examples/desktopclone/demo.html
    http://archive.dojotoolkit.org/nightly/tests/widget/test_AccordionContainer.html
    http://www.irian.at/myfaces-sandbox/accordionPanel.jsf
    The closest thing in ADF Faces is the af:showOnePanel, which is pretty close, but not exactly what I'm looking for. Perhaps with some skinning, I could get it to look different (no +/- in the little triangle, etc). An update... thanks to BUG 5682799, we are not able to get rid of the little hide/disclose (+/-) widget - the skin selector for that item is ignored.
    Thanks for any insight.
    John

    Hi John,
    Bug 5682799 has been fixed in JDeveloper 10.1.3.3
    If you need a one-off patch for a prior release of JDev, please contact Support.
    Regards,
    Didier.

  • ADF: JDeveloper 11.1.1.0.1 build 5188, RichPanelDashboard

    Hi,
    I am a frequent user, first time poster ;-) (So please go easy on me).
    I have found a reference to this ADF faces rich component on the following link:
    http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e10684/oracle/adf/view/rich/component/rich/layout/RichPanelDashboard.html
    However, I can't see the implementation of this in the version of JDeveloper I am running, which I believe it is the latest build:
    Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
    Can any guru shed the light on this component, and please if you know if that component will make a debut, or was it removed.
    Just for background I am looking into a component drag and drop, and this component seem promising with rendering a re-order components.
    Looking forward to any replies.

    Hi Frank,
    Appreciate your answer, I have to admit thought that the ADF Rich-client demo have provided me good answers on how to handle component DnD, but apparently the RichPanelDashboard is making it easier.
    Thanks for this.

  • How to get multiple out parameters from a pl/sql stored procedure in ADF Jdeveloper 11g release2

    I´m trying to call from AppModuleImpl a stored procedure from my oracle DB which receives one input parameter and returns 5 out parameters. 
    I´m using jdeveloper 11g release2  ADF and I have created a java bean "ProRecallPlatesBean " with the atributes and accesors and I serialize it. just like in this article http://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcadvgen.htm#sm0297
    This is my code so far:
    public ProRecallPlatesBean getCallProRecallPlates(String numPlates) {
    CallableStatement st = null;
    try {
              // 1. Define the PL/SQL block for the statement to invoke
              String stmt = "begin CTS.Pk_PreIn.proRecallPlates(?,?,?,?,?,?); end;";
              // 2. Create the CallableStatement for the PL/SQL block
              st = getDBTransaction().createCallableStatement(stmt,0);
              // 3. Register the positions and types of the OUT parameters
              st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.VARCHAR);
    st.registerOutParameter(4,Types.VARCHAR);
    st.registerOutParameter(5,Types.VARCHAR);
    st.registerOutParameter(6,Types.VARCHAR);
    // 4. Set the bind values of the IN parameters
    st.setString(1,numPlates);
    // 5. Execute the statement
    st.executeUpdate();
    // 6. Create a bean to hold the multiple return values
    ProRecallPlatesBean result = new ProRecallPlatesBean();
    // 7. Set values of properties using OUT params
    result.setSpfVal(st.getString(2));
    result.setTransportTypeVal(st.getString(3));
    result.setTransportCompanyVal(st.getString(4));
    result.setCompanyDescrVal(st.getString(5));
    result.setDGAPrint(st.getString(6));
    // 8. Return the result
    return result;
    } catch (SQLException e) {
    throw new JboException(e);
    } finally {
    if (st != null) {
    try {
    // 9. Close the JDBC CallableStatement
    st.close();
    catch (SQLException e) {}
    In Jdeveloper I went into AppModule.xml JAVA>Client Interface section and expose "getCallProRecallPlates" Then I can see "getCallProRecallPlates" in Data Controls, I drag and drop it to a JSF page, an input text component and a button are generated in order to put in there the procedure input parameter (numPlates).
    I don't know if I'm on the right track.
    When I click the button, the "result" variable is supposed to be filled with data from the stored procedure. I want each of those values to be displayed in Output text or input text adf components but I dont know how. Thank you very much in advance I´m a newbie and i'll appreciate your help!

    What version are you on?
    Works fine for me on my 11g:
    SQL> create or replace procedure testxml (clob_out out clob)
      2  is
      3     l_clob   clob;
      4     l_ctx    dbms_xmlquery.ctxhandle;
      5  begin
      6     l_ctx := dbms_xmlquery.newcontext ('select * from dual');
      7     l_clob := dbms_xmlquery.getxml (l_ctx);
      8     clob_out := l_clob;
      9     dbms_xmlquery.closecontext (l_ctx);
    10  end testxml;
    11  /
    Procedure created.
    SQL>
    SQL> variable vout clob;
    SQL>
    SQL> exec testxml (:vout)
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print vout
    VOUT
    <?xml version = '1.0'?>
    <ROWSET>
       <ROW num="1">
          <DUMMY>X</DUMMY>
       </ROW>
    </ROWSET>But definitely you can optimize your proc a bit: Try
    create or replace procedure testxml (clob_out in out nocopy clob)
    is
       l_ctx    dbms_xmlquery.ctxhandle;
    begin
       l_ctx := dbms_xmlquery.newcontext ('select * from dual');
       clob_out := dbms_xmlquery.getxml (l_ctx);
       dbms_xmlquery.closecontext (l_ctx);
    end testxml;
    /

  • Oracle Flexfields in ADF/Jdeveloper.

    Hi,
    I have a requirement for which Oracle Flexfields looks like a possible fit. I got some documents on the usage of flexfields , however it is not clear from this, the implementation part of it.
    the doc talks about using the oracle flex fields in the <<New Gallery>>-->Business Tier-->ADf business components-->"Flexfield Business Components", but I guess this option does not come as a standard.
    I am trying to figure out how this option can be installed into ADF so that the flexfields functionality can be tried out. If anybody has come across a similar requirement , please do respond to this.
    Thanks.
    Raghu.

    Hi Shay,
    Thanks for the response . Iam trying to build the flex fields feature into a product that has been developed with ADF fusion framework. I came across some links which suggests that the flexfields is possible through ADF like the one I have pasted below. also some docs might be available here which suggests that the flexfields can be integrated with ADF.
    http://aseng-wiki.us.oracle.com/asengwiki/display/ATG/Drop+3+Design-Time+Flow
    regards
    Raghu
    Edited by: user10299698 on Aug 31, 2010 2:36 AM

  • Need expertise opinion on ADF custom BackEnd implementation

    Hi all,
    Jdeveloepr version: Studio Edition Version 11.1.1.5.0.
    I am working on an ADF application and trying to go with the following implementations which are currently working fine while unit testing (me alone- single user) . I would like to have a expert opinion as whether this would be a scalable solution for an application which will support multiple users simultaneously . I am very new to ADF framework , so please advice
    -The page are mostly inside bounded taskflows, which are nested and having backing beans are different scope. The backing bean is talking to a service layer (java classes ) to call the Webservice layer few database tables and then integrate and process the data to be shown on the front end.
    (we have decided to opt out of drag and drop technique in ADF, due to some UI design reasons and large Webservice calls, though it is possible as mentioned by some experts)
    The questions are based on the Database interaction, we have created an appmodule which has several VOs abased on entity objects and accessing them programmatically from the service layer like
    1. Get the appmoduleDatacontrol via the id name in Databindings.cpx and get corresponding VO implementation classes to invoke custom methods written inside. How good would be the connection pooling and state management of the application modue in production environments.
    2. for insertion - we call createROW on VO implementation and call an commit on the row implementation classes after adding detials to the new row.
    3. for select op- we create filter criteria on the view and apply them programmatically to get the rows.
    4. for update- get the row using the filters VO and manipulate the row using RowImpl classes and do a commit on then. (a commit on VO or commit on RowImpl, which would be better?)
    Any pointers to tutorials/Blogs related optimizing and testing this implemtnation to this would be really helpful.
    Thanks,
    JSWL

    Hi all,
    Jdeveloepr version: Studio Edition Version 11.1.1.5.0.
    I am working on an ADF application and trying to go with the following implementations which are currently working fine while unit testing (me alone- single user) . I would like to have a expert opinion as whether this would be a scalable solution for an application which will support multiple users simultaneously . I am very new to ADF framework , so please advice
    -The page are mostly inside bounded taskflows, which are nested and having backing beans are different scope. The backing bean is talking to a service layer (java classes ) to call the Webservice layer few database tables and then integrate and process the data to be shown on the front end.
    (we have decided to opt out of drag and drop technique in ADF, due to some UI design reasons and large Webservice calls, though it is possible as mentioned by some experts)
    The questions are based on the Database interaction, we have created an appmodule which has several VOs abased on entity objects and accessing them programmatically from the service layer like
    1. Get the appmoduleDatacontrol via the id name in Databindings.cpx and get corresponding VO implementation classes to invoke custom methods written inside. How good would be the connection pooling and state management of the application modue in production environments.
    2. for insertion - we call createROW on VO implementation and call an commit on the row implementation classes after adding detials to the new row.
    3. for select op- we create filter criteria on the view and apply them programmatically to get the rows.
    4. for update- get the row using the filters VO and manipulate the row using RowImpl classes and do a commit on then. (a commit on VO or commit on RowImpl, which would be better?)
    Any pointers to tutorials/Blogs related optimizing and testing this implemtnation to this would be really helpful.
    Thanks,
    JSWL

  • How to work with Bangla in ADF (Jdeveloper 11g Release 2)

    Hi
    I am Jahid From Bangladesh. Recently I am working with ADF (Oracle Jdeveloper 11g). I am working with a project like newsroom service. I need to extract bangla and other language text from other site. So i need to work with Multiple language in ADF specially with Bangla. Can anybody help me specifically step by step. I am new in ADF just beginner.
    Thanks in advance.
    Jahid
    Analyst Programmer
    IBCS-PRIMAX (Bangladesh) Ltd.

    You application character set should be unicode
    this can help http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_global.htm#CHDGCAFI

  • What is the role of PrepareForDML() in ADF JDEVELOPER

    Hi All,
    i am using Jdeveloper 11g ver-11.1.1.5.0
    I want to know that what action we can perform with PrepareForDML() in ADF ? Please tell me the answer thank you.

    Hi,
    If you want to assign programmatic defaults for entity object attribute values before a row is saved, override the prepareForDML() method and call the appropriate attribute setter methods to populate the derived attribute values. To perform the assignment only during INSERT, UPDATE, or DELETE, you can compare the value of the operation parameter passed to this method against the integer constants DML_INSERT, DML_UPDATE, DML_DELETE respectively.
    shows an overridden prepareForDML() method that assigns derived values.
    Assigning Derived Values Before Saving Using PrepareForDML
    protected void prepareForDML(int operation, TransactionEvent e) {
    super.prepareForDML(operation, e);
    //Populate GL Date
    if (operation == DML_INSERT) {
    if (this.getGlDate() == null) {
    String glDateDefaultOption =
    (String)this.getInvoiceOption().getAttribute("DefaultGlDateBasis");
    if ("I".equals(glDateDefaultOption)) {
    setAttribute(GLDATE, this.getInvoiceDate());
    } else {
    setAttribute(GLDATE, this.getCurrentDBDate());
    //Populate Exchange Rate and Base Amount if null
    if ((operation == DML_INSERT) || (operation == DML_UPDATE)) {
    BigDecimal defaultExchangeRate = new BigDecimal(1.5);
    if ("Y".equals(this.getInvoiceOption().getAttribute("UseForeignCurTrx"))) {
    if (!(this.getInvoiceCurrencyCode().equals(
    this.getLedger().getAttribute("CurrencyCode")))) {
    if (this.getExchangeDate() == null) {
    setAttribute(EXCHANGEDATE, this.getInvoiceDate());
    if (this.getExchangeRateType() == null) {
    String defaultConvRateType =
    (String)this.getInvoiceOption().getAttribute("DefaultConvRateType");
    if (defaultConvRateType != null) {
    setAttribute(EXCHANGERATETYPE, defaultConvRateType);
    } else {
    setAttribute(EXCHANGERATETYPE, "User");
    if (this.getExchangeRate() == null) {
    setAttribute(EXCHANGERATE, defaultExchangeRate);
    if ((this.getExchangeRate() != null) &&
    (this.getInvoiceAmount() != null)) {
    setAttribute(INVAMOUNTFUNCCURR,
    (this.getExchangeRate().multiply(this.getInvoiceAmount())));
    } else {
    setAttribute(EXCHANGEDATE, null);
    setAttribute(EXCHANGERATETYPE, null);
    setAttribute(EXCHANGERATE, null);
    setAttribute(INVAMOUNTFUNCCURR, null);
    parames

  • Oracle ADF Jdeveloper(11.1.1.4) opera support

    Hi
    Is there any official link to validate whether opera browser is supported/not supported for Oracle ADF on Jdeveloper(11.1.1.4)?

    http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html
    Short answer: only for ADF Mobile

  • ADF JDeveloper 10.1.3

    I have a project with ADF JClient and ADF UIX, I like to make a upgrade to Jdeveloper 10.1.3 but this features doesn't support in this version. Is it possible to include this features with extensions or libraries into new jdeveloper?
    Thanks.

    By adding the right libraries you might be able to get your code to compile, but you will still not get the visual ADF drag-and-drop. So you might want to wait for the next preview version that will come with ADF in it.

Maybe you are looking for

  • How do i upload a movie from my panasonic camera to iphoto?

    how do i upload a movie from my panasonic camera to iphoto?

  • If someone plugs in my stolen ipod can I locate it or send a message?

    I lost my 2007 ipod video in town yesterday. I was wondering if I could locate or send a message to the person who picked it up when its plugged into their computer and itunes loads up. I hope that whoever picks it up feels charitable and could retur

  • Error  when Save to  BPM MDS

    OS : Windows 7 X64 JDeveloper: 11.1.1.6.0. RCU : 11.1.1.6.0 WebLogic : 10.3.5 SOA Suite: 11.1.1.6.0 Above is my BPM Suite installation environment. In Chapter 11 Using Process Composer , page 268. i followed the step by step, trying to create and pub

  • How to obtain an ID for Digital Editions

    Hello, at 21:30, 10/06/2014, I downloaded and installed Adobe Digital Editions 3.0 on my Windows 7 laptop in order to read eBooks (on my Sony Xperia Z 4.4.2 android tablet, Samsung Galaxy S3 4.4.2 android phone, and Apple iOS7  iPad 4). The software

  • System requirements problem

    Hi, At the moment I am programming in LabVIEW but the more code I create, the more the PC is having a hard time processing it. I have looked up the system requirements and it looks like I got the recommended specs. 2GHZ , 2GB RAM , 64Processor. I was