OpenNTF.org - XPages Extension Library
XPages Extension LibraryOpenDocument[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:


Subject
 djButton disabled attibute cannot be changed programmaticaly
Categories
 
Posted by
 Fernando Levi on 03/17/2012 at 08:12 AM
Details

I have an XPage, with a xp:button, disabled by default. This changes programmaticaly with client side js, with:

document.getElementById("#{id:buttonID}").disabled=false;

It works fine.

Now... I wanted to use the better looking xe:djButton instead.

The code above now fails.

Modification history
Entered 17-Mar-2012 8:12 by Fernando Levi. Last Modified <none> by Niklas Heidloff.


Anonymous