We have two projects. One of the contains infrastructure code and should be included in the other project. The non-infrastructure project contains the main template in webContent/templates/PageTemplateLoggedIn.xhtml. Is it possible to reference this template from a different project?

asked 24.04.2014 at 10:40

Nikel%20Weis's gravatar image

Nikel Weis
(suspended)
accept rate: 57%


You can use a template from your project or a template from a required project (Defined in the Deployment configuration).

link

answered 30.04.2014 at 18:17

Peter%20St%C3%B6ckli's gravatar image

Peter Stöckli ♦
(suspended)
accept rate: 69%

In the designer go to the folder 'Definitions' -> 'Deployment' -> 'Required Projects'(Tab on the bottom of the page) -> 'Add'

This does what Peter Stöckli suggested.

(30.04.2014 at 19:40) Daniel Oechslin Daniel%20Oechslin's gravatar image

Thanks for your replies guys. But then we would have a circular requirement which would not work - like Project A requires Project B and Project B requires Project A. So I guess we have to engineer that differently or do you have any suggestions on that?

(05.05.2014 at 08:27) Nikel Weis Nikel%20Weis's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×58

Asked: 24.04.2014 at 10:40

Seen: 1,237 times

Last updated: 05.05.2014 at 08:27