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.
10681
Web Server - Ask For Help / Re: Pocket Pc and Nettalk
« on: September 14, 2008, 09:56:18 PM »
Hi Jorge,
I suspect it won't solve the problem, but I suppose it's worth a try.
I think what I need from you is the "User-Agent" that the mobile appears to the server as.
ie, look at the server log, and pick out the User-Agent bit. For Firefox (2) it looks like the bit below...
GET /FrameFooter HTTP/1.1
Host: 127.0.0.1:88
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Cheers
Bruce
I suspect it won't solve the problem, but I suppose it's worth a try.
I think what I need from you is the "User-Agent" that the mobile appears to the server as.
ie, look at the server log, and pick out the User-Agent bit. For Firefox (2) it looks like the bit below...
GET /FrameFooter HTTP/1.1
Host: 127.0.0.1:88
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Cheers
Bruce
10682
Web Server - Ask For Help / Re: Conditional Fields on a Form (with Hide Condition)
« on: September 11, 2008, 10:08:48 PM »
Hi Stan,
I don't have a fixed date in mind, but it'll be probably Sept or Oct.
I'm trying to get to a gold release as soon as possible.
Cheers
Bruce
I don't have a fixed date in mind, but it'll be probably Sept or Oct.
I'm trying to get to a gold release as soon as possible.
Cheers
Bruce
10683
News And Views / Re: NetTalk Pre-Release version 4.31 available
« on: September 11, 2008, 07:48:53 AM »
PR13 is up. This just has a better Multi-DLL example, and more docs on doing multi-dll apps.
Cheers
Bruce
Cheers
Bruce
10684
Web Server - Ask For Help / Re: EIP - Browse Refresh
« on: September 11, 2008, 07:47:53 AM »
Hi Bryan,
In the EIP settings, Client-Side Tab, you can set the Browse to refresh after the EIP if you like. If you get smart you could make it dependent on the current sorting column.
To be honest I'm in two minds as to whether this would be a good or bad feature. If you were editing a bunch or records you'd probably go crazy...
Regarding the record not found errors, I'd love an example of that if you can please.
Cheers
Bruce
In the EIP settings, Client-Side Tab, you can set the Browse to refresh after the EIP if you like. If you get smart you could make it dependent on the current sorting column.
To be honest I'm in two minds as to whether this would be a good or bad feature. If you were editing a bunch or records you'd probably go crazy...
Regarding the record not found errors, I'd love an example of that if you can please.
Cheers
Bruce
10685
Web Server - Ask For Help / Re: Conditional Fields on a Form (with Hide Condition)
« on: September 11, 2008, 07:44:58 AM »
Hi Stan,
When you write your memoirs remember me ok? I've added this feature to version 4.31, PR 14. There's nothing you need to do on your side it's automatic.
Since I haven't released PR14 yet, I'm attaching an update WEB folder (as a zip) to this post. If you use PR12, or PR13 with this Zip it should work like magic.
Cheers
Bruce
[attachment deleted by admin]
When you write your memoirs remember me ok? I've added this feature to version 4.31, PR 14. There's nothing you need to do on your side it's automatic.
Since I haven't released PR14 yet, I'm attaching an update WEB folder (as a zip) to this post. If you use PR12, or PR13 with this Zip it should work like magic.
Cheers
Bruce
[attachment deleted by admin]
10686
Web Server - Ask For Help / Re: NetTalk web app within an Iframe
« on: September 11, 2008, 07:14:44 AM »
Hi Leroy,
Since the header and footer may change, why not make them iFrames in _your_ window, and fetch _them_ from the parent site.
ie
Make a whole page...
Consisting of 3 parts...
Top and Bottom part are iFrames, fetching the header and footer from the "parent" site.
Middle part is the dynamic bit.
this would work because neither the header, nor footer, include JavaScript - so would not incur the cross-site-scripting issue.
Alternatively - If the header and footer are "reasonably static" they could be stored as HTML "snippets" in the web folder, and included as needed using the <!-- Net:F:filename --> tag. so if they got updated on the main site, they'd get copied to your web folder as well, but it's not like you'd have to recompile or anything.
If you're _really_ clever you automate the update of the snippets so that your server "fetches" the header and footer from the main site from time to time.
Cheers
Bruce
Since the header and footer may change, why not make them iFrames in _your_ window, and fetch _them_ from the parent site.
ie
Make a whole page...
Consisting of 3 parts...
Top and Bottom part are iFrames, fetching the header and footer from the "parent" site.
Middle part is the dynamic bit.
this would work because neither the header, nor footer, include JavaScript - so would not incur the cross-site-scripting issue.
Alternatively - If the header and footer are "reasonably static" they could be stored as HTML "snippets" in the web folder, and included as needed using the <!-- Net:F:filename --> tag. so if they got updated on the main site, they'd get copied to your web folder as well, but it's not like you'd have to recompile or anything.
If you're _really_ clever you automate the update of the snippets so that your server "fetches" the header and footer from the main site from time to time.
Cheers
Bruce
10687
Web Server - Ask For Help / Re: New page returns client-side 'sortable' to default serverside table
« on: September 09, 2008, 10:38:35 PM »
Mike,
I think that question deserves it's own thread...
Cheers
Bruce
I think that question deserves it's own thread...
Cheers
Bruce
10688
Web Server - Ask For Help / Re: _busy.gif showing all the time
« on: September 09, 2008, 10:37:39 PM »
Hi Mike,
Theres a 99% chance this just means you haven't copied the latest web folder to your app.
That's the usual case where I see it.
The other 1% would be because the "reply" from the server is not valid xHtml. In other words when you press whatever button, or row, or whatever that causes the Busy gif to appear, then the reply coming to the browser is not correct. If this happens the busy won't disappear.
Cheers
Bruce
Theres a 99% chance this just means you haven't copied the latest web folder to your app.
That's the usual case where I see it.
The other 1% would be because the "reply" from the server is not valid xHtml. In other words when you press whatever button, or row, or whatever that causes the Busy gif to appear, then the reply coming to the browser is not correct. If this happens the busy won't disappear.
Cheers
Bruce
10689
Web Server - Ask For Help / Re: NetTalk web app within an Iframe
« on: September 09, 2008, 10:31:22 PM »
Hi Leroy,
Yeah, you're gonna have a problem running JavaScript from one site inside another site. And that's effectively what you're trying to do here.
In essence, IE is doing a "security" thing - by preventing one site from "mixing" with another site. If you think about it for a bit, allowing two sites to "mix" is not good for the host site.
the solution of course is not to have two sites, but to host the whole thing as one site. Or to make two sites, but to make all the pages from the two sites distinct from each other. In other words you'd have no problem calling one site from the other, backwards and forwards, it's strictly a problem because you are wanting to "include" the one site inside another.
Cheers
Bruce
Yeah, you're gonna have a problem running JavaScript from one site inside another site. And that's effectively what you're trying to do here.
In essence, IE is doing a "security" thing - by preventing one site from "mixing" with another site. If you think about it for a bit, allowing two sites to "mix" is not good for the host site.
the solution of course is not to have two sites, but to host the whole thing as one site. Or to make two sites, but to make all the pages from the two sites distinct from each other. In other words you'd have no problem calling one site from the other, backwards and forwards, it's strictly a problem because you are wanting to "include" the one site inside another.
Cheers
Bruce
10690
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
http://www.capesoft.com/ftp/public/prerelease/index.htm
Lots of little fixes. Please remember to update your web folder.
Cheers
Bruce
10691
Web Server - Ask For Help / Re: New page returns client-side 'sortable' to default serverside table
« on: September 08, 2008, 11:50:14 PM »
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
Which version are you using? That really doesn't sound like standard behavior.
Can you duplicate that effect in an example?
Cheers
Bruce
10692
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
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
10693
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
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
10694
Web Server - Ask For Help / Re: New page returns client-side 'sortable' to default serverside table
« on: September 04, 2008, 07:03:19 AM »
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
>> 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
10695
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
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