Since 8.0 you can create static JSF pages. Those pages can be accessed directly via a URL without being in an an HtmlDialog context. And until 8.0.3 they were still located in the webContent folder.

Are you affected?

If you used static pages and you upgrade to 8.0.4 your page will no longer be found by the engine.

What have changed?

To improve security, we changed the location to webContent/view. This helps you to decide which pages should be static and can be accessed directly.

How should your webContent folder look like?

If you use static pages, you should have a view folder, and if not, please do not use this folder. Your structure could look like something like the this:

webContent
  - META-INF/
  - WEB-INF/
  - view/          (static JSF pages -> direct call possible)
  - includes/    (templates, dialogs, etc -> no direct call allowed)
  - resources/  (images, css, js, etc. -> no direct call allowed)

Additional info

If you use static pages, you should consider securing them with a login.

asked 18.03.2020 at 03:02

Lukas%20Lieb's gravatar image

Lukas Lieb ♦♦
4412412
accept rate: 61%

Be the first one to answer this question!
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:

×79
×40

Asked: 18.03.2020 at 03:02

Seen: 1,268 times

Last updated: 18.03.2020 at 03:02