Hello

Is there a way to identify a JSF page by its URL?

Or is there a way to modify the urls for the JSF pages?

Currently they look like this:

/ivy/faces/instances/147C4D28F14CC8CC/MainWindow.xhtml

What I would like to do is to have something like this:

/ivy/faces/instances/custom-part/147C4D28F14CC8CC/MainWindow.xhtml

Or:

/ivy/faces/instances/ivy-project-name/147C4D28F14CC8CC/MainWindow.xhtml

Is there a way to do this in ivy or in tomcat?

This question is marked "community wiki".

asked 12.08.2014 at 15:15

hspreiter's gravatar image

hspreiter
(suspended)
accept rate: 0%

edited 12.08.2014 at 15:59

I asked the ivyTeam the same question at 2nd of July 2014, Request-No. 33872. The answer I recieved, was that there is no possibility to do that. Except, you set up two different IvyServer with different URIs.

(13.08.2014 at 15:36) Adrian Imfeld Adrian%20Imfeld's gravatar image

Yes per default this is not possible. But may be it helps if you give us your use-case may we can then provide an solution.

(18.08.2014 at 12:45) Christian St... ♦ Christian%20Strebel's gravatar image

We have some pages in our application that need to be public. We've created a "public" project. There is a proxy in front of the ivy-server that the request needs to go through. This proxy can be configured to allow unauthenticated users to go through based on an url pattern like /ivy/public/. The problem is that /ivy/faces/instances/* requires an authenticated user by the proxy and there is no way to distinguish between public and private pages.

(18.08.2014 at 12:56) hspreiter hspreiter's gravatar image
1

We thought about the following solution sometimes: It should be possible to have static jsf pages (like jsp is already possible) in the webcontent folder (without processes). Would that solve your problem? you could then use different supfolders for public and non-public.

(18.08.2014 at 16:58) Christian St... ♦ Christian%20Strebel's gravatar image

With version 7.3 it's possible to have static JSF pages. These pages have to be inside of the webContent folder and are reachable over:

  • http://<server>:<port>/ivy/faces/view/<application>/<processmodel>/<xhtmlfile>

For more informations have a look at: Designer Guide

link

answered 18.03.2019 at 10:10

Lukas%20Lieb's gravatar image

Lukas Lieb ♦♦
4412412
accept rate: 61%

edited 18.03.2019 at 10:12

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

Asked: 12.08.2014 at 15:15

Seen: 4,992 times

Last updated: 18.03.2019 at 10:12