Home Forum Download/Upload Links Search

NetTalk User Group

NetTalk User Group Meeting!
Live Webinar!
Saturday Nov. 16 
7am PST
Click Here To Register!
Home arrow Forum
NetTalk Central
August 19, 2017, 03:13:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the NetTalk Central Forums!
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3 ... 26
1  NetTalk Web Server / Web Server - Ask For Help / Re: SetSessionValue will rounds the results on: August 09, 2017, 05:26:24 AM
Hallo Rene!


>Clever find but I woul use the SSV method just for storing a value in the session value queue.
Me too :-)

>Not for calculating purposes.

But when you open a form all values are stored in session queue... then how do you do calculations?

Robert
2  NetTalk Web Server / Web Server - Ask For Help / Re: SetSessionValue will rounds the results on: August 09, 2017, 05:23:01 AM
Hallo Bruce!


I'm in a form and I need to do some calculations... When I open the form all values are stored in sessions.
This way I would like to avoid local variables for calculations but if this is the only way... I will do it.

I know I can do p_web.SessionQueueToFile but it is safe to do this when I open the form?

Thank you!
Robert
3  NetTalk Web Server / Web Server - Ask For Help / SetSessionValue will rounds the results on: August 09, 2017, 01:31:27 AM
Hallo!


I discovered:

p_web.SSV('PEN:Zecime', (p_web.GSV('PEN:PensiaBaza')*10)/100)

is not the same with this

PEN:Zecime = (p_web.GSV('PEN:PensiaBaza')*10)/100

Example:

PEN:PensiaBaza = 1786

1.The results of first code will be 179
2.The results of second code will be 178

Data type of PEN:PensiaBaza and PEN:Zecime is Long @n_10

Why SetSessionValue calculate this way and rounds the results? Is this a bug?


Thank you!
Robert
4  NetTalk Web Server / Web Server - Ask For Help / Re: Need help in changing my app to SSL on: June 22, 2017, 01:26:53 PM
did you deploy all dll?
http://www.capesoft.com/docs/NetTalk9/NetTalkWebSecure.htm#DeployingSecureWebServer

also check manual for understand how ssl works. Following the examples doesn't make to understand the concept of ssl ;-)
http://www.capesoft.com/docs/NetTalk9/NetTalkWebSecure.htm#Introduction

/Robert
5  NetTalk Web Server / Web Server - Ask For Help / Re: How to change the mobile banner and its buttons color? on: March 13, 2017, 11:58:27 PM
>>then how can I know its  mobile device??
I got that from Agent.

Robert
6  NetTalk Web Server / Web Server - Ask For Help / Re: Alert Message does not display on browse row click on: March 08, 2017, 12:06:59 PM
I test on my browse with the code I sent you and works perfect.
Can you test on another browse? Also check on source to see maybe you have another script there that broke this one...there must be something wrong there :-)

Robert
7  NetTalk Web Server / Web Server - Ask For Help / Re: Form TABS writen first as links, a second later as tabs on: March 08, 2017, 10:03:12 AM
select Net tab and see there....
8  NetTalk Web Server / Web Server - Ask For Help / Re: Alert Message does not display on browse row click on: March 07, 2017, 11:48:50 PM
Hallo Johan,

Try this:

Code:
p_web.Script('alert(''This is a info message!'',''Info'');')


Robert
9  NetTalk Web Server / Web Server - Ask For Help / Re: Form TABS writen first as links, a second later as tabs on: March 07, 2017, 11:38:22 PM
what browser do you use? I have seen this a lot on Chrome...
Do you have code on Generate Form? this could also delay the form to open... Take a look in firebug to see why it open so slow.
Also try with another browser.

Robert
10  NetTalk Web Server / Web Server - Ask For Help / Re: How to avoid this flikering on: March 06, 2017, 11:59:39 PM
What flickering are you talking about?
When you move mouse over the row? If yes then this can be controlled by css:

.nt-browse-mouseover{background-color: #f5f5f5;} /*choose your background*/

Regards,
Robert
11  NetTalk Web Server / Web Server - Ask For Help / Re: Problem printing remotely on: December 28, 2016, 03:06:02 AM
>>when the PDF preview opens, its opening on the server not the Remote.
>>With example 14, same thing.

Hmmm.... this is strange. I don't have PDF Tools. (I use SV PDF extension and wPDF from Klarisoft.Both examples works ok form me.)

Maybe it's something with PDF Tools.... or from template settings.... sorry I cannot help with more details.
It was working before?

Try to contact Capesoft to confirm you if it's a bug from NT or from PDF Tools template.

Robert
12  NetTalk Web Server / Web Server - Ask For Help / Re: Problem printing remotely on: December 27, 2016, 11:37:41 AM
Hallo Richard,


Did you test examples? I think it's example 13 (PDFReportRequiresEE (13))
\Clarion10\accessory\examples\Capesoft\NetTalk\Web Server

In the web world you don't have a (desktop window) as preview :-) A desktop preview window is available only for desktop applications.
For web applications (including NetTalk) all reports will be saved/preview as PDF (and if you wish xlsx, xml, etc...)
If you use SV pdf extension, then you have to see example on NetTalk example folder how to use SV PDF extension in NetTalk app.

You may have 3 options here:
1.Preview PDF on the web page
2.Choose to save/open PDF
3.Save PDF in background

Good luck,
Robert
13  NetTalk E-Mail / E-Mail - Ask For Help / Re: Validate All Embed is too late on: November 23, 2016, 09:06:44 PM
Hallo Richard,

Where did you put the code on ValidateAll? to Start or to End? Put code to End and try again.
When you add code to embed try to open the source to see all the code above and bellow.
This way you will understand better what is there and how your code will be generated.

Robert
14  NetTalk Web Server / Web Server - Ask For Help / Re: Put menu name in session value on: October 12, 2016, 08:13:26 AM
Thank you Bruce! Solved.  Cool

First I try like you said and works ok, just that on the link was little bit ugly (/home?menuitem=Home)
...so I try something else.


 CASE p_web.PageName
  OF 'acasa'
     p_web.SSV('menuitem','Pagina de pornire')
  OF 'programari'
     p_web.SSV('menuitem','Programari')
  OF 'istoric-mesaje'
     p_web.SSV('menuitem','Istoric')
 ....etc

This text I wanted to show in header of the page so I move the code form WebHandler > ProccesLink to Header before generate the header.
Of course I could leave this code on WebHandler > ProccesLink but this could have any impact on webserver speed? or it's the same if I leave in Header procedure?

Thank you!
Robert
15  NetTalk Web Server / Web Server - Ask For Help / Put menu name in session value on: October 09, 2016, 10:14:54 PM
Hallo!


When I click on a menu I would like to put that menu name in a session value.
How can I do that?


Thank you,
Robert
Pages: [1] 2 3 ... 26
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Login Form

Welcome Guest.






Lost Password?
No account yet? Register
home contact search contact search