[Xsltforms-support] Dynamic UI binding expressions
Brought to you by:
alain-couthures
|
From: Mats E. <mat...@ya...> - 2015-04-17 09:50:07
|
Hi! Making progress with the use of XSLTForms, again, great tool!! Question: does XSLTForms support dynamic UI binding expressions (XForms 1.1 specification chapter 7.4.3)? Background for my question is that I have an xf:upload control that is bound to the last file element in a files list (i.e. ref="files/file[last()]"). When a file has been uploaded with the control, an xf:insert action inserts a new file to the end of the list. Even after an explicit call to xf:rebuild/xf:refresh after the xf:insert, the xf:upload control remains bound to the original file element, even though this element is no longer last in the list! I would need it however to bind to the new last element in order for my form to work! Grateful for any clarification and help! Thanks,Mats |