mozilla-xp.com | Post Question | Search | About | Groups | Contact | Register | Login



mozilla feedback firefox (6225)

mozilla feedback (2089)

mozilla feedback firefox prerelease (1989)

mozilla feedback companion ebay (1644)

mozilla feedback thunderbird (859)

mozilla support thunderbird (806)

mozilla support seamonkey (511)

mozilla dev tech crypto checkins (461)

mozilla support firefox (405)

mozilla support bugzilla (397)

mozilla dev extensions (359)

mozilla feedback thunderbird prerelease (334)

netscape public mozilla reviewers (272)

mozilla dev mdc feedback (270)

netscape public beta feedback (268)

netscape public mozilla crypto checkins (265)

mozilla dev apps thunderbird (251)

netscape public mozilla jobs (224)

mozilla dev tech plugins (194)

mozilla dev apps firefox (190)

mozilla dev tech xul (190)

mozilla dev apps calendar (187)

mozilla dev embedding (181)

netscape public mozilla embedding (177)

netscape public mozilla test (174)

netscape public dev xul (169)

mozilla dev planning (169)

mozilla support calendar (167)

mozilla dev tech js-engine rhino (164)

netscape public mozilla layout xslt (164)

mozilla test (163)

netscape public mozilla jseng (160)

netscape public mozilla crash-data (159)

netscape public mozilla xpcom (159)

mozilla dev platform (158)

mozilla dev platforms mobile (157)

mozilla marketing (156)

netscape public mozilla webtools (155)

mozilla jobs (153)

mozilla dev builds (153)

mozilla dev tech xpcom (150)

mozilla support webtools (148)

mozilla dev accessibility (147)

netscape public mozilla calendar (146)

netscape public mozilla xml (138)

mozilla dev tech java (136)

netscape public mozilla gtk (136)

mozilla community drumbeat (135)

mozilla dev tree-management (131)

mozilla dev apps bugzilla (130)

netscape public mozilla i18n (130)

netscape public mozilla prefs (129)

netscape public mozilla qa general (129)

mozilla dev amo (128)

netscape public mozilla general (127)

netscape public mozilla rdf (126)

netscape public mozilla xpinstall (126)

netscape public mozilla xpfe (123)

netscape public mozilla plugins (122)

netscape public mozilla java (122)

netscape public mozilla ui (119)

netscape public mozilla accessibility (118)

netscape public mozilla wishlist (117)

netscape public mozilla mac (116)

mozilla dev tech js-engine (116)

mozilla dev apps seamonkey (116)

netscape public mozilla crypto (112)

netscape public mozilla mathml (112)

mozilla dev tech crypto (111)

netscape public mozilla beos (111)

netscape public mozilla jsdebugger (110)

netscape public mozilla license (109)

netscape public mozilla qa browser (109)

mozilla wishlist (108)

mozilla dev quality (107)

mozilla dev tech xforms (106)

netscape public mozilla directory (106)

netscape public mozilla editor (106)

netscape public mozilla macosx (106)

mozilla dev apps js-debugger (105)

netscape public mozilla performance (103)

netscape public mozilla builds (100)

mozilla dev ports os2 (100)

netscape public mozilla qt (98)

netscape public mozilla mail-news (97)

mozilla announce (96)

netscape public mozilla documentation (94)

netscape public mozilla os2 (93)

netscape public mozilla nspr (93)

netscape public mozilla netlib (93)

netscape public mozilla style (92)

mozilla support planning (92)

netscape public mozilla patches (91)

mozilla dev l10n web (91)

mozilla dev tech nspr (89)

mozilla dev mdc (87)

mozilla dev tech network (87)

mozilla dev tech css (86)

mozilla dev l10n (86)

mozilla dev l10n cs (85)


mozilla.dev.tech.xforms Post New
Items(106) /2 Next >> Last >|
Subject Posted Replies From
upload file

Hi, How can I get the base64 content from xml as a file? In xforms is control xf:upload. I want to have a trigger in my xforms form, that decode the contant and give me a file e.g. myfile.txt. It's possible without using server? Jarek

3/4/2010 7:09:52 PM 0 =?ISO-8859-2?Q?Jaros=B3aw_Kowalewski?= <jaroslaw.kowalew...@students.waw.pl>



upload file

Hi, How can I get the base64 content from xml as a file? In xforms is control xf:upload. I want to have a trigger in my xforms form, that decode the contant and give me a file e.g. myfile.txt. It's possible without using server? Jarek

3/4/2010 6:26:05 PM 0 =?ISO-8859-2?Q?Jaros=B3aw_Kowalewski?= <jaroslaw.kowalew...@students.waw.pl>
Help needed for testing a patch

Hello everybody, I'm looking for someone with a Mac who is able to test a patch. You'll need to build a custom Mozilla XForms build. 1. Follow https://developer.mozilla.org/en/XForms/Building_Mozilla_XForms to get a working xforms build. Use the mozilla-1.9.2 branch (Firefox 3.6) Make sure it works (run obj/dist/bin/firefox) 2. Apply this patch: https://bug457075.bugzilla.mozilla.org/attachment.cgi?id=340413 3. Rebuild Mozilla. I'd be interested in a screenshot from this testcase: https://bug457075.bugzilla.mozilla.org/attachment.cgi?id=340412 The patch should

2/27/2010 11:07:26 PM 0 Philipp Wagner <n...@philipp-wagner.com>
getInstanceDocument reflecting the instance .... only once

Hi all I am trying to build a js bridge to xf instances - it seems to work only the first time the getInstanceDocument is called, and not later on. This is my test form: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http:// www.w3.org/2002/xforms"> <head> <title>test</title> <xf:model id="mod"> <xf:instance id="data" xmlns=""> <data> <input>4</input> </data> </xf:instance> </xf:model> </head> <body> <h2>Test </h2> <p><xf:input ref="input"><xf:label>input</xf:label></xf:input></p>

2/19/2010 9:42:24 AM 0 "Christophe & Priscille Geiser" <prik...@gmail.com>
delete action - crash firefox

Hi, I found the problem with xf:delete nodes from instance. The code, listed below, crash firefox: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.15) Gecko/2009102814Ubuntu/8.04 (hardy) Firefox/3.0.15 with plugin 0.8.6ff3 Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.17) Gecko/2009122116 Firefox/3.0.17 (.NET CLR 3.5.30729) with plugin 0.8.6ff3 (WINXP) Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) with plugin 0.8.7pre (WINXP) Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2) Gecko/20100115 Fi

2/15/2010 4:32:59 PM 0 Jarek <jaroslaw.kowalew...@students.waw.pl>
after the delete - auto refresh -reg

Hi Members !!!! I have developed an application (xform+xhtml) with repeat option and the xml file saved in Exist (XML DB). Now my constraint is , need to delete a row from that item list.. and need to do the auto refresh for that page... I have used <xf:refresh ev:event="xforms-refresh" model="that-model-name"/> ,but it doesn't do anything ... Pls suggest , how to do the auto refresh once the row deleted in that original XML file..... By Rajamani Marimuthu Junior Research Fellow XForms and XRX Team Open technology Centre- Gov of India

1/19/2010 9:31:05 AM 3 RajaM <rajamani....@gmail.com>
i can't make the attribute relevant in the submission working

Hi all i'm new to xforms and help would be very appreciated. I have a xform in which i use relevant to hide some items and i only want t= o hide them according to some values (i still want them to be stored when s= aving because otherwise the load fails) Apparently if we save with this command (relevant=3Dfalse), it should ignor= e relevant or not and as a consequence everything? <xf:submission id=3D"save-to-local-file" resource=3D"file:data.xml" ref= =3D"instance('save-plantSystem-instance')" method=3D"put" relevant=3D"fa= lse" replace=3D"instance" ><xf:message ev:event=3

1/11/2010 6:44:20 PM 4 Abadie Lana <Lana.Aba...@iter.org>
problem with submission and relevant attribute

Hi all i'm new to xforms and help would be very appreciated. I have a xform in which i use relevant to hide some items and i only want to hide them according to some values (i still want them to be stored when saving because otherwise the load fails) Apparently if we save with this command (relevant=false), it should ignore relevant or not and as a consequence everything? <xf:submission id="save-to-local-file" resource="file:data.xml" ref="instance('save-plantSystem-instance')" method="put" relevant="false" replace="instance" ><xf:message ev:event="xforms- submit" level="mod

1/11/2010 6:41:19 PM 3 xform-mozilla <lana.aba...@gmail.com>
input forms aware of schema defined types

Hi, I've been looking around at custom xforms and xbl extensions but I don't think I've seen an explanation of how (as a mozilla extension or straight xforms) to do this. Say I have a simple complex type like <xs:complexType name="ci"> <xs:sequence> <xs:element name="r" type="xs:float" /> <xs:element name="i" type="xs:float" /> </xs:sequence> </xs:complexType> in an instance like <ci> <r>1</r> <i>2</i> </ci> and then I want to reference it in an input control: <input ref="myinstance/ci"><label="Complex input:"></input> and I want it to app

1/10/2010 1:46:53 PM 5 john wright <isaac.oli...@gmail.com>
advice on XML best practices

I was just wondering, as far as xml best practices go, if all sibling nodes should have identical attribute sets or is it okay if one or more of the siblings has it's own unique attribute not included in the other siblings, for example: <topic> <post index="22" user="martin">some content</post> <post index="34" user="sherry">other content</post> <post index="1" user="author" dummyPost="true"/> </topic> where that last post element has it's own unique @keep ? Is XML flexible in this way, or, as far as best practices go, should there be a greater attempt at co

1/8/2010 2:52:33 AM 0 "dr.cw.ray" <dr.cw....@gmail.com>
Can Select1 change input value?

In an xform with a select1 dropdown list and an input text filed is it possible to obtain the results explained in the following example? 1. I choose an item of the select1 (i.e. url); 2. The textfield updates showing "http://" inside itself; 3. I choose another item of the select1 (i.e. email); 4. The textfield updates showing "mailto:" inside itself. Thank you for your help.

1/7/2010 10:50:17 AM 1 Lorenzo De Tomasi <lorenzo.detom...@gmail.com>
Help

Hi, I have a XForms which generate a xml files using xf:submit. Here I define t= he name of the file statically. I want to generate the name of the XML data file dynamically based on the e= ntry fileld (preferably) . Regards, Ritesh Sugandhi

1/5/2010 9:13:58 AM 0 Sugandhi Ritesh EXT <Ritesh.Sugan...@iter.org>
getting a full refresh at submission

How can I get a full refresh of my xforms web page at submission? When I change the instance, it is reflected in the page, as it should be, however, at submission there are certain attribute updates that take place on the server side, so I need to be 100 percent sure that I get a full refresh that will reflect those server-side updates. I currently have my submission's actions set to a php file that accepts the data, updates it, and then reloads the page, but that doesn't seem to get a true refresh of the page (seems like maybe Firefox is considering the page a "recently visited" page

1/4/2010 1:24:06 AM 5 "dr.cw.ray" <dr.cw....@gmail.com>
Mac build of XForms add on

Hello I built an xforms.xpi for a Mac-using colleague, as he inadvertently upgraded Firefox beyond what was compatible with the most recent official Mac xforms.xpi. It was built on Mac OS 10.5 and works with FF 3.5.5. You can get it from: http://swithun.servebeer.com/mac_xforms.xpi I had to tweak the minimum version inside the .xpi, as per the very useful page: https://developer.mozilla.org/en/XForms/Building_Mozilla_XForms The build instructions linked to from that page are helpful too. The only snag I hit was that I first built the most recent version of Mozilla,

12/10/2009 10:28:36 AM 0 Swithun Crowe <swit...@swithun.servebeer.com>
nested repeats

I would like to create a set of tables where users can table (spreadsheet) data. The problem I am having is in nesting the repeats to generate the tables. Does anyone know of an alternative to the approach I am using or any tips? I have an XML instance like the following: <xmldata> <columns> <column id="1"> <name>Column 1</name> </column> <column id="2"> <name>Column 2</name> </column> <column id="3"> <name>Column 3</name> </column> </columns> <tables> <table> <rows> <row> <columnValues>

12/2/2009 5:29:27 PM 4 Deets <cded...@gmail.com>
dropdown in Firefox didn't show fully

Dear you all, I use Firefox [Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)] with using Xform engine [Mozila Firefox 0.8.7pre Gecko v1.9.1.1pre - 2009071509] and the probelm is the interface cannot show text in dropdown fully.[you can see in attachment pic] I tested the same page with IE and there's nothing worng with it. Can u guys tell be how to fix this problem with out downgrade the Firefox? http://old.nabble.com/file/p26586641/DropdownError.png DropdownError.png -- View this message in context: http:/

12/1/2009 4:49:47 AM 1 "Kate[FK]" <luckana....@act-thai.net>
message box

Is there any way to make the pop-up message box bigger on an xf:message? ( I mean like using css or something, not manually dragging the corner each time).

11/27/2009 7:43:10 PM 1 "dr.cw.ray" <dr.cw....@gmail.com>
Query

I have developed a Web UI application using Xforms and using Mozilla browse= r with XForms plug-in for display. For large data data set (MB) , the forms takes a long time (10-15 seconds) = to take. Is there is any bench mark available or any idea on how we can do the bench= marking? Thanks in anticipation, Best Regards, Ritesh Sugandhi

11/23/2009 8:47:26 PM 4 Sugandhi Ritesh EXT <Ritesh.Sugan...@iter.org>
XForms plug-in for Firefox 3.5 -- official release?

Is there any development is going on for xforms in firefox3.5.....If yes then how long it will take for the official release for Xforms in firfox 3.5 plug-in ... By Rajamani marimuthu Junior Research Fellow OTC

11/23/2009 6:41:43 AM 4 raja m <raja....@gmail.com>
xforms-0.8.7pre-ff3.5.xpi on linux 64 bit stopped working

my 64-bit 3.5 got updated to 3.5.6pre and now xforms doesn't work anymore. Has anyone else seen a problem? -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM: BKClements

11/9/2009 3:36:52 PM 1 Brad Clements <...@murkworks.com>
help requested with using Xforms in xslt

Hello I am trying to construct a xslt stylesheet which contains some xforms, but the forms will not bind to the instance data, and the xforms:repeat is not filled with data from the instance. I am using some examples I have found online in a attempt to make it work but without any luck. Can anyone help me find the error, or/and point to additional information about how to make it work? I use firefox 3.5.5 with mozilla xforms 0.8.7pre, and I am trying to transform a xml file using the stylesheet clientside. xml file <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type

11/8/2009 3:04:43 PM 2 Esealion <relaxc...@gmail.com>
Bad row alignment with css

Hi I'm having a bit of a problem with getting xforms to produce a reliable table with a couple of columns and some rows of labels / inuts. The following will result in the input boxes jumping around to the next row occasionally. eg instead of a [input box] b [input box] c [input box] you get a [input box] b [input box] << jumped to next line c [input box] or other such weird arrangements. To get this to happen you might have to hit refresh a few times. and it appears to be random. sometimes I've had to hit refresh 20 or 30 times to g

10/28/2009 1:24:58 AM 0 Richard Tresidder <rtres...@electromag.com.au>
XForms repeat and html tables

I'd be grateful for any advice on getting an html table to render using the xforms repeat attribute. Data renders ok but the <td> cells within the repeat all end up rendering vertically in the first row. Here is sample code: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/ 2002/xforms"> <head> <xf:model> <xf:instance id="tableTest" xmlns=""> <data> <row> <cell>Row One Cell One</cell> <cell>Row One Cell Two</cell> <cell>Row On

10/27/2009 1:13:14 PM 5 Fraser <fraserh...@gmail.com>
Bad row alignment with css

Hi I'm having a bit of a problem with getting xforms to produce a reliable table with a couple of columns and some rows of labels / inuts. The following will result in the input boxes jumping around to the next row occasionally. eg instead of a [input box] b [input box] c [input box] you get a [input box] b [input box] << jumped to next line c [input box] or other such weird arrangements. To get this to happen you might have to hit refresh a few times. and it appears to be random. sometimes I've had to hit refresh 20 or 30 times

10/26/2009 5:34:34 AM 0 Richard Tresidder <rtres...@electromag.com.au>
XForms for Firefox 3.5.3

Is there a URL that contains a version of XForms that will work with Firefox 3.5.3? Thank you. Robert C. Leif

10/23/2009 6:25:44 AM 3 rleif <rl...@rleif.com>
XForms digital signature on xml file

I want to digitally sign the xml file that is generated automatically from the xforms document. I mean to say that i want to digitally sign the xml file through a button on xforms document. Here is the code which i have written to do such task , if any body feel that the code should be modified then please reply me. here is the code.. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c

10/23/2009 4:31:26 AM 0 Deepak Tewani <143shail...@gmail.com>
XForms digital signature

Hi, I want to develop a xml signature through xforms on a xforms document. I mean to say that i want to develop a button on xforms document which will sign the xml file that is been genertaed by xforms form. Please help me in developing xml signature code. Thanks and Regards, Deepak Tewani Programmer N.I.C

10/22/2009 5:43:28 AM 2 Deepak Tewani <143shail...@gmail.com>
dynymic xforms:case inside repeat

Hi everybody, it's possible to construct dynamic xf:case via xf:repeat I want to generate xf:case and xf:trigger by xf:repeat but I've problem with ids. How to automaticlly generate it? It's possible? Full testcase below: <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <xf:model> <xf:instance id="main"> <root xmlns=""> <month> <worker> <name/> <age/> </worker> </month> </root> </x

10/9/2009 10:30:41 AM 0 Jarek <jaroslaw.kowalew...@students.waw.pl>
Xforms encoding functions -reg

Hi Aaron and all !!! I need a clarification reg the Encoding functions support in Mozilla -xforms add-on . In the Xforms 1.1 recommendation there are punch of encoding functions listed and given the explanation of each functions. If it has implemented in firefox-xforms add-on then , how to use in xforms output XML file . Can i encode that output XML file ... Pls give me your great suggestion .. By Rajamani M Junior Research Fellow Open Technology Centre , Gov of India

10/8/2009 7:06:08 AM 1 RajaM <rajamani....@gmail.com>
setting xforms repeat index

Good Morning everybody, We are working in xforms with large repeat nodeset.For dispalying we have used the data winodw method which is working fine. Our page size is 10 (ie we are displaying 10 records/page).The problem is, while going to the next page the repeat index is not setting to 11 and so on (ie. the index remains 1 to 10).Please give me any solutions regarding this.Thank you.

9/30/2009 6:10:10 AM 0 Lavanya saravanan <narenl...@gmail.com>
setting xforms repeat index

Good Morning everybody, We are working in xforms with large repeat nodeset.For dispalying we have used the data winodw method which is working fine. Our page size is 10 (ie we are displaying 10 records/page).The problem is, while going to the next page the repeat index is not setting to 11 and so on (ie. the index remains 1 to 10).Please give me any solutions regarding this.Thank you.

9/30/2009 6:07:55 AM 3 Lavanya saravanan <narenl...@gmail.com>
XForms via XSLT applied in browser

Hello, one could choose to generate a default XForms view when accessing the instance data through an XSLT- and XForms-capable browser with the "xml-stylesheet" PI attached: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="generate_default_xforms_view_for_this_data.xslt" ?> <instances> <instance id="first"> ... </instance> </instances> While this approach works with XSmiles, the XForms page is not populated with instance data when viewed with Firefox/XForms plugin, version 0.86 on Linux, AMD64. Output of the same transformation applied externally is

9/18/2009 2:12:10 PM 2 Jaroslav Pullmann <jaroslav.pullm...@fit.fraunhofer.de>
Transform element in XForms

Hi, Is there a possibility to define and use in Firefox + XForms add-on a "transform element" for XSL transformations, having the following (suggested) syntax: <xf:transform origin="" target="" xsl="" parameters=""/> <xf:insert context="instance('instanceColectareDate')/documentPrimar" nodeset="*" origin="instance('instanceColectareDate')/ modeleIntroducereDate/chitanta"/> where: @origin is the nodeset to be transformed, @target is the node(set) replaced by the transformed xml tree (could be the same as @origin) @xsl is the nodeset containing the XSL stylesheet @parameters

9/18/2009 10:57:04 AM 0 claud108 <claudius.teodore...@gmail.com>
Digest function in xforms add-on for firefox 0.8.5

Hi, Aaron Is it possible to implement the function digest() in 0.8.5? Thank you, Claudius

9/15/2009 8:50:56 PM 18 claud108 <claudius.teodore...@gmail.com>
Character encoding

Hi When submitting, some national characters are not encoded correct in the URL. Regards Christian

9/8/2009 8:12:12 PM 2 ChrD <chr.dethlef...@gmail.com>
Xforms -performance issue - (large Data File)

Hi Xforms members !! Here we have developed a sample application with large Data file access option and Repeat option also there.. Nearly 10000 records we loading at a time for the display with Data window option. This file taking as much as nearly 3 to 5 min for rendering in browser .. How to solve this performance issue .,, Any suggestion for this query ////. By Rajamani M Junior Research Fellow NIC - Open Technology Centre

9/8/2009 5:41:35 AM 1 OTC <m.rajam...@nic.in>
xform not saving data into xml.

Hi I am working on xforms. I am new developer on this platform. I have two questions. 1) I am creating a simple application. In application I want a one text box and save button. One I put the text on textbox and click save button then data should be save in xml. Can any one give me solution my query. 2) I have example but its also not working. I don=92t know why xml isn=92t saving data. <?xml version=3D"1.0" encoding=3D"ASCII"?> <html xmlns=3D"http://www.w3.org/1999/xhtml" xmlns:ev=3D"http://www.w3.org/2001/xml-events" xmlns:xforms=3D"http://www.w3.org/2002/xform

9/2/2009 4:12:25 PM 2 Asit <asitkumarsi...@gmail.com>
xforms with Ajax-like collaborative work performance

I've completed a bulletin board application completely with xforms all except for one thing, people can't simultaneously update the same post. Most forum/boards restrict people to just their own post based on username login but I would like to allow collaborative work. I need to track or alert users as to whether or not a post is currently being edited. lets' take this basic external xml file that becomes the main instance to an xhtml/xforms form. <data> <topic> <topicTitle/> <post editMode="open"/> <!--alternative editMode value is "closed"--> <topic> <d

8/30/2009 4:42:03 PM 3 "dr.cw.ray" <dr.cw....@gmail.com>
i am so keen.....

..... to see FF3+ Xform extension regularly and continually developed to be THE top-notch xf processor. my opinion: it's already got the competition beat! I've checked out other options and it seems a chore to get it working. I'm absolutely a lay person in this field, however it still seems that other options are no where near as good or as easy to use. is it ever possible that this work will take over the world! I hope so. Cheers for all the efforts of those involved.

8/23/2009 2:25:46 PM 0 Badbetty <...@genie.co.uk>
3.4 The case Element Child of the toggle Element

Is the xforms 1.1 specification for "3.4 The case Element Child of the toggle Element" supported by mozilla xforms (the status report is not clear on this, showing "partial" with no notes). Whether or not it is, can someone tell me if the below is a proper minimal example of such a use. In this example, my interpretation, nothing but the label will show until clicked and then the case would become relevant (I'm not real sure I'm interpreting this use case correctly). Any comments appreciated. <?xml version="1.0"?> <h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:ev="http:/

8/20/2009 2:23:13 PM 4 "dr.cw.ray" <dr.cw....@gmail.com>
clickable images -- what is proper and your preferred method

Almost all images of any kind on the web these days are clickable, in that they lead to a link or an image with a larger view. Back when I was first learning xforms, I did everything I could using xforms with little or no html. It worked so well in forcing me to see how much could be done in xforms that I virtually forgot my html and have to look things up all the time. So I got in the habit of displaying clickable images (images that open to an image only larger view) like so: <xf:trigger appearance="minimal"> <xf:label> <img class="right" src="image.jpg" style="max-h

8/20/2009 6:35:19 AM 5 "dr.cw.ray" <dr.cw....@gmail.com>
click on images for larger view -what is your preferred method

Back when I was first learning xforms, I did everything I could using xforms with little or no html. It worked so well in forcing me to see how much could be done in xforms that I virtually forgot my html and have to look things up all the time. So I got in the habit of displaying clickable images (images that open to an image only larger view) like so: <xf:trigger appearance="minimal"> <xf:label> <img class="right" src="media/raven.jpg" style="max-height: 8ex;" alt="image"/> </xf:label> <xf:load resource="media/scrooge2.jpg" show="new" ev:event="DOMActivate"/>

8/20/2009 6:29:10 AM 0 "dr.cw.ray" <dr.cw....@gmail.com>
Loading instance data from URI

Hi I have tried load instance data with something like src="http:// xxx.yyy" but haven't succeeded. What should the response from the URI call look like? Regards - Chr.

8/19/2009 10:13:50 PM 2 ChrD <chr.dethlef...@gmail.com>
XForms in WML .

Hi , I need the basic information of xforms in WML ... How to include xforms code in WML code ... like xforms in XHTML... I have tested too many samples in firefox(xforms enabled) of XHTML +Xforms code. But i don't know how to write sample code in WML with Xforms and where to run ?.. By Rajamani M Junior Research Fellow OTC

8/18/2009 1:08:14 PM 1 RajaM <rajamani....@gmail.com>
Generating custom error messages on input validation failure

I am struggling with this, since I have not understood actions | events properly (isn't there some easy-to-read reference that explains it nicely & completely to a simple-minded apps developer? - my only reference is Dubinko) I have inputs in my xform referring to instance elements with associated bind constraints. On form load, the instance values are all null, thereby failing the constraints and generating xforms-invalid events (I show these as pink boxes on form load). I want to generate custom error messages for EACH input on xforms-value-changed when its specific constraint is

8/13/2009 1:44:42 PM 1 eCubeH <b...@samhita.co.in>
Resetting select1 back to unselected state

What is the cleanest / simplest way to unselect a value from a select1? Once a value is selected, there seems no way to make it null again. -- View this message in context: http://www.nabble.com/Resetting-select1-back-to-unselected-state-tp24929339p24929339.html Sent from the Mozilla - XForms mailing list archive at Nabble.com.

8/12/2009 3:15:02 AM 1 eCubeH <b...@samhita.co.in>
use of calculate in xforms bind with external instance data

I want to calculate a label node for a select1 control using nodes in a instance sourced from outside of the document. It seems that the calculated nodes have to be in the instance document before a calculation can set their values. Is there a simple way around this problem, such as a means to insert the new calculated nodes before doing the calculation. The following example works only if the "new_value" nodes are present already. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:sample="http://www.test.com/sample" > <he

8/11/2009 11:35:32 AM 1 steve cameron <steve.cameron....@gmail.com>
trigger/toggle outside of a switch; is that in line with specs?

I have some triggers with toggles that are outside Switch but reference the cases within. That works great for my app, I just want to know if that is the expected behaviour (is that in line with the specs) or do I need to change it. pseudo code: some markup here... trigger toggle case="case2" Switch case id="case1" case id="case2" .... more markup

8/10/2009 7:59:50 PM 2 "dr.cw.ray" <dr.cw....@gmail.com>
getting focus on a repeated textarea after insert

Hey all, Just can't seem to get the right focus. I am adding a nodeset with insert into a repeat. When I click on the "add" label, I need the focus to move down to the last textarea that was just added (instead of just remaining on the "add" label). This is because I have a long list and it is not convenient for the user to have to scroll or page down a long list to get to the recently added post (textarea). I'm trying to use xforms-setfocus, but maybe that's the wrong approach--? Here is my code snippet. the xml instance structure is below; it is identical for the id="main" in

8/9/2009 5:20:42 PM 3 "dr.cw.ray" <dr.cw....@gmail.com>
Add a Repeating region deletes other form input

Hello, I have the following instance data and repeating region. Every time I click on add trigger it deletes the insured name text that i have entered in the insured name input field?!? <xforms:instance id="data-instance"> <data> <item> <insuredname></insuredname> <al> <name></name> </al> </item> </data> </xforms:instance> <xhtml:p

8/7/2009 1:43:58 AM 0 JohnBampton <jbamp...@gmail.com>
Setting input field to required!?

I have the following sample instance (there are other elements in the instance) and repeating region and I am trying to make the name input a required field with the bind tag. How do I do this? The bind tag below is not working!!? <xforms:instance id="data-instance"> <data> <item> <al> <name></name> </al> </item> </data> </xforms:instance> <xforms:bind nodeset="item/al/name" id="must-be-present-alnam

8/6/2009 4:42:26 AM 1 "John Bampton" <jbamp...@gmail.com>
Live chart

Hi all, I've been trying to get some live charts with XForms + SVG (and without scripting) for a couple of days but I've got no result for the moment. My last attempt was to write : <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/ 2002/xforms"> <head> <title>Live chart</title> <xf:model> <xf:instance xmlns="http://www.w3.org/2000/svg" id="phonebook"> <svg version="1.1" baseProfile="full" width="100%" height="100%" xml:lang="fr" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid meet" xmlns:xlink="http://www.w3.org/

8/4/2009 12:52:36 PM 2 Tangui <tangui.lepe...@gmail.com>
XForm generator program

Hi, I just uploaded a new version of my program "Descriptive Data Capture". This version supports generating an XForms file. You can find it at: home.att.net/~setterg Thanks for the help I've received here. Any feedback on the program is very welcome. Gary Setter

8/3/2009 7:20:05 PM 0 Gary <threehear...@att.net>
Thanks Philipp! workaround: xf-output with @mediatype inside xf-repeat

I wanted to give anyone a heads up who may have had trouble getting an xforms-output with @mediatype to work inside a xforms-repeat. Philipp Wagner came up with a very simple workaround that can be found at bug 507364. I'm a little on cloud nine because I really needed that solution. Thanks again Philip!! bug and workaround can be found here: https://bugzilla.mozilla.org/show_bug.cgi?id=507364

7/31/2009 9:19:46 PM 0 "dr.cw.ray" <dr.cw....@gmail.com>
Xforms - Switch-case & Toggle issue

Hi I have used different drop downs in my program, where I am facing on toggle issue. For this issue, I have created a sample xforms script (test1.xml) and attaching it with this email. In the attached xforms script (test1.xml), please follow the below steps to reproduce the issue: 1. Select the value "First Category" in the first dropdown 2. Then, select "Yes" in the second dropdown 3. Then, select "Yes" in the third dropdown 4. Now, select blank in the first dropdown. This hides the other two dropdowns. It works as expected. 5. Again select the value "First

7/30/2009 12:43:44 PM 2 Climate <peermasthang...@rediffmail.com>
need to file bugs -- where?

I have two bugs to report but when going to the general bugzilla site and trying to find the xforms project, I see lists of every other project but not xforms. Do we file our bugs under the general category of Firefox, Other applications,..? some guidance would be appreciated. thanks :)

7/30/2009 10:17:43 AM 3 "dr.cw.ray" <dr.cw....@gmail.com>
xml signature

hello sir/madam, This is Srividhya working as Junior Research fellow in N.I.C. Now am developing the code to sign the xml document(xml signature) using core java technology. Here the whole document signing is working fine. But in case of multiple signing of a single xml file, signature for separate node is working fine, Signing only the whole document is also working fine ...but if am signing the whole document including the signature of separate nodes is not validating. Please help me ...to solve this problem... Thanking you, Srividhya.N

7/29/2009 5:11:28 AM 0 srividhya <sr.vidh...@gmail.com>
xml signature

hello sir/madam, This is Srividhya working as Junior Research fellow in N.I.C. Now am developing the code to sign the xml document(xml signature) using core java technology. Here the whole document signing is working fine. But in case of multiple signing of a single xml file, signature for separate node is working fine, Signing only the whole document is also working fine ...but if am signing the whole document including the signature of separate nodes is not validating. Please help me ...to solve this problem... Thanking you, Srividhya.N

7/29/2009 5:11:11 AM 1 srividhya <sr.vidh...@gmail.com>
mediatype not working in a repeat

I thought I posted on this in ages past, but can't seem to find it anywhere. The mediatype attribute for an xforms-output is ineffective inside an xforms-repeat. When attempting to use it, any element bound to an output with @mediatype disappears. I can take the same structure and put it outside the repeat without any problems and the proper mediatype renders as expected (I've only tested text/html and application/xhtml xml). I don't think it should be a hight priority, but I thought someone should know.

7/28/2009 3:44:27 PM 2 "dr.cw.ray" <dr.cw....@gmail.com>
Problems with xf:select1 not showing initial value when xf:itemset is used to get xf:item values

Has anyone seen a problem with the select1 controls not displaying the inital value when you use an itemset to get the code values from the model? I am running FF 3.5 with the new pre XForms extension. Here is an example: http://xforms-examples.googlecode.com/svn/trunk/02-controls/05a-Select-from-model/itemset-init.xhtml The form has two select1 statements. One uses itemset and the other put the codes inline. The itemset version does not display the initial Label of the code. Please let me know if anyone can reproduce this behavior. Perhaps I am doing something wrong. T

7/23/2009 4:25:18 PM 2 Dan McCreary <dan.mccre...@gmail.com>
XForms for Firefox 3.5

Hi, after bug #490983 is fixed, XForms is ready for Firefox 3.5. Many thanks to Aaron, Doron and bz for reviewing that last patch. I took the chance to add a bit of documentation on how to build XForms from source at the MDC: https://developer.mozilla.org/en/XForms/Building_Mozilla_XForms And, I did a initial build for Windows and Linux, which is available from http://philipp.wagner.name/mozilla-xforms/ All in all, this (experimental snapshot!) version should be more stable than 0.8.6 as some crash bugs got fixed. Philipp

7/15/2009 8:09:40 PM 2 Philipp Wagner <n...@philipp-wagner.com>
xforms reset not responding....

Hi We have created a sample application with reset control .. that reset option is not working for this sample code ,,, and the output file size is huge ,,, so i thing for that it's not responding .. because the same sample's reset option working ,if that xml file size is less ... How to resolve this issue ???? By Rajamani M Junior Research Fellow Open Technology Centre

7/15/2009 7:37:16 AM 0 RajaM <rajamani....@gmail.com>
itemset nodeset not updating when elements updated in a repeat structure

I have a select with itemset using xf:copy and also a repeat with input (for editing) based on the same instance structure. If I first select items and then edit the structure, the itemset will deselect the edited element, expectedly so, but the underlying instance does not reset the selected items in the itemset nodeset, the result being that I essentially have an item showing selected that no longer exists in the instance structure (the element exists, but not the text node). It's easy to work around in that you can set your input (or textarea) to clear out the nodeset with setval

7/10/2009 11:44:44 AM 1 "dr.cw.ray" <dr.cw....@gmail.com>
HTML5 & XForms

There have been a number of articles coming up on how XHTML 2.0 is 'dead' and HTML5 is the way forward, etc. What are the implications for XForms, especially XForms plugin in Firefox? How will this impact apps that have been built in XForms, esply with regard to future conformity etc. I am asking as someone unfamiliar with HTML5, WHATWG, Web Forms 2.0 etc! _______________________________________________________________ http://www.w3.org/News/2009 XHTML 2 Working Group Expected to Stop Work End of 2009, W3C to Increase Resources on HTML 5 2009-07-02: Today the Director a

7/9/2009 3:37:29 AM 5 eCubeH <b...@samhita.co.in>
Additional XForms Datatypes to Allow Empty Content

Hi, In the XForms 1.1 spec, section 5.2.1 'Additional XForms Datatypes to Allow Empty Content', there is a list of types that we can use to validate input on the client side without making the field required. I'm making use of the decimal type. It works great. I would also like to do the same thing with integer values. Alas, the closest available type, integer, does not behave that same way. Empty elements of that type are treated as errors. If there empty elements of that type in the form, submit fails. Will there ever be a type that will validate integers, but not be required? B

7/8/2009 7:17:07 PM 1 Gary <threehear...@att.net>
MVC discussion

Even though I've been programming with xforms for over 4 years, I'm still not a professional but would like to get some feedback from you guys rather than putting my amateurish thoughts over on the working group mailing list. When I think of model/view/controller logic, I think of the model as being something completely unrelated to my xhtml/xforms document; say, an xml file with only business data. One of the issues I have is that when my form gets rather large I end up with lots of newly created elements whose sole purpose is to control the view. For instance, using an xf:group b

7/8/2009 8:34:01 AM 4 "dr.cw.ray" <dr.cw....@gmail.com>
tabindex

Hi michael, you did see Alexander's answer about using tabindex instead of navindex, right? just wanted to be sure you didn't overlook that.

7/8/2009 8:12:45 AM 0 "dr.cw.ray" <dr.cw....@gmail.com>
There is no way to inspect an event to determine it's target.

I'm coming to the conclusion that this is not possible. Is that correct? So I can't do something like... <handler id="handler> <dostuff> <if ev:target="trigger1" > <dotrigger1stuff /> </if> <if ifsandbuts="candiesandnuts" then="we'dallhaveamerrychristmas" /> </dostuff> </handler> <container ev:event="DOMActivate" ev:handler="#handler" > <xf:trigger id="trigger1" /> </container> Many thanks.

7/7/2009 3:13:36 PM 3 michael <mich...@realbuzios.com>
deselect itemset

I have an xforms-select with xform-itemset. Because the values I'm after have spaces, I don't use xf:value in the itemset because of the space delimiter, I'm using xf:copy, which creates a new child nodefor each of my selections. It's easy to deselect the items in an itemset using xf:value, as you can just create a trigger linked to that value and set the value to "" (nothing) with DOMActivate. However, with the xf:copy, you can't do that, so I'm using xforms- delete inside a trigger labelled "deselect" so that with DOMActivate I can delete the nodes that had been previously sele

7/5/2009 4:57:04 AM 3 "dr.cw.ray" <dr.cw....@gmail.com>
navindex / tabindex ? How to set tab order?

<xf:input ref="code" navindex="6"> <xf:label>Code:</xf:label> </xf:input> <xf:input ref="type" navindex="7"> <xf:label>Type:</xf:label > </xf:input> Hi. I thought this was going to be the easy part but it doesn't work - tabbing from Code to Type skips to another field. These two fields follow each other in the model. I'm baffled. Any insights? Thanks very much.

7/4/2009 6:41:31 PM 7 michael <mich...@realbuzios.com>
warning gtBoxObjectFor() deprecated

I'm sure this is probably a known problem, but I noticed in my error console that the following message started popping up on many of my applications. I couldn't narrow down what the problem might be (my apps are huge), but I was recently building a smaller app that is triggering this warning. In that app, I only use a select with itemset, and a repeat with a nested input. I also use an insert but the error triggers at load time so I don't think it's that. I also have a switch/case but I don't think that would tirgger the warning either. I'm sure someone's on top of this, but I su

7/4/2009 7:07:00 AM 1 "dr.cw.ray" <dr.cw....@gmail.com>
Firefox 3.5 and XForms build

Now that FF 3.5 is out, I'm going to shift to working on the plugin on that version. What's required to include it in the build process now? I see it has its own repository along with schema validation, so is it as simple as cloning those repositories to extensions/xforms and extensions/schema-validation under the mozilla hg repository? Thanks.

7/3/2009 1:56:15 PM 2 Dion Sole <dion.s...@gmail.com>
Removing case from starts-with search

Hi, Does anyone have any experience with removing case from a search. I have this: <xf:repeat nodeset="contact[name[starts-with(., /contact[1]/name)] ... but what I want is this: <xf:repeat nodeset="contact[ translate(name, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')[starts-with (., translate(/contact[1]/name, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'))]" ... or something to that effectively removes case from the selection criteria. Anyone get this to work? I can't so far. Many thanks.

7/3/2009 12:19:13 PM 5 michael <mich...@realbuzios.com>
Is it Possible dynamic error change on Repeat items ?

Hi i have developed a sample xforms+xhtml application which has owned Repeat control .. And the requirement is if any one of the repeated mandatory field is empty then must display the error message for that field . Is it possible .. Need your comments .. By Rajamani M Junior Research Fellow

7/2/2009 12:08:15 PM 1 RajaM <rajamani....@gmail.com>
Does if( ) work in a repeat nodeset?

Hi, I can't seem to make an if ( ) work in a repeat nodeset? Should it? If not, I suppose I can make two nodesets and make each relevant as necessary but that is an inelegant solution. (Mind you, my room is a mess so I can handle lack of elegance). Many thanks.

7/1/2009 10:16:25 PM 1 michael <mich...@realbuzios.com>
Highlight invalid data

I now use <xf:bind type="xs:integer" nodeset="element" /> to catch basic input errors. Now, when a form is filled up, the submit action has an error and I acknowledge it at the bottom of the form. You can get some idea of the problem source by looking at the error console. What I want, is to change the display, for example change the background of input text. Can that be done with just XForms and if so, how? Thanks,

7/1/2009 4:37:47 PM 3 Gary <threehear...@att.net>
Help please with this xpath statement not working as I'd hoped.

Hi, I have an instance with these elements: <contacts xmlns=""> <contact key=""> ... <address primary="true"> <!-- only one address can be primary --> <code /> <type /> <label /> </address> </contact> </contacts> In one contact I may have multiple addresses and I thought I could pull out just the primary addresses with this statement: <xf:setvalue ref="..." value="string(instance('contact_template')/ contact/address/[@primary=true()]/code)"/> but it is decidedly not working. Should

7/1/2009 12:09:42 AM 5 michael <mich...@realbuzios.com>
Xforms support in Thunderbird?

I'm developing an extension for Thunderbird and want to render Xforms. Does the Firefox Xforms extension work in Thunderbird or is there any other Xform support? I'm testing with both Thunderbird 2 and Thunderbird 3 beta 2. Have posted this question to the Thunderbird forum / groups and suggested I post here.

6/27/2009 4:47:47 PM 8 aapthorp <adr...@apthorpia.com>
Re: web svs response: XPath parsing & instance data binding

Many thanks Dion, it works! --- On Wed, 6/24/09, Dion Sole <dion.sole@gmail.com> wrote: > From: Dion Sole <dion.sole@gmail.com> > Subject: Re: web svs response: XPath parsing & instance data binding > To: "Jane Man" <janeman_98@yahoo.com> > Cc: dev-tech-xforms@lists.mozilla.org > Date: Wednesday, June 24, 2009, 12:31 AM > Jane Man wrote: > > I have a few questions on XPath parsing and instance > data binding in web svs > > response. > > > > In my application, the web svs will return data in > form of XML document > > like: <demopo:purchaseOrder > > xmlns:demopo="http://w

6/25/2009 3:51:12 PM 0 Jane Man <janeman...@yahoo.com>
web svs response: XPath parsing & instance data binding

I have a few questions on XPath parsing and instance data binding in web svs response. In my application, the web svs will return data in form of XML document like: <demopo:purchaseOrder xmlns:demopo="http://www.purchaseOrder.com/purchaseOrder" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="1001" orderDate="2001-01-01" shipDate="2001-01-01" status="shipped" xsi:schemaLocation="http://www.purchaseOrder.com/purchaseOrder POSchema.xsd">... Inside XForms, I have the following to bind and display the web svs response : <xforms:case id="response"> <xforms:output ref="insta

6/24/2009 6:59:17 AM 0 Jane Man <janeman...@yahoo.com>
xforms -- multiple xml schema

Hi =2C =A0We are doing a sample application =2E in that need xml schema file =2E= =2E but i have to include to schema file for that form=2E Is it possible= to include two schema files in XHTML + xforms and should run in mozilla= -firefox browser =2E=2E BY Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar=2C Chennai - 90 Cell =3A 9791125383

6/19/2009 8:47:49 AM 1 Raja <m.rajam...@nic.in>
XForms extension: Sponsorship available to complete the task

We are in the process of getting the XFroms usability in various projects. Bust as of now, the XForms extension for FireFox is not meant for end users and for evaluation only. So we would like to get the support of Mozilla Xforms Project team to complete the XForms extension for Mozilla FireFox browser in compliance with XForms 1.1 spec & test suite. We are ready to sponsor to complete the project. Apart from this, support of XML Digital Signature is also required; solution may be by extending the XForms processor or adding plug-in to the XForms extension. This should be capable o

6/19/2009 7:38:11 AM 1 Uzhavan green <uzhavan.gr...@gmail.com>
xforms-output appl/xhtml+xml not-well formed

I've got both an xforms-output (application/xhtml+xml) and xforms- textarea bound to the same element. This means I can enter xhtml markup in my textarea and get dynamic updates to the xforms-output that is diplayed (which is all rather very cool). However, if someone enters ill-formed code in the textarea, it breaks the displayed output (as it should). My question is, does someone have a suggestion on how I could catch it if the user enters ill-formed markup? (as opposed to well-formed; and I'm not worried about valid). It would either have to happen at submission, or maybe have

6/16/2009 5:14:48 PM 2 "dr.cw.ray" <dr.cw....@gmail.com>
Need help with mozilla chrome:// URLs and xforms

Hi I have been trying to have a mozilla add-on enabled with xforms . I am stuck in trying to load the data xml based on the parameters I have the following strrcutre within the content : main.xhtml one.xml two.xml three.xml The main.xhtml looks like : <xf:model> <xs:instance id="myinstance" src="" /> </xf:model> I would like to access the url as chrome://myapp/main.xhtml/?param=one.xml or chrome://myapp/main.xhtml?param=two.xml and so on I wanted to use a javascript that can parse the req

6/16/2009 3:51:17 PM 3 Harihara <hvr...@gmail.com>
Re: xforms:output question

Please ignore this, typo in xpath ;-) --- On Mon, 6/15/09, Jane Man <janeman_98@yahoo.com> wrote: > From: Jane Man <janeman_98@yahoo.com> > Subject: xforms:output question > To: dev-tech-xforms@lists.mozilla.org > Date: Monday, June 15, 2009, 3:25 PM >=20 > I am trying to evoke a web services using xfroms (using > replace=3D"instance"). From the proxy and xformsbuddy, I know > instance_16 do get the correct binding from the response > from the web services. However, when I try to display its > content using xforms:output, nothing show up(there is no > message in Tools>Error c

6/15/2009 10:30:20 PM 0 Jane Man <janeman...@yahoo.com>
xforms:output question

I am trying to evoke a web services using xfroms (using replace="instance"). From the proxy and xformsbuddy, I know instance_16 do get the correct binding from the response from the web services. However, when I try to display its content using xforms:output, nothing show up(there is no message in Tools>Error console as well). I may do something silly to cause this. Any clue to make it work? <xforms:output ref="instance('instance_16')//@OrderDate" model="14"> <xforms:label>OrderDate</xforms:label> </xforms:output > instance_16 binding(in xfromsbuddy) a

6/15/2009 10:25:25 PM 0 Jane Man <janeman...@yahoo.com>
Re: replace="instance" - submission not working

I noticed the following from Tools>Error Console -------- Error: XForms Error (14): Security check failed! Trying to submit data to a= different domain than document Source File: file:///C:/DataStudio21/EOSDB205DataProject/DataServerWebServi= ces/queryID/.metadata/queryID_5.xhtml Line: 0 Source Code: <xforms:submission id=3D"submit_17" action=3D"http://localhost:8080/EOSDB20= 5DataProjectqueryID/services/queryID" method=3D"post" mediatype=3D"applicat= ion/soap+xml; action=3Durn:example/queryID" ref=3D"instance('instance_16')"= replace=3D"instance"/> ----- As per http://www

6/14/2009 5:52:47 AM 0 Jane Man <janeman...@yahoo.com>
Re: replace="instance" - submission not working

I mean the submission does not work for replace=3D"instance"=20 --- On Sat, 6/13/09, Jane Man <janeman_98@yahoo.com> wrote: > From: Jane Man <janeman_98@yahoo.com> > Subject: Re: replace=3D"instance" - submission not working > To: dion.sole@gmail.com > Cc: dev-tech-xforms@lists.mozilla.org > Date: Saturday, June 13, 2009, 9:21 PM >=20 > Yes, instance_16 is the first instance in the model. >=20 > Anyway, after changing the xforms:submission to the > following:=20 >=20 > <xforms:submission id=3D"submit_17"=20 > action=3D"http://localhost:8080/EOSDB205DataProjectqueryID/servic

6/14/2009 4:24:07 AM 0 Jane Man <janeman...@yahoo.com>
Re: replace="instance" - submission not working

Yes, instance_16 is the first instance in the model. Anyway, after changing the xforms:submission to the following:=20 <xforms:submission id=3D"submit_17"=20 action=3D"http://localhost:8080/EOSDB205DataProjectqueryID/services/queryID= " method=3D"post" mediatype=3D"application/soap+xml; action=3Durn:example/que= ryID"=20 ref=3D"instance('instance_16')" replace=3D"instance" > it(submission) does work. But it works when I remove replace=3D"instance". --- On Sat, 6/13/09, Dion Sole <dion.sole@gmail.com> wrote: > From: Dion Sole <dion.sole@gmail.com> > Subject: Re: rep

6/14/2009 4:21:25 AM 0 Jane Man <janeman...@yahoo.com>
Firefox crash : insert, then delete

Thanks for letting me know. I will keep an eye on this. Jane --- On Sat, 6/13/09, Dion Sole <dion.sole@gmail.com> wrote: > From: Dion Sole <dion.sole@gmail.com> > Subject: Re: instance() not working in Firefox? > To: "Jane Man" <janeman_98@yahoo.com> > Cc: dev-tech-xforms@lists.mozilla.org > Date: Saturday, June 13, 2009, 6:15 PM > Jane Man wrote: > > Thank Dion again :-) > >=20 > > If I do something like this(without comment out the > delete line), Firefox crash when I click the sumbit button. > Samething(crash) if I swap the order of insert and > delete(i.e. delete firs

6/14/2009 4:16:32 AM 0 Jane Man <janeman...@yahoo.com>
replace="instance" - submission not working

From https://developer.mozilla.org/En/XForms/Form_Troubleshooting "Submission Not Working If you are trying to replace="instance" make sure that the document being returned is XML. There will be an error on the Javascript Console if it is not." I have same problem, when I remove replace="instance", it works, with replace="instance", it does not submit(as indicated in the proxy). I also verify the document being returned is XML(in without replace="instance" case). Any idea? <xforms:instance id="instance_16" > <soapenv:Envelope soapenv:encodingStyle="http://schemas.xmlsoap.org/soa

6/13/2009 9:10:34 PM 0 Jane Man <janeman...@yahoo.com>
Re: instance() not working in Firefox?

Thank Dion again :-) If I do something like this(without comment out the delete line), Firefox c= rash when I click the sumbit button. Samething(crash) if I swap the order o= f insert and delete(i.e. delete first). Is this because there is nothing un= der instance('SOAPEnvelope')//POXML"/ initially?=20 <xforms:submit submission=3D"submit_4"> <xforms:label>Submit</xforms:label> <xforms:action ev:event=3D"DOMActivate" > <xforms:insert context=3D"instance('SOAPEnvelope')//POXML" nodeset=3D"*" origin=3D"instance('instance_3')"/>

6/13/2009 5:23:16 PM 0 Jane Man <janeman...@yahoo.com>
Re: instance() not working in Firefox?

Many thanks, Dion! I make it work with : <xforms:action ev:event=3D"DOMActivate" > <xforms:insert context=3D"instance('SOAPEnvelope')//POXML" nodeset=3D"*" origin=3D"instance('instance_3')"/> <!-- xforms:delete nodeset=3D"instance('SOAPEnvelope')//POXML"/ --> Question: 1. why xforms-ready? not DOMActivate?=20 2. why we need a observer here? 3. why do we need to delete at the end? For next invocation? Thanks, Jane --- On Sat, 6/13/09, Dion Sole <dion.sole@gmail.com> wrote: > From: Dion Sole <dion.sole@gmail.com> > Subject: Re: instance()

6/13/2009 9:00:28 AM 0 Jane Man <janeman...@yahoo.com>
instance() not working in Firefox?

Thanks Dion, It works fine when I put SOAP elements into PO.xml :-) Regarding using 2(or multiple) instance, I have hard time using instance() = in Firefox(my version is 3.0.10)? Any special guideline? I search around, l= ook like there are some old bugs in v2, but should be fixed by now? Some like the following does not work in Firefox: 1. "id" not display when I open the file 2. after click the Submit, nothing has sent out(as indicated in my proxy se= rver) <xforms:instance id=3D"instance_3" > <demopo:purchaseOrder id=3D"1001" > </demopo:purchaseOrder> </xforms:instance

6/13/2009 6:32:15 AM 0 Jane Man <janeman...@yahoo.com>
xforms (xml) modularization

I'd like some feedback on this. I have a BB editor written entirely in xforms that I use in several applications (I just copy the entire code and stick it in whatever app I need). It's a pain every time I update the editor to have to go through the apps and make the appropriate updates. I know that XBL 2.0 is an upcoming technology, but it's not a straightforward and simple solution for modularizing xml or xforms with all it's implementations and handlers and such (xml and xforms is verbose enough as it is). I have such a simple idea, and it's such an "xml" compatible idea, that

6/13/2009 12:31:31 AM 5 "dr.cw.ray" <dr.cw....@gmail.com>
org.xml.sax.SAXException: Bad envelope tag: purchaseOrder

Many thanks, the "no SOAPAction header" problem is gone. However, I am getting "org.xml.sax.SAXException: Bad envelope tag: purchase= Order". Does this mean we are missing the SOAP envelope in the request? or just com= plain we need missing "<example:InsertPOTable xmlns:example=3D"urn:example"= >" at the beginning? I try to add it inside submission using xforms:insert,= but somehow, the insert does not work(cannot see it in the proxy). Any tri= ck for that? Below is first part of xhtml: <?xml version=3D"1.0" encoding=3D"ASCII"?> <html xmlns=3D"http://www.w3.org/1999/xhtml"

6/12/2009 7:06:53 AM 0 Jane Man <janeman...@yahoo.com>
Re: faultString: no SOAPAction header!

Yes, below is submission element: <xforms:submission id=3D"submit_4" action=3D"http://localhost:8080/EO= SDB205DataProjectInsertPOTable/services/InsertPOTable" method=3D"post"/> --- On Mon, 6/8/09, dion.sole@gmail.com <dion.sole@gmail.com> wrote: > From: dion.sole@gmail.com <dion.sole@gmail.com> > Subject: Re: faultString: no SOAPAction header! > To: dev-tech-xforms@lists.mozilla.org > Date: Monday, June 8, 2009, 3:07 PM > On Jun 9, 9:26=A0am, Jane Man <janeman...@yahoo.com> > wrote: > > I am getting "no SOAPAction header" in my web services > server when

6/9/2009 12:48:40 AM 1 Jane Man <janeman...@yahoo.com>
faultString: no SOAPAction header!

I am getting "no SOAPAction header" in my web services server when the request is sent from XFORM. Below is the SOAP info in xhtml file: <soapenv:Envelope soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soapenv:Header xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <soapenv:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <example:InsertPOTable xmlns:example="urn:example"> <POXML xsi:type="xsd:anyType"/> </ex

6/8/2009 9:26:59 PM 1 Jane Man <janeman...@yahoo.com>
xforms submission

Hi, I was drawn to xforms as it seemed to represent a relatively easy method to create and post xml documents. However, posting is proving difficult to obtain other than to a local file e.g. file:/c:/wherever/whatever.xml. What is considered "normal" in terms of posting to a web server? Is this possible to do directly or do people call a program (php, cgi) at the server to deal with the submitted content? Many thanks.

6/7/2009 6:54:12 AM 3 molipha <michael.oliph...@icileparadis.com>
dynamic validation messages

I have a simple form with one field. The entry in that field must meet several criteria. Is there a way to change the alert message to display different text depending on which criteria aren't met? My form: .... <xforms:input ref="input"> <xforms:label>Field1</xforms:label> <xforms:alert>Field1 must be greater than 5 characters and fewer than 100 characters</xforms:alert> </xforms:input> .... If the length of the input is less than 5 characters then I would like the alert message to be "Field1 must be greater than 5 characters". If the length of the input is greate

6/3/2009 2:50:16 PM 2 cded...@gmail.com

Pages: 2











Newest Articles

"View / Message Source: Wrap Long Lines" not working
10 min. 46 sec. ago

Anyone posting?
10 min. 59 sec. ago

[Hendrix] htm files within a folder
16 min. 27 sec. ago

[Hendrix] Hate Upgrades
18 min. 11 sec. ago

Recovering Profile
18 min. 15 sec. ago