Vely logo install examples
documentation about

14.2.0 released on Nov 29, 2022

p-path



PURPOSE:


Outputs URL application path.

SYNTAX:



p-path


DESCRIPTION:


p-path outputs a URL application path (see request_URL), i.e. the leading path segment(s) prior to request name.

If no "--path" option in vv is used to specify URL application path, then it is the same as application name prepended with a forward slash:

/<app name>

p-path provides the leading part of a URL path after which request name and its parameters can be specified. It is used in HTML forms and URLs (either for HTML or API) to refer back to the same application.

EXAMPLES:


Create URL in web link:

@<a href="<<p-path>>/add-note">Add Note</a>

In HTML forms:

...
<form action="<<p-path>>/add-note" method="POST" enctype="multipart/form-data">
...


SEE ALSO:


Output ( finish-output   output_statement   p-dbl   pf-out   pf-url   pf-web   p-num   p-out   p-path   p-url   p-web  )  SEE ALL (documentation)



Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Some icons copyright PaweĊ‚ Kuna licensed under MIT. Vely elephant logo copyright DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0.