Re: [Xsltforms-support] date picker
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@fr...> - 2011-04-11 08:01:20
|
Hi André, I have now located an issue with FF4: the name() function now returns a string always in capital letters for an attribute within an html element! An HTML5 feature... I have improved the namespace:: workaround for FF4 too. Before committing again, there is a chance I can also fix something for StartML but the exception trace you sent is not enough to locate what went wrong: can you please send me a form or a link to it (hopefully producing this exception)? Thanks! -Alain Le 11/04/2011 09:16, ac a écrit : > Hi Alain, > > > Opps, something seems wrong with 498 ... > > The previously working form (e.g. FF4) now gives this error: > > XSLTForms Exception > -------------------------- > > Error evaluating the following XPath expression : > > count(//stratml:Value) > > TypeError > > n is undefined > > > > And when I click OK, then I get this error: > > XSLTForms Exception > -------------------------- > > Error initializing : > > stringValue(null)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:8244 > ([object Element],[object Array],105,[object > Array])@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1900 > ([object Object],[object > Element])@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:3982 > ([object > Element])@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:4091 > ([object > Element])@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:3968 > ([object HTMLSpanElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1765 > ([object HTMLHeadingElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLDivElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLTableCellElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLTableRowElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLTableSectionElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLTableElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLTableCellElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLTableRowElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLTableSectionElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLTableElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ([object HTMLBodyElement],[object > Element],true)@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1782 > ()@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1712 > ()@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/xsltforms/xsltforms.js:1602 > initImpl()@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/iai2.xml:511 > init()@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/iai2.xml:2 > onload([object > Event])@http://www.hyperbase.com/library/hyperform/stratml/asset/xml/iai2.xml:1 > > > TypeError > > value is null > > > > So I have to roll back, if I can as the previous version had been > patched ... > > Regards, > Andre > > > > > Hi Alain, Ivan, > > Great! > > Ivan, for the record, your patch had apparently fixed the issue. > > I have now upgraded to 498. > > Thank you both. > > Regards, > Andre > > > >> Hello André and Ivan, >> >> I just discovered that the fix suggested was actually to apply at 3 >> more lines! >> >> You can now test with the latest commit. >> >> Thank you for your feedbacks! >> >> -Alain >> >> Le 08/04/2011 21:09, Иван Пономарёв a écrit : >>> Hello, Andre! >>> >>> It seems to me that you are experiencing exactly the same problem >>> with date picker that has been terrifying us until we found out the >>> problem in Xsltforms JavaScript and solved it. Apparently Alain did >>> not have time to assess our bugfix and include it in his code... >>> >>> Please see >>> >>> http://sourceforge.net/mailarchive/forum.php?thread_name=4D3A0CE5.4020709%40mail.ru&forum_name=xsltforms-support >>> >>> >>> and try out the solution given in the last message of that thread. It >>> is only about adding ", true" in one method call. Please let us know >>> if this helps you. >>> >>> Regards, >>> >>> Ivan Ponomarev >>> >>> Fri, 08 Apr 2011 10:53:20 -0400 письмо от ac<ac...@hy...>: >>> >>>> Hi Alain, >>>> >>>> Sorry about the previous message and forgetting to set the subject and >>>> set the persona to go through the listserv. >>>> >>>> >>>> Hi Alain, >>>> >>>> I hope that you are fine. >>>> >>>> Here it is ok, after we have had to work around some issues in >>>> trying to >>>> return an xml document in a new browser window, after an XSLTForms >>>> submission, but managed to get around it with an http submit that >>>> serializes a large instance model. Anyway, it is working for us now. >>>> >>>> There is still another different issue, as sometimes, the date picker >>>> increments the selected date by one day. I tried to get the latest >>>> XSLTForms from SVN and it did not seem to fix the problem. I may have >>>> done something wrong and I am wandering if the issue rings any bell >>>> for you? >>>> >>>> Thank you. >>>> >>>> Regards, >>>> Andre >>>> >>>> >> > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |