Re: [Xsltforms-support] Question about show='new' in submission

2017-04-22 Thread Steven Pemberton
I've often thought it would be useful to have a null action in XForms, that does no more than serialize, and rather than sending it anywhere, just re-reads it as if it has been sent to a server that just echos it back. Steven On Sat, 22 Apr 2017 14:24:25 +0200, Winona Salesky wrote:

Re: [Xsltforms-support] solved (was: Re: select1, itemset, value (what is this form doing wrong?))

2017-07-19 Thread Steven Pemberton
On Tue, 18 Jul 2017 10:58:58 +0200, C. M. Sperberg-McQueen wrote: The problem here is so simple it’s slightly embarrassing: the ‘ref’ attribute on xf:select sets the context item, so the relative expression in the xf:itemset/@nodeset attribute cannot (as written) succeed: no attribute every

Re: [Xsltforms-support] Error handling and display

2019-04-30 Thread Steven Pemberton
On Tue, 30 Apr 2019 11:35:47 +0200, Robert Kirkpatrick wrote: (Newcomer first post) Hello, Here is a basic Xform: When I hover over the error flags, I only get a little question mark. What can I do to display the error associated with the event, which I can't identify? As far as I recall

Re: [Xsltforms-support] Error handling and display

2019-05-02 Thread Steven Pemberton
make a difference, but well a variation with the tests you made. Regards, Robert. On Wed, May 1, 2019 at 2:58 PM Robert Kirkpatrick wrote: Very strange. I'm using Chrome Version 73.0.3683.103 On Wed, May 1, 2019 at 12:58 PM Steven Pemberton wrote: On Tue, 30 Apr 2019 19:29:39 +0200, R

Re: [Xsltforms-support] Open selection

2019-09-12 Thread Steven Pemberton
I've been thinking about how best to do this in the absence of native HTML support, and you can see my tests for select1 here: https://homepages.cwi.nl/~steven/forms/tests/open-select.xhtml I think example 4 best matches what is required, though perhaps "*other*" is not the ideal choice of

Re: [Xsltforms-support] New release: Please give it a try!

2020-02-24 Thread Steven Pemberton
Exciting to be testing the new implementation. I'll start simple. [Enter] in an doesn't seem to dispatch a DOMActivate. For instance, https://homepages.cwi.nl/~steven/forms/examples/lists/list3.xhtml Steven On Wed, 05 Feb 2020 21:15:57 +0100, Alain Couthures wrote: Hello, Please f

Re: [Xsltforms-support] New release: Please give it a try!

2020-02-24 Thread Steven Pemberton
OK thanks. New one: operator mod not recognised? Steven On Mon, 24 Feb 2020 14:30:56 +0100, Alain Couthures wrote: This has been fixed recently and I cannot reproduce this bug with your own test page: please clear browser cache. --Alain Le 24 février 2020 à 14:19, Steven Pemberton a

Re: [Xsltforms-support] New release: Please give it a try!

2020-02-25 Thread Steven Pemberton
t/>>p/xsltforms/mailman/message/36926131/). Cheers, Tim -- Tim A. Thompson Discovery Metadata Librarian Yale University Library On Mon, Feb 24, 2020 at 8:31 AM Steven Pemberton wrote: Exciting to be testing the new implementation. I'll start simple. [Enter] in an doesn'

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-03 Thread Steven Pemberton
Am I right in thinking that doesn't work yet? (Working to get the testsuite running under the new release). Best wishes, Steven On Wed, 05 Feb 2020 21:15:57 +0100, Alain Couthures wrote: Hello, Please find a new release for XSLTForms at www.agencexml.com/1.5beta/xsltforms.zip

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-03 Thread Steven Pemberton
I'm getting a strange effect: If I run an XForm in an iframe, it's not getting the xforms-ready event. If I run it in a tab of its own, it does. This is happening over several forms, so I think it is a general effect, and not dependent on the form. Here is an example. In an iframe: 0 -> Di

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-05 Thread Steven Pemberton
:02:04 +0200, Alain Couthures wrote: Could you please send me a minimal test case for this issue? Thanks! --Alain Le 3 avril 2020 à 23:18, Steven Pemberton a écrit : I'm getting a strange effect: If I run an XForm in an iframe, it's not getting the xforms-ready event. If I run i

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-05 Thread Steven Pemberton
So it looks like the testsuite is now working with the new version. I did create a new driver XForm that is more readable than the old one. I'll package it all up, and send it to you tomorrow. Steven On Wed, 05 Feb 2020 21:15:57 +0100, Alain Couthures wrote: Hello, Please find a new re

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-05 Thread Steven Pemberton
ase find the latest beta build at the same location: www.agencexml.com/1.5beta/xsltforms.zip Thank you for your feedback! --Alain Le 3 avril 2020 à 22:52, Steven Pemberton a écrit : Am I right in thinking that doesn't work yet? (Working to get the testsuite running under the new

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-05 Thread Steven Pemberton
With: .block {display: block} the output is nevertheless output with display: inline. Test case attached. Steven block.xhtml Description: application/xhtml ___ Xsltforms-support mailing list Xsltforms-support@lists.sourceforge.net https://lists.s

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-21 Thread Steven Pemberton
Watching my webserver, I see that xsltforms.xsl gets loaded twice in quick succession. The xhtml file default-get.xhtml starts like this: http://www.w3.org/1999/xhtml"; xmlns:ev="http://www.w3.org/2001/xml-events";> Here is the relevant log: GET /forms-new/TestSuite/submission/def

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-21 Thread Steven Pemberton
with no resource generates a fault (see image). It should dispatch an xforms-submit-error event. Previous version of XSLTForms didn't generate the event either, but instead (incorrectly) did the submission with an empty resource. Source of example generating the problem: http://www.cwi.n

Re: [Xsltforms-support] new beta release testing - possible styling bug - display:block

2020-05-10 Thread Steven Pemberton
I have this problem too, and I'm trying to trace how to fix it. The xsltforms css has rules like: xforms-input[xf-bound]:not([xf-notrelevant]) {display: inline} which have very high 'specificity'. The CSS1 spec* says: * Find all declarations that apply to the element/property in question.

Re: [Xsltforms-support] new beta release testing - possible styling bug - display:block

2020-05-10 Thread Steven Pemberton
16:06:25 +0200, Alain Couthures wrote: Maybe it could be better if the XSLT stylesheet could read some option to generate a reference to another CSS stylesheet >(instead of xsltforms.css). What do you think? --Alain Le 10 mai 2020 à 12:41, Steven Pemberton a écrit : I have this prob

Re: [Xsltforms-support] new beta release testing - possible styling bug - display:block

2020-05-10 Thread Steven Pemberton
t;A: should not be displayed until the extra xf-bound >attribute is added accordingly. It sounds then impossible to set the default to visible, doesn't it? --Alain Le 10 mai 2020 à 19:33, Steven Pemberton a écrit : The current stylesheet sets everything to display: none, and then adds

Re: [Xsltforms-support] Cancelling loop/action

2021-02-04 Thread Steven Pemberton
): save Steven On Thursday 04 February 2021 11:58:49 (+01:00), Steven Pemberton wrote: One way would be to submit just one, and let the xforms-submit-done event handler initiate the next. save Steven On

Re: [Xsltforms-support] Cancelling loop/action

2021-02-04 Thread Steven Pemberton
One way would be to submit just one, and let the xforms-submit-done event handler initiate the next. save Steven On Wednesday 03 February 2021 15:33:21 (+01:00), Josselin Morvan wrote: Hi all, With one of my forms I have a « submissio

Re: [Xsltforms-support] Cancelling loop/action

2021-02-04 Thread Steven Pemberton
ev:defaultAction and if it’s fully implemented with XSLTforms? Thanks a lot, Best, Josselin. Le 4 févr. 2021 à 12:12, Steven Pemberton a écrit : I was initially too lazy to check if a handler for submit-done was allowed to initiate a submission using the same submission element, but th

Re: [Xsltforms-support] Cancelling loop/action

2021-02-05 Thread Steven Pemberton
hronous or performed simultaneously, and it produces a conflict? The @delay would allow to really execute the next submission at the end of the entire process? Best, Josselin. Le 4 févr. 2021 à 22:25, Steven Pemberton a écrit : Submission error.

Re: [Xsltforms-support] Cancelling loop/action

2021-02-05 Thread Steven Pemberton
at the end of the entire process? Best, Josselin. Le 4 févr. 2021 à 22:25, Steven Pemberton a écrit : Submission error. error-type: error-message: response-status-code: response-reason-phrase:

Re: [Xsltforms-support] Cancelling loop/action

2021-02-05 Thread Steven Pemberton
ven Thanks a lot, Best, Josselin. Le 4 févr. 2021 à 12:12, Steven Pemberton a écrit : I was initially too lazy to check if a handler for submit-done was allowed to initiate a submission using the same submission element, but then my shame got the better of me and I looked it up. It i

Re: [Xsltforms-support] XForms 2.0?

2021-03-30 Thread Steven Pemberton
It's heading in the direction of XForms 2, adding new features at each release I guess. The most important one implemented is Attribute Value Templates. Steven On Monday 29 March 2021 23:00:43 (+02:00), Gary Kopp wrote: Does xsltforms 1.5.x support the XForms 2.0 spec, or am I still limit

Re: [Xsltforms-support] How to highlight selected row within a repeat?

2021-05-24 Thread Steven Pemberton
https://homepages.cwi.nl/~steven/xforms11-for-html-authors/todo.xml Part of https://homepages.cwi.nl/~steven/xforms11-for-html-authors/part2.html Steven On Mon, 24 May 2021 11:16:27 +0200, Alessandro via Xsltforms-support wrote: Hi all! I'm probably not able to find the right CSS synt

Re: [Xsltforms-support] Alain and Steven's talks at Markup UK 2021

2021-05-25 Thread Steven Pemberton
On Mon, 24 May 2021 16:41:31 +0200, Joe Wicentowski wrote: Hi all, I'm not sure if videos of the presentations will be posted or not, but for anyone who missed them, Alain's paper is part of >the proceedings: The talks were not alas recorded. https://markupuk.org/webhelp/index.html#ar

Re: [Xsltforms-support] Errors in last version of xsltforms

2021-06-10 Thread Steven Pemberton
On Thu, 10 Jun 2021 01:19:45 +0200, Javier Diazestebaranz(UST, ES) via Xsltforms-support wrote: Hello, we are using a very ,very old Xsltforms implementation (r574, more than 8 years ago) with some local changes, and we want to >migrate to last stable version. Before starting the migra

Re: [Xsltforms-support] Namespace issue (not quite newbie)...

2021-12-06 Thread Steven Pemberton
On Sun, 05 Dec 2021 22:02:50 +0100, Ralph Corrigan wrote: You're absolutely right about the dummy namespace: I can't think of any reason why that would be a useful feature to introduce. So it will work in Firefox is the answer I believe. Steven

Re: [Xsltforms-support] Open selection

2023-03-10 Thread Steven Pemberton via Xsltforms-support
Reminder: check the options at https://cwi.nl/~steven/forms/tests/open-select.xhtml Best wishes, Steven On Thursday 09 March 2023 14:24:17 (+01:00), Javier Diaz Estebaranz(UST, ES) via Xsltforms-support wrote: Hello Alain, thank you for the information, at the moment we will implement th

Re: [Xsltforms-support] Accessing the results of a multi-select

2023-09-28 Thread Steven Pemberton via Xsltforms-support
Using instead of ? Steven On Thursday 28 September 2023 12:40:17 (+02:00), Richard Light wrote: Hi, When I make a selection from a number of options: Objects to move: nodeset="instance('objects')/record"> The in my mo

Re: [Xsltforms-support] Accessing the results of a multi-select

2023-09-28 Thread Steven Pemberton via Xsltforms-support
On Thursday 28 September 2023 14:24:14 (+02:00), Richard Light wrote: On 28/09/2023 12:50, Steven Pemberton wrote: Using instead of ? Ah, clever! (I have a lot to learn ...) Thank you: I can now get the text content of all the selected XML records dumped out as a long unformatted string

Re: [Xsltforms-support] Date formatting

2023-09-29 Thread Steven Pemberton via Xsltforms-support
On Friday 29 September 2023 16:27:01 (+02:00), Richard Light wrote: Hi, When I have a date value in a control, the calendar picker pops up and lets me select a date. However, this is in the format 'MM/dd/', i.e. American format. xsltforms decides on the format to output dates using you

Re: [Xsltforms-support] Question Re Implementing Custom Types

2023-10-06 Thread Steven Pemberton via Xsltforms-support
Could you show us the instance you are referencing? Steven On Friday 06 October 2023 06:45:05 (+02:00), ajbuf...@ajbconsulting.us wrote: Hello Alain and Company, I am a new user of XSLTForms, exploring the framework, and am quite impressed, especially considering it’s a free product.

[Xsltforms-support] XForms advanced tutorial

2023-10-16 Thread Steven Pemberton via Xsltforms-support
owser with ixml and XForms The conference is hybrid: both live, and streamed online. https://declarative.amsterdam/ Best wishes, Steven Pemberton ___ Xsltforms-support mailing list Xsltforms-support@lists.sourceforge.net https://lists.sourceforg

Re: [Xsltforms-support] Building up URLs from selected values

2023-11-22 Thread Steven Pemberton via Xsltforms-support
Attribute value templates work in XForms too, and allow you to build up a URL, but you can also use with a calculate, see for instance the section on maps in the XForms advanced tutorial: http://www.cwi.nl/~steven/xforms/advanced/ Best wishes, Steven On Wednesday 22 November 2023 18:18:29

Re: [Xsltforms-support] Building up URLs from selected values

2023-11-23 Thread Steven Pemberton via Xsltforms-support
ot;indexes" instance from being used until File is specified. That attribute doesn't seem to be making any difference either.) Thanks, Richard On 22/11/2023 20:28, Steven Pemberton wrote: Attribute value templates work in XForms too, and allow you to build up a URL, but you can also us

Re: [Xsltforms-support] Support for rtl text input

2024-02-02 Thread Steven Pemberton via Xsltforms-support
Winona, We have discussed this in the WG, and resolved to add @dir to the Common set of attributes. In the meantime, as Alain has already pointed out, you can legally use html:dir anywhere in XForms, as foreign namespaced attributes are allowable everywhere, and furthermore, you can use CS