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 ... 703 704 [705] 706 707 ... 744
10561
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

10562
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


10563
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

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

10565
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

10566
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

10567
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

10568
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

10569
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

10570
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

10571
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

10572
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

10573
Web Server - Ask For Help / Re: EIP is not getting Refreshed
« on: November 07, 2008, 07:25:35 AM »
Hi Sebastian,

Thanks for the example.

I've tested your example in PR18 and it's working well - so that appears to be fixed. (There were some EIP fixes in PR18 so I would expect that.)

In NetTalk 4 I don't have a menu script implemented that allows sub-menus, but that's on the list for NetTalk 5.

Cheers
Bruce

10574
Web Server - Ask For Help / Re: 4.31 String in Browse causes bad routines
« on: November 07, 2008, 06:56:42 AM »
Hi Chris,

>> A couple of things got me - Headers with HTML - thanx for the check box
p_web.gsv(something )  in the title. Used self.gsv and set the session variable in the procedure setup. A little ugly.

If you rename the object in the WebHandler procedure to "p_web" then the Session values are visible from there.
Alternatively set the Page Title to anything you like. (It was blank before, so set it to '' if you prefer).

>> An embed just after the Do BrowseRow might help.

added.

Cheers
Bruce

10575
Web Server - Ask For Help / Re: IE weirdness in 4.31
« on: November 07, 2008, 06:51:02 AM »
Hi Chris,

Is the site visible from here?
It might be a setting in your browser.

Cheers
Bruce

Pages: 1 ... 703 704 [705] 706 707 ... 744