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.
391
Web Server - Ask For Help / Re: Forcing a new session - something is not right
« on: February 16, 2011, 07:41:40 AM »
Thanks, Bruce.
I take it that you did make some internal changes after 5.09 that affects session management since it did work before - but who cares, as long as we can make it work again
Peter
I take it that you did make some internal changes after 5.09 that affects session management since it did work before - but who cares, as long as we can make it work again
Peter
392
Web Server - Ask For Help / Forcing a new session - something is not right
« on: February 11, 2011, 04:17:42 AM »
Hi Bruce,
You've stated earlier that you can force a new session by adding:
p_web.DeleteSession()
p_web.NewSession()
in the loginform procedure, top of generate form routine.
That used to be right (up to 5.09 I think). I had problems in 5.12 where all my login forms stopped working so I rolled back. Now, after you were bugging me the other day about being a dinosaur <g> I decided to update to 5.15 - but I'm having the same problem here and I've finally found out what's wrong (but not how to fix it).
Something has definately changed somewhere. You can easily try it yourself: just add the above lines to the web3 example and it'll immediately stop working.
Peter
You've stated earlier that you can force a new session by adding:
p_web.DeleteSession()
p_web.NewSession()
in the loginform procedure, top of generate form routine.
That used to be right (up to 5.09 I think). I had problems in 5.12 where all my login forms stopped working so I rolled back. Now, after you were bugging me the other day about being a dinosaur <g> I decided to update to 5.15 - but I'm having the same problem here and I've finally found out what's wrong (but not how to fix it).
Something has definately changed somewhere. You can easily try it yourself: just add the above lines to the web3 example and it'll immediately stop working.
Peter
393
Web Server - Ask For Help / Re: jQuery mobile framework?
« on: February 11, 2011, 03:43:39 AM »
Bruce,
That's great news! Just let me know when you need my CC details
How about the same app lending itself to any type of device (I'm thinking of the media stuff in css3)?
Peter
That's great news! Just let me know when you need my CC details
How about the same app lending itself to any type of device (I'm thinking of the media stuff in css3)?
Peter
394
Web Server - Ask For Help / jQuery mobile framework?
« on: February 10, 2011, 09:32:34 AM »
Hi Bruce,
Any plans to include support for this in the templates?
Peter
Any plans to include support for this in the templates?
Peter
395
Web Server - Ask For Help / Re: Login screen - Centered
« on: February 04, 2011, 06:01:47 AM »
Hi,
A couple of corrections to Bruce's answer
I've found that I can do it without setting a fixed width - and I'm using 5.09!
Please note that I've not tested with popup forms.
On the NetWebForm procedure I enter my class in the Form Div field, eg. 'centerForm'.
And in my custom css I define this:
.centerForm {
margin-left:auto;
margin-right:auto;
width:25%;
}
You may have to tweak the percentage depending on the width of your form fields. Other than that, it works like a charm.
Peter
A couple of corrections to Bruce's answer
I've found that I can do it without setting a fixed width - and I'm using 5.09!
Please note that I've not tested with popup forms.
On the NetWebForm procedure I enter my class in the Form Div field, eg. 'centerForm'.
And in my custom css I define this:
.centerForm {
margin-left:auto;
margin-right:auto;
width:25%;
}
You may have to tweak the percentage depending on the width of your form fields. Other than that, it works like a charm.
Peter
396
Web Server - Ask For Help / Re: Hide button in browse?
« on: January 06, 2011, 12:33:40 AM »
Hi Bruce,
He-he - I also had to read his message several times. But he referred to Conditional Tab and that was all I really needed to move on.
Anyway, I put a button on a browse and I only want it to display when MyVar <> 0. The odd part is that in order to get it to work I must put MyVar = 0 as the condition in the Display Options. That seems backwards to me.
Peter
He-he - I also had to read his message several times. But he referred to Conditional Tab and that was all I really needed to move on.
Anyway, I put a button on a browse and I only want it to display when MyVar <> 0. The odd part is that in order to get it to work I must put MyVar = 0 as the condition in the Display Options. That seems backwards to me.
Peter
397
Web Server - Ask For Help / Re: Hide button in browse?
« on: January 05, 2011, 06:52:59 AM »
I'd say that this condition seems a little odd - you must specify the _opposite_of what seems logical.
Any good reason for this? Bruce?
Peter
Any good reason for this? Bruce?
Peter
398
Web Server - Ask For Help / Re: Hide button in browse?
« on: January 05, 2011, 06:23:07 AM »
Duh! Too many tabs in that window, I never noticed the top row.
Thanks, Gordon.
Thanks, Gordon.
399
Web Server - Ask For Help / Hide button in browse?
« on: January 04, 2011, 12:25:02 AM »
I've got a browse displaying transactions. Some of these have an associated document that I want the user to be able to download. So I define a button in the browse, no problem here.
But for the transactions that do _not_ have an associated document I don't want to even show a button in the list.
It's possible to disable a button in a browse list by specifying a condition. But I would like to hide it completely (or not generate at all). Is that an option? Or could it possibly be an option?
Thanks
Peter
But for the transactions that do _not_ have an associated document I don't want to even show a button in the list.
It's possible to disable a button in a browse list by specifying a condition. But I would like to hide it completely (or not generate at all). Is that an option? Or could it possibly be an option?
Thanks
Peter
400
Web Server - Ask For Help / Re: p_web.site.DateOptions unknown?
« on: September 30, 2010, 12:12:53 AM »
Hi Kevin,
I already tried self before posting here.
Turned out to be the object name. This is the first app I created from scratch (rather than copying from the examples) to test my understanding of the concept. Looks like I failed <g> But then again, that's how you learn.
Thanks for teaching me.
Peter
I already tried self before posting here.
Turned out to be the object name. This is the first app I created from scratch (rather than copying from the examples) to test my understanding of the concept. Looks like I failed <g> But then again, that's how you learn.
Thanks for teaching me.
Peter
401
Web Server - Ask For Help / p_web.site.DateOptions unknown?
« on: September 29, 2010, 07:50:37 AM »
Hi,
Trying to set global options for the date picker in the webhandler proc. It works in one app and not in another - and I've copied the code!
I get unknown identifier for 'p_web' and field not found for 'site' and 'dateoptions'.
Am I missing something obvious here? For all I know the apps are set up the same way.
Peter
Using latest NT5WS build.
Trying to set global options for the date picker in the webhandler proc. It works in one app and not in another - and I've copied the code!
I get unknown identifier for 'p_web' and field not found for 'site' and 'dateoptions'.
Am I missing something obvious here? For all I know the apps are set up the same way.
Peter
Using latest NT5WS build.
402
Web Server - Ask For Help / Re: Pagefooter in wrong place
« on: August 12, 2010, 06:37:22 AM »
Thanks, Johan, that did it!
Peter
Peter
403
Web Server - Ask For Help / Pagefooter in wrong place
« on: August 12, 2010, 06:03:19 AM »
My pagefooter displays - correctly - at the buttom of the page _except_ when the page is based on NetWebBrowse in which case the pagefooter displays to the right of the browse heading. How do I correct this?
Peter
Using NT5 latest build
Peter
Using NT5 latest build