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 ... 702 703 [704] 705 706 ... 736
10546
Web Server - Ask For Help / Re: Field value filling another field
« on: September 16, 2008, 10:56:27 PM »
Hi Mike,

It all sounds like you're doing it right. But...

personally I would try
p_web.SSV('CAR:Description',p_web.GSV('CAR:Model'))
It's a better habit to use session variables rather than file variables.

I think though, going back to your error, it would be helpful to see the whole routine where your embed code occurs. I suspect it's
Validate::CAR:Model  routine

Seeing the embed in context will help explain what's going on.

Cheers
Bruce

10547
Web Server - Ask For Help / Re: Auto Refresh A Browse
« on: September 16, 2008, 06:05:44 AM »
Hi Ole,

The memory table sounds like the right approach.
Is your browse File-Loaded or Page-Loaded?

The Disabled/First/Current/Last setting applies to Page loaded browses mostly. A refresh needs to know which "page" of the browse to fetch. If you're looking for new records, then either first or last is usually appropriate. However this will inhibit the person paging down because it'll continually be jumping to the top, or bottom. If you're looking for "refreshing the page the user is looking at" then choose current.

I'm not sure what a timer on a form should refresh... Clearly not the entry fields that the user has already entered...

If you want to update a "display" part of the form, then the best approach is to embed a NetWebSource on the form.

Cheers
Bruce



10548
Web Server - Ask For Help / Re: Variables in XHTML code?
« on: September 16, 2008, 05:55:26 AM »
Hi Ole,

The problem with "current value" is that it doesn't mean much, because it's Dependant on the context.

Are you setting the value of this variable inside this procedure? Or are you expecting it to be set by a calling procedure?

PHP is similar in the sense that they also have session variables. Which are ideally what you want to be using. In other words, in nettalk

p_web.SSV('variablename','variablevalue')
or if you prefer the long-hand
p_web.SetSessionValue('variablename','variablevalue')

Session values can be included in your netWebSource as
<!-- Net:s:variableName)

cheers
Bruce

10549
Web Server - Ask For Help / Re: Variables in XHTML code?
« on: September 16, 2008, 03:37:55 AM »
Hi Ole,

Variables as in fields, Values, or Session Values?

Cheers
Bruce

10550
Web Server - Ask For Help / Re: Auto Refresh A Browse
« on: September 16, 2008, 03:35:08 AM »
Hi Ole,

Can you duplicate the effect in an example?
I don't really understand exactly what you are doing, or what you are expecting.

The timer does refresh the whole browse, not just one row.

Cheers
Bruce

10551
Hi David,

Think of <br /> (or <br></br>) as an "end of line" character.

So with "no gap" you'll still have 1 of these because the heading line needs to "end".

If you turn on the "blank line after heading" then you should see it twice.

So the _html_ is right, but is there something else that is the real problem?

Cheers
Bruce


10552
Web Server - Ask For Help / Re: EIP with Duplicate Record - Error 40
« on: September 15, 2008, 02:34:51 AM »
Fixed for 4.31 PR 14

Cheers
Bruce

10553
Web Server - Ask For Help / Re: Controlling formatting in EIP
« on: September 15, 2008, 02:07:52 AM »
Hi Mike,

I've fixed the problem in 4.31 PR14.
However it's a simple fix if you want to tweak your \clarion6\libsrc\netweb.clw file.

In NetWebServerWorker.CreateInput method,
the line
if not omitted(7) !(p_picture)
should read
if not omitted(8) !(p_picture)

there are some other questions asked about EIP though which I've also fixed, so I think a PR14 release will happen today - and that's obviously the best for you.

Cheers
Bruce

10554
Web Server - Ask For Help / Re: Controlling formatting in EIP
« on: September 14, 2008, 10:03:17 PM »
Hi Mike,

you've got 10.5 and 11.50 ?
Is that correct or a typo?
If you are getting the 0 on the 11.50 one then I guess that's the pic to use...

Cheers
Bruce

10555
Web Server - Share Knowledge / Re: Tried Google Chrome yet?
« on: September 14, 2008, 09:59:11 PM »
Hi Mike,

Yes, it certainly loads fast, and seems to run nice and fast - at least at the beginning. I've heard reports that it "slows down" after a bit.

Alas there's no FireBug for it yet so FF is still the best environment for development.

Cheers
Bruce

10556
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

10557
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

10558
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

10559
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

10560
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]

Pages: 1 ... 702 703 [704] 705 706 ... 736