NetTalk Central

Show Posts

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.


Topics - Jeffrey Kuijt

Pages: [1] 2
1
Hi Bruce,

Using Clarion 6.3 9058 EE (ABC) with NT 5.39 with TPS files.

My customer runs our NTWS application on a Windows 2003 SBS Server SP2.
The application and data (TPS files) are on a H-share which is on a Synology NAS (and it has to be on that location).
My customer has to restart our NTWS application once or twice a day.

They work with multiple people and suddenly their browser isn't responding anymore (connection lost), sometimes when they simply page through the records of a browse and sometimes when they click on OK to submit the form. They use IE8, IE9, Firefox 11, Chrome and Safari 5 on pc's and Macs as browser.

When the connection has lost, my customer looks at that moment on their server:
- At the right bottom, the taskbar icon (which I handle with WinEvent) of the NTWS is still shown, but when you hover with the mouse over it, the taskbar icon disappears.
- NTWS shows no errors at all.
- In the Windows Event Log of the server, also NO errors are found.
- I use CapeSoft MessageBox to log errors etc, but also NO errors in the log file.

Could it be the threading issue with the TopSpeed file driver on a multicore system?
Today I will touch the NTWS exe with imagecfg to bind the exe to 1 core and see if that helps.

I have also seen myself this issue on my own machine (with Intel Core i7), but very very rarely.

Bruce, do you have some advice?

Best regards
Jeffrey

2
Hi,

Question 1
On a NetWebForm, how can I change the position of the Save (Submit) button?
I have just one input field and want to have the Submit button after this field on the same line.
I understand that I cannot use an Other button, because when the user press on the Enter key (cursor is still in the input field!) then the ValidateAll routine won't take place.
So I have to use the default Save button which I can tick on in the templates.

Question 2
Can the Save button als be hidden?
BUT validation of all fields must be taken place, when the user hits the Enter key. Is that possible?

Best regards
Jeffrey

3
Web Server - Ask For Help / Return DYNAMIC packet string - How?
« on: February 08, 2012, 10:24:57 AM »
Hi all,

I use the packet STRING to build a JSON string, but sometimes the JSON string can be very big and the packet string is at that moment too short.
So how can I dynamically return the correct sized packet string?

Should I buy StringTheory for this?
Or can it be done with normal Clarion code? How?

Best regards and thanks
Jeffrey

4
Hi Bruce,

I have changed my Number Fields to String Fields and use a numeric picture.
We have customers that use a COMMA as decimal, for example: 1,25
But we have also customers that use a PERIOD as decimal, for example 1.25

At this moment I have a string field with picture @N5`2B (comma as decimal separator), but this only accepts a COMMA.
When I use a PERIOD, it's going wrong.

So the question is:
How do I accept on a string field the pictures @N5`2B (comma as decimal separator) AND @N5.2B (period as decimal separator)?

I hope there is a solution!

Best regards
Jeffrey

5
Hi Bruce,

I am looking for a good calendar in NT6 with month/week/day view with drag and drop.
Currently, NT6 doesn't support this completely.
I have looked at example 12 (HotDates) but it doesn't contain the "whole package".

I saw a very nice Calendar jQuery Plugin: FullCalendar.
It would be great if this plugin could be working in NT6 with my TPS files.  ;D
I think there are more NT users who are looking for a complete calendar plugin in NT6.
Please look at the following links.
Can you tell me if it's hard to support FullCalendar?

Best regards
Jeffrey

FullCalendar links:

http://arshaw.com/fullcalendar/

http://speckyboy.com/2010/05/13/50-fundamental-jquery-controls-and-rich-ui-components/

http://weblogs.asp.net/gunnarpeipman/archive/2010/02/03/using-fullcalendar-jquery-component-with-asp-net-mvc.aspx

http://www.youtube.com/watch?v=GEuHli7onQw

http://www.youtube.com/watch?v=UKUu9KJxunI

http://blog.shinetech.com/2011/08/05/building-a-shared-calendar-with-backbone-js-and-fullcalendar-a-step-by-step-tutorial/

http://thejimgaudet.com/articles/support/web/jquery-fullcalendar-example-change-bg-colorusing-jqueryui-themes/

http://www.zivtech.com/blog/fullcalendar-fully-loaded

http://www.planbox.com/blog/development/coding/full-calendar-jquery-widget-simply-awesome.html

6
Web Server - Ask For Help / Planner Control: drag and drop possible?
« on: January 11, 2012, 05:32:19 AM »
Hi Bruce,

I am studying the HotDates 12 example.
With the NetWebYear and NetWebMonth control I see that it's possible to drag and drop items.

But with the Planner control, this isn't possible?
It would be very very handy if you can drag and drop items in the Planner control.

Best regards
Jeffrey

7
Hi

My customer asks me the following:

When he selects a record from a lookup with the small inline [v]-button: is this also possible with a hyperlink?
So he wants the complete row in the lookup to be shown as hyperlinks on which he can click to select the record.

Is that easy?

Best regards
Jeffrey

8
Hi all,

I think this is a serious issue:

When I access an NTWS application (version 4 or 5.39 web app) with IE9 browser and I look at Task Manager (iexplore.exe) you see the memory grow and grow, when you click in the NTWS application.
I tried a Windows 2008 machine with IE9 and when I press the "Home" menu item a lot and I look at the Task Manager, the memory is growing very quickly to 200.000 K and more and more.
I also tried some Windows 7 machines with IE9 and also, the memory in Task Manager of iexplore.exe is growing very quickly.

Can somebody confirm this?
So start IE9.
Browse to your NTWS application.
Look at your Task Manager at iexplore.exe.
Press the "Home" menu item a lot (or navigate in your web application) and you see grow the memory in Task Manager.

In IE8 and Firefox there are NO issues.

I googled and found the following problems of other users when using jQuery with IE9:

http://forums.asp.net/t/1739735.aspx/1
http://social.microsoft.com/Forums/en-IE/Offtopic/thread/a7d41189-db39-4080-8b21-b01f487e93ac

Bruce, can you confirm this?

Best regards
Jeffrey

9
Hi all

I want to implement SSL in my webserver app.

Questions:

1. How does it work?
2. Are there free SSL certificates? If not, what are the costs?

Best regards
Jeffrey

10
Web Server - Ask For Help / Support for jQuery Slider?
« on: November 14, 2011, 10:06:38 AM »
Hi Bruce,

I need a Slider control in my NetTalk app.
Is there any support for the nice jQuery Slider control?
See: http://jqueryui.com/demos/slider/

That would be great!

Best regards
Jeffrey

11
Hi all,

Do you have some experience with CapeSoft MessageBox in a NetTalk WebServer app?

When do you use it?
Do you have some tips and tricks?

I have read that using the Clarion MESSAGE() function will result in hanging the server program.

I would like to hear your experience or some tips and tricks you use.

Thanks and best regards
Jeffrey

12
Hi Bruce,

This is a big problem for me and my customers.
We have just upgraded the iPads to the new iOS 5.0 version.
Websites (and also NetTalk apps) are loading much faster in iOS 5.0, so that's very nice.

BUT in iOS 5.0:
Now our NetTalk application shows Number Fields as "empty".
And you see the error "Error in site JavaScript" for a fraction of a second when pressing insert/change on a browse or when returning from the form to the browse.

Please look at:
http://www.adsystemsmedia.nl/Bug-Number-Fields-iOS5.pdf
for a very detailed explanation.

In iOS 4.3.3 none of these problems, but I can't forbid my customers to upgrade to the new iOS 5.0 with lots of new features.

Using the latest NetTalk 5.38 with the latest web folder.

Please help!

Best regards
Jeffrey

13
Web Server - Ask For Help / No Selection Bar on MULTI-ROW Browse!
« on: September 23, 2011, 01:00:07 AM »
Hi,

(Using NT 5.36 with the 5.34 web folder because of the "lookup bug".)

I have a NetWebBrowse with 2 rows of data, for example:

row1: CustomerID | CustomerName
row2: CustomerAddress

In the settings of the field "CustomerName" I have set "Last On Line" to ON.

Now when the browse is shown, I see 2 rows of data, so that's ok.
But the grey selection bar on the first record is gone.

After that I select a record, so then I see the 2 rows are becoming grey (selected).
I press Change to change the record and when I press Save, I come back in the browse.
But again, no grey selection bar on the record I have just changed!

The template generates this code:
Code: [Select]
  Loc:Selected = Choose(p_web.IfExistsValue('CUS:CusID'),p_web.GetValue('CUS:CusID'),p_web.GetSessionValue('CUS:CusID'))
When I check the value of Loc:Selected, it contains the correct CusID.
But no selection bar on the record in the browse!

When I set "Last On Line" to OFF, so I have 1 row with data, then THERE IS a grey selection bar on the record that I have last changed, so that is ok.

Question is: Why isn't this working on MULTI-ROW browses?  ???

Is there a problem in netweb.js?
I see something with data-nt-rows, data-nt-value and data-nt-id.

Who can help me with this please?
It's very annoying not to have a grey selection bar when you return from the form to the browse.

Best regards
Jeffrey

14
Hi,

In WebHandler, embed ProcessLink, before Parent Call I have set the Dutch translation of the jQuery Datepicker. See below.
This is working very well with Date Fields on Forms, but I have several browses with Date Locators and here the Date Options are ignored!
So on Date Locators I get the English default Datepicker.
How can I solve this?

Best regards
Jeffrey

Code: [Select]
  Self.site.DateOptions = 'monthNames: [''januari'', ''februari'', ''maart'', ''april'', ''mei'', ''juni'', ''juli'', ''augustus'', ''september'', ''oktober'', ''november'', ''december'']'&|
                          ',monthNamesShort: [''jan'', ''feb'', ''maa'', ''apr'', ''mei'', ''jun'', ''jul'', ''aug'', ''sep'', ''okt'', ''nov'', ''dec'']'&|
                          ',dayNames: [''zondag'', ''maandag'', ''dinsdag'', ''woensdag'', ''donderdag'', ''vrijdag'', ''zaterdag'']'&|
                          ',dayNamesMin: [''zo'', ''ma'', ''di'', ''wo'', ''do'', ''vr'', ''za'']'&|
                          ',dayNamesShort: [''zon'', ''maa'', ''din'', ''woe'', ''don'', ''vri'', ''zat'']'&|
                          ',closeText: ''Annuleren'''&|
                          ',currentText: ''Vandaag'''&|
                          ',dateFormat: ''dd-mm-yyyy'''&|
                          ',nextText: ''Volgend'''&|
                          ',prevText: ''Vorig'''&|
                          ',showWeek: true'&|               !toon weeknummers
                          ',weekHeader: ''wk'''&|           !dit wordt boven de weekkolom getoond
                          ',firstDay: 1'&|                  !kalender begint op maandag i.p.v. zondag
                          ',showOtherMonths: true'&|        !toon ook de dagen van andere maanden
                          ',selectOtherMonths: true'&|      !selecteer ook de dagen van andere maanden
                          ',buttonText: ''Hulpkalender'''&| !tooltip van het kalendericoontje
                          ''

15
Web Server - Ask For Help / Browse Filter: v5.33 is slower than v4.29
« on: August 28, 2011, 11:13:00 PM »
Hi Bruce,

Something weird:

I have two versions of my NetTalk WebServer app for testing:
One in version 4.29 and one in version 5.33.
Both exes are running locally on a Windows Vista pc in C:\test.
But the DATA is on a Windows 2003 SBS Server in \\dellserver\d$\testdata.

I have a NetWebForm (memory) where you can fill in a key word to filter on the description field in the browse.
After I fill in a key word, for example "bruce" and I press the Filter button, the NetWebBrowse starts filtering.
The file contains 5500 records and version 4.29 takes 6 seconds, but version 5.33 takes 11 seconds to filter 4 records out of the 5500 records.
Using TPS files.
I can't run the exes locally on the Windows 2003 SBS Server.
The filter code is in the "Browse Filter" embed, so not in the "Validate Record" embed.

So same code, one compiled with 4.29 and one compiled with 5.33.

Bruce, do you have any idea why browse filtering is slower in version 5?

Best regards
Jeffrey

Pages: [1] 2