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 ... 694 695 [696] 697 698 ... 734
10426
Web Server - Ask For Help / Re: Field ToolTip - Font Size
« on: November 07, 2008, 06:28:43 AM »
Hi David,

It's a standard HTML "tip" attribute - and I've not seen any way to control the font within. It might of course be a browser setting, but you need a server side setting.

Cheers
Bruce

10427
Hi Mark,

There are a portion of users who have cookies completely disabled in their browser - but they have a universally poor web-browsing experience, so your app won't be any different. At it's heart, in theory, NetTalk can be made to work without cookies, but it's very difficult to do without introducing bugs. So for all practical purposes cookies are "required".

Now when you embed one site _inside_ another site, and the one "inside" wants to use cookies, then things get exciting. The browser gets peeved with this (typically because it's a technique used mostly by marketeers to track viewing patterns.)

So rather than try and convince IE (which, if you could do this, would make the IE feature redundant in the first place) which you probably won't manage, it might be better to "merge" your site with the static one.

The first, and easiest approach -especially with an existing site which is all-static, is to simply move all the static pages to the NetTalk server, and let the whole thing get served on port 80. The only reasons not to do it this way are;
a) port 80 is shared with other sites and
b) the main site is hosted at one ISP (maybe on Linux) and you're providing the dynamic stuff at a separate venue.

The sharing issue will go away with NetTalk 5 - it has the functionality to serve multiple domains on the same IP/Port connection. The hosting issue opens the door to moving the host - ie hosting the site on a dedicated Windows server (or shared computer via a Windows Virtual Machine). There are plenty of ISP's now offering dedicated, or shared Windows servers at very reasonable prices.

Assuming neither of these options is possible, there are a couple things that _might_ help.
a) when you "include" your site inside the "main" site, keep the domain name the same. For example if the IIS and NetTalk server are on the same machine then embed the link as
http://www.mysite.com:88 and not http://64.12.3.23:88

b) run your bit on port 80, using the same domain name, but different sub-domain. For example;
http://dynamic.mysite.com
And then "bind" IIS to one IP address, and the NetTalk web server to another.

Cheers
Bruce

10428
Web Server - Ask For Help / Re: next last buttons not working
« on: November 04, 2008, 11:07:05 PM »
Hi Ray,

>> I forgot to mention that... How can I display those fields (the dropdowns) when the person clicks on the radio's..

This is easy-peasy - and something you'll want to use a lot (I know I do) so follow the steps below, and let me know if you have a problem.

a) remember that all the fields need to be _included_ so we're gonna leave the "include condition" blank.

b) however we want the drop down field to be "hidden" - based on the value in the radio (I think your variable is called select_sort_flag).
So set the "Hide condition" of the drop-down to
p_web.GSV('select_sort_flag') = ''

In other words, if the variable is not set to anything then hide the dropdown. Notice we _always_ use the Session Value, not the "plain variable".

c) For the select_sort_flag form field - client side tab - add the dropdown to the list of "reset fields". (tick on all - the prompt, value and comment to be reset.)

Cheers
Bruce

10429
Web Server - Ask For Help / Re: 4.31 String in Browse causes bad routines
« on: November 04, 2008, 11:00:51 PM »
Hi Chris,

Incidentally, this is not the only change that might affect your app.
Check out the version history notes - there are 5 things that have changed sufficiently to need documentation - which sounds like a lot, but isn't really <g>...

Cheers
Bruce

10430
Web Server - Ask For Help / Re: 4.31 String in Browse causes bad routines
« on: November 04, 2008, 10:58:53 PM »
Hi Chris,

No, not a field. A unique equate.
Because of EIP being added to the browses it's important that each column has a unique equate.

In your case below you have column(s) (probably buttons) that have no equate.

Cheers
Bruce

10431
Hi Alex,

nope, it all seems to work for me - but I'm trying variations to see what might be different between yours and mine.

Cheers
Bruce

10432
Web Server - Ask For Help / Re: EIP is not getting Refreshed
« on: November 04, 2008, 10:52:52 PM »
Hi Sebastian,

Can you send me an example?

Cheers
Bruce

10433
Web Server - Ask For Help / Re: NetWebForm generation timeout?
« on: November 04, 2008, 10:51:45 PM »
Hi Brian,

yes, of course, you're right - that's the other thing to consider.
If you send a packet to PayPal, and then "wait for a reply" then there is presumably some timout gonna happen there as well.
Of course this one is a lot easier to control. But by default it's quite long, so I'm not expecting a timeout.

a) for testing you might wanna turn on Error Messages - especially for the PayPal web client procedure. If you are getting any kind of error then naturally you'd want to know it. You'd then be notified if the error was a timeout.

b) in your web client, have you added your code to the .Process or .PageReceived method? .PageReceived is probably (definitely) better. Presumably you have some code in there to do stuff when the reply arrives - so perhaps put some debugging in there to see if it ever gets into that method. (be careful not to put your debugging inside an IF statement).

Cheers
Bruce

10434
Web Server - Ask For Help / Re: Drop validation
« on: November 04, 2008, 07:51:11 AM »
Well, since it's a drop-down it was assumed that only valid values would be possible in the drop down.

However, a couple of folk have pointed out, that adding "extra settings" to the drop-down (typically with instructions like -- Select One -- ) would effectively be an "invalid" setting, even though it is in the drop down itself.

Cheers
Bruce

10435
Web Server - Ask For Help / Re: EIP is not getting Refreshed
« on: November 04, 2008, 06:49:04 AM »
Hi Sebastian,

Hang on - 4.30 didn't have EIP did it? So you must be using a build of 4.31...

Probably the best thing to do is download the latest 4.31 pre-release from
http://www.capesoft.com/ftp/public/prerelease/index.htm
and see if it's been fixed in that.
There have been quite a few tweaks along the way, especially with EIP that may already resolve your problem.

Cheers
Bruce

10436
Web Server - Ask For Help / Re: next last buttons not working
« on: November 03, 2008, 11:18:24 PM »
Hi Ray,

The problem with the online example is that

when the radio is selected, fields that "do not exist" on the form are being updated.
ie the radio is set to reset a bunch of fields including
classequate (value)
itembytype  (value)
type_equate (value)

When you update fields that don't exist on the form, then the javascript stops processing, and hence the browse display doesn't update, and the buttons don't work.

Remember there are 2 fields for a form field.
a) "Include Condition" and
b) "hide Condition".

If a field is not _included_ then it cannot be updated, or unhidden.
If a field _is_ included then it can be hidden, and unhidden dynamically.

My guess is that you have got "Include Conditions" for some of these fields that should not be there.

Cheers
Bruce

10437
Web Server - Ask For Help / Re: NetWebForm generation timeout?
« on: November 03, 2008, 10:56:28 PM »
Hi Brian,

Typically the browser will time-out if it requests a page, but gets no response within about 30 seconds.
As far as I know there's no way to change this timeout value.

So the important thing to do is make sure at least _something_ has been sent to the browser within that time. After that you can take some time (although not an endless amount of time) to get something done.

I recommend you simply move your code down a bit. What I'd do (off the top of my head without checking) is have a display field saying something like
"contacting PayPal - please wait...."
And then embed your code after that has been sent.
(Form fields are sent from the value::whatever routine for that field, so you can embed after that.)

Then you do the calc, and the next form field is the display of the "paypal response".

Cheers
Bruce

10438
Web Server - Ask For Help / Re: HTML text box sizing regression
« on: November 03, 2008, 06:44:10 AM »
Hi Mike,

check example 36 - seems to be ok in that...

Cheers
Bruce

10439
Hi Mike,

All the "hot field" does is add it to the View.
I'd need to see your exact setup to comment specifically, but presumably yes, the field was not being added to the view?

cheers
Bruce

10440
Hi Mike,

Does your text box have "allow xhtml" ticked on, or off?
If it's ticked on, perhaps you need to tick on the "include html editor" option in the
webServer procedure, Extensions, Settings tab, Scripts tab.

I tested example number1, Auto response tab, and it seems ok.

Cheers
Bruce

Pages: 1 ... 694 695 [696] 697 698 ... 734