Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
10
Erster Beitrag:
vor 4 Jahren, 2 Monaten
Letzter Beitrag:
vor 9 Monaten
Beteiligte Autoren:
Piet van Zanten, Ives Cesar, Alexander S., Allard, Cesar Flores, Fabrice Harari

AWP PAGES..

Startbeitrag von Cesar Flores am 19.06.2013 14:01

Hi all

does any one have some experience on handling of AWP Pages?

the reason is that i have a problem and i dont know how to solve it.

I created a normal dynamic page, this page only have a table control

this table have an embed query,

when the page were a normal dynamic page, everything works well, but when i decide to change it to AWP the table control crash.

this is the code of the table control (row selection):

IF HExecuteQuery(query,hQueryDefault,table) THEN
edt_1= table.Code
edt_2= Ttable.Name
IF HReadFirst(query) THEN
FileToPage("",query)
IF NOT query.id = 0 THEN
ListSelectPlus(combo_1,query.id)
ExecuteProcess(combo_1,trtInit)
ListDisplay(combo_2)
IF NOT query.id2 = 0 THEN
ListSelectPlus(combo_2,query.id2)
ELSE
combo_2 = ""
END
ELSE
combo_1 = ""
combo_2 = ""
END
END
END

is not the big deal.

but when i click on the table the page sends me an error:

"Error code: 0
Level: no error (EL_NONE)

(25, ERR_MSG_BOX)"


the help says that this error is mostly related to programing errors found in the control. but even if i fill the table by programing with 3 lines of tableadd() the error still appearing.

any one have some experience with AWP pages. and guide me of the best way to handle this pages?

Thanks in advance!

Best Regards

Note: Im using WB17.

Antworten:

Hi Cesar,

I'm pretty sure you have to create AWP pages in a separate project, otherwise WB will complain about page settings not compatible with project settings.
So just create a new AWP project using the same analysis, import your dynamic Webdev page into it and change it to AWP. That should work.

Regards,
Piet

von Piet van Zanten - am 19.06.2013 17:25
Quote
Piet van Zanten
I'm pretty sure you have to create AWP pages in a separate project, otherwise WB will complain about page settings not compatible with project settings.


not right! awp pages work fine in the dynamic projects.

von Alexander S. - am 19.06.2013 17:30
Hi Alexander,

I have never been able to test an AWP page in a dynamic Webdev project:
Quote
Error
The site did not operate properly because no page was returned by the WebDev Application Server.
To correct this problem:
- Check whether the possible calls to EndProgram() or ContextClose() are preceded by a call to a display command (PageDisplay, ScriptDisplay, StringDisplay, FileDisplay, ASPDisplay, PHPDisplay)
(79, ERR_NO_CURRENT_PAGE_AWP)

Any idea what I'm doing wrong?

Regards,
Piet

von Piet van Zanten - am 20.06.2013 20:01
I have no ideas, sorry

von Alexander S. - am 21.06.2013 08:17
Hi Piet

Without seeing your code, I don't know for sure, but personnaly, in your case, I would do a scriptexecute of the awp page after building the correct URL, of course.

If you do a simple page_display, I suppose that webdev will consider that you want to display a regular calssic page (as you are calling from a classic page) and will try to use the classic URL with the CONNECT in it... Which of course doesn't work for an awp page.

You have to consider that each awp page is a stand alone website and call it accordingly (the same way you would call by example:
http://27130.foren.mysnip.de/read.php?27131,162984,163163#REPLY

Best regards

von Fabrice Harari - am 21.06.2013 11:33
Hi Fabrice,

Of course I can run AWP pages from any page, but not in test mode (test page) in a dynamic WB project.
That's why I started to put all AWP pages in a separate project.

Regards,
Piet

von Piet van Zanten - am 21.06.2013 16:33

AWP PAGES..25, ERR_MSG_BOX

I finished my site on webdev 20 and when I run I receive this error message 25, ERR_MSG_BOX.
How to solve?
The pages used are in AWP

von Ives Cesar - am 21.11.2016 10:23

AWP PAGES..25, ERR_MSG_BOX

I finished my site on webdev 20 and when I run I receive this error message 25, ERR_MSG_BOX.
How to solve?
The pages used are in AWP

Thanks

von Ives Cesar - am 21.11.2016 10:25

Re: AWP PAGES..25, ERR_MSG_BOX

Hi,

Maybe look if you have the msg-box screens in your project. In discription .. add them in the syle of you rproject . Might help.

regards

On the awp Aprt
The standard groupware comes in dynamic and awp both or copied inthe project at the same time youcan choose whatto use. So it is definately possible.

regards
Allard

von Allard - am 21.11.2016 18:42
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.