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

Pages: 1 [2] 3 4
16
Web Server - Ask For Help / Re: Priming
« on: July 13, 2014, 06:43:48 AM »
Terry,

Thanks for the reply.  You are correct, they are both memory forms.  I set the offending form to Insert as you suggested.  Unfortunately, that did not enable the prime on insert checkbox.  Although it is checked and disabled, the priming still doesn't work.

Alan

17
Web Server - Ask For Help / Priming
« on: July 11, 2014, 09:55:23 AM »
Hi Bruce,

I have two NetWebForms.  On one, priming works fine.  On the second, priming is not working.

One the form where it's not working, 'Prime for Insert' and 'Prime for Copy' are checked but Disabled.  I see no way to enable them.  Also, this form has 'User must be logged in' set.  That's the only differences I can see between the two forms.

Alan

18
Web Server - Ask For Help / CSS class disppears on logout
« on: July 11, 2014, 06:06:17 AM »
Hi Bruce,

I added a custom class in Webserver  \settings\styles\site tab.  It is in the Body Class field.   That field now reads 'tx-body nt-body'    instead of 'nt-body'.

This works fine when you first arrive at the site, when you login, and when you navigate to different pages. Firebug shows <body class="tx-body nt-body"> .

 But, when you logout and go to the LogoutPage, my 'tx-body' class disappears Firebug shows <body class="nt-body"> .

I can't find anyplace in the settings that makes this setting conditional.  Suggestions?

Alan

19
Thanks to you guys who suggested reducing the number of procedures per module.

I re-created the procedure (with about 200 fields, 4 browses, and 4 tabs) and I placed it in it's own procedure.

The app now compiles without error.

20
Web Server - Ask For Help / Re: ERROR: Too many segdef in file:E,4000
« on: July 01, 2014, 05:45:50 PM »
Thanks Keith

21
Web Server - Ask For Help / Re: ERROR: Too many segdef in file:E,4000
« on: June 30, 2014, 11:35:25 PM »
Thanks for the suggestions guys. Unfortunately, in trying to figure this out, I totally trashed my app file.  Tried everything to try to recover it and finally had to restore from a backup.  I lost two days of work but hey, I'm alive, so it can't be that bad! :-)

This all happened when I added a bunch of fields to that one procedure and Bruce did tell me if it was a NetTalk app the error is probably from too many fields on a page (on the news group).  So, I'm going with that theory and I'll redesign it to break the procedure into multiple forms..... not the cleanest interface but it'll work.

Alan


22
Web Server - Ask For Help / ERROR: Too many segdef in file:E,4000
« on: June 30, 2014, 12:53:13 AM »
Bruce,

I'm getting this error (ERROR: Too many segdef in file:E,4000) when I try to compile my NetTalk app.  You indicated on the user group that it could be caused by too many fields on a form (around 200 or more) - which is the case here.

The obvious solution is to break the form up into different procedures, but I really hate to do that.  Would compiling the data into a dll help with this Clarion limit.  Do you have any other suggestions?

Thanks

23
Web Server - Ask For Help / Re: <!--NET: tags
« on: June 27, 2014, 06:37:16 AM »
Perfect - thanks.

BTW - I did look at the online documentation first - but I didn't find it.  With all the information you have out there (online documentation, book, NetTalk Central, User Group, ClarionLive, we should never have to ask a question.  The problem is finding that one detail buried in the mountain of information.

24
Web Server - Ask For Help / Re: javascript error
« on: June 27, 2014, 05:13:06 AM »
Thanks Bruce.

Clearing out my \web\scripts folder did the trick.

25
Web Server - Ask For Help / javascript error
« on: June 27, 2014, 02:38:19 AM »
Bruce,

I had this problem in an earlier version of NT so I just updated to 8.17 hoping whatever file is messed up would be replaced.  Unfortunately, the error it's still there.

I have not touched any of the .js files.  I think the error is related to my menu because it fires everytime I open a new page.

TypeError: $.browser is undefined
var lameIE = $.browser.msie && $.browser.version < 9;                          jquery.....js?c=1 (line 36)

TypeError: $.browser is undefined
if ($.browser.msie) {                                                                             netweb.js?c=1 (line 683)



26
Web Server - Ask For Help / <!--NET: tags
« on: June 27, 2014, 02:22:21 AM »
Bruce,

I seem to remember there is a <!--NET:xxx>    tag to insert the contents of a variable or a session value into a procedure's xhtml.  But, I can't find any mention of it in the excellent Developing Web Applications with NetTalk manual.

If I am correct, would you kindly refresh me on the syntax for those tags.

Thanks

27
Hi Bruce,

Using C9.0, NT 8.11 and Xfiles 2.52.

I'm following your webinar on webservices and trying to serve a .tps file.  The file includes a memo field which appears to be generating an error because, when I change the field to a string, the error disappears. Here's the documentation Example response:

<dbInvData_response>
  <InvData>
    <INV_USERID>value</INV_USERID>
    <INV_TABLE>value</INV_TABLE>
    <INV_ITEMNUM>value</INV_ITEMNUM>
    <INV_FIELD>value</INV_FIELD>
    <INV_IMPORTED>value</INV_IMPORTED>
    <INV_INPUT><![CDATA[value]]></INV_INPUT> <-----Bruce, this is the memo field
  </InvData>

       ........

INV_INPUT is the memo field. When I test with a GET in the browser, I get the following error:

XML Parsing Error: not well-formed
Location: http://127.0.0.1:88/dbInvData?sFirmId=value&sCaseId=value&sPassword=value
Line Number 305, Column 25:    <INV_INPUT><![CDATA[

If I return a View instead of the table, the "![CDATA{" isn't in the example but I still get the XML Parsing Error.

Is there a problem with memo fields in the webservice templates or is it me? (or both :)

Alan

29
Hi Bruce,

I want to create several related but separate sites.  I have been reading up on building a host exe with dll's for the related sites.  But, I also need to have a secure site that's related.

Can a link on the home page of a non-secure site send the user to a login screen on a secure site?  I'm guessing that, if its possible, it would open a new browser tab for the secure site?

Thanks,

Alan

30
Web Server - Ask For Help / Re: Compile errors - Resolved
« on: May 19, 2014, 09:10:10 AM »
Sorry guys, I figured it out -  needed to update StringTheory

Pages: 1 [2] 3 4