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

Pages: [1]
1
Web Server - Ask For Help / webservices and json
« on: December 13, 2016, 02:18:57 AM »
something weird with the content type.

I looked at the webinair API (3) example and used the current client.app example to test posting json payloads to my server.

net.customheader = '' 
net.ContentType = net.GetContentType('.jason')   ! <<==============
json.start()
collection &= json.CreateCollection('payload')
collection.append(AuthenticationGroup,'authentication')
collection.append(RegisterUserGroup,'registrations')
json.SaveString(str,true)
net.Put(clip(Server) & '/uneeqo/receivenewuser/',str.Getvalue())

In the above Line  ! <<==============

when i use this format of content type  the request on the client side is json but the server does not show any retrieved information in my debug lines.
If i replace that line with net.ContentType = 'application/json' . I can see the data in the debug lines.

This in it self id not a problem. but the response  the client receives is text/xml But i need it in json format.

In the server method generated code is see the following which also sets the content type GetContentType('.json') .
either i am missing something or i am not initializing the content type

 p_web.ReplyContentFixed = 1
  if p_web.RequestJSON
    p_web.ReplyContentType = p_web._GetContentType('.json')
    jsonResults &= json.CreateCollection('Response')
    do BuildResultFields
    json.SaveString(packet,true)


thanks

2
Web Server - Ask For Help / disconnected web
« on: September 14, 2016, 08:48:36 PM »
Hi

I am playing around with the disconnected web example.

When i add a record (from another PC) i can see the record add to the tps file on the server. But it seems the example does not load the records from the tps file to that pc's disconnected DB.
Is there something i'm missing ? :o

Thanks

3
The Rest - Ask For Help / Disconnected desktop apps
« on: December 13, 2015, 10:22:07 PM »
Hi there
I am trying to open the examples In : C:\Users\Public\Documents\SoftVelocity\Clarion8\Accessory\Capesoft\NetTalk\Apps\DisconnectedDesktop\Server  And
C:\Users\Public\Documents\SoftVelocity\Clarion8\Accessory\Capesoft\NetTalk\Apps\DisconnectedDesktop\Desktop

In Clarion8. The solution or app does not open. The IDE just stays blank

Thanks

Andreas

4
Web Server - Ask For Help / Upgrade From Nettalk6 to Nettalk 8
« on: October 12, 2014, 10:28:39 PM »
Morning All

I upgraded my Nettal6 to nettalk 8.
Looks like in my eagerness i must of missed a few steps  ???  but when i compile the accounts example (In Clarion8) I get a heap of errors .
Attached are some of the errors in the netweb.clw

Ant ideas ?
Thanks in advance

Regards

Andreas

[attachment deleted by admin]

5
Web Server - Ask For Help / Multipule web sites on a Server
« on: October 07, 2014, 11:59:12 PM »
Hi All

Not quite a webserver post.  ::)
We have a server (Static IP) on the OVH server farm which is running a website done in Jomela (usingwamp) .
We also have 2 Nettalk web servers and 1 Nettalk web service running.
So when a user goes to www.xxxxx.com then they access the Joomla website.
To access the Nettalk web sites and services it uses the port number www.xxxxx.com:8085 for example.
What I want to achieve is that each Nettalk web site has its own web address. So instead of
 www.xxxxx.com:8085  I want to use www.yyyyy.com
The server only has 1 static IP Address.
So how do I go about it ?
As we go along we will be adding more Nettalk Web sites. We are also planning to install the Capesoft email server .
Then either we will be using Capesoft Secwin online Hosting  or Secwin online Server.
Thanks In Advance

Regards

Andreas

6
The Rest - Ask For Help / Sending messages via Telegram messenger
« on: March 18, 2014, 12:41:04 PM »
Besides my applications sending SMS's and emails to clients i am trying to send messages via telegram messenger. I downloaded the telegram webogram which was written in js. I installed the js node webserver and got it all up and running. Works great and is way faster than whats app.
That said my problem is how do i send a message from my applcation or from a nettal web server ?

so on the web page i can select a contact then type in a message in a field and press the send button. Now how can i simulate this from my application or a nettalk web server or any better ideas ?

In firefox i had a look at the code for the send button :

<button class="btn btn-success im_submit" type="submit">Send</button>

Any input would really be appreciated

Regards

Andreas

7
Web Server - Ask For Help / Browse list empty after a long time
« on: January 14, 2014, 10:22:24 PM »
Hi There

I'm using Nettalk 6.54 Using mySQL DB. (Clarion8)

Webserver.

I have a browse List which works great.  But what i have noticed is if i open that page for the first time the next day it comes up with "No Records" I refresh the browser or open a new browser session then the list is populated.

Any ideas that could cause this ? and how to fix.

The webserver is running as a service and the browse has the following filter.    'MEM:MemberOrDebtor = <39>M<39>'

Thanks In Advance

Regards Andreas

8
Hi There

I'm just testing the send of an email.

in the example i fill in all relevant details and added the images to the Embedlist under the extra's tab. then in the html i changed the image code to include the CID

<IMG src="cid:world.png">

when i receive the email in outlook or mail live. The images are there as attachments but not the html.
I put a message in and the embedlist does have those imgeas in it.
I got the same result by using the html which is under the sub folder "web"

Wonder where it is going wrong

Regards

Andreas

9
Web Server - Ask For Help / Webserver - Make sure of local data
« on: October 21, 2013, 06:57:57 AM »
I have a netwebpage that receives soap posts .I use Xfiles which loads a local queue. This Queue that i have made,  i ticked static and threaded.
So that should make it unique for that session on not ?

Just want to confirm if this is correct

Thanks in advance

Andreas

10
I have been able to determine if the user is accessing my web server via a device or desktop. So if a user logs in via a device it goes to my mobile web site.
But this also happens with a tablet. Is there a way to identify that it is a tablet and then be able to show it in the normal desktop mode ?

Thanks In Advance

Regards

Andreas

11
Hi there

been looking for this for awhile.

my form looks all ok and i have an image in the back ground and the entry field prompt background is transparent which is all great.

when i change the value in the entry field and go to the next field the prompt gets a white background which i am trying to get rid of

with firefox been looking for the class but cannot seem to find what is highlighting this prompt.

when i select the prompt in firefox it is pointing to  class label.ui-input-text. Changing settings here changes the prompt but not when entry has been selected


Thanks

Andreas

12
Web Server - Ask For Help / Button positioning in a mobile app
« on: April 26, 2013, 03:34:21 AM »
Hi there

Last few days i have been busy with my first nettalk web application.

In  the netwebform template under fields i have 1 field and 2 buttons specified.

So at the moment i get on the mobile and desktop :
 
      .......................Field.........................
     Button 1
     Button2

I'm trying to get the following effect (buttons on the same rowr)

    .......................Field.........................

       Button1                  Button2



I see in the template there is last on line and span rows

What do these settings Do and what do you put in under span rows

Thanks in advance

Regards

Andreas

Pages: [1]