BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AdapterPageProducer to PageProducer

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet WebSnap
View previous topic :: View next topic  
Author Message
Guillermo Díaz
Guest





PostPosted: Sun Sep 10, 2006 5:19 pm    Post subject: AdapterPageProducer to PageProducer Reply with quote



Hi!



I have a problem! I don't understand or I'm making something bad, in
WebSnap. Really in AdapterPageProducer.



I want to create a WebSite with only one access way: the page of Login.
Therefore, I need to control each user. And each page is only thrown if user
has gone by the page of login.



Obviously, the idea is that the page of login will be a mixture of
HTML(design) and script (for the user's login). But I will need to modify
the design (HTML) later.



According to the help of the BDS, "if you have a Web page module that uses
an adapter page producer, you can convert it to use a regular page
producer .", my questions are:



1.. Why when copying the content from the script tab to the
My_Module.html, it generates me:


object PagProdEntrada: TAdapterPageProducer

HTMLDoc.Strings = (

'<html>'

'<head>'

'</head>'

'<body>'

'<#STYLES><#WARNINGS><#SERVERSCRIPT>'

'</body>'

'</html>')

Left = 48

Top = 8

object AdapterForm1: TAdapterForm

object AdapterFieldGroup1: TadapterFieldGroup

... etc.



And I hope HTML+script that I see in the script tab?



2.. Why when I open my project, the web page module created previously
they lose the xxxx.html tab and their associate files? (Physically the files
remain in the disk and I can open them in the BDS but not associated to a
HTML of an Unit.cpp)?


Thank you for any help.



Guillermo.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet WebSnap All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.