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

Pages: 1 ... 695 696 [697] 698 699 ... 736
10441
Web Server - Ask For Help / Re: Trying to use BUFFERS
« on: November 21, 2008, 12:43:22 AM »
Hi Alberto,

Are you using a SQL backend?
The template already generates a buffer statement for you - except in cases where there are "known issues".
For example, the ODBC driver fails if you buffer and the Sort order contains a decimal field.

Cheers
Bruce

10442
Web Server - Ask For Help / Re: SOAPServer example without xFiles
« on: November 21, 2008, 12:28:02 AM »
GetInfo should be a NetWebPage procedure.

Cheers
Bruce

10443
News And Views / Version 4.31 PR 19 uploaded
« on: November 19, 2008, 08:14:49 AM »
This update has fairly few programming tweaks - just a little bit around the new locator's stuff. The WebServer Template Documentation though has been completely updated - at least for the Browse and Form templates (and some of the other ones as well). This is worth reading, especially for long time NTWS users who may have missed some of those settings I've sneaked in over the years.

Cheers
Bruce

10444
Web Server - Ask For Help / Re: Sorting/headers/selecting pr18
« on: November 18, 2008, 02:19:21 AM »
Hi Poul,

>> Selecting: Last build or two, I have trouble with the Select by Highlighting not clearing when i click one row than another. it works on the first click, the original highlighted row is no longer highlighted, but afterwards each click leaves the previous row still highlighted.

This is a sign that either the web folder hasn't been updated, or you've not pressed Ctrl-F5, or (less likely) that the stuff coming back is not correct xHtml.

>> Headers:  I see i can now have more than one line for a row.
Is there an obvious way to create a column headers for the columns not on the first line? 

At the moment there's no real obvious way it should _look_ (suggestions welcome). I think for the most part, the multi-row ones I've done, either have no header, or only a header for the "top row" in the browse.

>> Sorting: I was looking at the richer sorting in PR18 and wondering if there is a way to specify a column sort that is forced only one way?  ie always ascending or descending?

There's no way to do this at the moment.

Cheers
Bruce

10445
Hi John,

The solution to your request is complicated because you are fundamentally mixing asynchronous , and synchronous things here. And in short, the effect you're looking for is not gonna be easy to do.

Ironically the effect is easier in the WebBuilder app precisely because that's "all synchronous".

At it's core, the problem is that you can only pass html, not JavaScript, back to the page when you're doing an async update. If you could pass back JavaScript then you'd be ok. Alternatively you need to do the validation on the client-side, and then use JavaScript to click the button.

I'm not sure what your timing requirements are for this feature, but I'll add it to the list for NetTalk 5.

Cheers
Bruce


10446
Web Server - Ask For Help / Re: Uploading files to another web server
« on: November 15, 2008, 10:27:10 PM »
Hi Mike,

there are a few approaches here.

a) allow the upload to the NTWS, but then when a file arrives you can then move it off to your other server. At that point you could use anything - email, ftp, whatever. (you could even use a web client) - It all depends on what is on your main server.

b) you can send the file _directly_ to the main server, by just setting the URL of the save button on your form. However, this does imply a lot of "integration" between web pages on the two servers, as presumably the form contains more than just the uploaded file.

Of course, the question then becomes - what is the file for, and who needs to _retrieve_ it? (you can obviously create a link in the NTWS page to the file on the main server page if you like, if it's just simple file storage and retrieval.)

Cheers
Bruce

10447
News And Views / 4.31 PR 18 available
« on: November 10, 2008, 08:12:41 AM »

10448
Hi Alex,

Some examples use the hash value - some don't.
It's an additional security mechanism, as I recall, to stop the user pressing the "back" button to re-login.
You can probably remove it if you like.

I'm still having no joy duplicating the effect here.

Cheers
Bruce

10449
Web Server - Ask For Help / Re: Conditionally choose form path
« on: November 07, 2008, 05:32:28 PM »
Hi Tim,

You don't need the "2 form" approach.

You can validate the fields as they are entered, and offer the user options as you go. Incidentally I've seen this done on a couple sites, and it's very cool!

Cheers
Bruce

10450
Hi Mark,

Do you still have the 4.26/4.27 version of the site? Because nothing about cookies has changed in a long, long time.
So I suspect the change is in the browser, not the server. It's _possible_ that earlier versions were more forgiving of cookies not being enabled - but you're getting a physical warning so I would expect it to be the same.

Perhaps the server is in a different "zone" in IE now? or IE has changed? the Zone can be seen in the status bar at the bottom.

I don't think the DNS server is material - and given that you are running your program "as the domain" (ie no more one-site-embedded in another) I don't think any of the other suggestions of mine are material.

Have you tried accessing the site from elsewhere? (specifically can you give us a link so we can try from here?)

Cheers
Bruce

10451
Web Server - Ask For Help / Re: Auto Cleanup of My Field - How To Turn Off
« on: November 07, 2008, 05:25:52 PM »
Hi David,

ok, you don't need to make it a text field, but what you do need to do is make sure the field is _not_ sent to the server in "real time".

ie turn off auto-validate for the field, make sure it doesn't "reset" any other fields, and has "send new value to server" off.

the problem of "interpreting" the string is in the client-side (javascript) code, not the server side code. But by not sending the value to server, you can bypass the javascript code for now.

Cheers
Bruce

10452
Web Server - Ask For Help / Re: Auto Cleanup of My Field - How To Turn Off
« on: November 07, 2008, 05:19:39 PM »
Hi David,

try changing the field to be a "text" field. that has an xHtml setting. Mind you, I'm not sure that'll solve the problem. I'm investigating further.

Cheers
Bruce

10453
Hi Mike,

you need to add your web folder to your example because it contains a number of custom js and html files that your program is using.

Cheers
Bruce

10454
Web Server - Ask For Help / Re: NetWebForm generation timeout?
« on: November 07, 2008, 07:31:05 AM »
6 seconds sounds like a very short timeout Brian....
I'm not sure where that's coming from...

Cheers
Bruce

10455
Web Server - Ask For Help / Re: Bug in PR17 when setting LOC:FormOK
« on: November 07, 2008, 07:27:48 AM »
yes, I agree, I've fixed for the PR18 build.

Cheers
Bruce

Pages: 1 ... 695 696 [697] 698 699 ... 736