Re: [Xsltforms-support] question about conversion from ubiquity
Brought to you by:
alain-couthures
From: <ch...@el...> - 2020-01-23 01:23:55
|
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>The name of the zip file is xsltforms-1.3.zip</div><div><br></div><div>Chris</div><div><br></div> <blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;"> <div id="wmQuoteWrapper"> -------- Original Message --------<br> Subject: Re: [Xsltforms-support] question about conversion from ubiquity<br> From: Alain Couthures <<a href="mailto:ala...@ag...">ala...@ag...</a>><br> Date: Wed, January 22, 2020 10:55 am<br> To: <a href="mailto:ch...@el...">ch...@el...</a>, "<a href="mailto:xsl...@li...">xsl...@li...</a>"<br> <<a href="mailto:xsl...@li...">xsl...@li...</a>><br> <br> <div class="moz-cite-prefix">Hi Chris,</div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix">Could it be that the targeted resource is not in the same domain as the form itself (cross-domain restriction)?</div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix">What is the release of XSLTForms you are using?<br> </div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix">Thank you for your feedback!</div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix">--Alain<br> </div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix">Le 22/01/2020 à 14:04, <a target="_blank" class="moz-txt-link-abbreviated" href="mailto:ch...@el...">ch...@el...</a> a écrit :<br> </div> <blockquote type="cite" cite="mid:202...@em..."> <span style="font-family:Verdana; color:#000000; font-size:10pt;"> <div><br> </div> <div>I'm still working on this off and on without success.</div> <div>POST doesn't seem to be sending anything at all.</div> <div><br> </div> <div>I only need a couple of pieces of information, maybe I will switch to GET.</div> <div><br> </div> <div>Here is my submission block:<br> </div> <div><br> </div> <div> <xf:submission resource=<a target="_blank" class="moz-txt-link-rfc2396E" href="https://xxxx.yyyy.zzz/cgi-bin/XMLSave1">"https://xxxx.yyyy.zzz/cgi-bin/XMLSave1"</a> method="post" id="sendStuff"><br> <xf:action ev:event="xforms-submit"><br> </xf:action><br> </xf:submission><br> <br> </div> <blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;"> <div id="wmQuoteWrapper"> -------- Original Message --------<br> Subject: Re: [Xsltforms-support] question about conversion from ubiquity<br> From: Alain Couthures <<a target="_blank" href="mailto:ala...@ag..." moz-do-not-send="true">ala...@ag...</a>><br> Date: Thu, January 16, 2020 10:54 am<br> To: Chris Howard <<a target="_blank" href="mailto:ch...@el..." moz-do-not-send="true">ch...@el...</a>>,<br> <a target="_blank" href="mailto:xsl...@li..." moz-do-not-send="true">xsl...@li...</a><br> <br> <div> Hello Chris, </div> <div> <br> </div> <div> Did you check the HTTP request body with the browser network debugger? </div> <div> <br> </div> <div> --Alain </div> <div> <br> </div> <blockquote type="cite" style="border-left: blue 2px solid; margin-left: 8px; padding-left: 8px;"> <div> Le 16 janvier 2020 à 13:09, Chris Howard < <a target="_blank" href="mailto:ch...@el..." moz-do-not-send="true">ch...@el...</a>> a écrit : </div> <div> <br> </div> <div> <br> </div> <div> Hello, </div> <div> <br> </div> <div> I have run into another issue: </div> <div> <br> </div> <div> I am using a CGI perl script and a submission button which calls the script. </div> <div> The script gets some data from the POSTDATA and does some actions. </div> <div> <br> </div> <div> My forms using xsltforms library are not sending any POST data. </div> <div> The script is being called, but no data. </div> <div> <br> </div> <div> I tried also with one of the sample forms, substituting in my own perl </div> <div> CGI as the action, </div> <div> still no POST data showing up. </div> <div> <br> </div> <div> Can you give me some pointers as to where I should be looking? </div> <div> Is this an issue with the web server config? I am not seeing any errors </div> <div> in the </div> <div> log files, just no POST data coming through. </div> <div> <br> </div> <div> Thanks </div> <div> <br> </div> <div> Chris Howard </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> On 1/12/20 7:06 AM, Chris Howard wrote: </div> <blockquote type="cite" style="border-left: blue 2px solid; margin-left: 8px; padding-left: 8px;"> <div> Hi, </div> <div> <br> </div> <div> I spent some time with the samples and sorted it out. </div> <div> The big first item was adding xmlns="" in the top-level instance data </div> <div> tag. </div> <div> Then I started seeing my instance data. </div> <div> <br> </div> <div> Then I worked out some issues with stylesheet (also covered in the </div> <div> examples). </div> <div> <br> </div> <div> I very much appreciate your help! </div> <div> <br> </div> <div> Chris </div> <div> <br> </div> <div> <br> </div> <div> On 1/11/20 8:41 AM, Alain Couthures wrote: </div> <blockquote type="cite" style="border-left: blue 2px solid; margin-left: 8px; padding-left: 8px;"> <div> Hello Chris, </div> <div> <br> </div> <div> As far as I remember, Ubiquity had a limitation about models not to </div> <div> be declared in head section but in body section. </div> <div> <br> </div> <div> I suggest you to first check that XSLTForms samples are OK for you. </div> <div> Then, to compare with Ubiquity. </div> <div> <br> </div> <div> If possible, please don't hesitate to send a full form source. </div> <div> <br> </div> <div> Thank you for your feedback! </div> <div> <br> </div> <div> --Alain </div> <div> <br> </div> <div> <br> </div> <div> Le 11/01/2020 à 15:04, Chris Howard a écrit : </div> <div> > </div> <blockquote type="cite" style="border-left: blue 2px solid; margin-left: 8px; padding-left: 8px;"> <div> Update, </div> <div> <br> </div> <div> I have been simplifying my form this morning and even with all of </div> <div> the triggers </div> <div> and events stripped out, I still don't see any of my data. </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> On 1/11/20 7:17 AM, Chris Howard wrote: </div> <blockquote type="cite" style="border-left: blue 2px solid; margin-left: 8px; padding-left: 8px;"> <div> Hi, </div> <div> <br> </div> <div> Many years ago I worked on a xform which would allow editing of </div> <div> an XML file. I didn't know a lot about XSLT or XForms but I was </div> <div> able to cook up something that worked. </div> <div> <br> </div> <div> We used the ubiquity library. </div> <div> <br> </div> <div> Recently the form quit working. </div> <div> I am remote from the situation such that I cannot directly debug </div> <div> the problem. </div> <div> There are other people working on that. </div> <div> <br> </div> <div> I've been given the task of researching a replacement for the </div> <div> ancient ubiquity library. </div> <div> <br> </div> <div> I have the xsltforms package installed on our web server and I can </div> <div> run some sample forms. </div> <div> It looks like the xsltforms content is being sent to the browser, </div> <div> so I think my </div> <div> basic plumbing is working ok. </div> <div> <br> </div> <div> My problem is that our form never seems to activate. I get the </div> <div> screen drawn </div> <div> but none of my DOMActivate events seem to perform. Also my submit </div> <div> buttons </div> <div> do not work. None of my instance data is showing up in the form. </div> <div> <br> </div> <div> I am looking for any help or advise that might be available </div> <div> <br> </div> <div> My triggers look like this: </div> <div> <br> </div> <div> <xf:trigger bind="detailSpecial"> </div> <div> <br> </div> <div> <xf:label>Insert tax/total Item</xf:label> </div> <div> <br> </div> <div> <xf:action ev:event="DOMActivate"> </div> <div> <br> </div> <div> <xf:insert </div> <div> nodeset="/bill/billDetail/detailSpecialSet/detailSpecial" </div> <div> at="index('repeat-detailSpecial')" position="before"/> </div> <div> <br> </div> <div> <xf:setvalue </div> <div> ref="/bill/billDetail/detailSpecialSet/detailSpecial[index('repeat-detailSpecial')]/specialDescription"></xf:setvalue> </div> <div> <br> </div> <div> <xf:setvalue </div> <div> ref="/bill/billDetail/detailSpecialSet/detailSpecial[index('repeat-detailSpecial')]/charge"></xf:setvalue> </div> <div> <br> </div> <div> </xf:action> </div> <div> <br> </div> <div> </xf:trigger> </div> <div> <br> </div> <div> <xf:trigger bind="detailSpecial"> </div> <div> <br> </div> <div> <xf:label>Delete tax/total Item</xf:label> </div> <div> <br> </div> <div> <xf:delete ev:event="DOMActivate" </div> <div> nodeset="/bill/billDetail/detailSpecialSet/detailSpecial" </div> <div> at="index('repeat-detailSpecial')"/> </div> <div> <br> </div> <div> </xf:trigger> </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> _______________________________________________ </div> <div> Xsltforms-support mailing list </div> <div> <a target="_blank" href="mailto:Xsl...@li..." moz-do-not-send="true">Xsl...@li...</a> </div> <div> <a href="https://lists.sourceforge.net/lists/listinfo/xsltforms-support" rel="noopener" target="_blank" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/xsltforms-support</a> </div> </blockquote> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> _______________________________________________ </div> <div> Xsltforms-support mailing list </div> <div> <a target="_blank" href="mailto:Xsl...@li..." moz-do-not-send="true">Xsl...@li...</a> </div> <div> <a href="https://lists.sourceforge.net/lists/listinfo/xsltforms-support" rel="noopener" target="_blank" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/xsltforms-support</a> </div> </blockquote> <div> <br> </div> <div> <br> </div> <div> <br> </div> </blockquote> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> _______________________________________________ </div> <div> Xsltforms-support mailing list </div> <div> <a target="_blank" href="mailto:Xsl...@li..." moz-do-not-send="true">Xsl...@li...</a> </div> <div> <a href="https://lists.sourceforge.net/lists/listinfo/xsltforms-support" rel="noopener" target="_blank" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/xsltforms-support</a> </div> </blockquote> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> _______________________________________________ </div> <div> Xsltforms-support mailing list </div> <div> <a target="_blank" href="mailto:Xsl...@li..." moz-do-not-send="true">Xsl...@li...</a> </div> <div> <a href="https://lists.sourceforge.net/lists/listinfo/xsltforms-support" rel="noopener" target="_blank" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/xsltforms-support</a> </div> </blockquote> </div> </blockquote> </span> </blockquote> <div><br> </div> </div> </blockquote></span></body></html> |