if you want to process some event by javascript, see inherited event code.
if you really need some specific HTML, you can implement it in *.wcHTMLgen(), at object or class level.
this.wcHTML = 'HTML you need'
The button also had the code set path to .....additive in it.
I noticed the FAA recommended moving that code. Since It was already in my sets.prg I just removed it and it started working. So it was just a path issue.
So for LAN mode I am keeping a main.prg for my app and for web mode, I just remove that program before FAA.
Thanks for the help, I will try your other suggestions soon regarding the studio.
I have a development question. Once I get the foxpro web portion functioning properly and I want to modify the HTML of the web pages, will I have to save separate versions of my changes.
For instance If I re run FAA won't all my HTML changes get overwritten?
Can I make modifications without stopping and restarting the web server/Studio. Right now if I try to make changes, I get an unable to access message.
Is there some more in depth documentation I need to read to catch up on these concepts?
Steve
did you adapt form1.scx?
what code do you have in form1.cmd.Click()?
in xxxServer.prg!xxxProcess, you should have:
procedure form1
this.wFormStandardPage('form1.scx') && not 'form1_scx'
I must be missing some key concept here. I am just getting started with FIC and I am trying to put together a demo for my boss so that I can show him what I could do with FIC in our environment.
I created a basic form with two buttons.
Each button is intended to launch another form.
The code in the button is just a simple DO FORM 'FORM2.scx'
it works fine in LAN mode. But when I try to press the button in web mode, nothing happens.
Also after I launch the main form a couple times I begin to get his error;
/!\ Site 'FoxInCloud App' - Elizprocess.wformstandardpage() - Awajax.forminitsave() - Awapphost.formlaunch(tcForm: 'form1_scx', tlSubForm: .F., m.tcSuffix: '') - A form previously instantiated bares the same name: "form1_scx"
Also, I am still not able to use the studio to launch the webserver engine. I have to go through the FAA and publish each time.
Thanks, steve