Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 1 Jahr, 11 Monaten
Letzter Beitrag:
vor 1 Jahr, 3 Monaten
Beteiligte Autoren:
Allard, Wouterke, MichaelRug

[WB20] Changing the source of the Internal Page control

Startbeitrag von MichaelRug am 10.09.2015 21:36

Hello:
I have a Page with an Internal Page control in WebDev [WB], and I would like to change the internal page of this control via a user selection. Is this possible?

Thanks
Michael

Antworten:

there are a handfull of things you can do.

1) use the dashboard control the 'widgets' it uses are in fact internal pages.

2)create all the internal pages beforehand and only display the selected

3) use normal pages instead of internal pages and use an IFrame

von Wouterke - am 11.09.2015 11:47
Hi Michael

I saw you asked this question and I have been looking into this as well./ I donnot get the help on this . It states following:

Programming in WLanguage

Passing parameters to an internal page
To pass parameters to an internal page, we advise you to:

Create an initialization procedure in the internal page.
Call this procedure in the page that contains the "Internal Page" control.

Example:

// -- PAGE_Page1 initialization code
// MyInternalPage is a PAGE_Page1 control
// That is linked to an internal page
// This internal page contains a
// procedure Init()
MyInternalPage.Init(Param1, Param2)


I donnot get how to call the internal page. Not pagedisplay because then the internal page gets displayed in an other browser window.

If this can be done one could make all kind of pages dynamicly in other pages. Same behafiour as single site javascript pages. That would be cool. !!
Pitty there is so little documentation on this.

Anyone any Idea if this is at all possible ?

regards
Allard

von Allard - am 14.05.2016 19:17
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.