xsltforms-support Mailing List for XSLTForms (Page 67)
Brought to you by:
alain-couthures
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(6) |
Jun
(9) |
Jul
(16) |
Aug
(5) |
Sep
(43) |
Oct
(36) |
Nov
(58) |
Dec
(43) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(79) |
Feb
(81) |
Mar
(107) |
Apr
(93) |
May
(85) |
Jun
(54) |
Jul
(64) |
Aug
(54) |
Sep
(45) |
Oct
(53) |
Nov
(34) |
Dec
(77) |
2011 |
Jan
(56) |
Feb
(53) |
Mar
(52) |
Apr
(66) |
May
(44) |
Jun
(16) |
Jul
(28) |
Aug
(5) |
Sep
(15) |
Oct
(21) |
Nov
(51) |
Dec
(46) |
2012 |
Jan
(16) |
Feb
(38) |
Mar
(47) |
Apr
(45) |
May
(41) |
Jun
(41) |
Jul
(72) |
Aug
(17) |
Sep
(10) |
Oct
(16) |
Nov
(29) |
Dec
(30) |
2013 |
Jan
(25) |
Feb
(13) |
Mar
(20) |
Apr
(25) |
May
(34) |
Jun
(8) |
Jul
(12) |
Aug
(9) |
Sep
(21) |
Oct
(19) |
Nov
(6) |
Dec
(2) |
2014 |
Jan
(14) |
Feb
(8) |
Mar
(7) |
Apr
(13) |
May
(33) |
Jun
(13) |
Jul
(6) |
Aug
(5) |
Sep
(5) |
Oct
(34) |
Nov
(7) |
Dec
|
2015 |
Jan
(1) |
Feb
(6) |
Mar
(17) |
Apr
(12) |
May
(10) |
Jun
(18) |
Jul
(31) |
Aug
(9) |
Sep
(3) |
Oct
(6) |
Nov
(19) |
Dec
(1) |
2016 |
Jan
(18) |
Feb
(4) |
Mar
(13) |
Apr
(19) |
May
|
Jun
(17) |
Jul
(7) |
Aug
|
Sep
(3) |
Oct
(6) |
Nov
(3) |
Dec
|
2017 |
Jan
(5) |
Feb
(17) |
Mar
(4) |
Apr
(8) |
May
(3) |
Jun
|
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(5) |
Nov
(6) |
Dec
(4) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
(1) |
2019 |
Jan
|
Feb
|
Mar
(4) |
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
(7) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
(13) |
Feb
(17) |
Mar
(8) |
Apr
(11) |
May
(15) |
Jun
(11) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2021 |
Jan
(9) |
Feb
(26) |
Mar
(17) |
Apr
|
May
(7) |
Jun
(18) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(10) |
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(2) |
Sep
(3) |
Oct
(2) |
Nov
(10) |
Dec
(1) |
2023 |
Jan
(10) |
Feb
|
Mar
(7) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
(11) |
Nov
(8) |
Dec
(5) |
2024 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(4) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Efraim F. <efr...@gm...> - 2011-02-03 14:59:40
|
Hi, On 02/03/2011 09:16 AM, srinivasan krishnamoorthy wrote: > when i am trying to update values in existdb i face following error.... > > <exception> > <path>//db/vserve/main/test.xq</path> > <message> > XQuery update expressions can not be applied to in-memory nodes. > </message> > </exception> When you load a document through eXist's REST interface, it's loaded as an in-memory node, and, as the error says, you can only do XQuery updates to database nodes. Instead of: doc('http://localhost:8080/exist/rest/db/vserve/data/clients/1000012011.xml') try: doc('/db/vserve/data/clients/1000012011.xml') PS This isn't so much an XSLTForms question as it is an eXist question. A more appropriate forum might be the exist-open list. -- --- Efraim Feinstein Lead Developer Open Siddur Project http://opensiddur.net http://wiki.jewishliturgy.org |
From: Claudius T. <cla...@ya...> - 2011-02-03 00:39:00
|
Works very fine with YUI2, since few months ago, when I integrated YUI Editor/SimpleEditor in eXSLTForms (see http://sourceforge.net/projects/extxsltforms/). Now I am working on integrating YUI2 DataTable, but using the YUI3 framework; works good, too. Claudius Teodorescu http://kuberam.ro |
From: Leigh L K. Jr <lei...@xe...> - 2011-02-03 00:27:52
|
On 01/16/2011 05:11 AM, COUTHURES Alain wrote: > > Le 11/01/2011 20:40, Leigh L Klotz Jr a écrit : > > XSLTForms defines a number of top-level variables, some of which have > > generic names. > > > > The Event object, in particular, conflicts with other libraries. > > > > It would be best to put all of XSLTForms in a single top-level object > > named XSLTForms. > > However, it may be OK for now to rename "var Event" to "var > XSLTFormsEvent". > > > > Otherwise, you can't use XSLTForms with external widget libraries. > > > > Leigh. > > > Thank you for pointing at this name conflict! > > I agree with you about use of a unique top-level object. A subforms > mechanism would also require this. > > Before that, I renamed "Event" into "XSLTFormsEvent" as you suggested. > > Can you give the name(s) of those external widget libraries you would > like to use? > > Thanks! > > -Alain > Thank you! I've tested this with prototype.js because it was handy. I understand recently that Claudius Teodorescu is testing with YUI. Leigh. |
From: COUTHURES A. <ala...@ag...> - 2011-02-01 20:31:44
|
Hello Raja, > Still the same question . HTML5 accepting off-line output (locally can > save the data - form running in offline ) option . So, Can include in > XSLTForms also but, you not included that one upto the beta 3 release . > issues : > 1. Off-line data (.xml format) option in XSLTForms issues not solved . There is clearly a possibility based on Java applets and other proprietary extensions for IE and Mozilla FireFox. This does not seem to be very difficult. > > 2. upload control issues not solved as per the recommendation (XForms > 1.1). Upload control requires the capability to read local files as Off-line data option. > > is there any future plan to overcome the above mentioned issues . pls > answer ALAIN. and is this l solution for both online and off-line Yes, there is a future plan for supporting this. The truth is that I don't need it myself yet and that I have now other priorities for the next weeks. Thanks! -Alain |
From: COUTHURES A. <ala...@ag...> - 2011-02-01 20:21:28
|
Hello Mathias, > Is there a way to repeat table columns? > > It seems that repeating table rows puts the repeat classes into the > table and tr, whereas the repeat before the td generates two div, > destroying the table. > > e.g. this snippet: > > <table> > <xf:repeat nodeset="course"> > <tr> > <xf:repeat nodeset="country"> > <td> > > generates this (copied from firebug): > > <table id="xf-repeat-1" class=" xforms-repeat"> > <tbody class=" xforms-repeat-item-selected"> > <tr class="xforms-repeat-item"> > <div id="xf-repeat-2" class=" xforms-repeat"> > <div class="xforms-repeat-item xforms-repeat-item-selected"> > <td> > > > Any chance to repeat the td properly? Repeating both lines and columns implies using the same tr element as an item for the first repeat and as a the main element for the second repeat. I have treated this situation as an exception in the latest commit (SVN and git). Thank you for your feedbacks! -Alain |
From: Raja <m.r...@ni...> - 2011-02-01 14:45:03
|
Hi Members !!! Still the same question . HTML5 accepting off-line output (locally can save the data - form running in offline ) option . So, Can include in XSLTForms also but, you not included that one upto the beta 3 release . issues : 1. Off-line data (.xml format) option in XSLTForms issues not solved . 2. upload control issues not solved as per the recommendation (XForms 1.1). is there any future plan to overcome the above mentioned issues . pls answer ALAIN. and is this l solution for both online and off-line By -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9791125383 |
From: Raja <m.r...@ni...> - 2011-02-01 06:58:22
|
Hi Fred!!! thanks for your reply . but, i didnt see any code attached here in your mail. and one more clarification , XSLTForms not a complete client side solution for off-line mode . am i correct ? By Raja On 02/01/11, fr...@fl... wrote: > > Hi Raja, > > My students have made a Java applet that saves the XML locally. But > they chose first to write the message to a set of cookies. I attached the code, for what it is worth, but it only works for IE, as FF has a different > cookie structure. > We are working at a more elegant solution. > > Fred > > Citeren Raja <m.r...@ni...>: > > >Hi XSLTForms members !!!!! > > > >Is there any possible workaround to save XForms output as XML through XSLTForms(off-line mode). Because it was not saved the local copy of XML in my machine and only showing the XML output . How will i solve this problem . > > > >Ps : this is an urgent query pls reply as soon as possible .. Advanced thanks for your kind reply . > > > >By > >-- > >Rajamani Marimuthu > >Junior Research Fellow-JRF > >NIC -Open Technology Centre > >Rajaji Bhavan > >Besant Nagar, > >Chennai - 90 > >Cell : 9791125383 > > > > > > > > A MIME attachment of type <application/x-zip-compressed> was removed here > by a drop-attachments-by-name filter rule on the host <esahyd01.nic.in>. > > -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9791125383 |
From: <fr...@fl...> - 2011-02-01 06:07:23
|
Hi Raja, My students have made a Java applet that saves the XML locally. But they chose first to write the message to a set of cookies. I may share the code with you, but it only works for IE, as FF has a different cookie structure. We are working at a more elegant solution. Fred Citeren Raja <m.r...@ni...>: > Hi XSLTForms members !!!!! > > Is there any possible workaround to save XForms output as XML > through XSLTForms(off-line mode). Because it was not saved the local > copy of XML in my machine and only showing the XML output . How > will i solve this problem . > > Ps : this is an urgent query pls reply as soon as possible .. > Advanced thanks for your kind reply . > > By > -- > Rajamani Marimuthu > Junior Research Fellow-JRF > NIC -Open Technology Centre > Rajaji Bhavan > Besant Nagar, > Chennai - 90 > Cell : 9791125383 > |
From: Raja <m.r...@ni...> - 2011-02-01 05:54:04
|
Hi XSLTForms members !!!!! Is there any possible workaround to save XForms output as XML through XSLTForms(off-line mode). Because it was not saved the local copy of XML in my machine and only showing the XML output . How will i solve this problem . Ps : this is an urgent query pls reply as soon as possible .. Advanced thanks for your kind reply . By -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9791125383 |
From: Mathias P. <Mat...@gm...> - 2011-01-27 12:14:41
|
Is there a way to repeat table columns? It seems that repeating table rows puts the repeat classes into the table and tr, whereas the repeat before the td generates two div, destroying the table. e.g. this snippet: <table> <xf:repeat nodeset="course"> <tr> <xf:repeat nodeset="country"> <td> generates this (copied from firebug): <table id="xf-repeat-1" class=" xforms-repeat"> <tbody class=" xforms-repeat-item-selected"> <tr class="xforms-repeat-item"> <div id="xf-repeat-2" class=" xforms-repeat"> <div class="xforms-repeat-item xforms-repeat-item-selected"> <td> Any chance to repeat the td properly? Many thanks for any tips, Mathias |
From: Raja <m.r...@ni...> - 2011-01-24 06:33:50
|
Hi Alain !!! Actually we narrowing the XForms solution for various device like mobile and web browser ...(single solution for all this platform).. Even HTML5 there svg support available . By Rajamani marimuthu On 01/22/11, COUTHURES Alain <ala...@ag...> wrote: > > Hi Raja, > >As far as i seen the XForms hosting language is XHTML. Is there any solution like SVG+XForms and if yes then pls share that information here. > SVG+XForms would require a very different XSLT stylesheet to emulate HTML form controls. Native SVG sounds necessary too, so there might be big problems with some browsers. > > Nevertheless, I'm convince that it could be done with XSLTForms and I would love to do it! > > Are you thinking of mobile browsers??? > > Thanks! > > -Alain > > -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9791125383 |
From: Jens Ø. P. <oe...@gm...> - 2011-01-23 16:24:26
|
Hi Alain, Well, that was quick! Thanks a lot: now we can use the attribute insertion, have people use the much faster Chrome - and we can even write p's! I see I will have to read up on my code tables …. Best, Jens On Jan 23, 2011, at 4:46 PM, COUTHURES Alain wrote: > Hello Jens, >> The problem relates to both input and textarea. >> >> The problem occurs on WebKit browsers. I have tested Chrome/Chromium on all three platforms and on different machines, and Safari and OmniWeb on Mac OS. It also occurs with Opera, which uses Presto. It does not occur with Firefox or SeaMonkey (which use Gecko). >> >> The problem is - - - that I cannot input the character 'p'. I know this sounds cracy, 'P' is OK, and as far as I can see, 'p' is the only character affected. When the key for 'p' is pressed, nothing is input. It is not that 'p' does not get saved - it simply does not appear in the input field. Pasting in 'p's is OK, just as 'p's are loaded. - And no, there is not a piece of gum in my keyboard! > 112 is the ascii code for 'p'! >> The problem must have something to do with the change in xsltforms.js revision 469: line 1348 to revision 470 lines: 1348-1364 (since this is the only change between the two revisions): >> >> document.onhelp = new Function("return false;"); >> window.onhelp = new Function("return false;"); >> Event.attach(document, "keydown", function(evt) { >> if (evt.keyCode == 112) { >> alert("XSLTForms version id: Rev. 470\n\nhttp://www.agencexml.com/xsltforms\n\n(c) Alain Couthures - agenceXML - 2010"); >> event.stopPropagation(); >> event.preventDefault(); >> return false; >> } >> }); >> Event.attach(document, "keypress", function(evt) { >> if (evt.keyCode == 112) { >> event.stopPropagation(); >> event.preventDefault(); >> return false; >> } >> }); >> >> Keycode 112 would be F1. Pressing F1 brings up the loading times, but how does F1 relate to p?!? > The issue is in the "keypress" handler because the keyCode property for this event should contain the ascii code instead. > > FireFox is not correct... > > I will simply remove the "keypress" handler, which doesn't seem to be useful anyway, and commit this as soon as possible. > > Thanks! > > -Alain > |
From: COUTHURES A. <ala...@ag...> - 2011-01-23 15:46:51
|
Hello Jens, > The problem relates to both input and textarea. > > The problem occurs on WebKit browsers. I have tested Chrome/Chromium on all three platforms and on different machines, and Safari and OmniWeb on Mac OS. It also occurs with Opera, which uses Presto. It does not occur with Firefox or SeaMonkey (which use Gecko). > > The problem is - - - that I cannot input the character 'p'. I know this sounds cracy, 'P' is OK, and as far as I can see, 'p' is the only character affected. When the key for 'p' is pressed, nothing is input. It is not that 'p' does not get saved - it simply does not appear in the input field. Pasting in 'p's is OK, just as 'p's are loaded. - And no, there is not a piece of gum in my keyboard! 112 is the ascii code for 'p'! > The problem must have something to do with the change in xsltforms.js revision 469: line 1348 to revision 470 lines: 1348-1364 (since this is the only change between the two revisions): > > document.onhelp = new Function("return false;"); > window.onhelp = new Function("return false;"); > Event.attach(document, "keydown", function(evt) { > if (evt.keyCode == 112) { > alert("XSLTForms version id: Rev. 470\n\nhttp://www.agencexml.com/xsltforms\n\n(c) Alain Couthures - agenceXML - 2010"); > event.stopPropagation(); > event.preventDefault(); > return false; > } > }); > Event.attach(document, "keypress", function(evt) { > if (evt.keyCode == 112) { > event.stopPropagation(); > event.preventDefault(); > return false; > } > }); > > Keycode 112 would be F1. Pressing F1 brings up the loading times, but how does F1 relate to p?!? The issue is in the "keypress" handler because the keyCode property for this event should contain the ascii code instead. FireFox is not correct... I will simply remove the "keypress" handler, which doesn't seem to be useful anyway, and commit this as soon as possible. Thanks! -Alain |
From: Jens Ø. P. <oe...@gm...> - 2011-01-23 15:14:21
|
Dear XSLTForm'ers, I know this sounds cracy, but please hear me out nonetheless. I am running XSLTForms through eXist 1.5. The problem occured with XSLTForms revision 470. The problem relates to both input and textarea. The problem occurs on WebKit browsers. I have tested Chrome/Chromium on all three platforms and on different machines, and Safari and OmniWeb on Mac OS. It also occurs with Opera, which uses Presto. It does not occur with Firefox or SeaMonkey (which use Gecko). The problem is - - - that I cannot input the character 'p'. I know this sounds cracy, 'P' is OK, and as far as I can see, 'p' is the only character affected. When the key for 'p' is pressed, nothing is input. It is not that 'p' does not get saved - it simply does not appear in the input field. Pasting in 'p's is OK, just as 'p's are loaded. - And no, there is not a piece of gum in my keyboard! The problem must have something to do with the change in xsltforms.js revision 469: line 1348 to revision 470 lines: 1348-1364 (since this is the only change between the two revisions): document.onhelp = new Function("return false;"); window.onhelp = new Function("return false;"); Event.attach(document, "keydown", function(evt) { if (evt.keyCode == 112) { alert("XSLTForms version id: Rev. 470\n\nhttp://www.agencexml.com/xsltforms\n\n(c) Alain Couthures - agenceXML - 2010"); event.stopPropagation(); event.preventDefault(); return false; } }); Event.attach(document, "keypress", function(evt) { if (evt.keyCode == 112) { event.stopPropagation(); event.preventDefault(); return false; } }); Keycode 112 would be F1. Pressing F1 brings up the loading times, but how does F1 relate to p?!? Best, Jens |
From: COUTHURES A. <ala...@ag...> - 2011-01-22 12:51:12
|
Hi Raja, > As far as i seen the XForms hosting language is XHTML. Is there any > solution like SVG+XForms and if yes then pls share that information here. SVG+XForms would require a very different XSLT stylesheet to emulate HTML form controls. Native SVG sounds necessary too, so there might be big problems with some browsers. Nevertheless, I'm convince that it could be done with XSLTForms and I would love to do it! Are you thinking of mobile browsers??? Thanks! -Alain |
From: COUTHURES A. <ala...@ag...> - 2011-01-22 12:44:46
|
Hi Raja, > The Output with media type "image/svg+xml" not loading the image . Is > there any problem in this type or no support? Yes, SVG support is still experimental, especially for Internet Explorer. Could you please send me an SVG test file? Thanks! -Alain |
From: Raja <m.r...@ni...> - 2011-01-22 11:27:29
|
Hi members !!! The Output with media type "image/svg+xml" not loading the image . Is there any problem in this type or no support? By -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9791125383 |
From: Ivan P. <ipo...@ma...> - 2011-01-22 11:10:16
|
Hello Alain! > Can you tell me how many developers are using XSLTForms? We wrote a software product that utilizes XForms for data collection. In some aspects our product resembles MS Infopath. So we have two kind of developers: 1) those who write Java/GWT code for the "platform" and are not very familiar with XForms, there are two/three of us who are continuing to develop this product (not full-time at the moment). 2) and those who write XHTML/XForms "templates" for our platform --- these people are not developers, they only have been taught HTML, XForms and very basic Javascript. AFAIK, there are 5 people of this kind, and the "form templates" they write are being utilized in half a dozen of projects in different fields. > Have a look at XFControl.prototype.valueChanged method: each time a node > value is modified by a control, it is added in a list maintained for > each model. This list is then read when refreshing. We will have to take some time to investigate this and then we will send you a feedback. Thank you for suggestion! Regards, Ivan Ponomarev. On 20.01.2011 0:07, COUTHURES Alain wrote: > Hello Ivan, >> Hello, >> >> We are using xsltForms for quite a while. Great idea and a great >> implementation. Still our developers constantly face several problems >> that I can't solve. > Can you tell me how many developers are using XSLTForms? >> We sometimes need to select value from a huge list, stored in the >> database. Traditional comboboxes and scrollboxes is not a solution in >> this case, because the whole list of values (tens of thousands of >> records) can't be placed in a webpage source. We have written special >> Javascript (GWT) code, that shows a dialogue that allows one to filter >> and pick a value from a huge list using AJAX techniques. The dialogue >> saves chosen value (id and name) into the instance and refreshes the >> whole form (xforms.ready = false; xforms.refresh(); xforms.ready = >> true;). The problem of such an approach is that this type of refresh >> sometimes fails to refresh constraints. The question is: what is the >> most reliable way to automate insertion of data into form fields using >> Javascript? > Have a look at XFControl.prototype.valueChanged method: each time a node > value is modified by a control, it is added in a list maintained for > each model. This list is then read when refreshing. > > Thank you for your feedbacks! > > -Alain > > |
From: Raja <m.r...@ni...> - 2011-01-22 10:53:56
|
Hi members !!! As far as i seen the XForms hosting language is XHTML. Is there any solution like SVG+XForms and if yes then pls share that information here. By -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9791125383 |
From: Ivan P. <ipo...@ma...> - 2011-01-21 22:47:06
|
Alain, did you manage to test the "midnight problem"? ))) It's 2 AM in Moscow and just spent some time in Firebug and found out that the problem arises on line 683, var str = I8N._format(pattern, (loc ? date.getDate() : date.getUTCDate()), "dd"); loc variable here is undefined, so str receives the result of getUTCDate(), that is 1 day earlier. If you set focus in date control, and click on another control once again, the date in the control will become another day earlier and so on. If you set a breakpoint there on line 683, you will see on callstack that loc is undefined because of date.parse implementation (line 5818): "parse" : function(value) { return I8N.format(I8N.parseDate(value), "yyyy-MM-dd"); } If you change it for return I8N.format(I8N.parseDate(value), "yyyy-MM-dd", true); the problem disappears!! So my suggestion is to add ",true" to I8N.format call on line 5819. However, I am not at all sure that this is the right way to fix the problem, because I do not quite understand this code, so this is definitely something that you should assess ))) Tank you in advance, Regards, Ivan Ponomarev. On 20.01.2011 0:38, COUTHURES Alain wrote: > >> Every second time Calendar control tends just to remain on screen >> after selecting date. This happens in Chrome, Firefox, ie7& ie8. > I can't reproduce this issue. Can you please test this again with the > latest SVN release? Could give me an external link?? >> Another problem with calendar: we live in time zone GMT +3 (Moscow) >> If we try to work with form from 0 to 3am (yeah, sometimes we work at >> night:))), then each exit from date control (by mouse clicking on any >> other control) will increase date by +1. > This sounds like a mismatch with Javascript functions and timezone. But > I will probably have to wait till midnight myself to test it myself... ;-) > > Thanks! > > -Alain > > |
From: Ivan P. <ipo...@ma...> - 2011-01-21 21:44:46
|
Hello, Alain! Yes, it should definitely be better to change it into a comma, since this is the standard in Russia! And another change is for the date format: for Russian locale it should be dd.MM.yyyy instead of dd/MM/yyyy. We changed it for us and it works! Thank you! Regards, Ivan Ponomarev. On 20.01.2011 0:15, COUTHURES Alain wrote: > >> Is there some direct way to set comma as decimal separator for number >> input fields? Comma is the the standard for decimal separator in Russia >> and for end users of the form, in XML file there should still be dot. > The value of a node bound to a number type will always contain a dot > while the properties/format.decimal element in the config.xsl file can > be set to a comma for input and output. > > The current config_ru.xsl contains a dot for properties/format.decimal. > Do you think it should be better to change it into a comma? > > Thanks! > > -Alain > > |
From: Grégoire C. <gco...@gm...> - 2011-01-20 10:08:14
|
Le 19/01/2011 21:43, COUTHURES Alain a écrit : > >> I think I understand what the "data:" scheme is about (never used it >> before). I thought the "ref" attribute was used to resolve an URI (just >> like with<output mediatype="image/jpeg">), but it seems that, in the >> case of "image/svg+xml", XSLTForms uses this attribute to get an «SVG >> instance». Am I right? >> >> If so, is there a way to display a non-embedded SVG file whose URL is >> computed by XForms? > According to XForms 1.1 specifications at > http://www.w3.org/TR/xforms/#ui-output, this can be forced with a > binding to xsd:anyURI. > > Sorry, this is not yet implemented in XSLTForms... > > -Alain > Hi Alain, I'm surprised by your answer, because I use the exact same tags to display JPEG photos and it works. Inside a <repeat>, I use : <xf:output mediatype="image/jpeg" ref="concat('/services/photos/' , id , '/' , photos/photo[1]/id , '/p')" model="modele-annonces"/> The only difference with the SVG mediatype is the way XSLTForms uses the "ref" attribute in "XFOutput.prototype.setValue". In fact the «image/svg+xml» is an exception. Thanks! Grégoire |
From: <fr...@fl...> - 2011-01-19 22:16:15
|
Alain, If you are assessing config files anyway: in the Dutch configuration, dates are represented with dots: 19.01.2011 That is the German way. In Holland we use dashes: 19-01-2011 Fred van Blommestein Citeren COUTHURES Alain <ala...@ag...>: > >> Every second time Calendar control tends just to remain on screen >> after selecting date. This happens in Chrome, Firefox, ie7& ie8. > I can't reproduce this issue. Can you please test this again with the > latest SVN release? Could give me an external link?? >> Another problem with calendar: we live in time zone GMT +3 (Moscow) >> If we try to work with form from 0 to 3am (yeah, sometimes we work at >> night:))), then each exit from date control (by mouse clicking on any >> other control) will increase date by +1. > This sounds like a mismatch with Javascript functions and timezone. But > I will probably have to wait till midnight myself to test it myself... ;-) > > Thanks! > > -Alain > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: COUTHURES A. <ala...@ag...> - 2011-01-19 21:38:34
|
> Every second time Calendar control tends just to remain on screen > after selecting date. This happens in Chrome, Firefox, ie7& ie8. I can't reproduce this issue. Can you please test this again with the latest SVN release? Could give me an external link?? > Another problem with calendar: we live in time zone GMT +3 (Moscow) > If we try to work with form from 0 to 3am (yeah, sometimes we work at > night:))), then each exit from date control (by mouse clicking on any > other control) will increase date by +1. This sounds like a mismatch with Javascript functions and timezone. But I will probably have to wait till midnight myself to test it myself... ;-) Thanks! -Alain |
From: COUTHURES A. <ala...@ag...> - 2011-01-19 21:15:40
|
> Is there some direct way to set comma as decimal separator for number > input fields? Comma is the the standard for decimal separator in Russia > and for end users of the form, in XML file there should still be dot. The value of a node bound to a number type will always contain a dot while the properties/format.decimal element in the config.xsl file can be set to a comma for input and output. The current config_ru.xsl contains a dot for properties/format.decimal. Do you think it should be better to change it into a comma? Thanks! -Alain |