Re: [Xsltforms-support] XSLTForms wrap and setselection
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2016-04-13 16:54:36
|
Winona, I think that the "xforms-submit-done" event is what you are looking for. Please have a look at this example: https://en.wikibooks.org/wiki/XForms/Web_Service_Tester So, with one button, the submission is sent then, when it's done, the selected text is set to the new value. Thank you for your feedback! --Alain Le 13/04/2016 17:18, Winona Salesky a écrit : > I'm attempting to use the new wrap and or setselection functions to > pass a selected text block to a search function, and then pass the > results of the search function back to the selection, replacing the > selected text with the results from the lookup; namely a URI as an > attribute of the element specified in the wrap function. > > Any hints on how to do this in as few button clicks for the user as > possible? I can accomplish this with two buttons, one to look up the > name, store the value in the instance('uri') which is used by the > wrap function. And then with a second to button to wrap the selected > text with the correct element and attribute stroed in the > instance('uri'). Am I overlooking a way to do this in one click? > Thanks for the helps, > -Winona > > > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |