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.


Messages - Rob Kolanko

Pages: 1 2 [3] 4 5 ... 16
31
Web Server - Ask For Help / Re: Example 14 - Print with PDFTools
« on: December 15, 2014, 12:51:04 PM »
Hi Guys,
I am looking for a replacement for the Softvelocity PDF report. Report PDF with images built by SV are huge. Any recommendations?

Rob

32
I do not have secwin, so I cannot run example 51. But in example 48 (tagging), I noticed that the Jquery "Yes/No" check box is the default  for EIP on a column. In the app, checking the Jquery  check box does not change the Yes/No on the row. In the EIP section, you can uncheck the "use Jquery check box" and the standard browser check box is used which does work nicely.

Rob

33
Thanks Bruce,
Wow, I was all set rebuild my custom themes from scratch. The URL in the CSS file saved me allot of time. However, I should have seen that this information on the Themeroller URL is in the NT webserver documentation on Themes.

In NT8, a tool tip (title) of "close" has been added to "X" close button. This text does not appear to passed through the webhandler translate method for translation.  My French speaking customers are happier with no tip at all, than English text.


Rob.

34
Hi Bruce,
The file "jquery-ui.css" fixed the ui-lightness theme, but it did not fix my other themes created in NT7. This file made my other themes look like with the same colors as ui-lightness. Also there a number of errors reported in Debugview for image files that did not exist.
Is there any way to upgrade themes created in NT7 to NT8?  If not I guess I will have to recreate the themes as best as I can in Theme roller. What version of jquery should we generate the themes for ?

Thanks,
Rob

35
Hi Djordje,

I think you may have the same problem, because you say "mostly return 0", which also can mean that it sometimes does work. Here is how to test. Start your browser fresh, not a new tab, but a cold start. Then connect to your web server program and log in. If your browse size does change (_screenHeight_ is returning a value), next log out and log back in and your browser size is not working  (_screenHeight_ is returns 0) then you have the same problem as me. You will have to add the code in Bruce's post.

Rob

36
What is the name of the file that is missing. I am trying to keep some themes that I created in NT 7 with my products. Other than this issue, my themes where updated and working fine when I upgraded to NT 8.

Also in NT8, a tool tip (title) of "close" has been added to this button. This text is not being passed through the webhandler translate method for translation.  I am happier with no tip at all, than a text that can not be translated.

Rob

37
Hi Bruce,
I see that in NT8, you revised the "getscreensize" JavaScript  to be more efficient by only updating the session value on server when the screen size has changed. Unfortunately, I (and I suspect others) have a problem with the new script because I delete the session after the user logs out which includes the _screenWidth_ session value. Thus when the user logs in again the _screenWidth_ session value contains zero because the “getscreensize” function does not know that the server session value was erased.  I use the _screenWidth_ session value to set the number of columns of my text box controls to fit my web pages.
For me, I solved the issue by clearing the JavaScript session storage on my log in web page which will trigger the "getscreensize" JavaScript  to update the server session variable. I added packet.append('sessionStorage._ScreenWidth_=0;') in the "7 Inside Script" embed. I wanted to let you know, but I am not sure how you can fix this issue generically for everyone and I hope that you keep the efficiency in the script.

Thanks,
Rob Kolanko

38
Web Server - Ask For Help / Popup windows difference between NT7 and NT8
« on: November 21, 2014, 02:43:40 PM »
I am upgrading a web server application from NT 7.31 to NT 8.30.  In NT 8, popup windows have a different close window icon in the upper right hand corner.  My users prefer the plain “X” icon of NT 7, can I get that icon back?

When popup window calls another popup window, the resize window icon of the first window displays through the second popup window. See attached image. Clicking on the resize icon brings the window beneath to the forefront, which is not good. In NT7 the  resize icon did not display through the second window.

Thanks,
Robert Kolanko


[attachment deleted by admin]

39
Web Server - Ask For Help / Re: Mime Types
« on: September 23, 2014, 11:55:46 AM »
Hi Bruce,
Your assumptions were correct and with the added code in the web handler, the content type is now what we need  for our files.
Thank-you,
Rob

40
Web Server - Ask For Help / Mime Types
« on: September 22, 2014, 08:11:44 AM »
Hi Bruce,
We want to replace a IIS server with a NetTalk server. On the IIS server, we are serving files with a unique file extension to our clients where our application process the file on the user’s machine.  On the IIS server, we set the MIME type for the extension of these files to "application/octlet-stream" which tells the browser to execute an app for this file type, similar as PDF reader displays a PDF file.  Likewise I will need to change the "Content-Type" of the Response Header for this type of file in the NetTalk web server. Where is the best place to do this? Should I check every file sent in the _sendfile webhander method for the our file extension and how do I then set the “Content-Type” in the Response Header for this file? Or is there a better method?

Thanks
Rob

41
Web Server - Ask For Help / Re: Urgent please, Error in site JavaScript
« on: February 28, 2014, 11:54:35 AM »
I think you are on the right track. The CopyAll.bat copies all the required files into the web directories that you said are empty. Run the CopyAll.bat and see if  your web directories get populated. I have to run the CopyAll.bat and GzipAll.Bat manually too, because I have a variable not a literal in the "Web directory" field of the "NetTalk or NetSimple" extension of the webserver procedure. Thus the template does not know where to copy the files and does not run the batch file. The batch file is still created using the default "web" subfolder.

I hope this helps.
Rob Kolanko
   

42
Hi Bruce,
In my NT web applications, I added a message hook procedure to handle any messages that clarion can throw in server application. If an "Index out of range" error message is triggered then message hook procedure forces the application to GPF. (peek into address 0). This forces the GPF Reporter to dump the procedure stack where I am able to isolate the code that caused the "Index out of range" error.
At a customer site an "Index out of range" error was reported.  The GPF reporter dump revealed that error occurred in NetWeb.clw at line 11518. This is in the NetWebServerWorker.UTFToAscii  method at a following line:
   if utfmap[utf] > 0
The line before is
   if utf <= maximum(utfmap,1)
so variable "utf" must be zero or less to cause the Index out of Range error.  I modified the range change code (see green text)  to check for values below the range of the array.
   if utf <= maximum(utfmap,1) and utf > 0
      if utfmap[utf] > 0
   …..
   else
      returnValue[y] = chr(255) ! probably means the utfmap needs to be expanded
   end
Thus if variable "utf" is zero or less, the character is handled as if it was not a valid character.

I cannot duplicate the error but it has happened twice at a customer site. I do not know how the customer  is managing to get a null into the variable.  But they have a number of international users, I suspect it is the entry of some special character. Please consider adding a similar range check on this index variable to the array in a future NT release.

Thanks,
Rob Kolanko

43
When a user clicks on a particular column to sort, I would like to change the locator type from "position" to "search" for that column only. Thus when the user selects another column to sort, the locator type changes back to "position". Can this be done?
Thanks
Rob

44
Thanks Bruce. Look forward to the release.

Rob Kolanko

45
Web Server - Ask For Help / Re: IE11
« on: December 19, 2013, 08:58:17 AM »
Hi Bruce,
The IE11 on win 2008 server has Enhanced Security Configuration enabled (not restricted mode). I believe this is just higher security levels for internet. I set my web site as a trusted site and dropped the security on trusted sites to the lowest level. But I still have issues with IE11 on the win 2008 server.
I have a web page with form and a browse templates. The form has buttons above the browse that sets a session variable that changes the browses conditional filters. Below the browse are buttons that process the selected record. When the page first appears, all buttons work.  When the user press the button to change the filter, the browse response with new list of  records. After the new filtered list is displayed, the buttons below the browser no longer operate, and no transmission (gets or posts) are seen at the server when these buttons are pushed.  No errors are displayed on IE developers (F12) console. However, all the other buttons work, e.g. browse navigation buttons, the browse filter buttons above the browse. Also selecting records on the browse is sending "Get" transmissions to server. If I refresh the web page, the lower buttons start working again. And the weird part, everything works fine with IE11 running on Win7 computers that we have at the office.  I will try to tests with a few virtual Win 2008 server, to see if this issue is just on this server. The virtual servers will need to have IE11 installed first.  I do not believe that any of my customers would ever use Win 2008 server OS as clients, so problem is not pressing to me, but I thought you may wish to know what I observed.

Rob

Pages: 1 2 [3] 4 5 ... 16