Not sure if this is a bug, but if I add a field with a ‘typeahead’ lookup to an XPage, and then use the ‘rendered’ property to dynamically hide it based on another field, the typehead event never fires once the field is revealed.
I am only doing a partial page update - not a full update, so I presume the event handler isn’t getting attached or something during the refresh, and it works fine if the typeahead field is rendered when the page is first opened.
My workaround is to ignore the ‘rendered’ property and dynamically set the table row’s style to ‘display:none’ based on the other field.
I could also try using a ‘full page update’, but the issue I have there is that the page reopens in ‘read’ mode (the page’s default mode). I haven’t figured out how to specify that the page is ‘refreshing’ when specifying the default page action.
Karl