NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: ntnewbies on May 28, 2020, 02:14:41 AM
-
hi friends,
in webhandler procedure, under _sendfile embed point, i need to call a form based on the loc:filename.
i use the following...none of it works:
site(p_web)
site(self)
return
p_web.MakePage('Site',Net:Web:Form,0,,'<!-- Net:StandardHeader -->','<!-- Net:StandardFooter -->',)
Self.WindowOpen('Site','_onself')
any ideas?
jason
-
p_web.Script( p_web.WindowOpen( 'mEcommers'))
-
hi alberto,
thanks for the reply.
i have tried that too but it doesnt work.
only p_web.redirect works but it renames the url (i dont want that to happen).
jason
-
Hi Jason,
>> If you look at the generated code in WebHandler _sendFile you'll see how it calls the form "normally" - ie when the URL is the form. So you could change the loc:filename and perhaps loc:parent before it starts it's normal processing.
cheers
Bruce