NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on November 30, 2020, 01:04:45 PM
-
is possible overwrite the message "Login Failed: User Not Found." in SecwinLoginWeb
thanks..
-
yes. All text flows through the Secwin translate method.
cheers
Brcue
-
how because this is Alert message?, in ValidateUpdate Routine i can overwrite the password message but not for username
CASE Login.StartLogin()
of sw:notok
case Login.Error
of sw:WrongPassword
loc:Invalid = 'swLogin'
swLogin:IsInvalid = true
loc:alert = 'Invalid User Name or Password'
Loc:InvalidTab = 0
END
END
-
loc:alert is used, by sending it to the .SetAlert method.
That in turn passes the text through the .translate method in web handler.
If you are using it somewhere else yourself, then pass it through p_web.translate.
cheers
Bruce
-
thanks, done.
-
hi Bruce, any demo available for secwin7 and NT?
thanks
-
Example App:
https://github.com/donridley1972/NT12_Secwin7Example/archive/main.zip (https://github.com/donridley1972/NT12_Secwin7Example/archive/main.zip)
This is just something I was playing around with to get accustomed to NT12/SecWin7.
It seems to work.
Logins:
SysAdmin demo
TestAdmin demo
TestUser demo
I have also attached images of the menu demonstrating access control as a User and Admin.
The only caveat right now is that the "Performance" setting has to be set to Debug in order for the Tree field to work. I'm sure that will be addressed in a future update.
Enjoy,
Don
-
Pretty much the same but as a Multi DLL App.
https://github.com/donridley1972/NT12_SecWin7_MultiDLL_Example/archive/main.zip (https://github.com/donridley1972/NT12_SecWin7_MultiDLL_Example/archive/main.zip)
-
Hi Don,
Do you ever sleep?
René
-
I'm on night shift for the next three months.
So my work hours are closer to Bruce's than most folks around here LOL.
-
thanks Don, for example, but it doesn't work, I don't know what is missing, first when open application triggers an error the template is missing, I don't know which one is missing, second after compiling and running of the application and login with sysadmin or admin does not happen nothing, the menu is activated but does not execute anything in security submebu, third when click on Tree field the app generate a gpf, this error occurs in both app examples.
-
I just downloaded the single EXE version and it compiled and ran fine.
Make sure you change the global dictionary path property to reflect your environment.
Don
-
Bruce any update for this template?
-
yes, the current rollout is to get 12.04 out (hopefully today) then I can return to the Secwin7/NetTalk 12 integration.
It's a chicken-and-egg situation - I need the features in NetTalk 12.04 to complete the Secwin 7 work and vice versa.