|
| [WB]: Site in default mode with AWP pages (or PHP)? |
| Iniciado por guest, 14,sep. 2016 15:09 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 14,septiembre 2016 - 15:09 |
| |
| |
| | | |
|
| | |
| |
| Publicado el 14,septiembre 2016 - 15:22 |
Yes it's possible, using one awp page or you can use your project (dynamic) and jump to whatever page you need according to the parameter values.
To retrieve the value of the parameters use the PageParameter function. http://doc.windev.com/en-US/index.awp… |
| |
| |
| | | |
|
| | |
| |
| Publicado el 14,septiembre 2016 - 15:25 |
Hi Arekusei,
Yes you can. You can mix and match dynamic and awp pages in a single project. You will need awp to have the parameters passed from the client (web browser). In that case you can't use PageDisplay() which is server side only in that case.
Use FileDisplay() instead from the browser code to open an awp page. Use ScriptDisplay() to open a php, asp, etc page.
All the details for awp pages can be found here .
Cheers,
Peter Holemans |
| |
| |
| | | |
|
| | |
| |
| Publicado el 14,septiembre 2016 - 15:54 |
Thank you for quick answers. How can I request those page from outsite? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 14,septiembre 2016 - 16:03 |
if you use one awp page just use one URL like your example http://site/upload.awp… if you use dynamic pages use the URL (just one example) http://site/WD210AWP/WD210AWP.EXE/CONNECT/YOR_APP…
and in the section "Initializing the project after connection to the site" of your project just use something like this:
IF PageParameter("param")="1" THEN PAGEDISPLAY(PAGE_PARAM_1) END |
| |
| |
| | | |
|
| | | | |
| | |
|