[Xerte-dev] pageList control in xwd forms

Kemp Johnathan johnathan.kemp at ntlworld.com
Mon Nov 26 16:02:42 GMT 2012


Having completed some further testing of the new Connector xwds and models
in my XOT test site I ran into the issue of either failing to make a
selection from a pageList control or trying to select the first page in the
project.

The problem is that the pageList control lists all the pages in the project
so its default display is the first page in the project. So it looks like a
selection has been made yet the default data behind the control is ""
If you want to select the first page you have to select one of the other
pages first, which sets a linkID as the data value. Then when you then
select the first page the current data value is overwritten with the linkID
of the first page..

To make it clear that a page has not been selected would it be feasible to
make the first item on the list some text with a known data value. e.g,

"Please select a page" data=""

If the data value needs to be populated e.g. "Please select a page"
data="noSelection" then I can update all the default values for the
pageList entry in all the xwds :-(

Kind regards

Johnathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121126/8ec0d301/attachment.html>


More information about the Xerte-dev mailing list