[Xsltforms-support] question about conversion from ubiquity
Brought to you by:
alain-couthures
From: Chris H. <ch...@el...> - 2020-01-11 13:36:27
|
Hi, Many years ago I worked on a xform which would allow editing of an XML file. I didn't know a lot about XSLT or XForms but I was able to cook up something that worked. We used the ubiquity library. Recently the form quit working. I am remote from the situation such that I cannot directly debug the problem. There are other people working on that. I've been given the task of researching a replacement for the ancient ubiquity library. I have the xsltforms package installed on our web server and I can run some sample forms. It looks like the xsltforms content is being sent to the browser, so I think my basic plumbing is working ok. My problem is that our form never seems to activate. I get the screen drawn but none of my DOMActivate events seem to perform. Also my submit buttons do not work. None of my instance data is showing up in the form. I am looking for any help or advise that might be available My triggers look like this: <xf:trigger bind="detailSpecial"> <xf:label>Insert tax/total Item</xf:label> <xf:action ev:event="DOMActivate"> <xf:insert nodeset="/bill/billDetail/detailSpecialSet/detailSpecial" at="index('repeat-detailSpecial')" position="before"/> <xf:setvalue ref="/bill/billDetail/detailSpecialSet/detailSpecial[index('repeat-detailSpecial')]/specialDescription"></xf:setvalue> <xf:setvalue ref="/bill/billDetail/detailSpecialSet/detailSpecial[index('repeat-detailSpecial')]/charge"></xf:setvalue> </xf:action> </xf:trigger> <xf:trigger bind="detailSpecial"> <xf:label>Delete tax/total Item</xf:label> <xf:delete ev:event="DOMActivate" nodeset="/bill/billDetail/detailSpecialSet/detailSpecial" at="index('repeat-detailSpecial')"/> </xf:trigger> |