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.


Topics - rupertvz

Pages: 1 ... 8 9 [10] 11 12
136
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


137
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?

138
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.

139
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

140
Web Server - Ask For Help / Global values
« on: February 20, 2012, 12:58:45 AM »
Hi Guys,

From other discussions I gathered that it is not good practice to use global variables for global values.
I do have some values that should be available to all procedures (web and non-web).
Can I use global variables for these?

What are the do's and don'ts re global-variables?

Regards
Rupert



141
Web Server - Ask For Help / Run code from Server Side
« on: February 15, 2012, 11:23:33 PM »
Hi Guys,

There is some code that I'd like to add to the server-side window of my web-server app.
Thus, adding it to the web-server procedure.

How do I built-in a trigger from the web-page to 'action' the code inserted in the web-server procedure?

142
Web Server - Ask For Help / Linking to credit card API
« on: February 07, 2012, 05:06:52 AM »
Hi Guys,

Following my previous post re "linking to credit card API";

I want to be able to communicate from my server to the CC API transparently.
And receive the CC API response back into my database.

I have a NetWebForm(Wizard), collecting data from the user.
And a NetWebClient() procedure in the same app.

The post to the CC API should look like this, as an example:
<form method="POST" action="https://their_url/ccform.asp">
<input type="hidden" name="p1" value="a">
<input type="hidden" name="Budget" value="n">
<input type="hidden" name="NextOccurDate" value="o">
<input type="hidden" name="m_10" value="z">
<input type="submit" value="Proceed to Payment">
</form>


I watched the Webinar on NetWebClient() and inserted the following lines of code:

RequestNumber = 1
ThisClient = FreeFieldsQueue()
ThisClient.SetValue('P1',CLIP(LOC:TerminalID)
ThisClient.SetValue('P2',CLIP(LOC:CCTrReferenceNo)
ThisClient.SetValue('P3',CLIP(LOC:Description)
ThisClient.ContentType='application/x-www-form-urlencoded'
ThisClient.POST('https://their_url/ccform.asp','')


* I did not specific any .SSLCertificateOptions, as it is not required by the API.

Back to my procedures:

My NetWebForm(Wizard) procedure, is memory-based and does not automatically insert / update the record.  When the user clicks "Finish" in the wizard, I'd like to insert / update the record and call the NetWebClient procedure.

1.  Which is the best embed to use "after completing the form-wizard" to do any record inserts /  updates and call the NetWebClient procedure for the CC API auth?

2.  I have quite a number of variables to pass between the NetWebForm and the NetWebClient, is the best way to first save the record from the NetWebForm(Wizard) and then to FETCH the record in the NetWebClient() for submission to the CC API?


The CC API makes provision for the following:
URL for cancelled transactions
URL for declined transactions
URL for authorised transactions

3.  I am not too sure how to handle the response coming-back from the CC-API.
What they have indicated:  If we use HTTP method "POST", the parameters will be embedded into the HTTP header.

How could I save the returned values from the reply?

Regards
Rupert


143
Web Server - Ask For Help / CSS Style Sheets
« on: January 24, 2012, 04:48:49 AM »
Hi Guys,

What could be the reason why one CSS class could effect another in a single app?
For example, I have these two classes in one CSS file:

.Tab1Txt {
 font-weight: bold;
 font-family: Verdana;
 font-size: 13px;
 etc ....
}

.Tab2Txt {
 font-weight: normal;
 font-family: Verdana;
 font-size: 20px;
 etc ....
}

Class Tax2Txt doesn't have any text "style" effect, until I move it prior to Tab1Txt in the CSS file.

As soon as [2] is above [1] in the CSS file, the styles are applied.

I checked my app and as far as I can see, these two classes were only used once on the respective tabs / text fields.

What is strange, is that [2] is not taking on the attributes of [1], but instead it cancels all styles when [2] is below [1] in the CSS file.

Any help will be appreciated.
Thanks, Rupert

144
Web Server - Ask For Help / Change value before insert / save
« on: January 19, 2012, 04:46:50 AM »
Hi Guys,

I have a NetWebBrowse with a NetWebForm
The user is selecting some values on the form
I'd like to change / overwrite some values, just before the record is finally inserted / saved to the database from the form.

What will be the best embed to use in the form for the above ...?

Thanks
Rupert

145
Web Server - Ask For Help / Web Server Window
« on: January 17, 2012, 03:02:50 AM »
Hi Guys,

What is the easiest or best way to prevent an administrator of closing the web server window on the server?

146
Web Server - Ask For Help / Link to credit card API
« on: January 12, 2012, 05:26:46 AM »
Hi Guys,

I have a NetWebForm(wizard) with a FINISH(proceed to payment) button at the end.
According to the credit-card company I have to pass some values to their system, and call an HTML form from the FINISH button on my NetTalk wizard form.

Below is an example of some of the form fields they require.  

How do I pass these values to their system via an HTML form from the FINISH button of my NetWebForm(Wizard) procedure?

<form method="POST" action="https://their_url/ccform.asp">
<input type="hidden" name="p1" value="a">
<input type="hidden" name="p2" value="b">
<input type="hidden" name="Budget" value="n">
<input type="hidden" name="NextOccurDate" value="o">
<input type="hidden" name="m_7" value="z">
<input type="hidden" name="m_10" value="z">
<input type="submit" value="Proceed to Payment">
</form>

147
Web Server - Ask For Help / Display pictures
« on: December 12, 2011, 05:33:11 AM »
Hi Guys,

I have two local variables on a NetWebForm ;
I am trying to assign a picture for a decimal number to the local variable (decimal) fields.
The fields are not displaying the decimal point.  Altought there is no cents in the value, it should still display R100.00 and not R100?

Type is set = NUMBER


[attachment deleted by admin]

148
Web Server - Ask For Help / Ghost image in some browsers
« on: December 09, 2011, 06:12:58 AM »
Hi Guys,

It seems like the "tooltips" of my site is creating a "ghost" image in some browsers / screen resolution.
Please see image attached.

With my resolution in IE I get the "ghost" image behind the wizard buttons, but in Firefox the site works normal.

Any help in the right direction will be appreciated,


[attachment deleted by admin]

149
Web Server - Ask For Help / NetWebForm(Wizard) - Finish!
« on: November 30, 2011, 07:07:30 AM »
Hi Guys,

In a NetWebForm(Wizard), Memory Source.

While the user moves through the pages of the wizard, and filling in some fields/table-values ...
Close to the end of the memory-wizard, I am creating a record in a table with these values.

Up to this point it works 100%.  The record is created in the table with all values as completed.

Problem:
When the user gets to the final page and clicks the "finish" button, it blanks some of the table required-fields on a previous page and jumps back to that page.

However, when I complete the wizard and before getting to the last page I go back, the values are all there.

Advanced, default form action is set to NONE.

1.  I am not sure why clicking the "finish" / final button, blanks some of the previous inserted values ..

2.  When the user clicks finish, how do I redirect to another website?

150
Web Server - Ask For Help / Refresh "comment" field
« on: November 28, 2011, 01:12:22 PM »
Hi Guys,

I normally use "do Value::Field" to refresh the window variable.
How would I refresh the "comment" part of a populated field? 
I noticed that there is no value::field routing for the comment-display control.

Thanks
Rupert

Pages: 1 ... 8 9 [10] 11 12