1

I've an xpages in which i set some fields to filter documents, with an autocomplete in one of these.

At the end, a button make a pdf based on this query fields (onClick action), and the pdf is presented to be saved or open.

Ad this point, autocomplete doesn't work anymore, i need to reload the xpage to make autocomplete active again, but i loose all other field values set in previous search.

Is it possible to keep autocomplete alive?

Andrea Baglioni
  • 303
  • 1
  • 2
  • 20

2 Answers2

0

My guess is that you serve up an PDF directly from the page and no in a separate window. This will make the XPage to stall and will wait for a timeout of some kind.

I usually on the pdf generation button add this on a js timeout.

XSP.allowSubmit()

That usually works in the cases I have encountered.

Fredrik Norling
  • 3,461
  • 17
  • 21
0

Problem solved!

Just set the type ahead mode to Partial instead of Full

Thanks everyone

Andrea Baglioni
  • 303
  • 1
  • 2
  • 20