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

Similar Messages

  • Load multiple swf play one by one when required

    Dear Friends,
    i want to Load multiple swf play one by one when required, i mean, i want to reduce the loading time, so i cut my swf in to 2 portion, load both same time or load 2nd while 1st one playing and how can i show the 2nd one when first one finished?
    Thanks in advance,
    Regards,
    Syed Abdul Rahim

    see i write code for you may be it will helps you
    var vidno:int=1
    var totalvideos:int=10
    var ld:loader
    function loadvideo(str:String)
    addChild(ld)
    loader.load(urlrequest(str))
    loader.contentLoaderInfo.addEventListener(Event.Complete,loadnext)
    function loadnext(event:Event):void{
    removeChild(ld)
    if(vidno<totalvideos){
        vidno++
         loadvideo('vid'+vidno+'.swf')
    loadvideo(vid1.swf)
    try it..

  • Multiples RPD in one server

    Hi, I am try configured two rpd(paint and samplesales) in one server, I have one presentation services (analytics) up in the port 9710 and I want startup the second instance of presetation whit the command:
    fmw@server2:~/BIEE/OracleBI/setup> ./sawserver.sh -c /weblogic/BIEE/OracleBIData/web/config/instanceconfigsales.xml
    Type: Information
    Severity: 30
    Time: Mon Apr 26 11:56:31 2010
    File: project/sawserver/sawserver.cpp Line: 386
    Properties: ThreadID-4113512640
    Location:
    saw.sawserver
    Oracle BI Presentation Services 10.1.3.4.1 (Build 090414.1900) are starting up.
    Type: Warning
    Severity: 40
    Time: Mon Apr 26 11:56:32 2010
    File: project/webcomm/socketrpcserver.cpp Line: 323
    Properties: ThreadID-4113512640
    Location:
    saw.rpc.server.initialize
    saw.sawserver
    Port 9710 was reported as currently in use by the system. The configured listener address may be in the TIME_WAIT state or may be in use by some other service.
    Type: Error
    Severity: 20
    Time: Mon Apr 26 11:56:33 2010
    File: project/sawserver/main.cpp Line: 338
    Properties: ThreadID-4113512640
    Location:
    saw.sawserver
    Port 9710 is in use on the local system. [Socket:12]
    and this is my instanceconfigsales.xml where I specified the use of the port "9711" not 9710, then Why he try startup for the port 9710, I miss any configuration, How I can fix this???
    <?xml version="1.0" encoding="utf-8"?>
    <WebConfig>
    <ServerInstance>
    <Listener port="9711"/>
    <DSN>AnalyticsWebSampleSales</DSN>
    <CatalogPath>/weblogic/OracleBIData/web/catalog/samplesales</CatalogPath>
    Thanks any help

    Hi,
    You have to change to <Listener port="9711"/> to <Listener port="9712"/>
    Refere the below forum articles.
    Multiple RPD & Multiple Presentation service instance on single BI Server
    And See the below links are helpful for you.
    1.http://debaatobiee.wordpress.com/2009/10/01/multiple-rpd-multiple-presentation-service-instance-on-single-bi-server/
    2.http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-1-the-bi-server/
    3.http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/
    Award points if its helpful for you.
    Thanks,
    Balaa...

  • Multiple websites on one server

    I've been trying to create multiple (two) websites on one server, with little luck. One sight works fine. I've tried creating a DNS entry for the new one, but I'm not sure what to set the IP to. I've tried many configurations of IP/hostname but nothing seems to work. Occasionally, the logs just disappear from the logs window.
    I've read on here that it's possible to run multiple sites off of one IP, so I feel like that is not the problem. Ideally, I'd like to have one of the sites not exist in the System/WebServer folder. If I place the site folder outside of that folder, do I have to add its folder as a share point and/or modify its permissions?
    Server version is 10.6.3

    I'm going to distinguish the web browser (client), the web server, and the DNS server here, and will treat these as running on three separate computers. You might have one or more of those co-located on one box, adjust these references to your configuration as necessary.
    The DNS translations are applicable only on the client; on the host box that is running with the web browser. The web server doesn't care about the DNS translation. The client needs the DNS to get the IP address of the web server, and it's off to the races from there.
    Again, DNS translations are not relevant the web server. The particular web server that gets selected (Apache Virtual Host, what Apple calls a "Site") based on some information that is passed within the http (don't start working with https quite yet) connection from the web browser into the web server.
    As for your DNS question, you'll probably want a CNAME (alias) entered in DNS database for the virtual hosts, even if you're awash with IP addresses. That alias must then match the name of the web server "Site". For testing, you can enter what amounts to CNAMES into /etc/hosts on the client, depending on your local set-up and your DNS server.
    By default, the connections to all virtual hosts are via port 80. Stay there for now.
    The web server selections are sensitive to the order of the "Sites" in the listing in Server Admin, too; you'll want the wildcard site (if you have that) at the end of the list.
    Here are some of the basics: [Apache Tips: One Web Server, Multiple Distinct Web Sites|http://labs.hoffmanlabs.com/node/1282]. Comments on that are welcome.

  • Possible to have multiple views for one scene?

    Away3D allows multiple Views to be created for one Scene, allowing different camera positions for the same geometry.
    Can Proscenium support this? I've been banging my head against a brick wall for a while now...
    Joe

    Hi Kopaacabana,
    (I  feel like I'm in one of those post-apocalyptic scenes where the last two humans left on earth finally meet.....)
    Thanks for answering!
    Yes, I've actually got two cameras quite happily working in the scene, the problem is that I need to re-use the geometry for the scene in two windows, or at least, two separate parts of one window simultaneously. Away3D can do it very easily, where one sets up a 'View', which has a 'Scene' it views. With Proscenium it seems that the whole thing is tied up with an Instance3D, which is fine for one camera, but the scene nodes seem tied up as children of some root scene node. I've tried assigning the scene data as a child of two instances of BasicScene (hacking the stage3ds[number] to be different for each), but that causes an exception.
    Just changing the activeCamera changes the view to the new camera, where I actually need to be able to render to two windows/screen areas from one set of geometry.
    I would have hoped that the paradigm would have been 'here is some geometry, lights, etc., now do with it what you will'
    Adobe, are you there to help us out, like, anyone at all? Are we wasting our time with this?
    Joe

  • How I do load the views/enity while server startup

    Hi,
    I have to load the lookups view/entitites during server start up.may I know how I can do that?

    Hello Eduard,
    It is not clear what Office file you are talking about. Could you please be more specific?
    Anyway, the
    Considerations for server-side Automation of Office article states the following:
    Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office
    may exhibit unstable behavior and/or deadlock when Office is run in this environment.
    If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side.
    If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
    You may consider using the
    Open XML SDK or any other third-party components.
    P.S. The current forum is for Office Apps related questions. I'd suggest asking general Office programming questions on the
    General Office Development  forum instead.

  • Adding multiple items against one service call

    deal all,
    i need to know , how can we add more then one item to one service call. is there any solution or add-on for this purpose.

    You can add only one item (to be specific only one Serial Number ) in one Service Contract.
    I don't think there is any add-on available for that.

  • Creating multiple views in SQL Server 2008 database through sqlcmd

    I've written a script that generates a ddl file. The ddl file contains all the table creation, view creation and stored proc creation SQL statements for refreshing my database. The ddl file gets run by sqlcmd.
    From reading other forum posts, it seems that views and stored procedures can only be created through the sqlcmd command when they are part of an individual batch. Can someone please direct me to the documentation on how to do this?
    My DDL is below pertaining to view creation:
    CREATE VIEW [global].[viewDstLocations]
      WITH SCHEMABINDING
     AS
       SELECT REPLACE(STR(c.dstYear, 2), ' ', '0') AS 'DSTyear',
              a.countryCode AS 'CountryCode',
              a.countryDivision AS 'CountryDivision',
              a.stateCode AS 'StateCode',
              a.locationCode AS 'LocationCode',
              a.locationType AS 'LocationType',
              a.gmtVariation AS 'GMTvariation',
              c.dstVariation AS 'DSTvariation',
              REPLACE(SUBSTRING(CONVERT(VARCHAR(8), c.dstStartTs, 8), 1, 5), ':', '')  AS 'DSTstart_time',
              CONVERT(VARCHAR(8), c.dstStartTs, 12) AS 'DSTstart_date',
              c.statusMarkerStart AS 'StatusMarker_start',
              REPLACE(SUBSTRING(CONVERT(VARCHAR(8), c.dstEndTs, 8), 1, 5), ':', '')  AS 'DSTend_time',
              CONVERT(VARCHAR(8), c.dstEndTs, 12) AS 'DSTend_date',
              c.statusMarkerEnd AS 'StatusMarker_end',
              c.dataIndicator AS 'DataIndicator',
              b.locationName AS 'LocationName',
              a.latitude AS 'Latitude',
              a.longtitude AS 'Longtitude'
          FROM [global].[dstLocations] a
             LEFT JOIN [global].[dstLocationNames] b ON (b.locationId = a.locationId AND b.locale = 'en_US')
                LEFT JOIN [global].[dstLocationInfo] c ON (c.locationId = a.locationId);
    GO;
    EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'DST location info shown in the legacy table structure as well as data format.',
     @level0type=N'SCHEMA', @level0name=N'global', @level1type=N'VIEW', @level1name=N'viewDstLocations';
    GO;
    CREATE VIEW [global].[viewTypes]
      WITH SCHEMABINDING
     AS
       SELECT a.levelTypeId, a.levelTypeName, a.levelDepth, b.productId, b.productName, c.baseLevelTypeId, c.baseLevelTypeName
          FROM [global].[levelTypes] a
             LEFT JOIN [global].[products] b ON (b.levelTypeId = a.levelTypeId)
                LEFT JOIN [global].[baseLevelTypes] c ON (c.levelTypeId = a.levelTypeId);
    GO;
    EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Displays level types and their associated products and base level types.' , @level0type=N'SCHEMA',@level0name=N'global', @level1type=N'VIEW',@level1name=N'viewTypes';
    GO;
    <<Several other views>>

    Kalman,
    I've followed that approach, but was getting an error. Hopefully this gives enough detail:
    First, I use a .bat file to generate the sql file as you suggest. The structure is as follows:
    USE [MYDB] 
    GO
    <<All my create scripts, without GO between them>>
    GO;
    <<All my view scripts, without GO between them>>
    GO;
    <<All my strored procedures, without GO between them>>
    GO;
    Then, I run the generated SQL with the -i option as you mentioned.
    I get back the resulting error below:
    Msg 156, Level 15, State 1, Server DEV-238SQLEXPRESS, Procedure viewDstLocations, Line 2
    Incorrect syntax near the keyword 'EXEC'.
    Msg 156, Level 15, State 1, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Incorrect syntax near the keyword 'PROCEDURE'.
    Msg 137, Level 15, State 2, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Must declare the scalar variable "@parentId".
    Msg 137, Level 15, State 2, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Must declare the scalar variable "@levelTypeId".
    Msg 137, Level 15, State 1, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Must declare the scalar variable "@name".
    Msg 137, Level 15, State 2, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Must declare the scalar variable "@name".
    Msg 134, Level 15, State 1, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    The variable name errormsg has already been declared. Variable names must be unique within a query batch or stored procedure.
    From the documentation, I saw that CREATE VIEW needs to be the first statement in a batch. I assume this to mean I will need to break out my view and stored procedures to separate files and call the sqlcmd command multiple times, once for the table creation
    and then once for each view and once for each stored procedure. If there is a way to still do this as only one file, that would answer my original question.
    If there is anything else I can paste or send, please let me know.

  • Multiple JVM in one server

    Hi,
    Can we run multiple JVM's on one Solaris server with different applications configured for different JVM's or may be configure a memory intensive application to multiple JVM's.
    Please let me know if this works and if there is any documentation for this.
    Any help is greatly appreciated.
    Thanks

    Pione J wrote:
    Can we allocate multiple JVM's to one application and i would really appreciate if you can provide me with some literature/suggestions as to how we can do this in Weblogic.Sure, it's called clustering and documentation is available here
    http://e-docs.bea.com/wls/docs81/cluster/overview.html
    Cheers,
    Gerald

  • Trouble loading multiple iPads with one iTunes account

    I am trying to load the same exact information from ONE iTunes account to multiple iPads (4-6). I was able to sync the app and information I needed to ONE but when I try plugging any of the other iPads into my computer NOTHING happens. The computer doesn't recognize that I have plugged in the iPad nor does the iPad recognize it is plugged into the computer. Any help at all would be greatly appreciated.

    I am trying to use the same Apple ID for all of them. One has been synced and I am logged into the same Apple ID but the other 2 have been reset so they are like "new" iPads but my computer won't detect them.

  • Can I do multiple installs on  one server at the same time ?

    Hi. we have a project where the basis group is under very tight deadlines. We are tasked with installing multiple SAP systems on the same server. Is it possible to install more than one SAP systems ( ie ERP, BI, EP, CRM ) on the same physical server at the same time. for example on analyst install ERP while at the same time another analyst do EP and so on....  Has anyone done that before and if so are there any issures. ( I put in a SAP note and got the response that this is not supported, but I just wanted to see if anyone had done it anyways )

    Hi Dan,
    Frankly simultaneous installations is not a great idea. There will be an enormous competition for resources. Then you also need to make available ports for carrying out the installations. Next it will involve high amount of coordination
    What of course is more reasonable is the idea of hosting more than one SAP instance on the same physical server though again harware is a very important concern. It includes your hard disk space,memory,CPU and other generic hardware.
    Please award points for useful answers.
    Regards.
    Ruchit.
    Message was edited by:
            Ruchit Khushu

  • Multiple Certs for multiple domains on one server

    Is it possible with WLS6 and WLCS3.5 to serve up multiple domains with their own certificates?
    i.e. https://www.foo.com and https://www.bar.com on the same box.

    Hi,
    for one WebLogic Server you can only specify one certificate. So to achieve
    this you will have
    to use different WLS instances for your domains - which is possible on the
    same box.
    Kind Regards
    Maria Salzberger
    Developer Relations Engineer
    BEA Support
    Mike Berger schrieb in Nachricht <3c21f5c3$[email protected]>...
    Is it possible with WLS6 and WLCS3.5 to serve up multiple domains withtheir own certificates?
    i.e. https://www.foo.com and https://www.bar.com on the same box.

  • Loading multiple tables from one xml-file

    I've got one xml-file containing information which should be loaded into multiple database tables. How can I do that?

    Please use XSLT to tranform to XML file with XSU recognized format and separated for different table input.
    You may refer to Example in book "Building Oracle XML Applications".
    null

  • Is it possible to have multiple emails on one server?

    As the topic says, can i have more then one email service running off of the same server.
    example:
    [email protected]
    and also
    [email protected]
    I have both domain names and have different websites for the different business. I need to give @something.us to some people and @somethingdifferent.com to others......
    Thanks!
    Adam

    Yes, it's possible to do, but non trivial.
    It's easier if every username exists in both domains (e.g. [email protected] is the same person as [email protected]), but it's still possible to do if they're different.
    There are two approaches to doing it. Which one you use is up to you.
    The first is to use Open Directory and add the email addresses as additional usernames for each account.
    For example, you may have a user 'joe' who exists in domain2, so you'd give him the shortnames 'joe' and '[email protected]'. User 'bob' in domain 1 would have the shortnames 'bob' and '[email protected]'.
    Note that both users exist in the main directory domain, which could be an entirely different domain.
    The second method is the pure Postfix method and involves configuring postfix on the command line to support multiple domains. You'll essentially build a text file list of the names in the secondary domain(s) and will maintain this separately from the main server GUI tools. This optioni s covered in some depth in the Postfix Virtual Domains page.

  • HOW CAN I USE MULTIPLE VIEWS IN ONE BLOCK

    What I need to do is based on a selection, I have a detail block that shows the results. My selection would determine which view to display in the detail block.
    So for example, my selection is:
    Source: A
    Year 2005
    I would then display the details by querying A_2005_VIEW
    I can query a view dynamically using the QUERY_DATA_SOURCE_NAME however, my problem is, each view has different column names. How do I show different columns based on specific views?

    You could use a "From Clause Query" as the block data source. You can change that dynamically.
    Create generically named database items on the block COL1, COL2, ... COLn
    Then depending on the users choice in the selection criteria, use the WHEN-NEW-BLOCK-INSTANCE trigger on the query block to
    set_block_property(..., query_data_source_name,
    '(SELECT viewcol1 COL1, viewcol2 COL2, .... , viewcoln COLN
    FROM <whichever view>)');
    This will work because Forms constructs the block query thus:
    SELECT COL1, COL2, ..., COLN
    FROM <blocks query_data_source_name>
    so you are using the aliases in your query to match the forms database items names.

Maybe you are looking for