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 ... 691 692 [693] 694 695 ... 736
10381
Web Server - Ask For Help / Re: PR22: Drop lists stopped working
« on: December 15, 2008, 09:49:53 PM »
Hi Bryan,

work-around: On the Validation tab for the field, set "Validate Immediately" to "NO".

I've done this automatically for PR 24.

Cheers
Bruce

10382
Web Server - Ask For Help / Re: Tooltip not displaying on Dropdown!
« on: December 15, 2008, 09:45:36 PM »
Hi Zoltan,

I've tested here with example 3, by putting a tooltip on the drop-down on the "AliasFormControl" procedure.

Unfortunately it seems to be working though. (At least for me.) So I thought it might be the "width" paramater which affects it, but no, it seems to work then as well.

So check out example 3, add a tip to the drop-down, and see what happens on your side. If it works there, then I guess I need an example from you where it's not working.

Cheers
Bruce

Ps - I'm testing with PR24, but nothing has changed with drop-downs for a while, so I don't think that's the issue.

10383
Web Server - Ask For Help / Re: Force an user to use save or cancel.
« on: December 15, 2008, 09:28:41 PM »
Wilco,

As Kevin says, there's no real way to "force" them to press either button.

They could;
a) close the browser
b) just ignore the page (which at the very least would cause the session to timeout eventually)
c) type a different address in their Address bar of their browser
d) select something from their favorites list,

and so on.

So whatever you do, you'll never "force" them to press a button.

So instead of hiding menu items (which is possible) perhaps there's some other approach you can take. Tell us more about why it's so important for them to press Save or Cancel and perhaps we can offer some advice on another way to do it.

Cheers
Bruce

10384
Web Server - Ask For Help / Re: Memory Form Time Display (V4.29)
« on: December 15, 2008, 12:16:55 AM »
Hi Rob,

I hesitate to ask what build you were upgrading _from_ because the code involved hasn't changed in quite some time <g>...

But thanks for the report - I've sorted it out for PR 24.

Cheers
Bruce




10385
Hi Dave,

>> Did you include a way to change content-disposition in later builds? For that matter - any way of changing the actual header?

You've got more-or-less complete control of the header.

There's a property of the web handler class called HeaderDetails (Group).
In this property are a bunch of strings -
HTTP                                    string(2048) ! e.g HTTP/1.0
ResponseNumber                          string(3)  ! e.g. 200
_Spacer1                                string(1)  !
ResponseString                          string(80) ! e.g. OK
Date                                    long       ! Clarion Date Long
Time                                    long       ! Clarion Time Long
ExpiresDate                             long       ! Clarion Date Long
ExpiresTime                             long       ! Clarion Time Long
LastModifiedDate                        long       ! Clarion Date Long
LastModifiedTime                        long       ! Clarion Time Long
ETag                                    string(80) ! e.g. "8dc33a162a5c41:e8c"
Age                                     string(40) ! e.g 6374 (age in seconds). number between 0 and 2147483648
ContentLength                           string(40) ! bytes in the Body (not including the header)
ContentType                             string(80) ! e.g. text/html; charset=ISO-8859-4 or text/xml ! was 40
CacheControl                            string(256)! e.g. No-Cache or <blank> or max-age=900
_Pragma                                 string(40) !
Server                                  string(40) ! Server Description e.g. Apache or Microsoft-IIS/5.0 etc.
Location                                string(1024)
WWWAuthenticate                         string(80)
Cookies                                 String(2048)
Connection                              string(40) ! e.g. close
ContentEncoding                         string(40) ! e.g. gzip
ContentDisposition                      string(256) ! e.g. 'Content-Disposition: attachment; filename="employees.csv"

Thus, in the handler you can override pretty much any of the header contents at more or less any time. (There are some specific exceptions - where the classes specifically set header options, but then all you need to do is set it _after_ the class does.)

Cheers
Bruce

10386
Hi John,

>> forms as child of browse,
>> optional automatic call of select window when form field validation fails
>> column repositioning on form and browse.

bear in mind that until the features are done I cannot guarantee that any specific feature will be included. Some are not in NetTalk 4 because I haven't got there yet, but others are not there because architecturally they are difficult, or perhaps impossible, to do.

So please don't _require_ any expected feature - if you get it, it's a bonus.

Cheers
Bruce

10387
Hi David,

This is fairly normal, and happens because of the way browsers work.

What's happening is this;

a) when the browser asks for the first page then the page is sent from the server to the browser. At this time the server sends the browser a "cookie" which contains the session ID, which the browser then uses for all future requests.

b) That's cool and all, but hides a small problem. The problem is that stuff embedded on the first page (CSS files, JS files, Images and so on) are fetched with a _separate_ call to the server. And they are often (especially for CSS and JS) fetched _before_ the original page is complete. So at this point (on some browsers) the new cookie has not "kicked in" yet. So these "simultaneous" requests are passed without a cookie, hence triggering the "new session".

Cheers
Bruce


10388
Hi Npa,

you wouldn't need to I don't think because
a) I'm not sure why you'd want the user to "save" the netwebform rather than view it and
b) you don't need to set the content-type to set the content-disposition.

Cheers
Bruce

10389
Web Server - Ask For Help / Re: Posting Data from another web page
« on: December 10, 2008, 09:42:50 PM »
Hi Tim,

yes.
Their stuff is being passed as "values" - whereas your form is primed from "session values" - so what you need to do is "store" the value in the session value. ie

p_web.StoreValue('whatever')

You can do this at the top of the GenerateForm routine in your form.

Cheers
Bruce

10390
Web Server - Ask For Help / Re: Problems with browse updates
« on: December 10, 2008, 09:41:02 PM »
Hi Murray,

>> Is there a problem with using more than 1 of the same browse proc on a form?

yes, you can't do this I'm afraid. The various settings that each browse will generate will conflict with each other. One option is to make 5 "close" procedures but that's seriously icky.

Cheers
Bruce

10391
Hi John,

At this stage, I'm sorry to say, there's no chance of it shipping before Feb of next year. There's still quite a lot of ground-work to do on it, and I have a monster deadline for Jan 5 which I probably won't make anyway...

Cheers
Bruce

10392
Web Server - Ask For Help / Re: Hide Tabs on Form
« on: December 09, 2008, 11:09:06 PM »
Hi Neil,

Alas, at the moment you can't just hide, and unhide a tab.
Specifically because tabs are not "controls" (they merely "simulate" controls.)
I'm hoping to add this functionality to NetTalk 5.

Cheers
Bruce


10393
Hi Terry,

Assuming you've used "in-row" change and delete buttons, you can use the "conditional" on the form tab to make them conditional.

Cheers
Bruce

10394
Hi Terry,

To use a local variable in a Clarion report filter, you need to BIND it.
But usually the result of not binding it is that you get ALL the records, not just none of them. Still, it's the first thing I'd look at.

Second thing to look at, is what value (specifically) is in QuoteID in the report.  Your whole layout looks right, but perhaps it's not setting the Session Value of QuoteID right?

How do you trigger your report? I presume it's _not_ the same button as is setting the QuoteID session value?

cheers
Bruce

10395
Web Server - Ask For Help / Re: XP-Taskpanel menu
« on: December 07, 2008, 08:01:38 PM »
Hi Murray,

If you look in the styles folder you'll see one that is for the xpTaskPanel. Resist the urge to just edit this - rather copy it to another css file name, and edit the style names, and contents, to whatever you prefer.

Then on the menu itself you can tell the menu to use the new styles. remember also to add your new style file to the list on the webserver procedure.

cheers
Bruce

Pages: 1 ... 691 692 [693] 694 695 ... 736