Re: [Xsltforms-support] XSLTForms 1.5
Brought to you by:
alain-couthures
From: Josselin M. <mor...@gm...> - 2021-01-20 10:52:58
|
Hi Alain (it’s me again…;) I am confronted with a new error: Error dispatching event 'xforms-refresh' which may be linked to my previous email. I made a sample to explain my issue. In this form, we can create a list of subscribers. Each subscriber is either taken from a list of people, or created directly if the subscriber is not in the list. In this case, we can fill in his name and informations about his age. This is where I have a problem. If it appears that the person I started to add was already in the list, and I decided to change my mind and choose the person from the list, then, if everything is filled in (especially the age field, made with xf:itemset), I get the error message mentioned above. If I don't use xf:itemset or xf:repeat, I don't get this error. Maybe I'm doing something wrong ? but I didn't get this message with xsltforms 1.3? I attach a simplified example, or you can find it on GitHub Gist: https://gist.github.com/sardinecan/21a1781c66e8d68a116a8b54e44b3a65#file-refresherror-xml <https://gist.github.com/sardinecan/21a1781c66e8d68a116a8b54e44b3a65#file-refresherror-xml>. Thank you very much for your help, Sincerely, Josselin. NB : with this same form, I have the same error, if I already choose a person from the list and decided to add a new person. Josselin. > Le 18 janv. 2021 à 22:31, Josselin Morvan <mor...@gm...> a écrit : > > Hi Alain, > > Thank you very much for fixing this issue. > > I’m now experimenting another one with the binding rules and the use of xf:repeat. It seems that the xf:bind/@relevant are ignored for fields inside a xf:repeat, as they are still available. > > I have also the same kind of problem with fields pointing to a non-existent element. Here only the label is displayed, but I think it shouldn't. > > Finally, I found that @value="" didn't work anymore with xf:setvalue to set an empty value, we need to use @value="''" (with single quotes inside double quotes). But for this last one, it may be normal ? > > Here is a sample : > https://gist.github.com/sardinecan/21a1781c66e8d68a116a8b54e44b3a65#file-binding-issue-with-repeat <https://gist.github.com/sardinecan/21a1781c66e8d68a116a8b54e44b3a65#file-binding-issue-with-repeat> > > Thank you for your help, best, > Josselin > > > > > >> Le 9 janv. 2021 à 20:01, Alain Couthures <ala...@ag... <mailto:ala...@ag...>> a écrit : >> >> Hi Josselin, >> >> This issue is now fixed in the new committed build (1.5.1). There were also CSS missing rules in the previous one... >> >> Please give a try at https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip <https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip> >> >> Thank you for your feedback! >> >> --Alain >>> Le 05/01/2021 11:58, Josselin Morvan <mor...@gm... <mailto:mor...@gm...>> a écrit : >>> >>> >>> Hi Alain, >>> >>> First, I wish you a Happy New Year 2021 ! >>> >>> I realized I didn’t explain my issues with xf:copy in my previous mail : >>> When I set @appearance=‘full’ on a xf:select, it needs two clicks to select or deselect an item, and we can’t select multiple items. As you can see with the screen capture attached, there is also a problem with the label displayed. >>> With xf:select1, when you select one item from the list, all the items are checked, and I'm experimenting the same problem with the label. >>> >>> My issue with xf:date content and the calendar display was from my side, my apologize. >>> >>> The sample form is still accessible on my GitHub Gist : https://gist.github.com/sardinecan/21a1781c66e8d68a116a8b54e44b3a65 <https://gist.github.com/sardinecan/21a1781c66e8d68a116a8b54e44b3a65> >>> >>> Thank you very much for your help. >>> Best, >>> Josselin. >>> >>> <xf-copy.jpeg> >>>> Le 17 déc. 2020 à 12:53, Josselin Morvan <mor...@gm... <mailto:mor...@gm...>> a écrit : >>>> Hi Alain, >>>> >>>> Thank you for the xsltforms 1.5 release !! >>>> >>>> I tried this release with a previous form, everything seems to work except I’m experimenting some issues with the xf:copy element when xf:select (or xf:select1) is set with @appearance=‘full’. It works fine with @appearance=‘minimal/compact’. >>>> I also have an issue with the calendar display with xf:date content. >>>> Please, find small sample attached (or on Github Gist : https://gist.github.com/sardinecan/21a1781c66e8d68a116a8b54e44b3a65 <https://gist.github.com/sardinecan/21a1781c66e8d68a116a8b54e44b3a65>) >>>> >>>> Thank you very much for your job !! >>>> Best, >>>> Josselin. >>>> >>>> <issue.xml> >>>> >>>> >>>>> Le 4 déc. 2020 à 17:31, Alain Couthures <ala...@ag... <mailto:ala...@ag...>> a écrit : >>>>> Hello, >>>>> >>>>> XSLTForms 1.5 can now be downloaded at https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip <https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip> >>>>> >>>>> The corresponding CSS stylesheet has been aligned to the one in the XForms Tutorial written by Steven Pemberton for Declarative Amsterdam: https://declarative.amsterdam/show?page=da-tutorial-xforms <https://declarative.amsterdam/show?page=da-tutorial-xforms> >>>>> >>>>> Thank you for your feedback! >>>>> >>>>> --Alain >>>>> _______________________________________________ >>>>> Xsltforms-support mailing list >>>>> Xsl...@li... <mailto:Xsl...@li...> >>>>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support <https://lists.sourceforge.net/lists/listinfo/xsltforms-support> >>>> >>> > |