Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
9
Erster Beitrag:
vor 6 Jahren, 11 Monaten
Letzter Beitrag:
vor 4 Jahren, 7 Monaten
Beteiligte Autoren:
issah, Paulo Oliveira, Piet van Zanten

Call a specific webdev page from frameset

Startbeitrag von issah am 31.01.2011 15:43

Hello, I guess we all know how to call the starting page of your webdev app from a frameset in order to hide the messy webdev address. I would like to make my frameset a bit more elaborate and call specific pages in my webdev app from the frameset and not just the starting page. Any ideas?

thanks

issah

Antworten:

If your app is in AWP mode it's easy to do (just use the URL of the pages) if it's dynamic mode the only way i know is passing parameters and in the init code of the project open the page you want depending on the parameter values.

von Paulo Oliveira - am 31.01.2011 16:11
Ok and thanks. Will have a go.

issah

von issah - am 01.02.2011 09:52
I think I need some education.

1) I thought AWP is the mode in which webdev implements dynamic pages.

2) Also, at this point, we are not within a webdev, page: eg.

"http://www.mydomain.fr/WD150AWP/WD150AWP.exe/CONNECT/MyApp"; starts the "MyApp application. How would you pass a parameter so that the "Page_homeschool" is displayed?

regards

issh


von issah - am 02.02.2011 03:16
The nomal mode is dynamic, from your url it's dynamic mode for shure.
To understand the diferences check this page ( http://doc.windev.com/en-US/?3539026 )
and the related subjects, AWP mode it's more complex to use but is some cases it's the solution.

To see how to use parameters in the url and how work with then check this page http://doc.windev.com/en-US/?3058026&name=pageparameter-function

von Paulo Oliveira - am 02.02.2011 09:51
Thanks, I have seen what I was looking for.

I have noticed that my pages have an .awl extention. I assume that this is the extension for dynamic pages. Is there an advantage of awp over awl besides the mode of page generation?

Thanks

issah

von issah - am 02.02.2011 10:18
Yes, it's very diferent.
The advantage depends on your needs.
Just some diferences:
Dynamic it's easyer to program (you don't have to manage the context), puts more load on the server, it's best to complex applications.
AWP mode it's harder to program (you have to manage the context), it's best when you have a large number of users, it's best for search engines.

As you can see in the page i sugest the way WebDev work is completly diferent in Dynamic mode and in AWP mode.

To work in AWP mode requires a lot more knowlege, my advice is if it's one of your first project in WebDev use dynamic mode, if it's very complex use Dynamic mode, if it's a simple project and you have some time to test/debug try AWP.

von Paulo Oliveira - am 02.02.2011 10:33
Hello.

Never followed this up and it has now come to haunt me.

I am using a frameset to disguise my dynamic site address. If I want to use an address like:

http://mysite.com/?p1=val1

should I rewrite the address in my frameset like below?

http://mysite/WD180AWP/WD180AWP.EXE/CONNECT/APPLI?p1=VAL1

Thanks

issah

von issah - am 06.06.2013 10:44
Hi Issah,

<a href="http://www.mysite.com/MYSITE_WEB/US/PAGE_MyPage.awp?p1=VAL1"; target="content">My Linktekst</a>
Where /US/ is your language and "content" is the name of the frame.

Regards,
Piet

von Piet van Zanten - am 06.06.2013 21:08
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.