Define multiple views

I'm trying to build a simple app which has multiple views. When the user clicks on the worksetItem I want to change the view, and display an other table in the shell. But I dont know how can I define another view, and add it to the shell.

Hy Venkatesh
I've found the link too that you've posted.
I've used the following tutorial to buld the base of my app:
Developing a simple List based SAPUI5 Application
And now I want to spereate the BP data, and create a subview for it, and do the same for Sales, than load it to the main view, when the user clicks on the menu. But I dont really know how to write my own view. (what to write to the "createContent()").

Similar Messages

  • Define multiple crop area's, same size with overlap

    Is it possible to define multiple croparea's at once in CS3/CS4?
    Is it possible to define them and move each crop area a certain amount?
    I want to split a citymap into different page's (like an atlas) and export them separately as PDF or EPS.
    Daniel Hoogendoorn
    Cito-plan b.v.

    Daniel,
    You are not going to get Illustrator to replicate your FreeHand workflow. So far, every new function which Illustrator has borrowed from FreeHand since Adobe aquired it (including multiple pages) has fallen far short of FreeHand's treatment.
    There still is no Lens feature in Illustrator. There still is no option to export just the selection (absolutely stupid).
    Yet another unsatisfying workaround that might work for youi in CS3:
    If you haven't already, in Document Setup, set the artboard to the size of the full map.
    In the Print Dialog, General pane, set Media Size to the desired size for one portion of the map.
    In the Print Dialog, Setup pane, set Tiling to Tile Full Pages. Click Done (not Print).
    View>ShowPageTiling. Illustrator displays dotted lines indicating the numbered page tiles.You can get the utterly lame Page Tool (it's under the Hand tool), and click somewhere to set the page tiling origin where you want it (usually at the bottom left of the Artboard.
    Save A Copy as PDF. Turn on the option for Create Multi-page PDF from Page Tiles.
    The resulting PDF will have separate pages, with the map sliced up according to the Page Tiles. The artwork does not actually get sliced; objects which cross the bounds of a PageTile just get masked in the PDF.
    JET

  • Load multiple views in one server call

    Hello,
    We are developing SAPUI5 application with Master & Detail page pattern. On detail page, we have 7 tabs so to make it more manageable we have created 7 different views, one for each tab instead of writing all the code in one view.  And one extra view which hold the tab and 7 views.
    Now code is easy to maintain as we can go to specific view and do the changes instead of searching in one big view. But there is a new problem now, it take lot of time to load the detail section. It makes separate server call to load each view.  Earlier it was loading detail section with one server round trip but now it is making 8 server round trips ( one for every view ).
    So the question is, is there any way to load multiple views in single server trip?
    Regards,
    Vikram

    You can do so but then at the time of defining the viewset you need to ensure the rowspan and colspan correctly to fit the first and the second view. More over the configuration also needs to be maintained correctly.
    Regards,
    Harshit

  • URGENT query multiple views

    Hi,
    I want to query on multiple views, how do I do that?
    I have a view (foto_main) with primary key foto_id and 6 other attributes.
    I have 2 other views (foto_link_feat and foto_link_pict) that are linked with foto_main.
    Foto_link_feat has 2 attributes (foto_id and feat_id) and foto_link_pict has also 2 attributes (foto_id and pict_id).
    I want to create a query on all the attributes in foto_main and on feat_id and foto_id.
    You can create a new view with al the attributes you want to search but that is not a good solution.
    Does anyone know how to solve this problem??

    I believe that there was a suggestion/feature request which involves defining ViewObjects which do not work on database tables/views, but on other ViewObjects. I guess this is what you would want.
    However, that still would mean defining yet another ViewObject. So I guess, that wouldn't be much different to creating a new ViewObject in your current situation.
    Or.. in case I misunderstood you, you can alter an existing ViewObject in a way that it queries multiple tables/views. In order to do that, just set the query to expert mode and enter a simple join or whatever.
    HTH

  • How can I have multiple views for my question

    When I posed a question on a forum, it indicates that I have one (1) view. How can I have multiple views on the same question?

    I believe the number you are looking at is the number of times a particular thread has been looked at (viewed) by different users. When someone else opens your question, the view count should increase.
    Justin

  • Passing one parameter to multiple views

    Is this possible?  I would like to pass one parameter, a date field, to multiple views.  I cannot use it in the record selection, because my views do a mathematical computation which returns a single value, but I only want to select the data for a single day. 
    The problem is that there are several views and I do not want to have to enter the date parameter a dozen times.

    Try to use add command and write the query like this
    select * from view where datefield={?date}
    also create another add command for the other view
    select * from view2 where datefield2={?date}
    for all the queries create the same parameter with the name {?date}
    Regards,
    Raghavendra

  • Can Numbers Display Multiple Views of the Same Table

    Hi,
    Excel and Appleworks both have a pull down tab on the vertical bar allowing multiple views into the same spreadsheet (table). Can Numbers do this?
    I have a set of calculations at the top of a spreadsheet that are based on years and years worth of data under the calculations (same column). I add data for each new event (the rows) and watch the calculations at the top of the data. Easy to do in Excel or Appleworks, but, I can't figure out how to do this in Numbers.
    Example:
    Spot1 Spot2
    Total 15 36
    Avg 5 12
    Jan 09 5 10
    Feb 09 6 20
    Mar 09 4 6
    Apr 09
    So... does Numbers allow the view "split" or multiple views that Excel and Appleworks allow?
    Thanks!
    Tom

    Question asked and responded several times:
    feature unavailable.
    For multiple views of a table there is an easy workaround as we may build a table whose every cells grab their contents from the 'master' one.
    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    Yvan KOENIG (VALLAURIS, France) mardi 1 septembre 2009 21:56:42

  • Define Multiple Taxes with different Accounts

    Dear Members
    I have defined tax in Oracle R12 . and defined multiple rates. these all tax deducted in a single Tax account. but my requirement is, there should be multiple taxes with different acccounts. when I define multiple taxes the system gives error unable to Calculate the tax. when I only enable one tax it works.
    Current sanario tax rates
    2% Account # 666461
    3% Account # 666461
    3.5% Account # 666461
    Required Sanario
    2% Account # 666461
    3% Account # 666462
    3.5% Account # 666463
    Should be different
    Do you have any Idea How I configure it.

    Hmmm, thought I did that but ran into issues...Will give it a harder look.
    Thank you for your reply, tt2...BTW, I've been reading these forums for awhile now and your replies in other posts have helped me so thanks for all of them, too...

  • I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book format to see the multiple view, spread view, or single view.  I can no longer see my book although I still see the collection with 418 photos

    I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book module and clicking on the multiple view, spread view, or single view does not take me back to the book I have been working on.  I can no longer see my book although I still see the collection with 418 photos under collections.  What I do see is a blank template for a new book and I can't find the unfinished book I started with 418 photos.  It is like the new empty template is somehow covering it up.  How do I get back to the book I have been working on?

    Is it possible you mistakenly clicked on a [Clear Layout] button?
    But a great hint is- Always click on the [Create a Saved Book] button, early in your new book design.
    Then you have a permanent link to the book in the Collections panel. (In addition to the standard collection of your selected images)
    Note: a Book Collection shows an icon that looks like a book.
    Every time you come back to edit the book, open the Book Module by clicking on the white arrow that appears on the end of your Book Collection title. (The title as saved)
    Re-opening a book without using the "Saved Book" option can have unpredictable results.
    A "Book" Collection is like a "Smart Collection" because anything you do to the book design, change pages, change images, etc,  is automatically updated in the Saved Book collection.

  • MVC �Best Practice� (handling multiple views per action/event)

    Looking for the best approach for handling multiple views for one action/event class? Background: I have a small application using a basic MVC model, one controller servlet, multiple event classes, and multiple JSP views. For performance reasons, the controller Servlet is loaded once, and each event class is an instance within it. Each event has an �eventProcess()� and an �eventForward()� method called by the controller, standard stuff.
    However, because event classes should not use instance variables, how should I communicate which view to forward to should based upon eventProcess() logic (e.g. if error, error.jsp, if success, success.sjp)? Currently, there is only one view mapped per event, and I'm having to put error handling logic in the JSP, which goes against the JSP being for just view only.
    My though was 1) A session object/variable that the eventProcess() sets, and the eventForward() reads, or 2) Have eventProcess() return a mapping key and have the conroller lookup a view page based upon that key, as opposed to 1-1 event/view mapping.
    Would like your thoughts!
    Thanks
    bRi

    Your solution seems ok to me, but maybe the Struts framework from Apache
    that implements MVC for JSP is a better solution for you:
    http://jakarta.apache.org/struts/index.html
    You should take a look at it. It has in addition some useful taglibs that makes life much easier.
    We have successfully used it in a project with about 50 pages.

  • Table based on multiple views

    Hello all,
    Is it possible to populate a table with data from multiple view objects that are linked with a view link?
    The reason i want to do this is because if you update the reference ID in the master the detail automatically follows.
    Now, I know i can create a view object and then include the detail info using expert mode, but this way the detail info doesn't change if i change the reference ID.
    To conclude, a brief explanation of what i'm trying to achieve.
    I have a table with adresses. Having a reference ID to the ZIP table.
    Because the user doesn't know all the ID's by heart i show the name of the city and the user can change them by clicking on a lov button. This all works fine, BUT, when the city is changed the old one stays visible for the user. Although committing, changes the city to the new one.
    Regard
    Johan

    Keeping in mind what Dave just said, you would be better off creating your GTT once. Then reusing it over and over again. Using GTTs is advantagous in that its contents are visible only at the session level, and depending on how the GTT was created it will either automatically truncate the table on commit (the default if not otherwise specfied) or truncate the table at the end of your session regardless of commits.

  • Controlling Post Order of Multiple View Objects

    Hi ,
    Here is the scenario:
    I have a use case of "Creating an Abstract"
    Steps:
    step1 ) (Page 1) Author presents the details of the abstract (Details goes to 2 tables ABSTRACT & ABSTRACT_CONTENT tables). For the 2 tables i have 2 entities. I use a view here called CreateAbstractView from both the tables( here i control the post order of the entities ....code from jdeveloper 11g guide)
    Step 2)(Page 2) Author presents details of Additional Authors. I use the view (*AdditionalAuthorDetailsView*) (Details goes to 2 tables AUTHOR & ABSTRACT). Here in the abstract table i have a parent key(parent abstract id) So all the additional authors has a record in Abstract table with parent_abstract_id from step1. ABSTRACT table also has a foreign key (author_id) .Here also i control the post order of the 2 entity object using the code from jdeveloper 11g guide.
    I also have a link from CreateAbstractView to AdditionalAuthorDetailsView (abstract_id in Abstract table from CreateAbstractView to parent_abstract_id in Abstract table from AdditionalAuthorDetailsView )
    If i have a commit on both the pages , i don't see a problem.
    But i want to have a commit process at the end so that the user can review the information. So when i try to add a commit process at the end , i get a exception (Parent Key not found exception) which i came to understand that commit from AdditionalAuthorDetailsView is happening first which is trying to insert a record into ABSTRACT table and cannot find the parent_abstract_id.
    How do i control the post order for multiple view objects in such scenarios?

    Hi!
    Please take a look at the dev guide. It comes down to controlling the posting order on entity level.
    http://download-uk.oracle.com/docs/html/B25947_01/bcadveo007.htm#CEGJAFCF
    Sascha

  • How to define a view on a table function

    I have a defined a pipelined table function in a package and can return data from it using:
    select * from table(mtreport.FN_GET_JOBS_FOR_PROJECT(?));How can I define a view on this so that users can select from it without having to know to use the 'table' syntax?
    select *
    from   vw_jobs_for_project
    where id = ?I've tried this, but it doesn't work
    CREATE OR REPLACE VIEW vw_jobs_for_project (PROJECT_ID, NAME) AS
    SELECT     PROJECT_ID, NAME
    FROM     table(mtreport.FN_GET_JOBS_FOR_PROJECT(PROJECT_ID));
    ERROR at line 3:
    ORA-00904: "PROJECT_ID": invalid identifier

    views do not accept input parameters in the way that you want to use. you can define a CONTEXT parameter, but the users would need to set the context value before selecting from the view, so you'll still need to train them to do something new.
    example:
    create or replace context my_context using pkg_context;
    <br>
    create or replace package pkg_context is
      procedure set_context(p_parameter in varchar2, p_value in varchar2);
      function get_context(p_parameter in varchar2) return varchar2;
    end;
    show errors
    create or replace package body pkg_context is
      CONTEXT_NAME constant all_context.namespace%type := 'MY_CONTEXT';
      procedure set_context(p_parameter in varchar2, p_value in varchar2) is
      begin
        dbms_session.set_context(CONTEXT_NAME, p_parameter, p_value);
      end;
      function get_context(p_parameter in varchar2) return varchar2 is
      begin
        return sys_context(CONTEXT_NAME, p_parameter);
      end;
    end;
    show errors
    create or replace view tree_view as
    select level lvl, chid
    from tree
    connect by prior parid=chid
    start with chid = sys_context('MY_CONTEXT','CHID');
    -- at runtime
    exec pkg_context.set_context('CHID', 14)
    select * from tree_view;

  • Can we define a view that refers to 50 tables?

    Hi,
    I've a problem at hand and I'm not sure what the right solution I can adopt.
    There is an application which hits the DB (v11.2) for accessing a single view 'XVIEW'. This view has a simple sql & join which is based on two tables XTABLE1 and XTABLE2.
    Now, the new version of the schema that has got released has split XTABLE2 into 50 different tables each having a same structure. To the fix the issue, there are two solutions I could think of:
    1. Create 50 views on top of 50 tables, and fix the Application to refer to these 50 new views; note: the application has hundreds of references and this has a significant work involved.
    2. Rewrite XVIEW to refer to 50 tables. This will avoid changing the application, however I'm not sure if this is feasible and will have a decent performance.
    I would like to go for solution 2 as it involves significantly less effort, but not sure how best i should define the view, single the 50 table structure is the same can I just union all of them?
    Thanks for the help.

    Hi,
    Hozy wrote:
    Frank, thanks for helping me out.
    What you are suggesting is that I should recreate the view XVIEW which does union all (as the rows will be unique) of the 50 tables, however performance will be an issue unless I can create a materialized views.
    What I know of materialized views is that it's used for static, pre-computed type of data. A materialized view is pre-computed; that's what makes it faster. The time and effort spent in doing the UNION is shifted from the time when you do the queries to the time when you refresh the materialized view. Whether that is more or less total time depends on how often you query the view, and how often you refresh it. At any rate, the performance when you do the queries will be as good as possible.
    Materialized views ar often used in data wharehouses, where then data may only change once a month, but they are also often used in situations like yours, where the data changes every day, or even more frequently.
    In my case, the data in few of the 50 tables might change once every 24hrs and it all comes at one time. The queries that hit XVIEW should get the latest data. Is there a way I can define a materialized view which will pick up the new data in the base 50 tables?I see; you have some job that runs at, say, 2:00 am every morning, and changes some, or maybe all, of the 50 tables. You might refresh the materialized view at, say, 4:00 am every day, or at some time when you're sure that the changes to the base tables are complete. Any query that uses the materialized view between 2:00 and 4:00 am will get stale data.
    You could, alternatively, make the materilaized view refresh whenever any of the base tables change, but this uses more resources, including your time and effort setting it up.

  • Multiple View sessions, same PC?

    View 6.0.1, Client 3.3.0
    Can I have multiple View sessions from the same PC? In other words
    Launch the Horizon View client, login, and access a desktop
    Launch the Horizon View client again, login as a different user, and access a different desktop
    Repeat until I have many session open at once
    The reason I ask is we are migrating from Exchange to Gmail. Google provides a utility called GAMME that in a larger environment can be run from multiple machines with each machine migrating one portion of the alphabet. Rather than using 10 physical machines I would rather use 10 View desktops. This will work slick if from my real PC I can access all 10 view desktops. I will be using a different login account to access each desktop.

    Have not tried yet. I did not want to go through the time setting up a separate non-persistent desktop pool if I could not login to more than one desktop at the same time. Now that I know it will work, I will run with it. Thanks for the help

Maybe you are looking for

  • My ipod 1st gen wont charge or sync with itunes via my laptop

    i tried to reboot it or something by holding down the home and on/off button simutaenesley and a really faint battery icon with red low battery showed up, now whenever i try to reboot it again nothing happens. What is wong?

  • How do I create lists in reminders on my iPad?

    ?

  • MacBook Pro Migration

    How can you accomplish an efficient migration to a MacBook Pro from the original MacBook if the new one no longer has ethernet, firewire 800 and the new one has USB 3.0?

  • Mail Crashes @ Startup

    I have the three mailboxes. The one that beachballs before the app crashes is the one that syncs with my .mac account. My .mac works fine in Safari. All my system software is current. I'm running 10.5.6, Safari 3.2.1, and have repaired permissions an

  • Combining Word Docs in PDF

    We are using Adobe Pro X in our business.  We have a computer that will not allow MS Word Documents to be combined in PDF. When they are right clicked it doesn't give an option for "combine supports files."  When we go through the program and not jus