Even table with values of different data controls

JDev ADF BC Web services 11.1.1.5.0

I have an array element in the user interface and two controls of data with the same set of attributes.
One is a data based VO control and another is a data bean control in which attributes will fill a web service.

I display a tabled text entry, a search button, and a table to the page.
Now, if I get the value of parameter of the Webservice, the table automatically displays table of results of the Web service data control.
And if not, the table must be empty and then it should belong the VO control data base.

User af:switch for this component. A side holds the web service table and the other the vo we. The condition for the switch is the result of the web service call.

Timo

Tags: Java

Similar Questions

  • Create table with several Collections of data control

    Hello

    I have a requirement about to display data in a table. It shows simple, but certain columns in the table are within a collection, and the others are in another collection. I read this chapter Creation of ADF Databound Tables - 11 g Release 1 (11.1.1.7.0), and she explains to create the table with a collection.

    I have no knowledge on the model, I know just as control data, so what should I do? :

    -Ask for the template designer to redraw the control of data to include a collection with all the data?

    -Try to work with the actual data control? If so, how can I create the table several Collections of data control?

    Plese let me know if there is another solution. I work with JDeveloper 11.1.1.7.

    Thank you!

    AAPDL

    Hello

    You can have a managed bean that e... g exposes an ArrayList of objects. This can then binds to the value property of the table. If the object sets the information of table row combination that you get multiple iterators (collections), then the table will display the joined data.

    Frank

  • VM with disks of different data warehouses. Snapshots on the same data store?

    Hello

    We have several virtual machines with disks on different data stores for reasons RAID.

    Last night, we found that the snapshots of all disks are left on the data store main vmx and not on each datastore disk.

    How will we change this as our OS data warehouses are small and run out of space when running shadow copies?

    Thank you

    Frogbeef

    You can change the location of snapshots, but they will all go to this place - as far as I know, you cannot change the location of each disk.

    The KB http://kb.vmware.com/kb/1002929 explains how to do this.

    Kind regards

    Marcelo Soares

    VMWare Certified Professional 310/410

    Master virtualization technology

    Globant Argentina

    Review the allocation of points for "useful" or "right" answers.

  • View the data in different data control

    JDev 11.1.1.5.0 BPM

    I have a table from a data bean and control when clicking on a row of this table, I want to display data from another control on different data (Payload BPM) under the table in a form.

    How can I do this?

    Hello

    The payload BPM is exposed by a method I guess. This method takes an argument of the query (?). If this argument is for example an ID of the selected line then...

    1 create a valueAttribute binding by selecting the pageDef file. In the editor, choose the links, then generic link, AttributeValue. Select the iterator used by the table, and then the name of the attribute holding the ID to pass to the BPM method

    2. drag the result of BPM method to the page (and make it as a shape)

    3. the argument of the BPM method card for #{bindings.. inputValue}

    4. set the Partialtrigger property to the ID of the table panelFormLayout

    This should synchronize the form with the value selected in the table

    Frank

  • How to convert an array of string elements to a cluster with elements named different data types?

    I'm looking for more help with the conversion of an array of elements of the chain in a cluster containing elements named different data types.

    I am importing data from an Excel worksheet.  He is coming in LabVIEW as separate (channels) 3 tables: 1) Variable name, (2) three possibilities Int, double, String) data type and the value 3), with the clues in each table corresponding to a separate variable (I have about 180 variables to import).  My ultimate goal is to convert the string array of 'Value' in a cluster.  But I want the correct data type in the cluster and I also the elements of the cluster name to match with the string 'Variable name' table so that I can use the Unbundle based on the name in my main VI.

    Please see attachment a Subvi for more details.  I did the size of the new items of tables 5 for simplicity.   I realize that labels property cannot be changed during execution and I don't think I need to do.  I just want to use the production cluster (mainly the unbundle by name) to help design my main VI.  I will need to 'read' and 'write for' the cluster during execution, but I won't need to change the names of the items.

    I was also wondering if there is a better way to import data from Excel?  Is it possible to import directly into a cluster immediately rather than put everything as strings?  I have attached a Subvi showing how I currently bring in data (found on the forum somewhere).  It comes as table 2D, which I divided into 3 separate tables that I mention above.

    I am open to any suggestion.  Thank you very much.

    -Mike

    Instead of trying to create a cluster, I think I would use only variant attributes.

  • Problem with iterator and EJB data control

    My project components:

    JDeveloper 12.1.3

    Back end & the intermediate layer, JPA, EJB 3, controls data EJB

    JSF pages simple front end (no fragment), bounded task flow

    Hello

    I have a weird problem with iterators in my project, project using EJB 3 & JPA and EJB data controls

    When the user come to a page (this page is part of a stubborn workflow) and add a record to a table (linked to an iterator) and without saving changes, leave the page (means output delimited task flow)

    do something else and again back to the first page iterator always keep this line is entry and it cause problems in my system

    If I close the browser and come to this page for sure the line is not there

    I expect when the user leaving a stubborn workflow each thing belongs to this workflow should be deleted. Is this true?

    Or someone has the same problem? Any suggestions / or work around?

    Respect of

    Mohsen

    Have you read the link I posted? Have you named the BA a transactional data control?

    When you leave the workflow you issue a rllback and the new line should have disappeared.

    Timo

  • implementation of the table with the scroll bar. (data scrolling)

    Hello

    I want to show the web service data in the table with scroll bar using java script or html or css .actuall I want only a part of the screen is not whole screen scrollable. can you suggest how it is possible.any suggestion? I used phone gap technology. I used iscroll but it does not work in blackberry data are not displayed in the Simulator... Help, please

    Thank you

    ravi1989 wrote:

    Hello

    I want to show the web service data in the table with scroll bar using java script or html or css .actuall I want only a part of the screen is not whole screen scrollable. can you suggest how it is possible.any suggestion? I used phone gap technology. I used iscroll but it does not work in blackberry data are not displayed in the Simulator... Help, please

    According to devices/operating systems that you want to support, you could give bbUI.js a change. It works really well in most of the cases, and I think there are a lot of things you don't need to worry more because bbUI.js is just for you.

    Look more at the scrollPanel example that does exactly what it takes, a part only of the entire screen of scrolling you can configure a height in the HTML source code directly.

  • Size of snapshot for VM with disks of different data warehouses

    Hi all

    We create a VM with drives C and D residing on different data stores. Size of drive C would be 30 GB and D would be 250 GB.

    When we take a snapshot of the virtual machine where it will be stored on C or D drive please confirm so we can design the size of the store of data accordingly.

    Kind regards

    Khurram Shahzad

    Snapshot is taken for both C & D drives,

    Instant c: drive will be in the data store where c: drive. Instant drive D will be in the data store were the unit.

  • How to create the table with value list/map binding

    I need to display some values in a tabular format. It is possible to create a table adf without having value binds to a VO object. I can make a table with a combination of list/map.

    I want to change the format of display with minimum change in the application. I therefore seeks a change to a list/map and map with the table.

    Here is the structure in that I need to post.

    _______________________
    |     | Header1. Tete2 |
    |_______|_______|_______|
    | Txt R1 | value 1. Value 2.
    |_______|_______|_______|
    | Txt R2 | Value 3. value 4.
    |_______|_______|_______|

    All views is completely irrelevant. So I should not create a VO and add the VO object lines.

    Published by: yannick June 10, 2011 11:34

    Yes, you can do it. Create a pojo with properties (column) that you want to display in the table and create a list of instances of the POJO and then you can fill your table using the list.

    Sample:

    //POJO
    public class SamplePojo {
    
    private String col1;
    private String col2;
    
    public SamplePojo(String col1, String col2){
      this.col1 = col1;
      this.col2 = col2;
    }
    
    //add setter and getter methods
    }
    
    //Inside bean, prepare a list with pojo instances (Assume a getter exists for pojoList)
    pojoList = new ArrayList();
    pojoList .add(new SamplePojo("Value1", "Value2");
    pojoList .add(new SamplePojo("Value3", "Value4");
    etc.
    
    //Inside jspx
    
       
         
       
       
         
       
    
    

    HTH
    Jean Lou

  • Assemble the different tables with large amounts of data

    Hello

    I need to collect different types of tables:

    Example "table1", with columns: DATE, IP, TYPEN, X 1, X 2, X 3
    For "table0" with the DATE, IP, REFERENCE columns.

    TYPEN in table1 to be inserted in REFERENCE in table0, but by a function that transforms it to another value.


    There are several other tables like 'table1', but with slightly different columns, which must be inserted into the same table ("table0").

    The amount of data in each table is pretty huge, so the procedure must be made into small pieces and effectively.

    If / could I use data pump for this?


    Thank you!

    user13036557 wrote:
    How can I continue with this then?

    Should I delete the columns I don't need and transform the data in the first table, and then use data pump.

    or should I just do a procedure traversing all ranks (into small pieces) "table1", then threading "table0"?

    You have two options... Please test both of them, calculate the time to complete and to implement the best.

    Concerning
    Rajesh

  • Count on a table with header and row data in the query

    Hello

    I have an obligation to prepare a report that shows the metrics on the provider. I need to find the total PO for this provider, which fit the Bill

    report must be mealgne of #ofpo, #invoice, total_inv_amt and total_po_amt, total_tax_amt with numbers also with the point in time. So my question is how do we achieve this I have this below query that gives all the data but do not know how to get the counties with that. All ideas

    SELECT hou.name,
    POV. $VENDOR_NAME,
    API.invoice_num,
    API.invoice_id,
    invoice_date,
    gl_date,
    API.invoice_currency_code,
    APID.line_type_lookup_code inv_line_type,
    APID. Description inv_description,
    APID.amount,
    APID.unit_price inv_price,
    amount_paid,
    apt. Name payment_terms,
    payment_status_flag,
    APC.check_number,
    APC.check_date,
    Poh.Segment1 po_num,
    Poh.CREATION_DATE po_creation_date,
    por. CREATION_DATE po_rel_creation_date,
    por.release_num,
    pol.line_num,
    MC. Segment1 category_name,
    (select item_num msi.segment1
    MSI inv.mtl_system_items_b
    where msi.inventory_item_id = pol.item_id
    and msi.organization_id = 1) item_num.
    pol.item_description po_item_description,
    Poll.need_by_date,
    pol.unit_price po_price,
    Poll.Quantity,
    Poll.quantity_cancelled,
    Poll.quantity_received,
    Poll.quantity_billed
    OF api ap.ap_invoices_all,.
    Hou hr_operating_units,.
    apt, ap_terms_tl
    AP.ap_invoice_distributions_all apid,
    pod po.po_distributions_all,
    Po.po_vendors pov,
    Po.po_headers_all poh,
    Po.po_lines_all pol,
    survey of po.po_line_locations_all,
    por po.po_releases_all,
    AP.ap_checks_all apc,
    AP.ap_invoice_payments_all IPA,
    -inv.mtl_system_items_b msi,
    Apps.mtl_categories_b mc
    WHERE apt.term_id = api.terms_id
    AND hou.organization_id = api.org_id
    AND BETWEEN TRUNC (poh.creation_date): p_start_date AND: p_end_date
    AND api.invoice_id = apid.invoice_id
    AND apid.po_distribution_id = pod.po_distribution_id (+)
    AND pov.vendor_id = api.vendor_id
    AND poh.po_header_id (+) = pod.po_header_id
    AND poll.line_location_id (+) = pod.line_location_id
    AND pol.po_line_id (+) = pod.po_line_id
    AND apip.check_id = apc.check_id (+)
    AND apip.invoice_id (+) = api.invoice_id
    AND mc.category_id (+) = pol.category_id
    AND por.po_release_id (+) = pod.po_release_id
    AND pov.vendor_id = 1

    Hello

    Her looks like a job for the COUNT function. That's all I can say with certainty based on the information you gave.

    If you want to see on each line of output, the number of rows with the same value of api.invoice_num has a value for poh.po_header_id, you can use

    COUNT (poh.po_header_id) OVER (PARTITION BY api.invoice_num)   AS po_cnt
    

    I could give much better directions if you could post a small example of data (CREATE TABLE and INSERT statements) and the results desired from these data. I realize it's hard with so many pictures. To see some of your courses and the desired output, could help.

  • retrieve the information of partition table with lack of offline data file

    I just restored a backup of a database. When I unzipped data files, I discovered that a single data file was so damaged in the starting order of the database, I had to put the offline data file. The tablespace which reports the data file holds the information of partition of a table. Since I have no archives from when the data file has been created, I know it is not possible to recover the data file, I have to recover as many lines as possible other files in the tablespace data but when export or create the table as what to choose in the affected partition get ORA-00376 : cannot read file 1624 at the moment.

    is there a way to tell oracle to ignore the data offline file and export the remaining data file information?

    Just to clarify my situation a little more;
    iI have a table called PPGA_ACTABOPRE that is partitioned by HASH and has 20 partitions, each partition in a different tablespace and tablespace each have about 8 files of data. A data file in the partition 9 is missing and I want is to get the information from the files of the remaining data, but whenever I issue a select statement or an exp or anything I get ORA-00376.

    I try to set the flag to ignore blocks corrupt with run DBMS_REPAIR. SKIP_CORRUPT_BLOCKS ('PPGA', 'PPGA_ACTABOPRE'); and then select the info but it did not work.

    Any suggestion would be appreciated;
    Thanks in advance

    For the actabopre_p08 partition, some files are available, and we're not. You can access data at the segment level, because some extensions are missing.

    You would need to access the data by rowid. You could loop through dba_extents and use dbms_rowid.create to generate a list of ROWID that may exist in the available data files.

    This may help: -.

    http://kerryosborne.Oracle-guy.com/2009/02/saving-rows-from-corrupt-blocks/
    http://kerryosborne.Oracle-guy.com/scripts/save_u.SQL

    Published by: Robert Geier on March 12, 2010 15:33

  • I can't create a table with SDO_GEOMETRY type of data in the database of 12 c

    Hello

    When I run the following script I get an error please help,

    Error from line: 3 in command.

    create table SPATIAL.warehouses)

    whse_code VARCHAR2 (4) primary key,.

    warehouse of VARCHAR2 (50).

    location SDO_GEOMETRY

    )

    Error report-

    SQL error: ORA-00902: invalid data type

    00902 00000 - "invalid data type".

    * Cause:

    * Action:

    I use a 12 c database.

    Hi guys

    I found the solution by asking my DBA to reinstall localization features using the oracle Installer.

    Now everything works fine.

    Thanks again for the responses.

  • Get surveys using filtered with the ID (space) data control manager surveys

    Hi all

    I need to get surveys using surveys Manager DataControl a space specific webcenter. I did not find any function under the control of data for surveys Manager for passing the scopeId as argument parameter.

    Is it possible to filter the polls based on the id of the scope?

    Can someone help me?

    Kind regards
    Suma

    According to the documentation.

    http://docs.Oracle.com/CD/E17904_01/WebCenter.1111/e10148/jpsdg_polls.htm#CIHIIJHG

    There is no scope ID to filter the polls based on spaces.

    But in any case, to achieve your desired goal, I would say that...

    Create surveys Mutiple (surveys) and on each Survey (Polls) you can have questions to take the poll.

    Thus,.

    Space 1-> 1-> Question 1 survey

    Space2-> eurobarometre2-> issue 1

    Space3-> poll3-> Question 1.

    All by posting the question you can use take survey taskflow or datacontrol where you will need to provide a SURVEY_ID in the pollId parameter.

    I hope that clarfiies your request.

    Kind regards
    Hoque

  • Populating a table with values of nested subforms / instances

    Hello

    Newbie desperate here...

    I have a purchase order which is adjustable by the user.

    First, they introduce a main category. (such as software, hardware, spare parts...)

    Each category can have several categories (like Adobe, Microsoft...)

    Each main category is placed on a new page (made like that just to make it better)

    At the bottom of each category, there is a subform total (TOTAL Software, Hardware TOTAL...)

    orderform_01.gif

    Everything works like a charm and looks great.

    But now I want a (SUMMARY) list that shows all TOTAL in each category.

    Since I did not now how many categories are met I think I need a dynamic table in full growth.

    And that's where I blocked for 3 days...

    Would you please someone so nice and give me a small sample...

    Thank you very much for your help.

    Jixin

    I think that's what you're after. I put the code on a button at the end of the doc so it would be easier to debug. For example, you can merge a data file to the form (under Preview) in the properties of the form so that you do not have to import each time.

    in any case, take a look and tell me what you think.

    Paul

Maybe you are looking for