Sometimes I type in the xml in a XPages app, rather then drag and drop a component. Yesterday I did the same for a button.
Everything looks great as a button with the required label text.
So I added the event handler, this time not by typing in, but via the properties pane in the designer.
After a build of the app and a refresh of the browser. The action of the button was not triggered ;-(
Finally I found the problem, by adding a id to the button, the action of the button was working as expected.
I think it will also be the same for a link, basically for every element where a eventHandler is involved…by