0
votes

I've not programmed this before and I'm not finding any examples in searching of how to implement this Dojo.

I need a field to type ahead as a drop down field and will fill in the field as they type so when they type enough characters for their needs, they can hit enter and it grabs the correct value. My view is over the 64K limit. The field I've programmed, when previewing in the browser, doesn't show the field, only values in a huge long list below it. Can someone shed some light on how to program this field? Thanks for your help.

Is there an reference book that give examples of all the various elements of xPages that go into more detail than, for example, loading a drop down with six values.

1
Please add your codePer Henrik Lausten

1 Answers

1
votes

Is this the Dojo Filtering Select Extension Library control? If so, XPages Extension Library book covers those components. Mastering XPages 2nd Edition covers the core controls and generic XPages runtime topics.

Without code or more details it's hard to tell what the cause is. It sounds like the relevant Dojo classes aren't loaded. That could be because the theme used is Bootstrap, which is jQuery-based rather than Dojo-based. Alternatively, if you're not using the Extension Library control, the most likely cause is declaring the Dojo Filtering Select but not including the relevant Dojo modules. That's again one of the reasons to use the Extension Library components instead of manually coding them. Alternatively you may be using a modern IE browser against an older Domino version - IE doesn't support older versions of Dojo, requiring compatible browser / server versions.