I'm one of the naive developer of XPages application. I took up XPages as I find them really interesting to build whatever we want.
Here is one of my problems on which I am working from days but couldn't get over it.
In my Leave application, I have two date fields, leaveFrom & leaveTill and one computed edit box where I would display the no. of days (noDays) dynamically i.e. the difference of above two leave date fields. And I am unable to do such a simple thing.
I'm using Lotus 8.5.3 for creating this application. I saw some of the methods like getcomponent("").setvalue()
or getvalue()
. But these two methods are not available in 8.5.3. I always get error when I use these methods. I tried using getComponent on CSJS also.. but no success.
I also tried using other script methods, I could get backend documents created but value is not showing on my current xpage.
Please show me the correct path.