Telegram_2018-05-01T16

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2018 > 05 > 01 >

Telegram_2018-05-01T16

Telegram link

 

2018-05-01T16:00:04

 

You can see the modifications?

 


 

Telegram link

 

2018-05-01T16:00:56

 

Oh, I did not realize you uploaded something. Let me download it. Thanks!

 


 

Telegram link

 

2018-05-01T16:02:11

 

Copy the folders where you want OK.

 


 

Telegram link

 

2018-05-01T16:03:34

 

ok, working on it

 


 

Telegram link

 

2018-05-01T16:04:07

 

ok, got it open in 10.2.3

 


 

Telegram link

 

2018-05-01T16:05:29

 

when run, there is more than just an empty web page now.

 


 

Telegram link

 

2018-05-01T16:06:15

 

I see mastertemplate.html defines in the server controller

 


 

Telegram link

 

2018-05-01T16:06:35

 

yes, and a template IWForm6.html

 


 

Telegram link

 

2018-05-01T16:07:04

 

Yes, I see the file. Whee is that used?

 


 

Telegram link

 

2018-05-01T16:07:58

 

every Form has your template

 


 

Telegram link

 

2018-05-01T16:08:16

 

open forms i sent to you

 


 

Telegram link

 

2018-05-01T16:08:34

 

in mater i put evething i need and ONLY $body

 


 

Telegram link

 

2018-05-01T16:09:12

 

OK, so is Unit6.pas still the main form that opens?

 


 

Telegram link

 

2018-05-01T16:10:20

 

I am missing something very obvious. Sorry.

 


 

Telegram link

 

2018-05-01T16:10:56

 

Yes because you have ONLY one form

 


 

Telegram link

 

2018-05-01T16:11:04

 

and it's the principal

 


 

Telegram link

 

2018-05-01T16:11:44

 

So what property in that form tells me that it will use a template?

 


 

Telegram link

 

2018-05-01T16:11:53

 

LayoutMgr?

 


 

Telegram link

 

2018-05-01T16:13:05

 

Yes

 


 

Telegram link

 

2018-05-01T16:13:28

 

if you don't inform the name, they look for a FORM name in tlempate

 


 

Telegram link

 

2018-05-01T16:14:03

 

So IWTemplateProcessorHTML1 is in that property.

 


 

Telegram link

 

2018-05-01T16:14:38

 

When I did that in my test app, it did not work. Do I have to set something up in the IWTemplateProcessorHTML1 object?

 


 

Telegram link

 

2018-05-01T16:17:33

 

Yes, RenderStyles to FALSE

 


 

Telegram link

 

2018-05-01T16:22:16

 

True or False...it still shows the master template

 


 

Telegram link

 

2018-05-01T16:23:55

 

Question, What the the sever controller property called Full Path represent?

 


 

Telegram link

 

2018-05-01T16:26:04

 

How can I change that to where my app is really running?

 


 

Telegram link

 

2018-05-01T16:26:42

 

Is that the issue? Because I changed where the app EXE is created to a folder that is not under the development folder?

 


 

Telegram link

 

2018-05-01T16:28:48

 

You can see the template i send in action ?

 


 

Telegram link

 

2018-05-01T16:29:08

 

yes, that works

 


 

Telegram link

 

2018-05-01T16:29:22

 

ah ok

 


 

Telegram link

 

2018-05-01T16:29:40

 

I still do not know what makes it work though

 


 

Telegram link

 

2018-05-01T16:30:02

 

all form need a template processor

 


 

Telegram link

 

2018-05-01T16:30:15

 

with renderStyle = false

 


 

Telegram link

 

2018-05-01T16:30:21

 

OK, so where to I do that?

 


 

Telegram link

 

2018-05-01T16:30:27

 

all form need a HTML

 


 

Telegram link

 

2018-05-01T16:31:58

 

And where in the form do you point to that HTML?

 


 

Telegram link

 

2018-05-01T16:32:03

 

what property?

 


 

Telegram link

 

2018-05-01T16:32:08

 

or is it code?

 


 

Telegram link

 

2018-05-01T16:33:31

 

1 min

 


 

Telegram link

 

2018-05-01T16:33:52

 

if is the SAME NAME is automatic

 


 

Telegram link

 

2018-05-01T16:34:09

 

I have IWForm6 showing in the Design tab. I have properties on the left. What tells IWForm6 that it is using a template?

 


 

Telegram link

 

2018-05-01T16:34:28

 

All I see is setting LayoutMgr to IWTemplateProcessorHTML1

 


 

Telegram link

 

2018-05-01T16:36:59

 

In my test, that is not working, but in yours, it seems to work.

 


 

Telegram link

 

2018-05-01T16:37:19

 

in form you SET LayouMgr

 


 

Telegram link

 

2018-05-01T16:38:04

 

Yes, it is set to IWTemplateProcessorHTML1

 


 

Telegram link

 

2018-05-01T16:38:23

 

ok

 


 

Telegram link

 

2018-05-01T16:39:32

 

in the template processor you can set a name of template.html OR leave empty. In the case if is empty, they search templte with the SAME NAME the FORM

 


 

Telegram link

 

2018-05-01T16:39:55

 

OH!

 


 

Telegram link

 

2018-05-01T16:40:32

 

the template IS: IWForm6.html

 


 

Telegram link

 

2018-05-01T16:43:12

 

YES!!!!!! IT now works! That was it! Thanks so much!

 


 

Telegram link

 

2018-05-01T16:44:21

 

I knew it was something I was not grasping and it would be simple, but I could not get my idea across. Again, thanks so much!

 


 

Telegram link

 

2018-05-01T16:44:51

 

I'm glad to help you.

 


 

Telegram link

 

2018-05-01T16:45:05

 

Me too :)

 


 

Telegram link

 

2018-05-01T16:45:39

 

You have to make beautiful things now.

 


 

Telegram link

 

2018-05-01T16:45:42

 

??