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 - kingja

Pages: [1] 2 3 ... 6
1
Web Server - Ask For Help / File Upload NT 9.27
« on: May 19, 2017, 08:25:18 AM »
I sometimes need to upload a revised version of a PDF document to a BLOB.  I can successfully upload the first version, but if I click on change and upload the revised version, the file name is changed but the actual contents of the BLOB are still the old version.  Note the file name usually is the same for the first and second version, but can sometimes change.  Any thoughts on how to get the BLOB to update properly?

Thanks,

Jeff

2
I have  a new app added to my many dll apps hosted by the Host.exe app.  It runs fine but I have an issue.  In code I have added the QuickPDF library.  The idea is to use it to fill in a pdf before printing.  See the attachment for a sample of my code.

At the top of the code, I attempt copy a blank pdf to the web\reports folder, after renaming the pdf.  This does not seem to work...no pdf is copied to the reports folder.  This does work when I run the dll app as a local exe webserver.  Thus, I get an error from the QuickPDF.LoadFromFile method.  Is there a trick to writing to the web\reports folder?  I'm on C10.0.11987 and NT 9.06.

Thanks,

Jeff King


3
Web Server - Ask For Help / NT 9.04 app, login/logout problems
« on: March 05, 2016, 11:07:24 AM »
     I created a new template generated NT 9 app.  I find that there is a problem with the login and logout procedures.  When I hover the cursor over the Login button on the menu, it does not change to the "finger pointer".  If I click this button, the login form does appear.  I enter demo/demo and I seem to be logged in.  However, the Logout button does not appear, it is still the Login button.  If I next click the home button, then the Logout button appears and the countdown counter shows in the lower right.  However, the Logout button does not do anything and the "finger pointer" cursor still does not show. 
     I have tried this app in IE 11 and the latest Chrome browser.  I have attached a zip with the app and dct files should anyone want to test this.  Can anyone tell me where the problem is?

Thanks,

Jeff King

4
Web Server - Ask For Help / NT 9 app, print to Seiko label printer?
« on: March 05, 2016, 08:42:38 AM »
I'm getting ready to try this but thought I would post to see if anyone has any thoughts...is this possible or not possible.  I have prototyped the functions for the Seiko SLP SDK and all works well in a standard desktop app.   I now want to see if a NT 9 app will be able to print to a locally attached Seiko SLP.  Anyone have any experience or thoughts on this?

Thanks,

Jeff King

5
Web Server - Ask For Help / NT 8 with NT 9
« on: December 07, 2015, 09:14:49 AM »
Bruce,

     I saw the ClarionLive webinar last Friday.  I have a copy of NT 9 but before installing, wanted to know if NT 8 and NT 9 can co-exist in my C10 installation.  I want to continue developing NT 8 apps, and ease on into NT 9.

Thanks,

Jeff

6
Web Server - Ask For Help / Problem with Nettalk Central?
« on: June 27, 2015, 08:16:58 PM »
I can't view my last post, to the problem I have with regards to Apache web server and NetTalk.  It comes up blank.  Can anyone else see it?

Thanks,

Jeff King

7
Web Server - Ask For Help / Apache web server and Host.exe
« on: June 19, 2015, 06:44:38 AM »
     I'm seeking some advice.  I have numerous NT8 web apps running on host.exe on my physical server.  All run using a wildcard certificate, on port 443.  I have another non-clarion app that makes use of Apache and php that I want to run on the same physical server.  I want this app to also use the same wildcard certificate on port 443.
     As an example, I have 2 NT apps: " NT1.mydomain.org" and "NT2.mydomain.org".  I want to add to this  "appache1.mydomain.org".  This is my first experience with Apache/PHP and currently this app is on port 8010.  Can someone suggest how to make all these work together on port 443?

Thanks,

Jeff King

8
Web Server - Ask For Help / Multiple select in a drop list
« on: April 29, 2015, 04:37:56 PM »
Bruce,
 
     Multi-select in a drop list populates the field with  "  ;|;multiple;|;  ".  I also find the drop list is always open on the form.  I see from a search that this has been an issue in the past.  Is this a bug or expected behavior?  Am I required to manually handle the user selections?

Thanks,

Jeff

9
Web Server - Ask For Help / CSS and DIV's
« on: April 27, 2015, 09:59:58 AM »
Bruce,

     I have a memory form on which I display various charts created with RGraph.  Each chart is created with HTML code added on the XHTML tab of the form.  I added DIV's around each and then created the following CSS:

 .patientstatus {
 width: 50%;
 float: left;
}

 .reexcision {
 width: 50%;
 float: left;
}

 .pathology {
 width: 50%;
}

.excisional {
 width: 60%;
 float: left;
}

.lumpectomy {
 width: 40%;
 float: left;
}

 .physsurvexc {
 width: 50%;
 float: left;
 clear: left;
}

 .physsurvlump {
 width: 50%;
 float: left;
}

     This gives me the effect I'm looking for, see the attached image.  However, the Close button is in the center, not at the bottom left where it should be.  Any thoughts?

Thanks,

Jeff

[attachment deleted by admin]

10
Web Server - Ask For Help / Insert variable into XHTML code
« on: April 15, 2015, 11:15:45 AM »
     I have some XHTML code as follows:

<h1>Sample Study Stats Graph</h1>

    <canvas id="cvs1" width="500" height="250">[No canvas support]</canvas>
   
    <script>
        $(document).ready(function ()
        {
            var bar = new RGraph.Bar({
                id: 'cvs1',
                data: [[100,5,3],[4,8,6],[4,2,4],[4,2,3],[1,2,3],[8,8,4],[4,8,6]],
                options: {
                    labels: {
                        self: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],
                        above: true
                    },
                    colors: ['red','yellow', 'pink'],
                    bevel: !RGraph.ISOLD,
                    grouping: 'stacked',
                    strokestyle: 'rgba(0,0,0,0)'
                }               
            }).draw()
        })
    </script>

Notice the line starting with data:, I want to fill this line with a local variable that has been pre-set.  The variable is inst1_pre.   I have changed the data: line to read the following:

 data: <!-- Net:s:inst1_pre -->,

This does not work.  How can I insert the NT variable into this XHTML code?  Using NT 8.41, C9.1.11529.

Thanks,

Jeff King

11
Web Server - Ask For Help / TinyMCE issues continue...
« on: March 28, 2015, 12:46:40 PM »
Bruce,

     I still have issues with TinyMCE.  This is a C9.11529 NT 8.41 app.  I'm calling a pop-up form, in IE 11, that has the TinyMCE editor enabled.  I can add a record.  Then, when trying to edit the record, it won't save.  In Firefox, saving an edited record does work properly.  However, there is another problem within Firefox.  If I try to insert a link into the text, I find I cannot enter any text into the Link form that appears.  See the attached image.

     Issues with TinyMCE has been an ongoing problem for me since I think 2012.  Searching the forum seems to indicate you had a fix for this early on with version 8.  Were you able to fix this?  Any advice?

Thanks,

Jeff


[attachment deleted by admin]

12
Web Server - Ask For Help / email and settings.ini
« on: March 22, 2015, 03:14:38 PM »
Bruce,

     I'm revisiting an old app based on the secwin nettalk example.  When I try to add a new user and have an email sent with a link to finalize the new user, nothing seems to happen...no errors, etc.  I do see a record added in the dssw5.tps file (operators.png), but no email is sent to the target email address I enter.  I have also attached an image of my settings.ini file (TestSettings.png).
     I believe I have the smtp settings correct, as I use these settings in a client app to receive email daily.  I have compiled an run this web app locally on port 443 with SSL.  I'm using NT 8.41.  Any thoughts?

Thanks,

Jeff

[attachment deleted by admin]

13
I seem to recall an example app that allowed users to change their password, via receiving email.  I can't seem to find this.  Or maybe it was in the docs?  Can someone point me in the right direction?

Thanks,

Jeff

14
Web Server - Ask For Help / Using RChart in NT 8.40 app
« on: March 09, 2015, 07:43:11 PM »
Bruce,

     I have been experimenting with a JavaScript charting library called RChart.  I created a WebPage procedure and added the necessary JS code to the XHTML tab.  A sample chart was created successfully when I called this procedure from a menu item.  Next, I created a memory form with three tabs.  On tab 1 I created a field of type procedure, and had it call the webpage procedure from above.  This causes the chart to be placed in the header of all subsequent pages, see the attached image of my login page.  I can't see where I went wrong.  Any suggestions?

Thanks,
Jeff

[attachment deleted by admin]

15
Web Server - Ask For Help / Using session variable to insert xhtml
« on: March 04, 2015, 09:41:18 AM »
Bruce,

     I have a home page (NetWebPage) that simply displays some info about the current user.  Thus there is a lot of white space.  I thought I would build a messaging system to allow me to display messages.  So I created a routine to create a session variable called StudyMessage.  The test code is as follows:

p_web.SSV('StudyMessage', '<span style="color: #ff00ff; font-size: 12pt;">message </span>in <span style="color: #ff0000;">red</span>')
  
I then added a <!-- Net:s:StudyMessage --> tag to the XHTML tab, as seen in the attached image xhtml.png.

The end result shows the literal text of the HTML, see image homepage.png.  Can you point me to where I went wrong?

I should add, that I want to pull blocks of xhtml from a database and populate the session variable.

Thanks,

Jeff


[attachment deleted by admin]

Pages: [1] 2 3 ... 6