HI,
I developed a zimlet that takes a hard coded user id and password. I need to pass the usernmae from the browser. can any one halp me that how thje XML file read the data and pass it the application that it invokes.
HI,
I developed a zimlet that takes a hard coded user id and password. I need to pass the usernmae from the browser. can any one halp me that how thje XML file read the data and pass it the application that it invokes.
Did you read the spec?
If you've got something in your .xml file like this
In your .js file, you can set them with this:Code:<userProperties> <property type="string" name="user" minLength="0" maxLength="32" label="Username" /> <property type="password" name="pass" minLength="0" maxLength="32" label="Password" /> </userProperties>
and refer to them:Code:this.createPropertyEditor();
Code:this.getUserProperty("user"); this.getUserProperty("pass");
There are currently 1 users browsing this thread. (0 members and 1 guests)