Hi ,
I am trying to do a very simple thing but am facing with a lot of issue. Please help me if you find time.
My issue is as follows,
I have a Button control in my XPage. On click of this button, I need to get the ID of the same in Notes Client 8.5.1.
I have no clue of how to get the id of the button programatically. And believe me it is so very vital for me to accomplish this in order to proceed with my project’s design, which has been created after 2 months of deep analysis. I cant say no and i must do this.
I tried alert(this.name) in the onclick event of the button , but that gives me an empty string as the result, where as the same on a plain form even in Notes Client.
Hence I tried the following code after a lot of trails and research,
var objName = (java.lang.String) (this.name); //my machine freezes when this code is executed
alert(objName);
and that has left me a far bigger issue that my machine hangs for at least 10 minutes,
/********************/
Java™ Plug-in Fatal Error
cannot load class sun/plugin/JavaRunTime
The Bridge was installed at <C:\Prohra~1\Java\JRE16~1.0_0> but the class is not there
Modify tge registry key to reflect the new bridge location
The Key is HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in
or change your CLASSPATH to include the new directory
Please consult the documentaton for more information
/********************/
I am clue less. I dont want to update my windows registry. I am afraid if that would affect other stuffs on my machine.
please suggest me a work around
How ever, I have managed to grab the properties of the XPage Element and the list of properties bound to that button object are as follows, and I dont think any of these properties will give me what I am looking for … I have tried alerting atleast 50 properties though…
view__id1__id7_clientSide_onclick
view__id1__id5_clientSide_onclick
clearFormHiddenParams_view__id1
onerror
XSPRCPConstructor
ibm
XSPConstructor
XSP
onunload
addEventListener
location
document
window
dojox
dijit
dojo
console
navigator
Packages
sun
java
netscape
XPCNativeWrapper
GeckoActiveXObject
Components
setTimeout
name
parent
top
scrollbars
scrollX
scrollY
scrollTo
scrollBy
getSelection
scrollByLines
scrollByPages
sizeToContent
dump
setInterval
clearTimeout
clearInterval
setResizable
captureEvents
releaseEvents
routeEvent
enableExternalCapture
disableExternalCapture
prompt
open
openDialog
frames
find
self
screen
history
content
menubar
toolbar
locationbar
personalbar
statusbar
directories
closed
crypto
pkcs11
controllers
opener
status
defaultStatus
innerWidth
innerHeight
outerWidth
outerHeight
screenX
screenY
pageXOffset
pageYOffset
scrollMaxX
scrollMaxY
length
fullScreen
alert
confirm
focus
blur
back
forward
home
stop
moveTo
moveBy
resizeTo
resizeBy
scroll
close
updateCommands
atob
btoa
frameElement
removeEventListener
dispatchEvent
getComputedStyle
sessionStorage
globalStorage
Thanks in advance