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 - rupertvz

Pages: 1 ... 16 17 [18] 19 20 ... 22
256
Hi Bruce,

Perhaps I am using the wrong class / method for the application?
As per my post, I am using NetWebClient, POST()

The credit card company indicates an HTML form, method = "POST"
With values passed to their system.
ALSO in the same instance a page on their server should be opened where the user should fill in the credit card information.

The CC company accepts all the CC details on their SSL site, and processes the payment.

So currently I am posting the values to their URL and receive a response.
The response indicates credit card number missing, etc, but I am not suppose to pass the credit card details to them, the user should fill these in, on the CC site.

The example they provided:

<form method="POST" action="URL">
<input type = "hidden" name="p1" value = "a">
<input type = "hidden" name="p2" value = "b">
etc. etc. etc.
</form>

Where "p1" is the variable on their system and "a" is the value of the variable.

Would this HTML page normally pass the values and open the destination page?

So to answer your question;  the reply does not say anything about redirection,
But I have to open a page on their server and at the same time pass values to them.

I am not sure what I am missing?

257
Hi Bruce,

Thanks, I am receiving the reply in Self.Page.
All is looking good, just one question:

The URL is suppose to redirect to the credit card company's website.
I am doing the post, receiving the reply, but not being redirected?


258
Web Server - Ask For Help / NetWebBrowse in NetWebForm(Wizard)
« on: March 01, 2012, 02:03:43 AM »
Hi Guys,

When you have a NetWebBrowse inside a NetWebForm(Wizard), all records of the browse are not being displayed on one page.  You can browse the records by "clicking" NEXT, on the NetWebBrowse.

The problem is that some records of the first page are being repeated on the second page, and so forth.
Say you have 14 records and the browse only displays ten records.  The last 6 records of the first page, will be repeated on the second page with the remainder of the 4 records.

Some users are complaining that this is very confusing to them.

Is it possible to display 10 records on the first page, and only the remaining 4 records on the second page?

Regards
Rupert


259
Hi Guys,

I created a new application with a generic window that posts to a URL.  

I used the following method to post

LOC:P1Value = '1234'

RequestNo = 1
thisclient.FreeFieldsQueue()
thisclient.SetValue('p1',clip(LOC:P1Value))
thisclient.ContentType='application/x-www-form-urlencoded'

ThisClient.Post('URL','')

I am unable to see any response.  I used PageReceived embed and tried:
LOC:ReturnValue = ThisClient.Page
LOC:ReturnValue = ThisClient.PageLen

* all zero and blank

Is the PageReceived the correct embed to use after POST?
What is the easiest way to see the raw value being returned from the server?

260
Web Server - Ask For Help / Re: Message box
« on: February 23, 2012, 01:18:16 PM »
Hi Bruce,

The wizard source is from memory,

Does PostInsert and PostUpdate still apply?

261
Web Server - Ask For Help / Re: Message box
« on: February 23, 2012, 01:42:53 AM »
Thanks Bruce,

But I have quite significant code in the ValidateAll embed, which I can't go without.
As previously discovered, when I let the Wizard go to the "new-page" automatically, it discards the code in ValidateAll.

Any other way?

262
Web Server - Ask For Help / Re: Message box
« on: February 22, 2012, 10:37:31 PM »
Hi Guys,

With reference to my post above,

I'd like to call a new page inside my app (newpage.htm) from a NetWebForm(Wizard) procedure.
From the ValidateAll embed point.

Is "p_web.redirect" the best way to call a subsequent internal page?

263
Web Server - Ask For Help / Customer Registration Template
« on: February 22, 2012, 05:52:27 AM »
Hi Guys,

We are looking for an existing NT customer registration app/template, that we can modify.
New customers should be able to register, returning customers login, update records, etc.

264
Web Server - Ask For Help / Re: Message box
« on: February 22, 2012, 05:49:39 AM »
Thanks Bruce,

At the moment I am using some code (for record updates) in the ValidateAll embed of the wizard.
Thereafter I am redirecting to another page ...

Using:  p_web.redirect('http://www.domain.com/page.htm')

I am considering to first call another "blank-message" HTML page on my server, before redirecting to the external URL. 

Is "p_web.redirect" the best way to call a subsequent page on my server from the ValidateAll embed of the wizard?

265
Web Server - Ask For Help / Re: Message box
« on: February 22, 2012, 05:25:45 AM »
Thanks Matthew, the popup message is working ...

I'd like to display the message after the user clicked FINISH in the NetWebForm(Wizard)
Source = Memory.

I tried the ValidateAll embed, but crashes the page as soon as the message is called.
I guess it's because the thread is already closed at this point ..?

Is there a spot that I can include p_web.Script('alert(''xxx'');')
.. after the user clicked the FINISH button?

266
Web Server - Ask For Help / Re: Global values
« on: February 21, 2012, 12:00:42 AM »
Thanks Bruce,

It is getting a bit more trickier;

In a previous post, I asked about triggering or "calling" a procedure on the "server-side" and you advised me to START a new procedure in a new thread.  I am currently starting the new procedure from a form, after INSERT.

This actually worked fine :-)  But how do I get a value across to the new STARTED procedure?
If I cannot pass parameters during START?

267
Web Server - Ask For Help / Re: Global values
« on: February 20, 2012, 01:40:43 PM »
Hi Rene,

>> To make sure that p_web methods like ssv and gsv can be used in your non-web
>> procedures you have to add prototype-  NetWebServerWorker p_web  -to the non-web
>> procedures you use.

I have added the "prototype" (NetWebServerWorker p_Web) to my non-web procedure.
I have added the same to Parameters line of the non-web procedure?

The non-procedure is called on a new thread START(proc,10000)
Do I have to add the parameter when calling the non-web procedure?



268
Web Server - Ask For Help / Re: Global values
« on: February 20, 2012, 03:49:52 AM »
Thanks Kevin,

So global variables should be safe to use, if the value stays the same throughout my application?
All sessions and threads.
For example:  Company Name?

269
Web Server - Ask For Help / Re: Global values
« on: February 20, 2012, 03:47:33 AM »
Thanks Rene,

I had difficulty using the session-variables in my "non-web" procedures, but the prototype syntax will surely help :-)

Just to have clarity;
All non-web procedures called from/after a web-page, should have the value for the session variable when using the "prototype" syntax?

All non-web procedures called before a web-page, as for example the "Web-Server" procedure, will not have access to the session values?  As the value could vary from session-to-session?

Regards
Rupert

270
Web Server - Ask For Help / Message box
« on: February 20, 2012, 02:48:50 AM »
Hi Guys,

Is it possible to display a dialoque message box to the user from my web-application?
I looked at the message box example, but it requires an additional template.
Can a simple Java message box be called?

Regards
Rupert

Pages: 1 ... 16 17 [18] 19 20 ... 22