Templates with multiple wars

We are in the process of redesigning a php site into j2ee using jsf. The site is rather large and we were thinking about using seperate war files for each "category" of the website for several reasons (the biggest being only deploying that particular war for changes that only affect that war). The problem we ar facing is having a template for the site, so that we only have to change the template in 1 place, and all the pages would pick up the change. We looked at tiles, but that doesn't work will with jsf. We are using IBM RAD 6, so we tried using a custom made template, but the template would have to be in each war, defeating the purpose of templating the entire site. Could someone give some suggestions on how to accomplish templating in this situation?
Thanks a million!!!!

We are in the process of redesigning a php site into j2ee using jsf. The site is rather large and we were thinking about using seperate war files for each "category" of the website for several reasons (the biggest being only deploying that particular war for changes that only affect that war). The problem we ar facing is having a template for the site, so that we only have to change the template in 1 place, and all the pages would pick up the change. We looked at tiles, but that doesn't work will with jsf. We are using IBM RAD 6, so we tried using a custom made template, but the template would have to be in each war, defeating the purpose of templating the entire site. Could someone give some suggestions on how to accomplish templating in this situation?
Thanks a million!!!!

Similar Messages

  • Excel Template with Multiple Sheets

    Hi everyone,
    I need to build Excel template with multiple sheets where each sheet should have at-least one chart.
    Thanks
    Aravind

    Hi
    Could you please explain those ways here.?
    Many Thanks,
    BK

  • Exporting a template with multiple images

    Let's assume I want to have a large print made at an outside commecial lab because my printer does not handle the size.
    In the Print Module, is there a way to export a template with multiple images so that it can be sent to an outside lab for printing?
    Or, is this not possible and I would have to design the template in Photoshop and send the file to the lab?
    If Lightroom is not yet capable of this, it certainly seems like a worthwhile feature.

    Thanks for sticking with this thread to help me.
    I am on Windows and I do have PDF capability, the full Adobe Acrobat Professional.
    I have been experimenting with your suggestions and, yes, saving it as a PDF and bringing it into Photoshop is a workaround. The images and Identity plate come into Photoshop as they appear in the template in Lightroom.
    What doesn't appear in Photoshop is the whitespace(margins)around the images. They appear in the PDF, but they don't appear when I open the PDF in Photoshop. Is there a setting I'm overlooking in the PDF settings dialog that will correct this? Or, is this just the way importing a PDF works when it comes to margins? Must I always go to Image/Canvas size to get the canvas I want? Is there a way of not having to do this?

  • App with multiple WAR files

    We have a customer self-service web site, freshly re-implemented using facelets in a WAR file. It works fine. We are just now starting to re-implement a second significant component from the previous generation. This component is pretty complicated, so we would like to maintain and deploy it individually in its own WAR. However, we would like this component to blend smoothly in the primary application. Ideally, the main app would create a borderless window in which this component would live, but everything inside that window would be controlled by the second WAR file. Both WAR files run on the same web server, and if it helps, can run in the same session.
    In previous times, we might have done this with an iframe to contain the second application. But I'm well aware of the downsides of iframes and that they are strongly discouraged in new apps, What is the current recommended approach for blending multiple WAR files into what appears to be a single application to the end user? Portlets? Can I easily make a simple facelets application (our primary app) into a portlet container without making it into a full scale portal? All the portlet examples I find show the portlet in a window that the user can minimize or maximize. Can our primary app hide those window controls so that the contents of the second WAR appear to be part of the primary application?
    Thanks for any and all suggestions. I've spent a couple hours searching for "multiple war files" and "external war" and didn't find any useful leads.

    But I'm well aware of the downsides of iframes and that they are strongly discouraged in new apps,If it solves your problem, what would be bad about it? I wouldn't use iframes to merge applications from different hosts, but when the sub-applications are part of one larger application that you have under your own control, then why not?
    It is fine to follow current trends, but only if it is intelligent to do so.

  • Error in viewing data in a data template with multiple data sources

    Hello,
    I have designed a data template with two data sources.One is from DEPARTMENTS table and the other datasource is a xml file.Following is the code for the data template :
    <dataTemplate name="EmployeeListing" dataSourceRef="demo">
    <parameters>
    <parameter name="p_DEPTNO" dataType="character" defaultValue="20"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[SELECT DEPARTMENT_NAME,DEPARTMENT_ID,LOC from DEPARTMENTS]]>
    </sqlStatement>
    <xml name="empxml" expressionPath=".//ROW[DEPARTMENT_NAME =$DEPARTMENT_NAME]">
    <url method="GET" realm="" username="" password="">file:///D:\OraHome_1\xmlp\XMLP\DemoFiles\Employee Salary Report.xml</url>
    </xml>
    /dataQuery>
    </dataTemplate>
    The problem is when i am trying to view the data, only data from SQL Query Q1 is getting displayed and the data from Employee xml is not at all getting displayed.
    Could anyone please let me know what i am missing?
    Thanks
    Nutan
    Edited by: user609971 on Oct 23, 2008 8:06 AM

    This is from Documenation sample....
    Did you see the data structure section, where you say, how you wanted the columns ?
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <dataTemplate name="Employee Listing" description="List of Employees" v
    ersion="1.0">
    <parameters>- Defines a single parameter for the Department Number
    - with default of 20:
    <parameter name="p_DEPTNO" dataType="character"
    defaultValue="20"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[SELECT DEPTNO,DNAME,LOC from dept
                      order by deptno]]>
    </sqlStatement>
    <xml name="empxml" expressionPath=".//ROW[DEPTNO=$DEPTNO]"> - Defines name
    - and link to DEPTNO in Q1
    <url method="GET" realm="" username="" password="">
    file:///d:/dttest/employee.xml</url> - Defines url for xml data
    </xml>
    </dataQuery>-
    <dataStructure>- The following section specifies the XML hierarchy
    - for the returning data:
    <group name="G_DEPT" source="Q1"
    <element name="DEPT_NUMBER" value="DEPTNO" />
    <element name="DEPT_NAME" value="DNAME"/>
    - This creates a summary total at the department level based
    - on the salaries at the employee level for each department:      
    <element name="DEPTSAL" value="G_EMP.SALARY"
    function="SUM()"/>
              <element name="LOCATION" value="LOC" />
    <group name="G_EMP" source="empxml">
    <element name="EMPLOYEE_NUMBER" value="EMPNO" />
    <element name="NAME" value="ENAME"/>
    <element name="JOB" value="JOB" />
    <element name="MANAGER" value="MGR"/>
    <element name= "HIREDATE" value="HIREDATE"/>
    <element name="SALARY" value="SAL"/>
    </group>     
    </group>
    </dataStructure>
    </dataTemplate>

  • To use the concept of  using a template with multiple windows inside it.

    Good evening friends ..........
    I have a requirement from my client like this i need to make a smart form in that
    i need to display a template of kind like this
    it must have 1st row 1st column of height 35mm approx. ie which should have 5 rows height with
    no lines IE rows inside that column, and column width must be 4cm.
    and it has 2nd to 5th column of lengths 3cm each in the same row IE 1st row. and
    in 2nd row from 2nd to 5th column of lengths 3cm each. and
    in 3rd row from 2nd to 5th column of lengths 3cm each continue the same pattern till
    5th row and lastly .
    in 6th row i must have 1st 2nd columns with length 4 cm each
    this whole thing i must get i one template only.....................
    when i tried to search this in sap portal or any other documentations
    i got the concept of combining windows and template in one window......
    they are saying we can make a template with 2 or more windows inside it. which also
    contain one template each inside that windows
    so my 1st row 1st column has exactly same requirement as this only.
    IE using a template with 2 or more windows inside it with templates inside each
    window.
    can u please guide me how to try it out this one .......
    this i tried to depict in pictorial form and send u in my previous reply
    but it displayed in other way sorry for that.

    Give this a go...
    // form1.page1.cb::click - (JavaScript, client)
    if (this.rawValue == 1) {
      xfa.resolveNode("form1.page1.nf.ui.#numericEdit.border.fill.color").value = "255,255,0";
      form1.page1.nf.border.edge.color.value = "0,0,0";
    else {
      xfa.resolveNode("form1.page1.nf.ui.#numericEdit.border.fill.color").value = "255,255,255";
      form1.page1.nf.border.edge.color.value = "255,255,255";
    Don't forget to make your form a dynamic form.
    Steve

  • Question about templates with multiple queries

    I am just starting out with BI Publisher, v.10.1.3.2. I have a report that has multiple queries, but my template is just based on 1 query. How can I make the template use more than one query?
    Thanks!!

    <!-- BI Publisher Report Data Template --!>
    <!-- Report: -->
    <!-- defaultPackage - the PL/SQL package name to resolve any lexical
    references, group filters, or data triggers defined in the template. -->
    <dataTemplate name="dataTemplateName" description="DESCRIPTION" dataSourceRef="ORCL" defaultPackage="<SCHEMA>.<PACKAGE>" version="1.0">
    <properties>
    <property name="include_parameters" value="True|False"></property>
    <property name="include_null_Element" value="True|False"></property>
    <property name="xml_tag_case" value="upper|lower"></property>
    <property name="db_fetch_size" value="500"></property>
    <property name="scalable_mode" value="on|off"></property>
    <property name="include_rowsettag" value="true|false"></property>
    <property name="debug_mode" value="on|off"></property>
    </properties>
    <parameters>
    <parameter name="IDENTIFIER" dataType="character|date|number" defaultValue="0" include_in_output="true|false"></parameter>
    </parameters>
    <!-- Flexfield support for queries against Oracle Applications database -->
    <lexicals>
    <lexical></lexical>
    </lexicals>
    <dataQuery>
    <xml name="xml_query_name" expressionPath="Xpath_expression">
    <url method="GET|POST" realm="auth_name" username="" password="">file:///d:/windir/filename.xml</url>
    </xml>
    <sqlStatement name="query_name">
    <![CDATA[
    SELECT
    FROM
    WHERE
    ]]>
    </sqlStatement>
    </dataQuery>
    <!-- If you have multiple queries, you must link them to create the -->
    <!-- appropriate data output. In the data template, there are two methods -->
    <!-- for linking queries: using bind variables or using the <link> element -->
    <!-- to define the link between queries. -->
    <link parentQuery="parent_query_name" parentColumn="col" childQuery="child_query_name" childColumn="col" condition="= < <= > >="></link>
    <dataTrigger name="beforeReport" source="<package_name>.<function_name>"></dataTrigger>
    <!-- (Required for multiple queries) Defines the structure of the output -->
    <!-- XML. Consists of <group> and <element>elements to specify the -->
    <!-- structure. This section is optional for single queries; if not -->
    <!-- specified, the data engine will generate flat XML. -->
    <dataStructure>
    <group name="group_tag_name" source="query_name" groupFilter="<package_name>.<function_name>">
    <element name="tag_name" value="source_column" function="SUM() COUNT() AVG() MIN() MAX()"></element>
    <element name="tag_name" value="<group_name>.<column/alias name>" function="SUM() COUNT() AVG() MIN() MAX()"></element>
    <group name="group_tag_name" source="query_name" groupFilter="<package_name>.<function_name>">
         <element name="tag_name" value="source_column" function="SUM() COUNT() AVG() MIN() MAX()"></element>
         <element name="tag_name" value="<group_name>.<column/alias name>" function="SUM() COUNT() AVG() MIN() MAX()"></element>
    </group>
    </group>
    </dataStructure>
    <dataTrigger name="afterReport" source="<package_name>.<function_name>"></dataTrigger>
    </dataTemplate>

  • Edit Templates With Multiple Languages (want to see all templates)

    Hi all,
    I have the following problem:
    I want to edit this template:
    On my old windows pc I can see all three templates (German, English & French) one below the other! Which is important, because I need to edit each one, how ever it is only one file!
    Now, with Dreamweaver CC for Mac I can only see the following:
    The two anchors indicate the two other languages. I can see the underlying code, yet I can't see the template. Now on my old version of Dreamweaver I would not see the anchors, I would see the same template in English and then in French.
    I hope this describes the problem enough to understand and help me.
    Thank you in advance!

    Hi Gunes,
    I answered yesterdey but the answer is going loosed, this morning I tried several times maybe now it will go.
    E.g there might be sophomores,seniors etc.Then I have to add these levels to every member department like math sophomore,math senior etc..
    That's why I think is better to create another dimension for sophomores,seniors etc. and you memorize the data in the combination of all this dimension (faculty_dep, key figures, etc.) without an huge increase of the combinations.
    I already used it.However, I must be able to use property instead.
    To do this use a combination of EVPXR, EVSET and EVENE as I wrote before, please see the application help for details
    http://help.sap.com/saphelp_bpc75/helpdata/en/88/ccebf77a6d4d8a9344ec84003ca7e1/content.htm
    http://help.sap.com/saphelp_bpc75/helpdata/en/de/a04752c2fb44adb27376c743492f4c/content.htm
    http://help.sap.com/saphelp_bpc75/helpdata/en/32/7c1aee5012423689ffebdb6d7cccd6/content.htm
    Kind regards
         Roberto

  • Reusing login credentials with multiple wars

    I have 2 web applications (war files) that are deployed to a single managed server. Both web applications use the weblogic security realm for authentication (configured via Security Realm -> Providers) with the same provider. This means that both applications have the same set of users.
    The first application implements a simple web service (using JAX-WS) that provides 3 or 4 functions.
    The second application is a UI that provides inventory operations (saved to a database) and additionally calls functions from the first web service application.
    I would like the following to happen:
    1 - User logs into the UI application
    2 - User performs an action that calls the web service application
    3 - The UI application uses the login credentials from step 1 to login to the web service application
    4 - The web service application executes the function with the user credentials from step 1
    The reason I would like this is that the web service application has an audit trail of who called the function.
    I have a work around but it is not acceptable, which is to configure a username/password in the UI. The issue is that the web service function is always called with the configured user, regardless of who logs in from step 1.
    Anyone have any ideas on how to deal with this problem?
    Does SSO help in this case?
    Is there a way to reuse the session?

    While logged in as User B, open Keychain Access. Find the password entry for connecting to the mini and delete it.
    Then, try to log in again. User B likely used User A's login info at some point, maybe testing, to connect to the mini, so those credentials were saved in the keychain.

  • Printing on Web - web template with multiple queries

    Hi.
    Trying to print to PDF from the Web, when I have more than 1 query in the web template, using Tabs.
    When the report has been run, if I select the tab for report A and then Print, I need report A to be printed. Similarly, if I have selected the tab for report B I expect report B to be printed.
    Is this possible without resorting to HTML coding direct? If so, can you tell me how, please? I have no problem printing single queries, the issue is how to print different reports without having several Print buttons. If it CAN only be done by HTML coding, could you send me some sample code please?
    As well as offering points for useful answers, I can also offer my Word document where I have broken 0ANALYSIS_PATTERN in to its components, with screenshots... I have found it invaluable.
    Thanks,
    Patrick

    The answer was to use the Tabstrip web item... although I still have to define a set of buttons for each tab, only one set is visible at a time, which is fine

  • Web Template with multiple Data Provider Query with partial authority

    Dear Guru,
    I have a single web template, that contains 2 query data providers (e.g. Query A, Query B), and all users access to this web template for both queries.
    Now, there are some users that have authority to Query A only.
    When they access to this web template, the system automatically say the users do not have authority for Query B in the variable entry screen, and show the variable selection for query A only.
    And the problem comes, when user submit the variable entries, the system keep asking for the mandatory variables for query B, which the user actually not authorized to execute. How can this be fixed??
    Please kindly help me. Thank You.
    Best regards,
    Chris

    Hi all,
    I am looking into the use of Javascript and CustomExtension, but still cannot find any solution.
    Can I use CustomExtension to generate Javascript to redirect the page to another web template??
    Can I use Javascript to check authority of the users, and alter the Web Items?
    Can Anybody help? Many many thanks.
    Best regards,
    Chris

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • How to use a Web Template with queries from multiple BW Systems?

    Hi all,
    can anybody help me how to use a Web Template with queries (DATA PROVIDER)in it from multiple BW Systems?
    Thanks in advance, best regards
    Frank

    Great! Thanks for the quick response.
    Have you tried this for XMLA datasources created within the EP system also?
    i.e use Web Analyzer to create a view from the XMLA source and use that view within WAD?
    Thanks.

  • Session not shared between multiple wars, with no cookies

    I posted an earlier query on multiple wars in the same application.
    Actually session is maintained and getting shared on the server when
    browser supports cookies.
    When Browser does not support cookies i have the following problem,
    a) Without cookies URL's(href tags) work fine because they are bieng
    rewritten.
    b) The first form i call always has hidden tags with session id value
    and it works fine
    c) But in all susequent forms there is no hidden session id.(My forms
    are all JSP pages.).
    My questiona are
    1) under what situations does the server add session id hidden tags in
    html form.
    2)And how do I get them created automatically when browser does not
    support cookies.
    3) And why are the hidden tags being set for the first request. (I read
    in previous posts that is because the server does not know if browser
    supports cookies for first time) How does it know the second time. What
    html header gives this info.

    >
    1) under what situations does the server add session id hidden tags in
    html form.The webconnector should rewrite the sessionid whenever the browser might
    not support cookies. (And it has configured to allow URL re-writing.)
    Obviously you are having a problem with this, but based on the information
    you are providing I don't have any insight on why yet. Works for me. Try
    opening a support ticket and/or posting some more information.
    >
    2)And how do I get them created automatically when browser does not
    support cookies.This should happen automatically, unless you have changed the NoCookie
    setting in the registry.
    >
    3) And why are the hidden tags being set for the first request. (I read
    in previous posts that is because the server does not know if browser
    supports cookies for first time) How does it know the second time. What
    html header gives this info.Yes, hidden tags are set for the first request because the webconnector
    doesn't know if the browser supports cookies.
    The second request it knows that cookies are supported because the browser
    successfully has returned the cookie it sent the first time.
    David

  • Design a single template for multiple reports with different column order

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to Crystal Report 2008, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks in advance.

    -As I mentioned you can find Template Field object in Insert menu of crystal report Designer 2008.
    As soon as you select Template Field object you will be able to see a box beside ur mouse cursor. Drag and drop this box at required place. Now when you place this object in report you will get some thing like this "<TemplateField1>" listed under Formula Fields tree. Double click "<TemplateField1>" formula to add your conditions.
    -I have not tested it for large amount of Customers. However as the number of customer increases the number of conditions will get increased.
    For the customer that want the same ordering of columns you can put those customers under one condition.
        for Example...
              if(?Client in ['clientA','clientA']) then
                        <TableName>.<Field>......
    -What do you mean be 40 columns? Do you mean 40 fields or you want to show 40 columns in report? Please elaborate.
    Regards,
    Amrita
    Edited by: Amrita Singh on May 21, 2009 7:54 AM

Maybe you are looking for

  • Why is Save As box for downloading files opening to random directories?

    In version 9 when I performed a download of a file the save as dialog box would prompt me for a save location per my settings. I would select a directory to save it to and save the file. When I saved another file from the same site it would default t

  • Random Files

    Hello all, I have been going through my MacBook Pro and deleting stuff I really don't need and I went into documents and found over 1000 random files lurking in their. I'm not sure how it got there and why it's there. I clicked on one of the files an

  • Dovecot is killing my internet access. How do I stop dovecot?

    We recently changed servers and had a lot of issues with Mozilla Thunderbird Email. Now I find my folks cannot access our website because something called dovecot is accessing the server and not terminating -draining the resources on the server. I wi

  • Since is upgrade - 10.3.2.440 display will hold font size

    My screen continuously enlarges since so upgrade. Is there a setting to lock the screen somewhere as it is so annoying to continuously have to shrink it back down...

  • IPad 3 on iOS 6 keeps saying "Unable to Download Application"

    normally until I do a soft reset, but the problem persisted until I installed a random app that installed and then the app I wanted installed perfectly, anybody else having these issues?