Vely logo install | documentation | examples | articles | changelog
16.6.0 released on Mar 08, 2023 | articles updated on Mar 20, 2023

p-path


Purpose: Outputs URL application path.

p-path
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   flush-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) 2017-2023 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. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0. Contact email vely@vely.dev.