Should ADT create module components based on views?

I have a function (representing a report) with Read usage on two entities, and one entity is implemented by a table and the other implemented by a view. When I run the Application Design Transformer, the resulting module has a module component based on the table, but no component based on the view. This happens in our new configuration (9iDS/10g Database), as well as in our old one (Designer 2.1/8i Database). Is this expected behavior for the ADT, or should I see a component based on the view?

Peter,
Thanks for your feedback. I have posted an enhancement request
for the next release of Headstart.
Regards,
Lauri

Similar Messages

  • Need to create a block based on view

    We can create a block based on procedure...but whats the need to do so...please can anybody explain.

    create the block with the data block wizard. Use your View as Data-Source.
    After that set all items to QUERY-ONLY, when they are not updateable. E.g. if you create a view from EMP to DEPT. Then it is not allowed to update DNAME. DNAME is set to QUERY-ONLY.

  • Headstart prevents using Module components based on IOTs

    I want to build a module component based on an index-organized
    table. The following Designer + Headstart behaviour prevents
    correct functioning of such a block:
    - Block property 'Enforce Primary Key' must be set
    - Block Property 'Key mode' must be set to 'Non Updatable'
    - 'Primary Key' property of PK items must be set
    - The event ON-LOCK calls qms$record.unlock, which calls
    the lock_record built-in. This should not be done for an IOT.
    Solutions:
    - I have made new source objects for IOT Block and PK items,
    and assign these to the MC and bound items when applicable.
    - I modified the ON-LOCK event to not include the lock_record.
    The qms$record.unlock procedure is obsolete anyhow, since it
    is a workaround for an old (solved) bug.
    Headstart Team:
    I recommend you include these workarounds in the standard object
    library and pl/sql library.

    Peter,
    Thanks for your feedback. I have posted an enhancement request
    for the next release of Headstart.
    Regards,
    Lauri

  • Unable to create ADF Table based on view object

    Hi
    I am using Jdeveloper 11.1.1.5
    I have created a view object based on the entity object. I am trying to drag and drop view object from data controls in to a blank page and choosing table -> ADF Table. The table is not getting created and at the same time I am not seeing any error message.
    Please help me
    Thanks
    Edited by: 880409 on Aug 19, 2011 5:58 AM

    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/adfbc_new_features/adfbc.html

  • Create edit form based on view with multiple column key

    Hi
    I have a requirement to create a form to update some tables columns based on a view.
    The problem is that the view has a primary key of 4 columns.
    I have tried to create a rowid key based on one underlying table but this does not work.
    I am calling the form from an interactive report but can only pass 3 keys to the form, so only get 3 fields populated.
    Is there some way i can create the form manually as the wizards cannot cope with this requirement?
    My view is here:
    CREATE OR REPLACE FORCE VIEW "DMOADMIN"."MO_STATUS_LOG_VIEW" ("MONEY_ORD_NO", "STATUS_CODE", "DESCRIP", "STATUS_DATE_TIME", "TXN_DATE_TIME", "LLOG_ID", "LINE_SEQ_NO", "CANCEL_IND", "PROCESS_ID", "PBU_ID", "TXN_SEQ_NO", "CANCEL_REASON", "CONDITION_ID", "ADMIN_DATE_TIME", "ADMIN_LLOG_ID") AS
    SELECT a.money_ord_no,
    b.status_code,
    b.descrip,
    a.status_date_time,
    c.txn_date_time,
    c.llog_id,
    c.line_seq_no,
    c.cancel_ind,
    c.process_id,
    c.pbu_id,
    c.txn_seq_no,
    c.cancel_reason,
    c.condition_id,
    d.txn_date_time admin_date_time,
    d.llog_id admin_llog_id
    FROM mo_status a,
    mo_status_desc b,
    host_txn_log c,
    host_admin_log d
    WHERE a.status_desc_id = b.id
    AND a.money_ord_no = c.money_ord_no(+)
    AND a.status_date_time = c.txn_date_time(+)
    AND a.money_ord_no = d.money_ord_no(+)
    AND a.status_date_time = d.txn_date_time(+)
    WITH CHECK OPTION;
    I have tried to populate the data using with an on load process using a plsql query but it is not working. I get no data found error message. Help!

    Hi Erwin,
    I have a similar situation.
    Tabular form based on a view. The view contains a table in a another instance via dblink and everything works fine.
    The only one difference between my and your view is that my "instead of" view is only for UPDATE. You must to have "intead of" trigger only for UPDATE. Insert and delete works fine withoust "instead of" trigger.
    So, try to delete INSERT and DELETE words from your "INSTEADOFBUBA" trigger.
    hope it helps,
    Mzz

  • Best Practice for module components based on API's

    Hi all,
    is there a white paper/other documents which outline best
    practice for using table/module component api's and best
    approaches to get around restrictions?
    I would also appreciate war stories about using this method of
    Forms development bearing in mind i would be using this as the
    foundation of a web deployed based application (intranet first -
    ultimately internet).
    Thanks
    Mark
    null

    You cannot add agents to skills dynamically; however, you can queue the caller into more than one CSQ based on statistics. You would use the Get Reporting Statistics and an If step within the Queued branch of your first Select Resource step. If the condition is met (e.g. Contacts Waiting >= 10) then exectue a second Select Resource step within the queued branch of the first. The contact would then be waiting in both CSQs waiting for an agent.

  • Module component based on pl/sql procedure....

    Hi everyone,
    could anybody help me with step by step instructions on how to generate module component which is based on PL/SQL procedure and how the procedure must look like.
    Well, I make it in Forms Builder but I want to build it in oracle designer too, just to have consistent state of all forms in designer.
    Well, what to say at the end... thanks a lot for help,
    Zlatko

    I'm a user of the Web PL/SQL generator, not the Forms generator, so I was hoping that someone else would step in with some help for you. Seeing as no-one else gave this a try, here is my two cents worth:
    As far as I know, the module components based on a procedure expect to use the Table API (TAPI) packages, and I think they can optionally use the Module API (MAPI) packages. I think MAPI calls TAPI, so if you use MAPI, you must also generate TAPI. These are generated from the Design Editor, TAPI from the Table Definition. The Web PL/SQL generator REQUIRES the TAPI, so I'm very familiar with them. The on-line help has some good descriptions of TAPI.
    The advantage of using TAPI/MAPI instead of direct table updates from your Form is that TAPIs can enforce business rules at the database level, no matter how your table is updated, whether with Forms, Web PL/SQL or even SQL*Plus. They can also do trigger-like actions that would not be possible with actual database triggers (can you say, mutating table?) You might also want to use TAPI if you have both Forms modules and Web PL/SQL modules against the same table.
    Now - if someone with more Forms generator experience than I wants to chime in with a better answer, please do, especially if anything I said is wrong.

  • Business components based on Oracle views

    I am trying to create business component objects in a master-detail relationship based on Oracle views rather than on the underlying tables. The wizard does not create associations or links since the views have no foreign keys. I created the associations and links myself, but I am unable to add them to the data model. I am using the beta v5.0, but I had the same problem in v3.23. Can anyone help?
    Thanx in advance
    null

    Here are the steps I just tried with JDevi 9i Beta:
    [list]
    [*]SQLPLUS SCOTT/TIGER
    [*]CREATE VIEW DEPT_VIEW AS SELECT * FROM DEPT;
    [*]CREATE VIEW EMP_VIEW AS SELECT * FROM EMP
    [*]On my workspace: Right-mouse / New / Empty Project
    [*]On my new project: Right-mouse / New Business Components...
    [*]Next, to the connection panel
    [*]Set the connection, and next
    [*]Pick a package name and next
    [*]Tick the [x] Views checkbox, and select EMP_VIEW and DEPT_VIEW
    [*]Uncheck the "View Objects and View Links" box, since we don't want these created automatically.
    [*]Click (Finish)
    [*]In navigator, select my "DeptView" entity and edit it (the view is called "DeptViewView").
    [*]Click on the "Attributes" tab
    [*]Select "Rowid" in the attribute list
    [*]Click the (Remove) button
    [*]Select the "Attribute Settings" tab, and select the "Deptno" attribute.
    [*]Check the [x] Primary Key checkbox for "Deptno"
    [*]Click (Ok).
    [*]Repeat steps above on "EmpView" entity to remove Rowid attribute and make "Empno" attribute the primary key. (NOTE: Since views don't have constraints, we couldn't detect the primary key constraint, so we default the ROWID to be the primary key in the wizard).
    [*]In navigator, select my "DeptView" entity, and right-mouse / New Association...
    [*]Using the wizard I create a association based on the "Deptno" attribute, and with a 1 to many cardinality.
    [*]I right-mouse on "DeptView" entity and select New Default View Object... to create the "DeptViewView" view object.
    [*]I right-mouse on "EmpView" entity and select New Default View Object... to create the "EmpViewView" view object.
    [*]I right-mouse on the DeptViewView view object and select New View Link...
    [*]I create a new view link between DeptViewView and EmpViewView
    [*]On the "Source Attributes" panel, I select the "Dept2Emp" association I created above, and click the ">" to shuttle it to the selected list.
    [*]Click next and notice that by selecting the association, it automatically picked the right attributes for both sides for the view link automatically.
    [*]click next, then (Finish)
    [*]I right-mouse on my package and select New Application Module...
    [*]On the datamodel panel, I see a tree view of "Available View Objects like this:
    + Project 3
    |
    +---[-] Package3
    |
    +---[SQL] DeptViewView
    | |
    | +--[SQL] EmpViewView via MyViewLink
    |
    +---[SQL] EmpViewView[*]I select DeptViewView in the available list and click ">" to shuttle it to the selected list in my data model
    [*]In the SELECTED list, I select the DeptViewView that I just added, to make it the current view in the selected list.
    [*]Back in the available list, I select the "EmpViewView via MyViewLink" and shuttled it to the selected list as a detail of the current view in the selected list.
    [*]I click finish
    [*]I right-mouse on my AppModule and select "Test..." to build and test my appmodule.
    [*]I click (Connect) on the tester start page
    [*]In the tester, I right mouse on "MyViewLink" and select "Show".
    [list]
    After these steps, I see data correctly.
    null

  • Flash Builder 4.5.1 Creating iOS Mobile App creates components not Spark views

    Hi
    I have Flash Builder 4.5.1 on Windows 7 using SDK 4.5.1.
    Following many of the Hello World video tutorials (including what's on Adobe TV's website) I create a new Mobile based Application in Flash Builder. I set it up to be a View Based Application targeting iOS and iPhone (although the problem is for any iOS device).
    I follow all the instructions and yet the MXML that's created at the end is component based and not targeting Spark Views. This floors running or viewing the app! Code for both Application class and View is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <components:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                         xmlns:s="library://ns.adobe.com/flex/spark" xmlns:components="spark.components.*" firstView="views.MyMobileProjectHomeView" applicationDPI="240">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </components:ViewNavigatorApplication>
    <?xml version="1.0" encoding="utf-8"?>
    <components:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                     xmlns:s="library://ns.adobe.com/flex/spark" xmlns:components="spark.components.*" title="HomeView">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </components:View>
    I have no idea why Flash Builder is creating code that's namespaced to components and not the spark framework.
    The code that's created in the course is below and yet if I import their project and try and view in Design view Flash Builder tells me 'An unknown item is declared as the root of your MXML document. Switch to source mode to correct it.':
    <?xml version="1.0" encoding="utf-8"?>
    <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.HelloWorldHomeView" applicationDPI="240">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </s:ViewNavigatorApplication>
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Label text="Hello World"/>
    </s:View>
    Please help
    Many thanks in advance
    David

    Here's the solution:
    The problem did not exist on an installation of Flash Builder on a spare MacBookPro.
    On my main computer (the one with the Flash Builder issue) I uninstalled and reinstalled Flash Builder 4.5 (then updated to 4.5.1). Creating an iOS Mobile Application now creates the correct code.
    I have no idea why it was creating dodgy code.
    The only difference with the new Flash Builder install is that SourceMate 3.0 is not installed yet. Perhaps something had gone wrong in the Adobe Updater when going from 4.5 to 4.5.1, who know...all speculation...anyhow it works now!

  • How can I create UI components dynamically based on the result of WebService/HttpService call?

    I would like to create child components of the component
    based on a XML which is retrieved by WebService/HttpService call.
    createChildren() is the one to be used to create components
    dynamically. But if I use createChildren() and call a
    WS/HttpService request in createChildren method, I can not get the
    result of WS/HttpService request in createChildren().
    It seems that the result event is processed later after
    createChildren() is completed.
    How can I implement my requirement?
    I would appreciate any pointer or suggestion.
    Best regards
    Masa

    1) Use a List, with a custom itemRenderer
    2) Use a Repeater (Probably easiest)
    3) use Actionscript to addChild() components.
    Tracy

  • Create LOV in form that is not based on view

    Hello
    I have this problem: I'm making a form that is not based on view object. From the Data Controls I can drag a view as a combo box, but I cannot drag a view as a ListOfValues ...
    So I must create a non-SQL-based View and create attributes of my form and attach the LOV to one of the attributes ?
    Is there another solution ?
    Thanks
    agruev

    Yes, input list of values must be model driven.
    What we do is :
    Create Dummy view as:
    Select 1 as id,
    null as code
    from dual;
    and we bind code with list of values view object.
    Edited by: mkonio on Oct 19, 2009 12:27 PM

  • Can't create an app based on a view

    I have a view based on more than one table and I tried to create a read-only application on this view, specifying Read Only for the create mode. It gives me a "no data found" error when I try to create the application. Can you not create an application on a view?

    Karen - There's a bug when you create the app on a view in read-only mode. You'll have to stick with read-write mode for now.
    Scott

  • Can I create a dimension based on a view?

    The OLAP9201A allowes creating cube based on view, so does it also alowes creating dimension based on view?
    I want to using view to deal with priviledge issues.

    Thank you.
    The document says that I can create view based dimensions using cwm2. But when I tried to execute cwm2 packages' procedures, I always got error.
    For example, when I ran the following scripts under the schema 'CFA', I got error message.
    --my scripts
    begin
         cwm2_olap_dimension.create_dimension('CFA', 'TESTCWM2_DIM', 'TESTCWM2', 'TESTCWM2s', 'cwm2', 'TESTCWM2',null);
    end;
    --error messages
    The following error has occurred:
    ORA-06502: PL/SQL: 数字或值错误 : 字符串缓冲区太小
    ORA-06512: 在"OLAPSYS.CWM2_OLAP_MANAGER", line 380
    ORA-06512: 在"OLAPSYS.CWM2_OLAP_MANAGER", line 397
    ORA-06512: 在"OLAPSYS.CWM2_OLAP_DIMENSION", line 139
    ORA-06512: 在line 2
    --my comments on error messages
    The Chinese text means:error of number or value: the string buffer is too small.
    What's wrong?

  • Create LOV based on view with problem - repost

    Hi,
    I have the following scenario:
    1. Create a view based on several tables from a remote database using db link.
    2. Create a LOV based on the created view. In the LOV, I have the where clause
    " where user_name = portal30.wwctx_api.get_user" because I only want individual
    portal user to see his/her own choices.
    However, when I try to test the LOV, it just hangs.
    3. If I create a table based on the created view, and create a LOV based on the newly
    created table, also use the same where clause -
    "where user_name = portal30.wwctx_api.get_user". The LOV returns correctly.
    Why is this happens? And what can I do to make the Lov works from a view instead of table?
    Thanks;
    Kelly.

    Hi Erwin,
    I have a similar situation.
    Tabular form based on a view. The view contains a table in a another instance via dblink and everything works fine.
    The only one difference between my and your view is that my "instead of" view is only for UPDATE. You must to have "intead of" trigger only for UPDATE. Insert and delete works fine withoust "instead of" trigger.
    So, try to delete INSERT and DELETE words from your "INSTEADOFBUBA" trigger.
    hope it helps,
    Mzz

  • Is it possible to create a rendition targeted for the web based content viewer?

    The way PDFs render in the web broswer is (presently) pretty bad.
    Can we create a rendition of a Folio which is specifically (and only) for the purpose of being viewed in the web based content viewer?
    Also can we leverage the downloading options in the Folio Producer to yield better results and less lags in rendering? I would like to suggest that Adobe adds some kind of indicator/status-bar which shows remiaing assets still being downloaded. For example, video overlays aren't immediately available.
    Despite these quirks, this new capability is huge and we really appreciate it!
    -Mark
    Mark Kunoff
    Informational Systems Specialist
    IU Communications
    Indiana University Public Affairs and Government Relations
    [email protected]

    It's too bad the selectable text will go away. This will also hamper the web-based views in terms of accessability, correct? - something very important to our stake holders.
    Does Adobe plan to bring these good points of the PDF format back in a future release?
    Thanks for your consistently fast replies Bob!
    -Mark

Maybe you are looking for