Hello,
In an XPage I have a button wich saves one datasource of my page, then launch an agent that will modify some fields :
ITEM1 is saved with the value “A”.
The agent is launched from the javascript code and sets ITEM1 to “B”.
After that, my datasource is not updated. If I make a myDataSource.getItemValueString(“ITEM1”) or myDataSource.getDocument(true).getItemValueString(“ITEM1”) it will return me “A” instead of “B”.
After that I redirect to my page and the text box associated to “ITEM1” shows “B”.
Is there any way to force a reload of the document or datasource ?
Regards,
J.