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 - Mike McLoughlin

Pages: 1 ... 5 6 [7] 8 9
91
Web Server - Ask For Help / Re: Conditionally skip Login Form
« on: August 05, 2009, 03:05:56 PM »
I got it working the way I want by putting my code in a routine in FramePage and calling it only if certain values were being passed in the URL.

thanks

Mike

92
Web Server - Ask For Help / Re: Conditionally skip Login Form
« on: August 04, 2009, 03:04:27 AM »
Hi Bruce

Yes when I said "command line" I meant the URL - if the web app is being called from another site the Passowrd etc is already known so I want the user to go straight in without filling out the same password etc again.

I tried your idea and used "IntroPage" as the Default Page.  Then in LoginPage I check for a user in the URL and if none I call this routine.

LoginPage  Routine
  packet = clip(packet) & |
    '<<!-- Net:LoginPage --><13,10>'&|
    ''


But all I get is a blank screen

Could I use LoginPage(p_web) instead?

Mike

93
Web Server - Ask For Help / Conditionally skip Login Form
« on: August 03, 2009, 04:12:47 AM »
Sometimes I need to bypass the Login Form, based on a command line parameter, and go straight into the app menu.

I have been trying a few things but can't get round the need to chain to Framepage.

Is there a way to conditionally change the default start page (loginpage) for one session?

Or is there a cleaner way to do the above?

regards

Mike


94
Web Server - Ask For Help / Re: How to autoclose a form?
« on: August 01, 2009, 12:29:45 AM »
OK I'll have a look at using a normal source procedure

thanks

Mike

95
Web Server - Ask For Help / How to autoclose a form?
« on: July 31, 2009, 04:01:20 AM »
I'm using a form (with no fields) as a place to put some Clarion code.

There is a save button and I want the form to close automatically.  Usually I would put POST(event:accepted,?cancel) in the event:openwindow.

What's the equivalent in NTWS?

regards

Mike

96
Web Server - Ask For Help / Re: Firefox problem with PDFs
« on: July 31, 2009, 01:37:23 AM »
Thanks Rene, that fixed it.

Mike


97
Web Server - Ask For Help / Firefox problem with PDFs
« on: July 30, 2009, 07:11:00 AM »
A user can download a PDF by clicking on a link, and in IE it opens in its own window.

In Firefox it doesn't have its own window (despite using a _blank target) and even worse there is no back navigation to my app.

Has anyone found a workaround for this?

regards

Mike

98
Web Server - Ask For Help / Apostrophe problem in filename
« on: July 11, 2009, 02:57:15 AM »
When I try and download this filename Learner's Journey.PDF from a browse either nothing happens or another column gets downloaded.

If I take out the apostrophe all is OK

regards

Mike
4.36

99
Working on example 40 I have set up an Other button to call ServeDocument with a file name.

The prompt save/run comes up OK but the file option to save to includes the mangled path:

If I pass it '.\web\downloads\yosemite_prayers.wav' it shows this in the save to dialog

._web_downloads_yosemite_prayers.wav

If I don't pass the path with the file it doesn't find the file.  So I need a way to take out the '._web_downloads_'

In the example I notice the files are in the exe folder.

regards

Mike


100
Thanks Alberto, but unfortunately that won't do it.

I need to do the conditional branch *before* the FramePage because I am calling a different Frameset and Frames.

regards

Mike

101
I have a situation where, depending on the type of user (eg staff or student) they get to see a different FramePage/IndexPage.

I can establish at login what type of user they are but the "URL on Save" is set at GenerateForm and there doesn't seem to be any way to conditionally jump to a choice of "URL on save".

I tried with an intermediate Source Code procedure but this cannot be used as a URL (no HTML page generated).

Anybody found a way round this?

TIA

Mike

102
Thanks - I sent you an app/dct.  The problem is that some of my customers were using Replicate years ago when the GUID had an even bigger range of "strange" chars in it - so I need a solution which allows for them as well.

Mike

103
Web Server - Ask For Help / Re: Field is being clipped to 7 chars
« on: June 22, 2009, 06:24:33 AM »
I'm on 4.34

I modified the original replicate routine to restrict the range of allowable characters. But it looks like it will have to be made even tighter for web use.

Mike



104
Web Server - Ask For Help / Re: Frozen browse - output from Dbgview
« on: June 19, 2009, 01:20:58 PM »
Here's some of the Dbgview output -

[3224] <tr onMouseOver="BrowseLearnerAssAll.omv(this);" onMouseOut="BrowseLearnerAssAll.omt(this);" >
[3224] <td><!--here--><input type="radio" name="LEA__GUID" id="LEA__GUID" value="¡ÜÇNÓùÓ“´KËð¤ÇK" onkeypress="return oe(this,event);"></input></td>
[3224] <td><!--here-->

Could some of the characters in this value="¡ÜÇNÓùÓ“´KËð¤ÇK" be throwing the browser out?

Mike

105
Web Server - Ask For Help / Re: Field is being clipped to 7 chars
« on: June 19, 2009, 01:14:16 PM »
Its a GUID generated by Replicate so some of them are "unprintable".

Could this be the cause of my other browse freezing???

Mike

Pages: 1 ... 5 6 [7] 8 9