Dynamic display of table on ADF page

I am looking for a ADF page which has a drop down box having table name as inputs and when selected it should show the data inside that table in the ADF table component.

Hi John,
Regarding your situation if you use different page fragment and then by using dymanic task flow decide which page fragment must be shown (each fragment has a table) in this case it is really performance effective because in the case of switcher or simpler (add 3-4 differenct table and just flag the rendered attribute of each table) your page must have all the iterator of the tables.
when your page render all the iterator must be proceed.
in the TAsk flow situation just the iterator of the fragment would be proceed.
so the most simple solution is drag all the table to the page and just flag the rendered attribute of each of them so only one of them render base on the choice list.
the best solution is to use the task flow.
Good Luck.

Similar Messages

  • How to display flash file in adf pages

    how to display flash file in adf pages need help

    Thanks all,
    It is resolved.
    the code i am using to display a flash is below.
    <f:verbatim>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
    =10,0,0,0" width="300" height="300" id="11gR1_aniH_grey" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="mx2004demo.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#4d5c64" />     
    <embed src="../Images/mx2004demo.swf" quality="high" width="300" height="300" name="mx2004demo.swf" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash" wmode="transparent"
    pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </f:verbatim>

  • To Display HTML content on ADF page

    Guys,
    I want to display the content from Website (its contains images and text) on to the ADF page. Which component should i use?
    I dont want to use Iframe since we cant set the height properly...

    af:inlineFrame is pretty much your only option. What do you mean you cannot set the height properly?

  • Dynamic layout of table in OAF page

    Hi,
    I have a requirement where, i need to generate a table layout with changing columns in OAF page.
    Ex: If i search a job in OAF page, depending on the job family, the results table displays the number of columns. (My number of rows is constant but the columns changes)
    Please let me know if anyone worked on it and if it can be achieved using PPR.
    Your help will be appreciated.
    Thanks in Advance,
    Sh

    Check this link
    Re: To Hide Columns of table region dynamically using Users Input in OAF

  • Dynamic display in table control

    hi all,
    i hav an issue regarding Module Pool programming. i wnt 2 disply table control with dynamic enteries both at header level and the content level, ie. the values of the heading shud com 4m an internal table and the values a user enters shud go 2 another internal tab. i cannot take the values of one column of d tab contrl in a diff internal tab n so on for all headers.

    See dis ‘ll b design format,
    Screen 1  delivrry no._________
    In PAI it’ll find total no. of material no. n other details.
    Screen 2. (header) <b>matnr1</b>    <b>matnr2</b>  <b>matnr3</b>……(cmng from int tab 1 on which d loop is defined in PBO of screen 2)
                                <b>Ser1         Ser2      Ser3          </b> (entered by the user)
                                <b>Ser11       Ser22</b>     
                                <b>Ser12</b>       ……
                               <b>button</b>( to tk this combination in one int table in the  followng format for running it in BDC)
    matnr1    Ser1 
    matnr1    Ser11
    matnr1    Ser12
    matnr2    Ser2
    matnr2    Ser22
    matnr3    Ser3
    revert if nt clear

  • Dynamically display the table

    hi
    my requirement is :
    i have LOV with 3 values.
    based on LOV in the table will display the columns.
    for example : in lov , if i select first value in lov , the table will display one column
                                  if i select second value in lov , the table will display two columns
                                  if i select third value in lov , the table will display three columns
    Please help me................

    Hi Anita
    You can bind the visiblerowcount property to the a context attribute. and at runtime you can set the context attribute to the no of rows you want in your table,
    Regards
    Naresh

  • How to display data in table with dynamic rows, section wise in a page.

    Hello all,
    I work on report creation in BI Publisher where I need to display data from xml in a table in pdf format.The output page is divided into two vertical sections , containing tables, with exactly same columns on left and right sections. The number of rows in table depends on the output of the fetching query. The page is to be populated in such a way that, at first, the left table is populated, then the next rows fill up the table on the right section of the page, if more rows are left, they fill up the tables on next page[first the left table, and then the right one, in a similar fashion as in page 1]
    On a bird's eye view, the data needs to be simply mapped to a table, with dynamic number of rows, and so can span number of pages depending on size of data. On a implementation level, I am stuck in getting the left section of the page populated first, then the right section[in place of the right page], and then the next page.
    Please guide me if someone has any idea in getting this achieved.
    Thanks in advance.

    Thanks for the response...
    I am able to get the desired functionality. I just need the tables to be inside a bigger table, that also has a dividing line between the two columns. This is was is intended in the req. provided to me. The column formatting option provides me a line ,but that is not further modifiable .Please help me in getting a perpendicular line between the two columns, which I need to be of a specified width and color.

  • How to Display Data from Oracle E Business Suite tables in ADF

    Hi,
    I am new to ADF.
    I have a requirement to Create an ADF page for Search Results Screen.
    However the result data is from one of the Oracle E Business Suite Tables.
    ie I need to create a Screen where user will enter a Purchase Order Number and Click on Button.
    The Screen should show details from PO_HEADERS_ALL (from Oracle ERP Database Table) based on the entered PO Number.
    Is it possible to implement the same? Can some one guide me how to do it?
    Thanks,
    Kamath

    Hi,
    Is there a way where I can create a VO in ADF to which I can insert records dynamically from a source and the Source connects to E Business Suite tables and returns results ie BPEL etc.
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvvo.htm#sm0341
    Just replace the PLSQL example with your data source
    Can ADF invoke SOA which inturn connects to Oracle E Business Suite and fetches the data from Oracle tables and pass it back to ADF? Is it possible
    Yes. Just use a WS proxy client to access the SOA entry point (WSDL) and follow the link above
    Frank

  • Dynamic tables and conditional page break

    I have inserted a table in my form and have included an Add New Row button to insert additonal rows.   I want a maximum of 16 rows added with a subtotal field.  I want the table, then to automatically go to a new page with a subtotal field.  At the end of all pages I want to include a total field.   The table goes to the next page after a number of rows are entered, but there is not a break;  the original form continues.  How do conditionally break the page and have a (new) table display in the second page?
    Thanks for your help.

    Hi Paul,
    Thanks for working with me on this.   I have sent a copy to the gmail.com address.  I'm new to LiveCycle, so please forgive me.
    Date: Thu, 29 Jul 2010 09:18:53 -0600
    From: [email protected]
    To: [email protected]
    Subject: dynamic tables and conditional page break
    You can accomplish that with a single table and some creative script. I suggest that you get the table worked out and working correctly then we can add in the page totals and final total afterwards. Once the table is ready email the form to mailto:[email protected] and I will put together a sample for you that shows what to do. Please include a description of what you want to do with the email as the mail message and this forum are not tied together. Also if you have a data file  that fills out the table that would be useful as well.
    Paul
    >

  • 11G ADF java datacontrol and displaying new records in ADF table

    Hi,
    In 11g I have a java class which return a list of objects and I made a data control on it. I displayed this in a ADF Table based on a ADF tree binding.
    When I fire the create operation on this java data control I see in the tree binding that the new entry is created and even the table has the correct
    rowcount but the new records are not displayed in the adf table. I added PPR but this not work.
    Empty new classes are displayed when they are added before the page is loaded.
    the only difference between a class created by ADF and initial by the adf datacontrol is that mAtrrHintsMap hashmap of DCdataRow is null and the other has 2 entries
    What can it be in 10.1.3 it works
    here my test data
    public class Data {
    private String lovLabel;
    private String lovValue;
    public Data() {
    public Data(String lovLabel, String lovValue) {
    super();
    this.lovLabel = lovLabel;
    this.lovValue = lovValue;
    public void setLovLabel(String lovLabel) {
    this.lovLabel = lovLabel;
    public String getLovLabel() {
    return lovLabel;
    public void setLovValue(String lovValue) {
    this.lovValue = lovValue;
    public String getLovValue() {
    return lovValue;
    here the data control class
    public class LovData {
    public LovData() {
    public List<Data> getLovData() {
    List<Data> data = new ArrayList<Data>(4);
    data.add(new Data ("One","1"));
    data.add(new Data ("Two","2"));
    data.add(new Data ("Three","3"));
    data.add(new Data ());
    return data;
    here is the pagedef
    <executables>
    <methodIterator id="getLovDataIter" Binds="getLovData.result"
    DataControl="LovData" RangeSize="25"
    BeanClass="nl.whitehorses.model.Data"/>
    </executables>
    <bindings>
    <methodAction id="getLovData" InstanceName="LovData.dataProvider"
    DataControl="LovData" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="getLovData"
    IsViewObjectMethod="false"
    ReturnName="LovData.methodResults.getLovData_LovData_dataProvider_getLovData_result">
    </methodAction>
    <tree IterBinding="getLovDataIter" id="Data">
    <nodeDefinition DefName="nl.whitehorses.model.Data">
    <AttrNames>
    <Item Value="lovLabel"/>
    <Item Value="lovValue"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    <action IterBinding="getLovDataIter" id="Create" RequiresUpdateModel="true"
    Action="createRow"/>
    </bindings>
    </pageDefinition>
    here is the adf page
    <af:panelCollection inlineStyle="width:309px; height:168px;" id="pc2">
    <f:facet name="menus"/>
    <f:facet name="toolbar">
    <af:toolbar>
    <af:commandToolbarButton actionListener="#{bindings.Create.execute}"
    text="Create"
    disabled="#{!bindings.Create.enabled}"
    partialTriggers="table1 ::pc1:table2"/>
    </af:toolbar>
    </f:facet>
    <f:facet name="statusbar"/>
    <af:table value="#{bindings.Data.collectionModel}" var="row"
    rows="#{bindings.Data.rangeSize}"
    emptyText="#{bindings.Data.viewable ? 'No rows yet.' : 'Access Denied.'}"
    fetchSize="#{bindings.Data.rangeSize}" id="table1"
    binding="#{UserPreferences.table1}">
    <af:column sortProperty="lovLabel" sortable="false"
    headerText="#{data.lovLabel}">
    <af:outputText value="#{row.lovLabel}"/>
    </af:column>
    <af:column sortProperty="lovValue" sortable="false"
    headerText="#{bindings.Data.hints.lovValue.label}">
    <af:outputText value="#{row.lovValue}"/>
    </af:column>
    </af:table>
    </af:panelCollection>
    and here some backing bean code
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    FacesCtrlHierBinding treeData = (FacesCtrlHierBinding)bc.getControlBinding("Data");
    Row[] rows = treeData.getAllRowsInRange();
    System.out.println("tree 1_1 "+rows.length+" "+table1.getRowCount());
    treeData.refreshControl();
    System.out.println("tree 1_2 "+rows.length+" "+table1.getRowCount());
    AdfFacesContext.getCurrentInstance().addPartialTarget(table1) ;
    hope this helps
    thanks Edwin

    What if you place the create button in the same panelGroup as the table?
    I did a quick try and it seemed to work fine for me.
    jspx code:
    <?xml version='1.0' encoding='windows-1252'?>
    <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">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document>
          <af:messages/>
          <af:form>
            <af:panelGroupLayout>
              <af:commandButton actionListener="#{bindings.Create.execute}"
                                text="Create"
                                disabled="#{!bindings.Create.enabled}"
                                partialTriggers="table1"/>
              <af:table value="#{bindings.lovData.collectionModel}" var="row"
                        rows="#{bindings.lovData.rangeSize}"
                        emptyText="#{bindings.lovData.viewable ? 'No rows yet.' : 'Access Denied.'}"
                        fetchSize="#{bindings.lovData.rangeSize}" id="table1">
                <af:column sortProperty="lovLabel" sortable="false"
                           headerText="#{bindings.lovData.hints.lovLabel.label}">
                  <af:outputText value="#{row.lovLabel}"/>
                </af:column>
                <af:column sortProperty="lovValue" sortable="false"
                           headerText="#{bindings.lovData.hints.lovValue.label}">
                  <af:outputText value="#{row.lovValue}"/>
                </af:column>
              </af:table>
            </af:panelGroupLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • Display and edit currently selected row of ADF Table in ADF Form

    I have an ADF Read-only Table and ADF Form, which were created from the same Data Control.
    I need to be able to edit the selected row of the table in the form (just like in "Binding Data Controls to your JSF page" part of "Developing RIA Web Applications with Oracle ADF" Tutorial). However, I can't figure out how to do this :(
    I found the following solution on the Web: #{bindings.DeptView1.currentRow.dataProvider.dname} - but it doesn't work, since "the class oracle.jbo.server.ViewRowImpl does not have the property dataProvider".
    Sorry for the newbie question.
    Thanks in advance for any help!

    Hi,
    AFAIK, dataProvider is not supported on ADF BC, hence the error.
    If you have created ADF Read only table and form from the same data control you just need to refresh the form based on table selection to show up the selected record, to do which you just need to add partialTriggers property to the panelFormLayout and set its value to the id of table
    Sireesha

  • Need Value and labed different for a dynamic Dropdown in an ADF page

    Hi,
    We have an ADF page with a drop down.
    This is populated dynamically.
    We have created using the below code.
    Issue: what we need is that each value the Label set should be different.
    Code : presently hard coded
    In the Java file for the page we had the following code:
    ===========================================================
    String haircolor;
    SelectItem[] haircolorSelectItems;
    ArrayList haircolorlist = new ArrayList();
    public PatientAdvSearch() {
    haircolorlist.add(new SelectItem("Black"));
    haircolorlist.add(new SelectItem("Blonde"));
    haircolorlist.add(new SelectItem("Red"));
    haircolorlist.add(new SelectItem("Others"));
    haircolorlist.add(new SelectItem("Grey"));
    SelectItem[] haircolors = (SelectItem[]) haircolorlist.toArray(new SelectItem[0]);
    haircolorSelectItems = haircolors;
    public void setHaircolor(String haircolor) { this.haircolor = haircolor; }
    public String gethaircolor() { return haircolor; }
    public SelectItem[] getHaircolorSelectItems() {
    return haircolorSelectItems;
    ===========================================================
    And the JSPX will have the following code.
    <af:selectOneChoice binding="#{backing_PatientAdvSearch.selectOneChoicerace11}"
    id="selectOneChoicerace11"
    unselectedLabel="&lt;Select>">
    <f:selectItems value="#{backing_PatientAdvSearch.haircolorSelectItems}" />
    </af:selectOneChoice>
    ===========================================================
    This populates both Lable and Value for the Select Item with one value.
    We need two different value.
    How do we go ahead with that.
    Thanks

    Yes.. actually i am also facing the same prob...
    i need value and label to be different for dynamic dropdown.
    Please help in case any one has faced the same issue.

  • How to display  table in jsp pages

    hi all ,
    i want to diaplay the table in jsp page...ie,if i click on some option then i need to get the table in jsp page
    wiil u plz help me
    thanks in advance
    chintu

    hi all..
    i didnt ask how to design table in jsp...i am asking how to diaplay the table with data already stored in database...i just want to retrive the values in table and display in jsp.....
    thanks in advance...
    chintu

  • Can I display the table content of a web page??

    Hi guys I am new to java and here I need to count the words in each table and display the table with largest number of words . This being a part of my huge project. Below is my code where I have succeeded in displaying all the tables present in the web page.But I need to count all the words in the table and display only that table which has largest number of words including all the tags. So java experts please help me with this piece of code...................
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.util.regex.*;
    public class findtable{
      public static void main(String[] args) {
        String inputLine = null;
        String wholeHtml = "";
    int trcount=0;
        try{
          URL yahoo = new URL("http://books.google.com/books?q=+subject:%22+Science+Fiction+%22&as_brr=3&rview=1&source=gbs_hplp_fict");
          URLConnection yahooConnection = yahoo.openConnection();
          BufferedReader br = new BufferedReader
            (new InputStreamReader(yahooConnection.getInputStream()));
          int start = 0;
          while ((inputLine = br.readLine()) != null) {
            wholeHtml += inputLine;
            if (inputLine.contains("<table")){
                      ++start;
            if (start != 0) {
              System.out.println(inputLine);
            if (inputLine.contains("</table>")) {
              --start;
        catch (MalformedURLException me) {
           System.out.println("MalformedURLException: " + me);
        catch (IOException ioe) {
          System.out.println("IOException: " + ioe);
        }So any help would be really really appreciated....
    The code should take care of nested tables also..
    So guys looking forward for the generous help....

    I have already parsed the HTML and checked all the closing of tags and corrected the indent using Tidy and then I have applied this code so some other suggestions please

  • Can I dynamically display Page title over a static header image?

    Is there a way to Dynamically Display Page Title Text Over my static site Header Image? here is a link so you can see what I am talking about. http://www.bridgestoprosperity.org/See-Our-Work/afghanistan/afghanistan.htm where Afghanistan would be the text to be replaced automatically on each page.  Please note, currently, I must create individual headers, insert the page title in photoshop, etc. I am hoping to figure out a way for all this to happen dynamically perhaps by calling the text from the page title info.
    Thank you,
    Allan

    Hi, Allan,
    I realize my suggestion is off your point, and you probably have already thought of some of this, hence your question... But, rather than going the dynamic route, Why not create a Header Image without a title on it and use it as a div background image? Replace this
    <img src="/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg" name="topnavbar_r1_c1" width="779" height="114" border="0" alt="bridges to prosperity: afghanistan">
    with the styled div, for instance:
    <div id="header"><h2>Afghanistan</h2><h3>Bridges to Prosperity: USA</h3><div>
    At this point, you can use a more generic image for the background, one that does not have "Afghanistan" embedded in it, and you may style the #header thus:
    #header {
         width: 779px;
         height: 114px;
         border: 0;
         background-image: url(/See-Our-Work/Images/header/header.jpg;)/* for instance */ 
    and the header Headline styles thus:
    #header h2, #header h3 {
         color: white;
         text-align: right;
         font-family: Arial, Helvetica, sans-serif;
    Then you can place your html (<h2>, <h3> etc.) in the same div, only on the "surface".
    Using the tags <h2> and <h3> will maintain their usefulness to Search Engines; as hiding them in images does not.
    If you still wished to vary the header image, depending on the contents of the page, you can actually control all of this from the CSS file, if you add an id attribute to the <body> of each page.
    For instance, for your example page, if you did this:
    <body id="afghanistan">
    You could then do this in your CSS file:
    #header {
         width: 779px;
         height: 114px;
         border: 0;
    body#afghanistan #header {
         background-image: url(/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg);
    You could then proceed to have a different background image for each page. (Not your original intention, but now possible).
    <body id="pakistan"> would use a CSS style declaration like:
    body#pakistan #header {
         background-image: url(...pakistan-header.jpg...etc.);
    I am not aware of being able to pass content (other than background images) using CSS, so I would go into each page and put the Headline in html.
    But if you were using multiple background images in the header div (one image for afghanistan, another for pakistan, in my example), you can use the same <body id="afghanistan"> for ALL pages about Afghanistan, and thus have the continuity of the same image for all. Likewise, you could id all pages about Pakistan <body id="pakistan">.
    I hope this gives you some ideas...
    Z

Maybe you are looking for

  • Job cancelled

    Dear Team, One of my user has left the job . now his Login ID has been deleted.But I am looking daily two job is cancelled  because these job was scheduled by his name. Now I want to schedule these two job with my login ID. How I schedule these job w

  • WebDynpro for ABAP iview

    Hi All, In my client portal there is no iview template of type "SAP WebDynpro iview" . I created one from the list of PAR templates of type com.sap.portal.appintegrator.sap.WebDynpro and embedded it in a webdynpro proxy page i have given the followin

  • Sound Box in middle of screen, can't remove

    I have sound when using my external speakers, but I have no sound from internal speakers. I also have this box on my screen that I cannot remove. It has a sound icon and space for volume, but no volume showing. How can I remove the box and get sound

  • What kind of database driver should use for database adapter  in BPEL?

    what kind of database driver (XA or non-XA) should use for database adapter in BPEL? I have only one database adapter and no JMS. Thanks Jo Edited by: 799095 on Sep 30, 2010 8:35 AM

  • Batch checking by user exit

    Hi all, I've an requirement to check the valuation type when creating a batch with MSC1N. I've tried using various user exits, especially EXIT_SAPLV01Z_004, ZXVBZU04. It is not called in MSC1N. What's wrong is there? (Another exit EXIT_SAPLV01Z_006 i