Rechercher

Annonce
· Sept 20, 2019

Evaluate Serenji for Visual Studio Code direct from your web browser

 

In time for InterSystems Global Summit 2019 we at George James Software are pleased to offer a cloud-hosted evaluation environment where you can work with Serenji in Visual Studio Code, editing and debugging ObjectScript in a sandbox running InterSystems IRIS 2019.3 Community edition.

You can do it all from your web browser. Nothing will be installed on your workstation, nor will any settings have to be changed on it.

To take Serenji for a test drive please visit https://georgejames.com/dc-gitpod

2 Comments
Discussion (2)2
Connectez-vous ou inscrivez-vous pour continuer
Question
· Août 29, 2019

Unidirectional Encryption String Recommendations ?

I need use/create an app based authentication class, best options on other languages is bcrypt, but on cache(2017.2) is not and option, any suggestion to construct this option ?

1 Comment
Discussion (1)0
Connectez-vous ou inscrivez-vous pour continuer
Question
· Août 26, 2019

ERROR #9406: Unexpected format for value of field

I got below error when passing Date in timestamp format.

I am using %JSON.Adaptor. Please refer screen 2

4 Comments
Discussion (4)0
Connectez-vous ou inscrivez-vous pour continuer
Discussion (1)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Août 10, 2019

How do I get the value of text input field using JavaScript

Hey Guys,

I got stuck with this for 2 days, please help me

Actually my logic is when I enter the input on the text field in browser, the entered input to be print on the next page but I am getting "Undefined". How to i do it.

Below is my code:

 

 

Class Patient.Testing Extends %ZEN.Component.page
{

/// Class name of application this page belongs to.
Parameter APPLICATION;

/// Displayed name of this page.
Parameter PAGENAME = "userLogin";

/// Domain used for localization.
Parameter DOMAIN;

/// This Style block contains page-specific CSS style definitions.
XData Style
{
<style type="text/css">
/* style for title bar */
#title {
background#C5D6D6;
colorblack;
font-familyVerdana;
font-size1.5em;
font-weightbold;
padding5px;
border-bottom1px solid black;
text-aligncenter;
}
#login{
text-aligncenter;
font-familyAriel;
font-size3.5em;
padding180px;
font-colorbrown;
}
#content{
text-alignleft;
font-size1.5em;
font-colordefault;
font-familydefault;
}
#content1{
text-alignleft;
font-size1.5em;
font-colordefault;
font-familydefault;
}
#button{
text-alignleft;
font-size1.5em;
font-colordefault;
font-familydefault;
}
</style>
}
/// This XML block defines the contents of this page.
XData Contents [ XMLNamespace = "http://www.intersystems.com/zen]
{
<page xmlns="http://www.intersystems.com/zentitle="">
<html id="title">Welcome!!!</html>
<vgroup width="100%">
<html id="login">Login</html>
<html id="content">Patient Id:</html>
<text id="patientId" value=""/>
<html id="content1">Password:</html>
<text id="patientPass" value=""/>
<button id="button" caption="Login" onclick="zenPage.MyMethod();"/>
</vgroup>
</page>
}
ClientMethod MyMethod() [ Language = javascript ]
{
var pId=document.getElementById("patientId").value;
var pPass=document.getElementById("patientPass").value;
document.write(pId,pPass);
}
}
 

 

Thanks

Vikram

4 Comments
Discussion (4)0
Connectez-vous ou inscrivez-vous pour continuer