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 ... 704 705 [706] 707 708 ... 736
10576
News And Views / Re: NetTalk Pre-Release version 4.31 available
« on: September 09, 2008, 07:13:26 AM »
PR12 is now available
http://www.capesoft.com/ftp/public/prerelease/index.htm
Lots of little fixes. Please remember to update your web folder.

Cheers
Bruce

10577
Hi Sjoerd,

Which version are you using? That really doesn't sound like standard behavior.
Can you duplicate that effect in an example?

Cheers
Bruce

10578
Web Server - Ask For Help / Re: Pocket Pc and Nettalk
« on: September 07, 2008, 10:55:50 PM »
Hi Jorge,

Which version of IE is it running?
I've heard that the Opera browser has a LOT better success when running on hand-helds.

Cheers
Bruce

10579
Web Server - Ask For Help / Re: Switch Browses on forms dynamically
« on: September 04, 2008, 11:25:36 PM »
hi Kevin,

so
a) add all the browses you want to offer
b) make them "hide" based on some condition
c) change the condition value with the buttons press.
d) set the button to "refresh the browse form fields when pressed".

Cheers
Bruce

10580
Hi Sjoerd,

>> With that said I want to give me visitors the ability to use client-side sorting.

I don't recommend this at the moment. The client-side-sorting script has a number of unwelcome side effects.
Certainly you shouldn't use it on a page-loaded browse because it would only be able to sort what they can see. (and they'd lose the benefit of the locator).

It's probably that the client-side sorting will get a revamp (along with a lot of other JavaScript) in NetTalk 5 - but at the moment I don't have plans to re-do it for NetTalk 4. I think the server side sorting is more useful at the moment.

cheers
Bruce

10581
Web Server - Ask For Help / Re: Auto Refresh A Browse
« on: September 04, 2008, 07:00:35 AM »
Hi David,

I suppose the question is - what are you expecting to see?
"Current" shows the current position (as distinct from first, or last) so unless one of the records you are looking at changes, there won't be anything to see.

The other issue is if any of your browse columns have "allow xhtml" ticked on. Or you have allowed xhtml in the header, or on the xhtml tab. It what you've got is not _strict_ xHtml then the browse will not display. The most common mistakes are;

a) a tag not closed properly. like <p> (should be <p /> or <br> (should be </br>).
b) an "illegal" char, like & in the text.

Cheers
Bruce

10582
Web Server - Ask For Help / Re: Form Tabs - Tab Condition
« on: September 04, 2008, 06:57:30 AM »
unfortunately it's not easy to do this at the moment Kevin.

Cheers
Bruce

10583
Hang on, there's already a NetWebServerWorker.MakeErrorPacket method.
Although it's probably a fairly recent addition.

So in WebHandler you can override that (look at the code in netweb.clw for the sort of things you should put in there.

Cheers
Bruce

10584
Hi Vince,

I think the worker class needs a MakeErrorPage method, that usually just calls the Server class. Then you can override this method in the WebHandler (and there you will have the session ID).
I'll try and squeeze this into the next build (which is coming out tomorrow).

Cheers
Bruce

10585
Hi Charl,

well done. This could be simplified to

if not p_web &= NULL
  self.cancelled = 1
end

right before the
    IF ~SELF.Cancelled
line

I'll tweak the template to support this.
Thanks
Bruce

10586
The Rest - Ask For Help / Re: Anyone done an RSS feed?
« on: August 21, 2008, 10:11:52 PM »
Oh, and of course, what I didn't say is that there's no need for you to actually save the XML file. You could generate it, and send it from memory every time it is requested.

This would allow for some really interesting things. For example, say you had a software release RSS feed. So when you add something to this all the RSS readers alert their users, and the program is downloaded. By generating the XML file on the fly, you could "stagger" the information release.

For example, if 5 people are already downloading the release, then don't the release in any RSS requests. When the downloads are complete, then go back to announcing the release. In this way the "notification of the release" is balanced against the people downloading it, thus not overloading your server all in one go.

cheers
Bruce

10587
The Rest - Ask For Help / Re: Anyone done an RSS feed?
« on: August 21, 2008, 10:08:20 PM »
Hi Mike,

Yep, that's pretty much all there is to it.

Incidentally you don't mention how often records will be changed, and this would determine how often a user sets his RSS reader to Poll. What you don't want is some RSS reader (or worse yet 100 of them) polling every minute. Unless bandwidth is very cheap for you.

xFiles has some docs on making RSS-style XML files. Which means you can turn a file (like an In-Memory file for example) into an RSS XML file with 1 line of code. (well may be a handful depending on what you want.) It's a lot easier to manipulate the length etc of the IM table so this is the approach I'd take.

Cheers
Bruce

10588
Web Server - Ask For Help / Re: Calendar not working in my app
« on: August 21, 2008, 12:32:20 AM »
p_web.GetValue('loc:date')

Cheers
Bruce

10589
Web Server - Ask For Help / Re: PayPal Integration?
« on: August 20, 2008, 01:11:25 AM »
Hi Mike,

as far as I know Brian did get it all working, but unfortunately it's not the easiest example to share because it contains passwords etc which are unique to him. However I will try and strip that out, and then make the example available as a "non working" example - ie you'd need to add your own access information to make it work.

regarding the URL, yes, definitely I would include the session value. However since you are generating the URL directly, you can include the sessionID as-is in the generation. ie

p_web.SetSessionValue('ppreturnpage','http://216.218.174.155:89/listorders?SessionID='&p_web.SessionID&'&msg=Thank&%20you%20for%20your%20order!')

Cheers
Bruce

10590
Web Server - Ask For Help / Re: Calendar not working in my app
« on: August 20, 2008, 12:44:05 AM »
Hi Ray,

Your calendar problem is being caused by the Date field being in the Unique key for the form.

As you know, fields in the unique key cannot be changed on the form (although they can be displayed on the form).

In your case, make a local field to get the date from the user, and then assign that date to the field just before the record is saved (ie ValidateRecord routine).

Cheers
Bruce

Pages: 1 ... 704 705 [706] 707 708 ... 736