From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
-- thn (FoxInCloud)
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
-- thn (FoxInCloud)
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
-- thn (FoxInCloud)
ThisForm.wuValue = 1
ThisForm.Release
And this is the log when i execute the app..
does Form4.button.wFormCallBack() execute on the server?
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
can you provide the server response to _form_bolletino_riga.commandbutton5.click()?
looks like this response makes the wrong form active (_form_impianto.ActivateInet)
In form5.button.click this is the code:
ThisForm.wuValue = 1
ThisForm.Release
And this is the log when i execute the app..
does Form4.button.wFormCallBack() execute on the server?
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
-- thn (FoxInCloud)
the problem occurs on the client, server processing is OK
can you provide the server response to _form_bolletino_riga.commandbutton5.click()?
looks like this response makes the wrong form active (_form_impianto.ActivateInet)
In form5.button.click this is the code:
ThisForm.wuValue = 1
ThisForm.Release
And this is the log when i execute the app..
does Form4.button.wFormCallBack() execute on the server?
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
you can find it in
- server status > last HTML response
or
- firebug, like here:
Where can i find the server response ?
the problem occurs on the client, server processing is OK
can you provide the server response to _form_bolletino_riga.commandbutton5.click()?
looks like this response makes the wrong form active (_form_impianto.ActivateInet)
In form5.button.click this is the code:
ThisForm.wuValue = 1
ThisForm.Release
And this is the log when i execute the app..
does Form4.button.wFormCallBack() execute on the server?
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
HTTP/1.1 200 OK
Content-type: text/xml
Set-Cookie: mob=45Z0NDXBM; path=/; expires=Tue, 17 Mar 2015 22:00:00 GMT<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
true boolean
<script>(function(){
var dStart = new Date();
var grd = $('_form_bollettino-_pageframe1-page1-_grid1');
if (grd){
var oGrid = $('_form_bollettino-_pageframe1-page1-_grid1').oGrid, oTable = $('_form_bollettino-_pageframe1-page1-_grid1').oTable, oTempl;
oGrid.defineControlProperty('DataUpdate', false);
oGrid.defineCellProperty('CurrentControl', null);
oGrid.setRowCount(1);
var scrollTop = oGrid.getScrollTop();
oGrid.setCellModel(oTable);
oGrid.setVirtualMode(false);
oTable.setURL("Temp/_45Z0NGJFF_6204.xml");
oTable.setAsync(false);
oTable.request();
scrollTop && oGrid.setScrollTop(scrollTop);
oGrid.setSortDirection();
oGrid.refresh();
oGrid.defineRowProperty('tuRow', null);
var srp = oGrid.setRowProperty.bind(oGrid);
srp('tuRow',1,0);
srp = null;
oGrid.defineRowProperty('Clicked', false);
oGrid.onRowMouseDown = function(event, row){this.setRowClicked(true, row)};
oGrid.onRowMouseUp = function(event, row){this.setRowClicked(false, row)};
oGrid.onCurrentRowChanged = function(row){
var value = this.getRowProperty('tuRow', row);
if (!(this.disabled || value === null)){
if (!this.getRowClicked(row) && FoxInCloud.gridRowChangeDelay > 0){
if (this.nTO) window.clearTimeout(this.nTO);
this.nTO = FoxInCloud.gridMethod.bind(FoxInCloud).delay(FoxInCloud.gridRowChangeDelay, 'wAfterRowChange', $('_form_bollettino-_pageframe1-page1-_grid1'), value);
}
else FoxInCloud.gridMethod('wAfterRowChange', $('_form_bollettino-_pageframe1-page1-_grid1'), value);
}
this.setRowClicked(false, row);
};
oGrid.onKeyBackspace = function(event){
Event.extend(event).stop();
};
oGrid.setSelectedRows([-1]);
oGrid.setSelectedRows([0]);
oGrid.disabled = true;
oGrid.setCurrentRow(0);
oGrid.disabled = false;
}
dStart = new Date() - dStart;
console && console.log && console.log("'_form_bollettino-_pageframe1-page1-_grid1' grid script took 100 ms to generate on the server, " + dStart + " ms to execute on the browser, total " + (dStart + 100) + " ms.\n" + 'awhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_oxmlchanges() - 36 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_rs() - 2 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_events() - 57 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_() - 61 ms');
})();</script>45Z0NDXBM 0.015 2.10 beta13 {^2014-09-02 01:43:46 PM} 1.502667
Michele,
you can find it in
- server status > last HTML response
or
- firebug, like here:
Where can i find the server response ?
the problem occurs on the client, server processing is OK
can you provide the server response to _form_bolletino_riga.commandbutton5.click()?
looks like this response makes the wrong form active (_form_impianto.ActivateInet)
In form5.button.click this is the code:
ThisForm.wuValue = 1
ThisForm.Release
And this is the log when i execute the app..
does Form4.button.wFormCallBack() execute on the server?
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
_form_bolletino_riga.commandbutton5.click()
?
script deals with _form_bollettino-_pageframe1-page1-_grid1 located on _form_bollettino
it should deal wit objects on _form_bollettino_riga only ...
we might need a TV session on this one ...
After i click the button, this is the LAST HTML output:
HTTP/1.1 200 OK
Content-type: text/xml
Set-Cookie: mob=45Z0NDXBM; path=/; expires=Tue, 17 Mar 2015 22:00:00 GMT<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
true boolean
<script>(function(){
var dStart = new Date();
var grd = $('_form_bollettino-_pageframe1-page1-_grid1');
if (grd){
var oGrid = $('_form_bollettino-_pageframe1-page1-_grid1').oGrid, oTable = $('_form_bollettino-_pageframe1-page1-_grid1').oTable, oTempl;
oGrid.defineControlProperty('DataUpdate', false);
oGrid.defineCellProperty('CurrentControl', null);
oGrid.setRowCount(1);
var scrollTop = oGrid.getScrollTop();
oGrid.setCellModel(oTable);
oGrid.setVirtualMode(false);
oTable.setURL("Temp/_45Z0NGJFF_6204.xml");
oTable.setAsync(false);
oTable.request();
scrollTop && oGrid.setScrollTop(scrollTop);
oGrid.setSortDirection();
oGrid.refresh();
oGrid.defineRowProperty('tuRow', null);
var srp = oGrid.setRowProperty.bind(oGrid);
srp('tuRow',1,0);
srp = null;
oGrid.defineRowProperty('Clicked', false);
oGrid.onRowMouseDown = function(event, row){this.setRowClicked(true, row)};
oGrid.onRowMouseUp = function(event, row){this.setRowClicked(false, row)};
oGrid.onCurrentRowChanged = function(row){
var value = this.getRowProperty('tuRow', row);
if (!(this.disabled || value === null)){
if (!this.getRowClicked(row) && FoxInCloud.gridRowChangeDelay > 0){
if (this.nTO) window.clearTimeout(this.nTO);
this.nTO = FoxInCloud.gridMethod.bind(FoxInCloud).delay(FoxInCloud.gridRowChangeDelay, 'wAfterRowChange', $('_form_bollettino-_pageframe1-page1-_grid1'), value);
}
else FoxInCloud.gridMethod('wAfterRowChange', $('_form_bollettino-_pageframe1-page1-_grid1'), value);
}
this.setRowClicked(false, row);
};
oGrid.onKeyBackspace = function(event){
Event.extend(event).stop();
};
oGrid.setSelectedRows([-1]);
oGrid.setSelectedRows([0]);
oGrid.disabled = true;
oGrid.setCurrentRow(0);
oGrid.disabled = false;
}
dStart = new Date() - dStart;
console && console.log && console.log("'_form_bollettino-_pageframe1-page1-_grid1' grid script took 100 ms to generate on the server, " + dStart + " ms to execute on the browser, total " + (dStart + 100) + " ms.\n" + 'awhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_oxmlchanges() - 36 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_rs() - 2 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_events() - 57 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_() - 61 ms');
})();</script>45Z0NDXBM 0.015 2.10 beta13 {^2014-09-02 01:43:46 PM} 1.502667
Michele,
you can find it in
- server status > last HTML response
or
- firebug, like here:
Where can i find the server response ?
the problem occurs on the client, server processing is OK
can you provide the server response to _form_bolletino_riga.commandbutton5.click()?
looks like this response makes the wrong form active (_form_impianto.ActivateInet)
In form5.button.click this is the code:
ThisForm.wuValue = 1
ThisForm.Release
And this is the log when i execute the app..
does Form4.button.wFormCallBack() execute on the server?
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
-- thn (FoxInCloud)
Tomorrow morning if you want i am in office....
this is really the response to
_form_bolletino_riga.commandbutton5.click()
?
script deals with _form_bollettino-_pageframe1-page1-_grid1 located on _form_bollettino
it should deal wit objects on _form_bollettino_riga only ...
we might need a TV session on this one ...
After i click the button, this is the LAST HTML output:
HTTP/1.1 200 OK
Content-type: text/xml
Set-Cookie: mob=45Z0NDXBM; path=/; expires=Tue, 17 Mar 2015 22:00:00 GMT<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
true boolean
<script>(function(){
var dStart = new Date();
var grd = $('_form_bollettino-_pageframe1-page1-_grid1');
if (grd){
var oGrid = $('_form_bollettino-_pageframe1-page1-_grid1').oGrid, oTable = $('_form_bollettino-_pageframe1-page1-_grid1').oTable, oTempl;
oGrid.defineControlProperty('DataUpdate', false);
oGrid.defineCellProperty('CurrentControl', null);
oGrid.setRowCount(1);
var scrollTop = oGrid.getScrollTop();
oGrid.setCellModel(oTable);
oGrid.setVirtualMode(false);
oTable.setURL("Temp/_45Z0NGJFF_6204.xml");
oTable.setAsync(false);
oTable.request();
scrollTop && oGrid.setScrollTop(scrollTop);
oGrid.setSortDirection();
oGrid.refresh();
oGrid.defineRowProperty('tuRow', null);
var srp = oGrid.setRowProperty.bind(oGrid);
srp('tuRow',1,0);
srp = null;
oGrid.defineRowProperty('Clicked', false);
oGrid.onRowMouseDown = function(event, row){this.setRowClicked(true, row)};
oGrid.onRowMouseUp = function(event, row){this.setRowClicked(false, row)};
oGrid.onCurrentRowChanged = function(row){
var value = this.getRowProperty('tuRow', row);
if (!(this.disabled || value === null)){
if (!this.getRowClicked(row) && FoxInCloud.gridRowChangeDelay > 0){
if (this.nTO) window.clearTimeout(this.nTO);
this.nTO = FoxInCloud.gridMethod.bind(FoxInCloud).delay(FoxInCloud.gridRowChangeDelay, 'wAfterRowChange', $('_form_bollettino-_pageframe1-page1-_grid1'), value);
}
else FoxInCloud.gridMethod('wAfterRowChange', $('_form_bollettino-_pageframe1-page1-_grid1'), value);
}
this.setRowClicked(false, row);
};
oGrid.onKeyBackspace = function(event){
Event.extend(event).stop();
};
oGrid.setSelectedRows([-1]);
oGrid.setSelectedRows([0]);
oGrid.disabled = true;
oGrid.setCurrentRow(0);
oGrid.disabled = false;
}
dStart = new Date() - dStart;
console && console.log && console.log("'_form_bollettino-_pageframe1-page1-_grid1' grid script took 100 ms to generate on the server, " + dStart + " ms to execute on the browser, total " + (dStart + 100) + " ms.\n" + 'awhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_oxmlchanges() - 36 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_rs() - 2 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_events() - 57 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_() - 61 ms');
})();</script>45Z0NDXBM 0.015 2.10 beta13 {^2014-09-02 01:43:46 PM} 1.502667
Michele,
you can find it in
- server status > last HTML response
or
- firebug, like here:
Where can i find the server response ?
the problem occurs on the client, server processing is OK
can you provide the server response to _form_bolletino_riga.commandbutton5.click()?
looks like this response makes the wrong form active (_form_impianto.ActivateInet)
In form5.button.click this is the code:
ThisForm.wuValue = 1
ThisForm.Release
And this is the log when i execute the app..
does Form4.button.wFormCallBack() execute on the server?
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
You need to get the response from firebug or any similar browser dev tool
I cut&paste....
Tomorrow morning if you want i am in office....
this is really the response to
_form_bolletino_riga.commandbutton5.click()
?
script deals with _form_bollettino-_pageframe1-page1-_grid1 located on _form_bollettino
it should deal wit objects on _form_bollettino_riga only ...
we might need a TV session on this one ...
After i click the button, this is the LAST HTML output:
HTTP/1.1 200 OK
Content-type: text/xml
Set-Cookie: mob=45Z0NDXBM; path=/; expires=Tue, 17 Mar 2015 22:00:00 GMT<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
true boolean
<script>(function(){
var dStart = new Date();
var grd = $('_form_bollettino-_pageframe1-page1-_grid1');
if (grd){
var oGrid = $('_form_bollettino-_pageframe1-page1-_grid1').oGrid, oTable = $('_form_bollettino-_pageframe1-page1-_grid1').oTable, oTempl;
oGrid.defineControlProperty('DataUpdate', false);
oGrid.defineCellProperty('CurrentControl', null);
oGrid.setRowCount(1);
var scrollTop = oGrid.getScrollTop();
oGrid.setCellModel(oTable);
oGrid.setVirtualMode(false);
oTable.setURL("Temp/_45Z0NGJFF_6204.xml");
oTable.setAsync(false);
oTable.request();
scrollTop && oGrid.setScrollTop(scrollTop);
oGrid.setSortDirection();
oGrid.refresh();
oGrid.defineRowProperty('tuRow', null);
var srp = oGrid.setRowProperty.bind(oGrid);
srp('tuRow',1,0);
srp = null;
oGrid.defineRowProperty('Clicked', false);
oGrid.onRowMouseDown = function(event, row){this.setRowClicked(true, row)};
oGrid.onRowMouseUp = function(event, row){this.setRowClicked(false, row)};
oGrid.onCurrentRowChanged = function(row){
var value = this.getRowProperty('tuRow', row);
if (!(this.disabled || value === null)){
if (!this.getRowClicked(row) && FoxInCloud.gridRowChangeDelay > 0){
if (this.nTO) window.clearTimeout(this.nTO);
this.nTO = FoxInCloud.gridMethod.bind(FoxInCloud).delay(FoxInCloud.gridRowChangeDelay, 'wAfterRowChange', $('_form_bollettino-_pageframe1-page1-_grid1'), value);
}
else FoxInCloud.gridMethod('wAfterRowChange', $('_form_bollettino-_pageframe1-page1-_grid1'), value);
}
this.setRowClicked(false, row);
};
oGrid.onKeyBackspace = function(event){
Event.extend(event).stop();
};
oGrid.setSelectedRows([-1]);
oGrid.setSelectedRows([0]);
oGrid.disabled = true;
oGrid.setCurrentRow(0);
oGrid.disabled = false;
}
dStart = new Date() - dStart;
console && console.log && console.log("'_form_bollettino-_pageframe1-page1-_grid1' grid script took 100 ms to generate on the server, " + dStart + " ms to execute on the browser, total " + (dStart + 100) + " ms.\n" + 'awhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_oxmlchanges() - 36 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_rs() - 2 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_events() - 57 ms\nawhtml.fxp!Awhtmlgen.gethtml_grd_aw_cscript_() - 61 ms');
})();</script>45Z0NDXBM 0.015 2.10 beta13 {^2014-09-02 01:43:46 PM} 1.502667
Michele,
you can find it in
- server status > last HTML response
or
- firebug, like here:
Where can i find the server response ?
the problem occurs on the client, server processing is OK
can you provide the server response to _form_bolletino_riga.commandbutton5.click()?
looks like this response makes the wrong form active (_form_impianto.ActivateInet)
In form5.button.click this is the code:
ThisForm.wuValue = 1
ThisForm.Release
And this is the log when i execute the app..
does Form4.button.wFormCallBack() execute on the server?
(you can get it from wwRequestLog, or read it on _screen if you run in debugmode)
if not, what method execute when you close form5?
1) In Desktop mode it works fine.
2) The code in the click() is:
=Use("Rtt")
If Seek(ThisForm.Ido,"Rtt","Ido")
Select Rtt
Scatter Name oRtt
Use In Rtt
ThisForm.wForm('_form_bollettino_riga','wFormCallBack',0,oRtt, ThisForm.User)
Else
Use In Rtt
EndIf
And the code in wFormCallBack is:
LPARAMETERS tuUserChoice && @ {fr} Choix de l'utilisateur {en} User's choice
If tuUserChoice = 1 or tuUserChoice = 2
ThisForm.rowsQuery()
Endif
Where rowsQuery() makes some queries and refresh the grids in the form...
1/ how does it work in desktop mode?
2/ what code do you have in Form4.button.click?
Mainform.button.click
Form1.button.click
Form2.button.click
Form3.button.click
Form2.wformcallback
Form1.button.wformcallback
Form4.button.click
Form5.button.click
At this moment i expect to go to form4.button.wformcallback and to see form4 as active form, but instead i have form1 as active form and i see form4 under it not available because form1 is modal
To make it clearer, could you express the sequence as illustrated below:
main.button.click() > form1.button.click() > form2 > form1.button.wFormCallBack() > Form3 > ...
Thanks,
This is the problem i have when i work with this structure:
From my main form i call a new form (Form1); in this form i have a button that calls a new form (Form2) where i can enter some data and then if i confirm i release this form and from the wFormCallBack of the button i call another form (Form3); in this last one with a button i call another new form (Form4).
The problem is that when i close Form4 (the last one) instead of returning on Form3; the active form is Form1. I can see Form3 under it but to go on it i have to close Form1. So it is not respected the correct sequence on closing form.....
Thanks
-- thn (FoxInCloud)