xsltforms-support Mailing List for XSLTForms (Page 84)
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: Klotz, L. <Lei...@xe...> - 2010-06-04 17:48:45
|
Do you have anything already worked out that you could share as a partial example? ________________________________ From: Grégoire Colbert [mailto:gco...@gm...] Sent: Friday, June 04, 2010 10:47 AM To: support xsltforms Subject: [Xsltforms-support] inserting without redundancy? Hi, I have written a form where the user fills an instance with the "insert" element. Now, I want to abort the insertion process if the inserted node already exists in the destination instance. Is it possible? Another possibility might be to add a test to ensure unicity of values in an instance? I don't know if this is possible neither. So any idea is welcome. Thanks, Grégoire |
From: Grégoire C. <gco...@gm...> - 2010-06-04 17:46:53
|
Hi, I have written a form where the user fills an instance with the "insert" element. Now, I want to abort the insertion process if the inserted node already exists in the destination instance. Is it possible? Another possibility might be to add a test to ensure unicity of values in an instance? I don't know if this is possible neither. So any idea is welcome. Thanks, Grégoire |
From: Chris G. <cga...@gm...> - 2010-06-03 19:30:22
|
Would it be possible to add another option in the xsltforms-options processing instruction take the raw, untranslated XForms form and hide it in the source code or show it in the debug region? When posting and returning subsequent XForms, the returned XForms form is rendered to Javascript and it makes things more challenging to debug when the problem is in one's XForms form. |
From: Grégoire C. <gco...@gm...> - 2010-06-03 09:20:24
|
Hi, I solved this problem by attaching my global variable to the window. Grégoire Le 2 juin 2010 14:57, Grégoire Colbert <gco...@gm...> a écrit : > Hi, > > I have written a JS class ("MapHandler") that should respond to various > XForms events. The XForm tag that instanciates the class looks like: > > <xf:action ev:event="xforms-model-construct-done"> > <xf:load> > <xf:resource value="concat('javascript:var mapHandler = new > MapHandler();mapHandler.initialize(' , > instance('instance-configuration')/default/latitude , ',' , > instance('instance-configuration')/default/longitude , ')' )" /> > </xf:load> > </xf:action> > > As you can see, the "mapHandler" object is created just before the call to > the "initialize" method. In this case, everything works fine. > > Today, I wanted to create another event handler, so I added this inside a > <select1>: > > <xf:action ev:event="xforms-select"> > <xf:load> > <xf:resource value="concat('javascript:mapHandler.centerMap(' , > instance('instance-towns')/latitude , ',' , > instance('instance-towns')/longitude , ')' )" /> > </xf:load> > </xf:action> > > *Problem* : this JS code fails when the "xforms-select" event is received. > The error is "mapHandler is not defined". > > Looking at the generated code (using Mozilla's Web Developer extension), I > see that my JS code is wrapped inside a call to XPath.create(). This rises a > few questions... > > *Questions* : > 1) Does this mean that the "mapHandler" variable is local to the > XPath.create function? > 2) If so, is it possible to declare a global JS variable through XSLTForms? > 3) If so, how? > > Thank you, > Grégoire > > |
From: Grégoire C. <gco...@gm...> - 2010-06-03 08:42:38
|
Hi, In revision 412, there was a change in "xsltforms.xsl" about the CSS : http://xsltforms.svn.sourceforge.net/viewvc/xsltforms/trunk/build/xsltforms.xsl?r1=412&r2=411&pathrev=412 I have declared my CSS like this : <css><link rel="stylesheet" type="text/css" href="style/screen.css"></link></css> With revisions 412 and 413, the use of "<xsl:apply-templates>" at line 101 seems to break my CSS. If I keep the same line but replace "xsl:apply-templates" by "xsl:copy-of", it's ok again. Grégoire |
From: Grégoire C. <gco...@gm...> - 2010-06-02 12:57:39
|
Hi, I have written a JS class ("MapHandler") that should respond to various XForms events. The XForm tag that instanciates the class looks like: <xf:action ev:event="xforms-model-construct-done"> <xf:load> <xf:resource value="concat('javascript:var mapHandler = new MapHandler();mapHandler.initialize(' , instance('instance-configuration')/default/latitude , ',' , instance('instance-configuration')/default/longitude , ')' )" /> </xf:load> </xf:action> As you can see, the "mapHandler" object is created just before the call to the "initialize" method. In this case, everything works fine. Today, I wanted to create another event handler, so I added this inside a <select1>: <xf:action ev:event="xforms-select"> <xf:load> <xf:resource value="concat('javascript:mapHandler.centerMap(' , instance('instance-towns')/latitude , ',' , instance('instance-towns')/longitude , ')' )" /> </xf:load> </xf:action> *Problem* : this JS code fails when the "xforms-select" event is received. The error is "mapHandler is not defined". Looking at the generated code (using Mozilla's Web Developer extension), I see that my JS code is wrapped inside a call to XPath.create(). This rises a few questions... *Questions* : 1) Does this mean that the "mapHandler" variable is local to the XPath.create function? 2) If so, is it possible to declare a global JS variable through XSLTForms? 3) If so, how? Thank you, Grégoire |
From: COUTHURES A. <ala...@ag...> - 2010-05-31 21:02:47
|
Hi Steven, > It all worked correctly except for <title>, which turned up in the body, > still with its prefix. > This has been fixed in the latest SVN version (in fact <title> wasn't the only element with this problem...) Thanks! -Alain |
From: COUTHURES A. <ala...@ag...> - 2010-05-31 20:04:00
|
Hi Steven, > I have written an XForm that is part of a pipeline, and so takes an > instance, changes it a bit, and then returns it. > > Unfortunately, all the prefixes are being renamed from something mnemonic > (like event:date), to something generic (like pre3:date). > > As you might imagine, the other people using the resulting instances are > not pleased. Any chance of roundtripping instances a bit better? > XSLTForms now uses Javascript objects for storing nodes and serialization has to be done manually. This is more complex than I suspected. Prefixes are not preserved and this is causing problems in some situations such as the one you're describing. Because there is also a performance problem with IE and Javascript, I have started to implement the use of an XML Data Island instead. Serialization will then be performed by native XML classes, I have already written the corresponding method and prefixes are preserved by it (a small XSLT transformation is used to eliminate specific meta data...). I will probably need some weeks to complete this big change.... Thank you for waiting, -Alain |
From: Brad J. <pjo...@ro...> - 2010-05-31 15:38:18
|
I mean I like your ideas but since I am not intimately familiar with YUI I am wondering if they can be implemented using YUI 3.1.1. For that matter can YUI 3.1.1 even support the integration of XML Data Islands? -- Brad -----Original Message----- From: Kostis Anagnostopoulos [mailto:ank...@gm...] Sent: May-31-10 11:09 AM To: Brad Jones Cc: XSLTForms support Subject: Re: [Xsltforms-support] XML Data Islands integration with YahooUI library Hi Brad, What do you mean? Regards, Kostis On Mon, May 31, 2010 at 6:01 PM, Brad Jones <pjo...@ro...> wrote: > Great idea Kostis, but wouldn't it be better to implement YUI 3.1.x + ? > > Regards, > > Brad > > -----Original Message----- > From: Kostis Anagnostopoulos [mailto:ank...@gm...] > Sent: May-31-10 6:45 AM > To: XSLTForms support > Subject: [Xsltforms-support] XML Data Islands integration with YahooUI > library > > Hi Alain, > > i think you decision to move with xml-dataislands is a sound achitecturaly. > Hope everything works out for the benefit of all of us. > > I suggest that it would be a great if the final result allows for > integration of the xml-data-iuslands > with the Yahou UI library. > YUI library: http://developer.yahoo.com/yui/2/ > XML Data Islands and YUI: > http://www.yuiblog.com/blog/2008/10/15/datatable-260-part-one/ > > Thus, one of the 2 most important defects of the XForms standard would > vanish: > Javasctipt enabled responsive Grids > (html-tables with inplace-sorting and column reordering, etc). > For intance, > (The other most important defect is integration of XForms with > Browser's History for a smooth user experience of the 'back' button.) > > Regards, > Kostis > > ---------------------------------------------------------------------------- > -- > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > |
From: Kostis A. <ank...@gm...> - 2010-05-31 15:09:21
|
Hi Brad, What do you mean? Regards, Kostis On Mon, May 31, 2010 at 6:01 PM, Brad Jones <pjo...@ro...> wrote: > Great idea Kostis, but wouldn't it be better to implement YUI 3.1.x + ? > > Regards, > > Brad > > -----Original Message----- > From: Kostis Anagnostopoulos [mailto:ank...@gm...] > Sent: May-31-10 6:45 AM > To: XSLTForms support > Subject: [Xsltforms-support] XML Data Islands integration with YahooUI > library > > Hi Alain, > > i think you decision to move with xml-dataislands is a sound achitecturaly. > Hope everything works out for the benefit of all of us. > > I suggest that it would be a great if the final result allows for > integration of the xml-data-iuslands > with the Yahou UI library. > YUI library: http://developer.yahoo.com/yui/2/ > XML Data Islands and YUI: > http://www.yuiblog.com/blog/2008/10/15/datatable-260-part-one/ > > Thus, one of the 2 most important defects of the XForms standard would > vanish: > Javasctipt enabled responsive Grids > (html-tables with inplace-sorting and column reordering, etc). > For intance, > (The other most important defect is integration of XForms with > Browser's History for a smooth user experience of the 'back' button.) > > Regards, > Kostis > > ---------------------------------------------------------------------------- > -- > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > |
From: Brad J. <pjo...@ro...> - 2010-05-31 15:01:09
|
Great idea Kostis, but wouldn't it be better to implement YUI 3.1.x + ? Regards, Brad -----Original Message----- From: Kostis Anagnostopoulos [mailto:ank...@gm...] Sent: May-31-10 6:45 AM To: XSLTForms support Subject: [Xsltforms-support] XML Data Islands integration with YahooUI library Hi Alain, i think you decision to move with xml-dataislands is a sound achitecturaly. Hope everything works out for the benefit of all of us. I suggest that it would be a great if the final result allows for integration of the xml-data-iuslands with the Yahou UI library. YUI library: http://developer.yahoo.com/yui/2/ XML Data Islands and YUI: http://www.yuiblog.com/blog/2008/10/15/datatable-260-part-one/ Thus, one of the 2 most important defects of the XForms standard would vanish: Javasctipt enabled responsive Grids (html-tables with inplace-sorting and column reordering, etc). For intance, (The other most important defect is integration of XForms with Browser's History for a smooth user experience of the 'back' button.) Regards, Kostis ---------------------------------------------------------------------------- -- _______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support |
From: Mark v. d. B. <ko...@gm...> - 2010-05-31 13:16:15
|
Nill elements in XML fail validation for some reason. See example below: <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> <?xsltforms-options debug="yes"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ev="http://www.w3.org/2001/xml-events" xml:lang="nl" lang="nl"> <head> <title>Test</title> <xf:model id="overzicht"> <xf:instance id="selectiescherm"> <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <date /> <date xsi:nil="true"></date> <date xsi:nil="true" /> <date></date> <date>2010-01-01</date> <bool /> <bool xsi:nil="true"></bool> <bool xsi:nil="true" /> <bool></bool> <bool>true</bool> <bool>false</bool> <number /> <number xsi:nil="true"></number> <number xsi:nil="true" /> <number></number> <number>1.23</number> </root> </xf:instance> <xf:bind nodeset="/root/date" type="xsd:date" /> <xf:bind nodeset="/root/bool" type="xsd:boolean" /> <xf:bind nodeset="/root/number" type="xsd:decimal" /> </xf:model> </head> <body> <hr /> <xf:repeat nodeset="/root/date"> <xf:input ref="."> <xf:label>Date</xf:label> </xf:input> <br/> </xf:repeat> <hr /> <xf:repeat nodeset="/root/bool"> <xf:input ref="."> <xf:label>Boolean</xf:label> </xf:input> <br/> </xf:repeat> <hr /> <xf:repeat nodeset="/root/number"> <xf:input ref="."> <xf:label>Number</xf:label> </xf:input> <br/> </xf:repeat> </body> </html> The code above will show all elements formatted with only the last one (with a valid value) of the sets not failing the validation. It would be nice if XSLTForms would support the xsi:nill attibute. Is this a bug or something else? Thx, Mark |
From: Kostis A. <ank...@gm...> - 2010-05-31 10:45:43
|
Hi Alain, i think you decision to move with xml-dataislands is a sound achitecturaly. Hope everything works out for the benefit of all of us. I suggest that it would be a great if the final result allows for integration of the xml-data-iuslands with the Yahou UI library. YUI library: http://developer.yahoo.com/yui/2/ XML Data Islands and YUI: http://www.yuiblog.com/blog/2008/10/15/datatable-260-part-one/ Thus, one of the 2 most important defects of the XForms standard would vanish: Javasctipt enabled responsive Grids (html-tables with inplace-sorting and column reordering, etc). For intance, (The other most important defect is integration of XForms with Browser's History for a smooth user experience of the 'back' button.) Regards, Kostis |
From: Steven P. <Ste...@cw...> - 2010-05-31 09:29:49
|
I have written an XForm that is part of a pipeline, and so takes an instance, changes it a bit, and then returns it. Unfortunately, all the prefixes are being renamed from something mnemonic (like event:date), to something generic (like pre3:date). As you might imagine, the other people using the resulting instances are not pleased. Any chance of roundtripping instances a bit better? Thanks! Steven Pemberton |
From: Joe W. <jo...@gm...> - 2010-05-30 15:34:57
|
Hi Alain, >> What would you like to know about our results in various browsers when >> running the page -- just that the page opened without errors, or the >> actual times reported by the script? >> > > Knowing for which browsers there are errors is clearly the most important. > > If everything works, "data" should be displayed for each table line (except > for IE...). Times depend on machines, of course, but they should be > decreasing for the 3 functions. Whether mobile phones have almost the same > times or not is very interesting. Here you go: Test run on iPod Touch 2G, iPhone OS 3.1.3 1. Mobile Safari #1 data not evaluated #2 not evaluated not evaluated #3 not evaluated not evaluated ===== Tests run on MacBook Air 2.13 GHz (Mid-2009), Mac OS X 10.6.3 1. Firefox 3.6.3 #1 data 998ms #2 data 304ms #3 data 37ms 2. Google Chrome 5.0.375.55 #1 data 962ms #2 data 142ms #3 data 8ms 3. Safari 4.0.5 #1 data 417ms #2 data 81ms #3 data 9ms 4. Webkit nightly r.60376 (May 29, 2010) #1 data 391ms #2 data 65ms #3 data 2ms |
From: COUTHURES A. <ala...@ag...> - 2010-05-30 05:53:18
|
Hi Joe, > What would you like to know about our results in various browsers when > running the page -- just that the page opened without errors, or the > actual times reported by the script? > Knowing for which browsers there are errors is clearly the most important. If everything works, "data" should be displayed for each table line (except for IE...). Times depend on machines, of course, but they should be decreasing for the 3 functions. Whether mobile phones have almost the same times or not is very interesting. Thanks! -Alain |
From: Joe W. <jo...@gm...> - 2010-05-30 04:00:56
|
Hi Alain, > Thank you for your feedbacks and suggestions for more performance! What would you like to know about our results in various browsers when running the page -- just that the page opened without errors, or the actual times reported by the script? Joe |
From: Alexander Ž. <sa...@st...> - 2010-05-29 17:49:12
|
Tested on Mac OS 10.5.8 with: Firefox 3.6.3 |
From: COUTHURES A. <ala...@ag...> - 2010-05-29 16:20:18
|
Hi! Before implementing the use of an XML Data Island by XSLTForms for XForms instance storage, it's, of course, very important to be sure that browsers support this well and help is welcome! I have published a Javascript test page executing 3 different functions + a specific function for Internet Explorer: http://www.agencexml.com/direct/island.htm This has only been tested with standard browsers for Windows, two mobile browser simulators and test web sites (Konqueror fails again...). Don't hesitate to use different browsers for different platforms. Thank you for your feedbacks and suggestions for more performance! -Alain |
From: Stephen C. <Ste...@ut...> - 2010-05-28 11:40:04
|
Hi Claudius, In my view your development of a second XSLT based XForms implementation is not necessary! By all means test out some new ideas about how to do things but I feel that there is only a need for one such tool that is open-source and free! For development and testing efforts to be diluted makes no sense. Remember, XSLTforms only exists because of a lack of mainstream browser support. Eventually I hope there is no need even for XSLTForms. Best to get one thing working really well and then people will see the benefits and the likelihood of native support in more browsers increases. Also, I just came across the Xforms implementation from XMC2 "Formula", its cross-browser (no plugin) and it seems very fast, its based on GWT. But in theory you have to pay for it, again a good reason focus on improving XSLTForms. Regards Steve Cameron |
From: Steven P. <Ste...@cw...> - 2010-05-28 09:57:31
|
Until <range> is properly implemented, it would at least be useful if they turned up as <input>s, so that forms using them at least worked. Best wishes, Steven Pemberton |
From: Steven P. <Ste...@cw...> - 2010-05-28 09:55:11
|
I ran a quick test to see if xslt-forms dealt with XML prefixes properly: <?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="../xsltforms-beta2/xsltforms/xsltforms.xsl" type="text/xsl"?> <?xsltforms-options debug="no"?> <h:html xmlns="http://www.w3.org/2002/xforms" xmlns:h="http://www.w3.org/1999/xhtml" > <h:head> <h:title>Integer</h:title> <h:style type="text/css"> body { font-family: sans-serif} label { display: inline-block; width: 6em; margin: 0 1em } </h:style> <model id="m"> <instance> <data xmlns=""> <number/> </data> </instance> <bind nodeset="number" type="xsd:integer" /> </model> </h:head> <h:body> <input ref="number"><label>Number</label> <alert>Must be a number</alert> </input> </h:body> </h:html> It all worked correctly except for <title>, which turned up in the body, still with its prefix. Best wishes, Steven Pemberton |
From: Grégoire C. <gco...@gm...> - 2010-05-27 22:09:34
|
Hi, The XForms 1.1 recommentation says that when multiple values from a <xf:select> are sent, they are separated with spaces. Is it possible to modify this to get underscore instead of spaces? If so, how? Thank you, Grégoire |
From: COUTHURES A. <ala...@ag...> - 2010-05-27 20:02:13
|
Chris, I have committed a fix for this escaping problem. Thank you for your feedbacks! -Alain > Thank you for the suggestion. The XForms forms do double-duty as > REST-like XML remote procedure calls, so I can't expect the clients to > be able to support a complete XForms implementation. I have to keep it > simple. > > The good news is that after beating on it all day long, I've come up > with a little patch to the xsltforms.js file which appears to fix the > issue with double-escaping entities. Before I turn it loose, I need to > make sure that it doesn't break anything else. Stay tuned. > > On Tue, May 25, 2010 at 7:57 PM, Stephen Cameron > <Ste...@ut... <mailto:Ste...@ut...>> wrote: > > Hi Chris, > > I'm not sure if this will help, but perhaps another approach to > what you are trying to achieve is possible. > > If you use the xforms <switch> construct you can completely change > the appearance of the form and also do a submission at the time > you move from one <case> to another. > > I think one of the main ideas in Xforms is that the view adapts to > the content of the model and the model can change due to user > interaction, so the idea of dynamically generating a form server > side does not make much sense in general. > > The <switch> was a revelation for me when I discovered it, it pays > to read up before you start doing anything with Xforms. > > > > -- > Regards > > Stephen Cameron > > Data Programmer > Integrated Marine Observing System (IMOS) > eMarine Information Infrastructure Project > University of Tasmania, Private Bag 21, Hobart, TAS 7001, Australia > > Tel: +61 3 6226 8507 > Fax: +61 3 6226 2997 > Email: ste...@ut... > <mailto:ste...@ut...> > URL: http://www.imos.org.au/eMII.html > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: Steven P. <Ste...@cw...> - 2010-05-27 09:49:38
|
Off the top of my head: height: 3em; /* or whatever */ width: 10em; /* or whatever */ overflow: scroll; On Wed, 26 May 2010 18:12:34 +0200, Mark van den Boomen <ko...@gm...> wrote: > Done it the CSS way, but only one problem remains: when a value is > long it will stretch the field, a inputfield wil allow the user to > scroll through the contents of the box. > > 2010/5/26 Steven Pemberton <Ste...@cw...>: >> On Wed, 26 May 2010 12:50:30 +0200, Mark van den Boomen >> <ko...@gm...> >> wrote: >> >>> The problem is that the client wants to hold on to the look of an old >>> (oracle forms) application, and those applications show readonly data >>> with a disabled inputfield. >> >> That's just a CSS issue. Shouldn't be hard. >> >> Best wishes, >> >> Steven Pemberton >> >>> >>> 2010/5/26 Steven Pemberton <Ste...@cw...>: >>>> >>>> On Wed, 26 May 2010 12:11:19 +0200, Mark van den Boomen >>>> <ko...@gm...> wrote: >>>> >>>>> Given the following XML: >>>>> >>>>> <root> >>>>> <item> >>>>> <value>1</value> >>>>> </item> >>>>> <item> >>>>> <value>2</value> >>>>> </item> >>>>> <item> >>>>> <value>3</value> >>>>> </item> >>>>> </root> >>>>> >>>>> The items are displayed in a table using xforms:repeat containing the >>>>> editable inputs. Under the table is a xforms:input which should be >>>>> disabled. If an user sets focus to one of the editable inputs then >>>>> the >>>>> input under the table should show the value of the selected input in >>>>> the table. >>>>> >>>>> The problem is when using a xforms:bind to set the value to readonly >>>>> it will set both inputs readonly. Is there a way to set the readonly >>>>> independent for the inputs? >>>> >>>> I'm not sure if I understand the problem, but why not use an <output> >>>> under the table, and an input in the repeat? >>>> >>>> Best wishes, >>>> >>>> Steven Pemberton >>>> >>>>> >>>>> Thanks, >>>>> >>>>> Mark >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Xsltforms-support mailing list >>>>> Xsl...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Xsltforms-support mailing list >>>> Xsl...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support |