Project

General

Profile

Actions

Feature #1441

open

allow to reimplement absolute URL generation function, which is used by the library

Added by Boris Nagaev over 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/20/2012
Due date:
% Done:

0%

Estimated time:

Description

Hello!

Description of makeAbsoluteUrl says:

This is not used in the library, except when a public URL is needed, e.g. for inclusion in an email.

It would be usefull to be able to reimplement function, which is used by Wt to produce absolute paths from internal paths. This is especially useful in Widgetset mode, since this will allow to use same internal paths in main application and in widgetset mode.

Example:

there is path /user/123/ in main application. If I want to refer this user from widgetset mode application deployed at http://localhost/app.js, I currently get absolute URLs like http://localhost/app.js/user/123/ instead of http://localhost/user/123/. In this case using internal paths of main application in widgetset mode could be easily enabled by reimplementing the function I requested for.

Regards

No data to display

Actions

Also available in: Atom PDF