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 ... 712 713 [714] 715 716 ... 735
10696
Web Server - Ask For Help / Re: no Frame Border
« on: April 20, 2008, 09:40:10 AM »
Hi Thomas,

>> What I'm, doing wrong ?

Using IE for a browser  :). If you try in FireFox you'll see they appear.
But there's a work-around... I'm trying to remember what it was...
I'm not at my desk... but ...um... I think it had to do with the resize option - or the scroll bars... I'll test it out on Monday if you haven't got it by then.

Cheers
Bruce

10697
Web Server - Ask For Help / Re: WebBrowse with nested JOIN's
« on: April 20, 2008, 09:31:04 AM »
Hi Thomas,

As far as coding the View goes - any legal view structure can be done. there's an embed point _inside_ the view itself, so you can basically hand-code anything into the view that you like.

Cheers
Bruce

10698
The Rest - Ask For Help / Re: Close a particular connection
« on: April 18, 2008, 07:43:50 AM »
Hi Rick,

yes that is the right method.
The WebServer calls that exact method whenever it finishes sending a reply. The call looks like this;
WebServer.closeServerConnection(self.RequestData.OnSocket,self.RequestData.SockID)

So that makes me think it's something else that you're doing that's killing the server, because the call above clearly seems to work ok.

cheers
Bruce

10699
Hi All,

I have an internal build of NetTalk 4.31 which we are using on our NetTalk apps.
There are a number of substantive changes to the engine in this build, so I'm looking for 5 or 6 people who would be prepared to run this version on their apps to check for any regressions.

If you are currently releasing a NetTalk program, or about to release one, then this test is expressly not for you. The risk of regressions in this build is quite high - so I'm really interested more in folk who would not be materially affected by a regression that might be in for a day or two until a fix can be made.

If you're interested please drop me an email at
bruce at capesoft . com

Cheers
Bruce

10700
Web Server - Ask For Help / Re: pre Web project question - Images
« on: April 14, 2008, 12:00:35 AM »
Hi Thomas,

I'm not sure if I understand your question 100%, but here's what I think you're saying.

You have a parent table (let's call it "User").
There is a related table (let's call it "Photos") which contains many records for each User.
(the record contains the path to the image on disk.)

You'd like to make a browse on Photos where each row of the browse is 5 photos wide?
yes, you can do this.

Regarding thumbnails - there are a few approaches to this. One is to store pre-thumnailed versions of each image. This is obviously the fastest. The other is to generate a thumbnail of the image on the fly. You can do this using a normal Clarion Image library - something like ImageEx or FreeImage should do fine.

cheers
Bruce


10701
Web Server - Ask For Help / Re: pre Web project question - RTF control
« on: April 13, 2008, 11:55:39 PM »
Hi Thomas,

>> In my DB I have a RTF text. Is there anything like a RTF control for Web Server?

nothing that I'm aware of.

>> I think, I must go the HTML way.

yes, I think that's what usually happens.

>> Any ideas on libraries or so which convert RTF -> HTML ?

Google is your friend <g>... I haven't done any work in this direction, but others may chip in.

>> Is it possible to display the HTML text besides a browse (like a hotfield in ABC) ?

yes (whew).

cheers
Bruce

10702
Web Server - Ask For Help / Re: Issues with deployed app
« on: April 13, 2008, 11:48:29 PM »
Hi Gregg,

I'd start by checking 2 things;

a) the web folder obviously needs to be in the right place, and working. All the JS and CSS is in there, so if it was missing you'd get this effect.

b) You mention that the home page is a static page. So make sure all the necessary NetWebServer special bits are in there.
specifically;
1) the first line and
2) the bit inside the <head> section.

Cheers
Bruce


10703
Web Server - Ask For Help / Re: Entry field (String) reads 0,50 as 50
« on: April 11, 2008, 12:22:11 AM »
Hi Bjarne,

Some extensive testing later and I'm beginning to appreciate why the DEFORMAT command is more or less useless. I'd already re-coded it (the dFormat method) for the Time fields, and it appears that it could be a lot smarter for numbers as well.

I've re-coded the method to handle this though, and I think you'll be happy now.
(I'll send you the updated CLW in an email)
Sorry for the hassles.

Cheers
Bruce

10704
Hi Rob,

the rules for xHtml are mostly simple.
a) every tag MUST be closed (ie either <tab></tag> or <tag />)
b) the html is case sensitive - so use lower case for everything
c) be VERY careful of special characters - specifically <, >, and &. these should be encoded (preferably in the #xx; format.)
d) Tags must nest correctly. ie <tag1><tag2></tag1></tag2> is not allowed.

Cheers
Bruce

10705
Any chance of an example Casey?

Cheers
Bruce

10706
Web Server - Ask For Help / Re: Entry field (String) reads 0,50 as 50
« on: April 10, 2008, 12:51:01 AM »
Hi Tor-Bjarne,

hmm. This is what I'd expect. (I haven't tested any of this.)

Consider the "normal" clarion number
1,234.56
this is equal to 1234.56

with your pic this changes to
1.234,56

So for an entry field I'd expect it to accept 1.234,56 or 1,234.56 but not both.
Or am I missing something?

We could make the formatting more fancy, but then how should the following entries be interpreted
1,234
1234,56
1234.56
1.234
1.234,56
1.234.56


Cheers
Bruce

10707
Hi Rob,

If it's inside the <div> then it'll get regenerated (and resent) when the browse page changes.
ie on a sort-header change, prev / next and so on.

If it's inside the div, then it needs to be perfect xHtml. If the browse fails to work then I'm 99% sure it's not perfect (yet).

You should be ok to put it inside the div, if you want it refreshed all the time, but of course if it's static it's better outside the div anyway.

tip: if you have the project define
NetShowSend=>1
set in your app, then _outgoing_ responses from the server will be sent to DebugView as well. This is helpful to see what is going to the browser, and so where the bad html is. FireBug is also good for inspecting incoming async html.

Cheers
Bruce

10708
Hi Mike,

any chance you can post an example?

Cheers
Bruce

10709
You're thinking web Server Chris, whereas in this case it's web client...

cheers
Bruce

10710
Hi,

almost certainly the javascript is triggering an asyncronous GET. So you'd do a well-formed GET to simulate this. Probably with the header tweaked.

The best way to see it is to use a packet sniffer (Ethereal etc) to "see" the request if you do it manually. Pay attention to the headers.

Cheers
Bruce

Pages: 1 ... 712 713 [714] 715 716 ... 735