Hi all x-pagers out there.
I am playing with my new 8.51 Designer to get the hang of x-pages.
My goal for today: create a custom controll containing 1 editbox and a button to alert the editboxes value.
Then add the custom controll to my xpage (containing no other elements) and show the entered value by clicking the button.
I have:
-
added an ID to the editbox
-
added a simple action - execute script - to the button: 2 versions I have tried:
alert(dojo.byId(“#{id:field1}”).value); or
alert(getComponent(“field1”).value);
- selected “No Update” and “No validation”
Still the error message “Problem submitting an area of the page …” keeps appearing.
Can somebody please hand me the most basic scenario for doing this (including binding-settings that might influence this behaviour).
Thnx,
Arthur