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 - Robert Iliuta

Pages: 1 2 [3] 4 5 ... 9
31
Web Server - Ask For Help / how can I create all.css file?
« on: November 05, 2014, 02:58:44 AM »
Hallo,

NetTalk 8.30
Maybe I miss something but how can I create the all.css file?
On Performance tab only Enable File Cache is unchecked the rest are true. Also I run GzipAll.Bat but the all.css file is not created.

Thank you for any tips,

Robert

32
Web Server - Ask For Help / export to excel in hand code - without browse
« on: October 22, 2014, 03:32:11 AM »
Hallo,


Is there a way to simulate the code from export to excel button from a browse?
I would like to have that but without the browse.

Thank you,
Robert

33
Hallo,


Anyone know how to change the style of a jQuery CheckBox text button in a browse? I would like to change the color and font-size of text.
I cannot find a way to do this.

Thanks,
Robert

34
Web Server - Ask For Help / How to secure / hide NTWS app on internet
« on: October 08, 2014, 10:35:37 AM »
Hallo,


I would like to secure / hide my web app and also I don't want to be founded on google or any other search engines.... What could be the best to do this?
This app also run with an SSL certificate and require authentication. It will be much better if I run on different port then 443? also NT take consideration if I put a txt file "robots.txt" with specific text inside?
ex: User-agent: *
      Disallow: /

Also I would like to include meta tags in my header like:
<meta name="robots" content="noindex">
<meta name="googlebot" content="noindex">

how can I insert this lines?


Thank you for any tips, suggestions!
Robert



35
Web Server - Ask For Help / Change form confirmation globally
« on: September 26, 2014, 12:39:41 AM »
Hallo,


I need to translate alert confirmation on forms like:

1.) Are you sure you want to delete this record?
2.) Are you sure you want to cancel the changes?

I see on form embed there is a new routine "ntForm" where I could change this confirmation text.
Do I have to go and change this on every form? or is there a global solution?

Thank you,
Robert

36
Web Server - Ask For Help / new menu from jQuery available for NT8 ?
« on: September 23, 2014, 10:33:26 PM »
Hallo Bruce,

Is this already available for NT8?

http://jqueryui.com/menu/#default

Thank you,
Robert

37
Hallo,

I need to make a column of a browse xHTML (by design need to be xHtml) then i realize that the information I will display here it will be taken also from a field where user have access and can insert text or xhtml code... well user doesn't know that but I don't like this. They could inject also javascript code... Is there a way to exclude that field to be xHTML? or a script that will remove xHTML code from that field (if user put some code there) before to be saved on disk?

Thank you,
Robert

38
Web Server - Ask For Help / Manage SessionQueue and ValueQueue
« on: September 17, 2014, 06:11:18 AM »
Hallo,


It's not very easy to manage this two queue when you doesn't know how NT handle them.. I display in my app some information from SessionQueue ...and I saw strange behavior. From my experience it's very bad idea to store and work with SessionQueue from DCT tables. Bellow it's a scenario:

User table
USE:ID
USE:Name
USE:UserType

When you login you want to story this values from User table in a SessionQueue. Simply you fetch table and then do: p_web.FileToSessionQueue(User) ok, now all values from User table are in a session queue. You can put on the header the UserName , you can filter some browse by USR:ID , you can make restriction by USR:UserType (guest, admin, user, etc..) and you embed like this in your page: <!-- Net:s:USR:UserName --> .ok.
But if you login as admin and try to add a new user (a guest one), and complete the name, type,  and some others fields but then you cancel the form and do something else...now you will have a big surprise. All values you was trying to add are saved and used by your SessionQueue. You will see that your name in header is changed , browse are filtered and all of this because you are a Guest user now. You have to logout and then login again to be admin. And all of this because you was trying to add a guest user and then you decided to abandon the form...NT store automatically all values you complete in a form in a SessionQueue and this values remain there until you will go again to form and add new values or session expires.(they are not local variables....) All the time I was thinking that NT use ValueQueue in a form and not SessionQueue. SessionQueue act like a global variable. Some how this is dangerous. You cannot work with session variables ,...use them in a filter etc..

Maybe was a good ideea to delete all of this variables if a user press cancel and not save button. And also after he save to delete this values from session. I see no reason to remain there. This way we lost control of this session variables and it's not good to use them in application.

A solution to this is to use a prefix like: p_web.FileToSessionQueue(User,,'w-') and now all your variables will become: p_web.GSV('w-USR:UserName') and this way you will not be affected in any way because you have the control and it will never mixed .

I have also a question, where and how is used ValueQueuer? What I was thinking was this ValueQueue are used to store values just for that procedure (like a local variable). But I found in another post that they are available just for that thread...

I would like to know how others handle this and what is the story with ValueQueue?
And YES I would like to read about this in a help/book/manual :-)

Thank you for any suggestion.

Robert




39
Hallo,


Is there any way to change the background and color of a prompt when you try validate the record and you have some required fields?
Now the comments become red or if you have no comments it will show a small red cube. I would like to make red the prompt not the comment. Can I change some how this?

Thank you,
Robert

40
Web Server - Ask For Help / What embed execute Session expire?
« on: August 19, 2014, 10:44:55 PM »
Hallo,


I would like to inject some code in the embed when this code excute.

Code: [Select]
[i]  if (p_web.GetSessionLoggedIn() AND p_web.PageName <> clip(p_web.site.LoginPage))
    ! parameter 1 is the session time
    ! parameter 2 is the name of the login page.
    ! parameter 3 is the id of the <div> in the html.
    stt.Trace('== countdown start ==')
    p_web.Script('startCountDown('& int(p_web.site.SessionExpiryAfterHS/100) &',"'& clip(p_web.site.LoginPage) &'","countdown");')
  end"[/i]

How can I detect and what code to write to know if session expire?

Thank you,
Robert

41
Web Server - Ask For Help / Keep user settings XML or TPS ?
« on: August 19, 2014, 12:48:55 AM »
Hallo,


What is your choice for keep user settings?  XML or TPS?
Keep in mind if you have like 1000 users and more.... I'm thinking to keep them in xml but I think tps will be also easy to maintain.

Thank you for suggestions.

Robert

42
Web Server - Ask For Help / Load user settings from xml safe
« on: August 16, 2014, 10:57:04 PM »
Hallo,


Now I keep all user settings in a xml file (save/load with xFile)
When user login, load xml into a Global Group unthreaded  then copy from group to session variables.
Can this go wrong some how?!?

What is your method in a multi-user application ? 

Thank you for any suggestions!

Robert

43
Web Server - Ask For Help / Choose default open menu for Accordion
« on: August 12, 2014, 11:33:28 PM »
Hallo,


How can I set which menu to be open first time? I see now it will open the last menu you add.
I would like the first menu to be open.

Thank you,
Robert

44
Web Server - Ask For Help / Browse in browse and search option
« on: July 28, 2014, 01:12:09 AM »
Hallo,

I have a browse in browse that works ok. Now I want to put a search on the second browse (child browse). First time open ok, but when I try to search something it fail and refresh the page and the locator and navigation button dissapear ...
It is possible to have 2nd browse with locator like in the attached photo and to works?

Thank you,
Robert

[attachment deleted by admin]

45
Web Server - Ask For Help / refresh browse in browse
« on: July 13, 2014, 10:27:13 AM »
Hallo,


I have setup a browse in browse. How can I reset the browse when I expand the row? This browse need filter for every row but it will not show only when I refresh the page.
Maybe I did not setup something good or how do I make this browse show correct records for every selected row?

Thank you for any help,

Regards,
Robert 

[attachment deleted by admin]

Pages: 1 2 [3] 4 5 ... 9