This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
46
Web Server - Ask For Help / NetTalkClientSync
« on: March 12, 2019, 03:39:20 PM »
Hi,
Where can I find the NetTalkClientSync template?
Cheers,
Rene
Where can I find the NetTalkClientSync template?
Cheers,
Rene
47
Web Server - Ask For Help / parameters to a memoryform
« on: January 04, 2019, 04:44:03 PM »
Hi,
When I call a NetWebForm and I send some parameters in the url, I usually would hand code a p_web.storevalue() for each parameter right after the 'code' keyword in the procedure. Is this the right place?
If however I hand code for more parameters than there are in the URL, will this still work?
I think I have some trouble getting my parameters into the session_value_queue, using this method.
If required I'll send an example.
Rene
When I call a NetWebForm and I send some parameters in the url, I usually would hand code a p_web.storevalue() for each parameter right after the 'code' keyword in the procedure. Is this the right place?
If however I hand code for more parameters than there are in the URL, will this still work?
I think I have some trouble getting my parameters into the session_value_queue, using this method.
If required I'll send an example.
Rene
48
Web Server - Ask For Help / Droplist onchange not firing because _event_=rowclicked prevails? WHAT CAN I DO?
« on: January 04, 2019, 03:07:27 AM »
Hi,
I have created a select droplist per browse row.
When a value is selected, I want the server to do a location.href, depending on the value selected in the droplist.
It seems however that my onchange is "outsmarted" by the rowclicked event.
The select is written as:
<select id="1" name="?h=DXG0E0I8b5pfebx1MTxPuROi1W6mFLfa&m=Q&s=@J9DCSONCD" class="nt-browse-entry" style="width:" onchange="location_href(this)">
<option value="" selected="selected" class="nt-browse-entry">Pick option</option>
<option value="2" class="nt-browse-entry">Change</option>
<option value="5" class="nt-browse-entry">Display</option>
</select>
The html for the <select></select> is constructed and pasted in the browse as XHTML. (looks great!)
The JS part is written as:
function location_href(e) {
//console.log(e);
// debugger;
var myUrl;
myUrl = 'localhost:88/screen01' + e.name + '&t=opt&opt=' + e.value + '&sfr=' + e.id;
location.href = myUrl;
};
CopyAll and GzipAll are done.
I really need this functionality.
What can I do?
Cheers,
Rene Simons
I have created a select droplist per browse row.
When a value is selected, I want the server to do a location.href, depending on the value selected in the droplist.
It seems however that my onchange is "outsmarted" by the rowclicked event.
The select is written as:
<select id="1" name="?h=DXG0E0I8b5pfebx1MTxPuROi1W6mFLfa&m=Q&s=@J9DCSONCD" class="nt-browse-entry" style="width:" onchange="location_href(this)">
<option value="" selected="selected" class="nt-browse-entry">Pick option</option>
<option value="2" class="nt-browse-entry">Change</option>
<option value="5" class="nt-browse-entry">Display</option>
</select>
The html for the <select></select> is constructed and pasted in the browse as XHTML. (looks great!)
The JS part is written as:
function location_href(e) {
//console.log(e);
// debugger;
var myUrl;
myUrl = 'localhost:88/screen01' + e.name + '&t=opt&opt=' + e.value + '&sfr=' + e.id;
location.href = myUrl;
};
CopyAll and GzipAll are done.
I really need this functionality.
What can I do?
Cheers,
Rene Simons
49
Web Server - Ask For Help / Button with Server side code
« on: December 21, 2018, 03:28:09 AM »
Hi,
In my memory form, I have some fields, a browse and below that some buttons.
When I click my PageDownButton, some server side code is executed and I specified some items to be reset after the code is executed.
Based on the collected data in a log-file where I write some events that happened, I know that the serverside code is executed properly.
The resets/refreshes however do not take place.
The clicked button still looks like it is busy,
The browse is not refreshed. The 'old' data is still visible although is is refreshed in the TPS-file.
The Tab of my chrome-browse indicates that the page is ready. (no circular thingy spinning).
I am under the impression that I do something fundamentally wrong but I have no idea what.
Maybe anyone knows some extra items I can check?
Cheers,
Ren
In my memory form, I have some fields, a browse and below that some buttons.
When I click my PageDownButton, some server side code is executed and I specified some items to be reset after the code is executed.
Based on the collected data in a log-file where I write some events that happened, I know that the serverside code is executed properly.
The resets/refreshes however do not take place.
The clicked button still looks like it is busy,
The browse is not refreshed. The 'old' data is still visible although is is refreshed in the TPS-file.
The Tab of my chrome-browse indicates that the page is ready. (no circular thingy spinning).
I am under the impression that I do something fundamentally wrong but I have no idea what.
Maybe anyone knows some extra items I can check?
Cheers,
Ren
50
Web Server - Ask For Help / Button and servercode
« on: December 11, 2018, 12:49:37 AM »
Hi,
I have a button (button) and when I click it, it seems that the server code is not executed at all.
I can notice because the items I want to be reset are not reset and data in my database has not changed.
Is there any known issue about this?
Cheers,
Rene
I have a button (button) and when I click it, it seems that the server code is not executed at all.
I can notice because the items I want to be reset are not reset and data in my database has not changed.
Is there any known issue about this?
Cheers,
Rene
51
Web Server - Ask For Help / json straight into NetWebBrowse
« on: December 07, 2018, 03:47:32 AM »
Hi,
Is it possible or is there a way to move json data straight into a NetWebBrowse? Or do I need to move the data into a memory table first?
Cheers,
Ren?
C11
NT11.04
Is it possible or is there a way to move json data straight into a NetWebBrowse? Or do I need to move the data into a memory table first?
Cheers,
Ren?
C11
NT11.04
52
Web Server - Ask For Help / Off Topic IDE question
« on: December 03, 2018, 07:06:02 AM »
Hi,
I just installed C11 and NT11.
Normally, in Source procedures, I had to indent my code at least 1 position to the right.
Now the IDE automatically moves my code to the left. Nothing I can do about that.
Is there a setting in C11 where I can fix this?
Cheers,
Ren?
I just installed C11 and NT11.
Normally, in Source procedures, I had to indent my code at least 1 position to the right.
Now the IDE automatically moves my code to the left. Nothing I can do about that.
Is there a setting in C11 where I can fix this?
Cheers,
Ren?
53
Web Server - Ask For Help / Link to another page
« on: November 26, 2018, 04:55:44 AM »
Hi,
I have a browse where a field is a EIP droplist.
I would like to immediately go to another page after the user has selected a (new) value in one of the droplists in the browse.
In fact the droplist has to behave like a button (when a new value is picked).
Is this at all possible?
Cheers,
Ren
I have a browse where a field is a EIP droplist.
I would like to immediately go to another page after the user has selected a (new) value in one of the droplists in the browse.
In fact the droplist has to behave like a button (when a new value is picked).
Is this at all possible?
Cheers,
Ren
54
Web Server - Ask For Help / Delete all sessionvars that have the same prefix in the name
« on: August 19, 2018, 05:29:45 AM »
Hi Bruce,
Is it possible to delete all sessionvars that have the same prefix in the name? Or using a wildcard?
E.g. p_web.DltPfxSV('hlp*'). And this being case insensitive, ofcourse.
Rene
Is it possible to delete all sessionvars that have the same prefix in the name? Or using a wildcard?
E.g. p_web.DltPfxSV('hlp*'). And this being case insensitive, ofcourse.
Rene
55
Web Server - Ask For Help / new class for buttons
« on: July 18, 2018, 05:26:41 AM »
Hi Bruce,
For my project I need a check-button without the check icon.
I.e. only when a line in the browse is tagged the check sign needs to show.
I want the button to look in the same style as when the check icon is shown.
I asked around and a collegue came up with:
.my-icon-class { background-image: none !important; }
which works fine for me. I add it to the button conditionally, depending on the outcome of a test.
When the test says reveals checked= TRUE then the ui-icon-check class is used.
Maybe you could add a class like this to theme.css ??
Cheers,
Rene.
Btw: The advice you gave me during the webinar of july 13th works great. Thanks again!
For my project I need a check-button without the check icon.
I.e. only when a line in the browse is tagged the check sign needs to show.
I want the button to look in the same style as when the check icon is shown.
I asked around and a collegue came up with:
.my-icon-class { background-image: none !important; }
which works fine for me. I add it to the button conditionally, depending on the outcome of a test.
When the test says reveals checked= TRUE then the ui-icon-check class is used.
Maybe you could add a class like this to theme.css ??
Cheers,
Rene.
Btw: The advice you gave me during the webinar of july 13th works great. Thanks again!
56
Web Server - Ask For Help / Button that looks like Cancel but behaves like Save
« on: June 11, 2018, 11:57:50 AM »
Hi,
I need a button next to my Save button in a form that looks like a Cancel button but behaves like a save.
The reason for this is that when the user cancels, the validateall needs to be executed and also the data from the input fields must be posted to the server as wel.
I have created a save button but now I need to find out which one of the save buttons is being used and I don't want to check on the _buttontext_ parameter.
Also, the server side code cannot be used because the code first executes the validate part of the cycle.
Cheers,
Rene
I need a button next to my Save button in a form that looks like a Cancel button but behaves like a save.
The reason for this is that when the user cancels, the validateall needs to be executed and also the data from the input fields must be posted to the server as wel.
I have created a save button but now I need to find out which one of the save buttons is being used and I don't want to check on the _buttontext_ parameter.
Also, the server side code cannot be used because the code first executes the validate part of the cycle.
Cheers,
Rene
57
Web Server - Ask For Help / Room between parent and child browse
« on: April 09, 2018, 11:05:35 PM »
HI,
Is it possible to increase the space between a parent and child browse when they are placed next to eachother?
They seem a little bit crammed together.
I recall them being further apart in the past, or am I wrong here?
Cheers,
Rene
Is it possible to increase the space between a parent and child browse when they are placed next to eachother?
They seem a little bit crammed together.
I recall them being further apart in the past, or am I wrong here?
Cheers,
Rene
58
Web Server - Ask For Help / ODBC iSeries AS/400
« on: March 26, 2018, 09:05:32 AM »
Hi all,
I would like to use FM3 SQL_connect for an ODBC connection with an Iseries/AS400.
One way or another I have to select a backend from the list in the connection window, which does not contain an Iseries/AS400 option.
Doe anyone know how I can set the connection string?
Cheers,
Ren
I would like to use FM3 SQL_connect for an ODBC connection with an Iseries/AS400.
One way or another I have to select a backend from the list in the connection window, which does not contain an Iseries/AS400 option.
Doe anyone know how I can set the connection string?
Cheers,
Ren
59
Web Server - Ask For Help / Unknown identifiers starrting with ?
« on: March 25, 2018, 11:33:35 AM »
Hi,
I get a lot of unknown identifiers starting with ?
See attachment
Rene
I get a lot of unknown identifiers starting with ?
See attachment
Rene
60
Web Server - Ask For Help / Difference betweeen user clicked on a row and User clicked change button (on row
« on: February 20, 2018, 01:51:06 PM »
Hi,
In my app I have a browse where I can click the row OR click the change button in the same row.
At this moment is the case that when I click the button the CallClicked routine is executed before the update procedure is called.
I know this because I let the CallClicked routine do a GenerateBrowse, of which I see the result just before the update form appears.
Question: Is there a way to determine the button click from the row click and process them as mutually exclusive.
Cheers,
Rene
In my app I have a browse where I can click the row OR click the change button in the same row.
At this moment is the case that when I click the button the CallClicked routine is executed before the update procedure is called.
I know this because I let the CallClicked routine do a GenerateBrowse, of which I see the result just before the update form appears.
Question: Is there a way to determine the button click from the row click and process them as mutually exclusive.
Cheers,
Rene