Dear Orbeon authors,
I think I've spotted a bug, namely when a put e.g. a xforms:textarea with xxforms:rows and xxforms:cols attributes in a xforms:repeat element, then these attributes (actually related HTML attributes) are lost in new iterations of the repeated xxforms:textarea. I've prepared an example simple Sandbox-compatible example, it features a xforms:textarea element with xxforms:rows and xxforms:cols attributes and a xforms:input element with xxforms:size attribute. When you click "Insert", then all new elements appear with wrong sizes: http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml The problem appears in Orbeon 3.7.1 and post-3.7.1: http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml and does not appear in Orbeon 3.6.0 (make sure you use an older browser supported by 3.6.0): http://xmlfr.org/orbeon/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml I would appreciate it if you fixed this, best regards, Maciek |
I am trying to deploy forms in a separate distribution from Orbeon and having some configuration problems. I have followed the directions at http://www.orbeon.com/ops/doc/reference-xforms-java but think I might be missing a puzzle piece. I am deploying on CentOs Linux. My test directory is deployed in /var/lib/tomcat5/webapps/MyForm. The directory structure is: MyForm xforms (location of the forms) WEB-INF web.xml (added the filters to the web.xml from Orbeon here) lib orbeon-xforms-filter.jar I have modified the /etc/tomcat5/server.xml file to include the context: <Server> ... <Host> ... <Context path="/MyForm" docBase="/MyForm" crossContext="true" /> </Host> </Engine> </Service> I get an error "The requested resource () is not available". If I comment out the <Context> element and restart Tomcat I get to the files but it doesn't find Orbeon. Orbeon is installed in webapps/orbeon and it is working just fine. Any thoughts on what I am doing wrong? Thanks! Betty /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | [hidden email] | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Maciej Arciuch
Maciej,
Thanks a lot. It's a coincidence but we fixed something very similar two days ago: https://forge.ow2.org/tracker/index.php?func=detail&aid=314425&group_id=168&atid=350207 The fix is availble in nightly builds: http://forge.objectweb.org/nightlybuilds/ops/ops/orbeon.war -Erik On Fri, Oct 30, 2009 at 8:11 AM, Maciej Arciuch <[hidden email]> wrote: > > Dear Orbeon authors, > > I think I've spotted a bug, namely when a put e.g. a xforms:textarea with > xxforms:rows and xxforms:cols attributes in a xforms:repeat element, then > these attributes (actually related HTML attributes) are lost in new > iterations of the repeated xxforms:textarea. > > I've prepared an example simple Sandbox-compatible example, it features a > xforms:textarea element with xxforms:rows and xxforms:cols attributes and a > xforms:input element with xxforms:size attribute. When you click "Insert", > then all new elements appear with wrong sizes: > > http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml > > The problem appears in Orbeon 3.7.1 and post-3.7.1: > > http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml > > and does not appear in Orbeon 3.6.0 (make sure you use an older browser > supported by 3.6.0): > > http://xmlfr.org/orbeon/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml > > I would appreciate it if you fixed this, best regards, Maciek > -- > View this message in context: http://n4.nabble.com/Orbeon-doesn-t-copy-xxforms-rows-xxforms-cols-and-xxforms-size-in-repeated-elements-tp278234p278234.html > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Betty Harvey
Hi Betty,
On Fri, Oct 30, 2009 at 12:12 PM, Betty Harvey <[hidden email]> wrote: > I get an error "The requested resource () is not available". If I comment > out the <Context> element and restart Tomcat I get to the files but it > doesn't find Orbeon. And you get this error when going to a URL like: http://localhost:8080/MyForm/xforms/someform.jsp? What if you don't setup the filter in the web.xml; is the XForms sent to the browser as-is? Alex -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
> Hi Betty, > > On Fri, Oct 30, 2009 at 12:12 PM, Betty Harvey <[hidden email]> wrote: >> I get an error "The requested resource () is not available". If I >> comment >> out the <Context> element and restart Tomcat I get to the files but it >> doesn't find Orbeon. > > And you get this error when going to a URL like: > http://localhost:8080/MyForm/xforms/someform.jsp? What if you don't > setup the filter in the web.xml; is the XForms sent to the browser > as-is? > gets resolved but it doesn't invoke Orbeon. If I include the <Context> element then the URL doesn't get resolved. I am using tomcat5. Thanks! > Alex > -- > Orbeon Forms - Web forms, open-source, for the Enterprise > Orbeon's Blog: http://www.orbeon.com/blog/ > My Twitter: http://twitter.com/avernet > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | [hidden email] | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Erik Bruchez-3
Dear Erik, I confirm that your fix solves my problem as well. Excellent timing! ;) Best regards, Maciej |
In reply to this post by Betty Harvey
I finally got the separate deployment working. I put the <Context>
element in a context.xml file in META-INF. The directory structure is: MyForm META-INF context.xml WEB-INF web.xml lib orbeon-xforms-filter.jar Betty > >> Hi Betty, >> >> On Fri, Oct 30, 2009 at 12:12 PM, Betty Harvey <[hidden email]> >> wrote: >>> I get an error "The requested resource () is not available". If I >>> comment >>> out the <Context> element and restart Tomcat I get to the files but it >>> doesn't find Orbeon. >> >> And you get this error when going to a URL like: >> http://localhost:8080/MyForm/xforms/someform.jsp? What if you don't >> setup the filter in the web.xml; is the XForms sent to the browser >> as-is? >> > > If I take the <Context> element out of the 'server.xml' file, the URL > gets resolved but it doesn't invoke Orbeon. If I include the <Context> > element then the URL doesn't get resolved. I am using tomcat5. > > Thanks! > > >> Alex >> -- >> Orbeon Forms - Web forms, open-source, for the Enterprise >> Orbeon's Blog: http://www.orbeon.com/blog/ >> My Twitter: http://twitter.com/avernet >> > > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ > Betty Harvey | Phone: 410-787-9200 FAX: 9830 > Electronic Commerce Connection, Inc. | > [hidden email] | Washington,DC XML Users Grp > URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | [hidden email] | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
The XInclude does not resolve correctly in the separate
deployment. I am using Orbeon dev-post-3.7.1.200910230248 distribution. I have a form that uses several XInclude statements for standard section. Right now all the XML fragments are in the save directory as the form (this works when located directly under Orbeon). XInclude Statement: <xi:include href="general.xml" xxi:omit-xml-base="true"/> Error message: /usr/share/tomcat5/general.xml (No such file or directory) Is there anyway to get around this problem? Thanks! Betty /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | [hidden email] | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Betty Harvey
Betty,
On Tue, Nov 3, 2009 at 10:04 AM, Betty Harvey <[hidden email]> wrote: > I finally got the separate deployment working. I put the <Context> > element in a context.xml file in META-INF. The directory structure > is: > > MyForm > META-INF > context.xml > WEB-INF > web.xml > lib > orbeon-xforms-filter.jar though; having the <Context> defined in context.xml or server.xml should be equivalent, and I personally usually put it in server.xml. So I am not quite sure why defining the context in server.xml didn't work, but I'm glad you found a solution. Alex -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
In reply to this post by Betty Harvey
Betty,
On Tue, Nov 3, 2009 at 10:23 AM, Betty Harvey <[hidden email]> wrote: > The XInclude does not resolve correctly in the separate > deployment. I am using Orbeon dev-post-3.7.1.200910230248 > distribution. > > I have a form that uses several XInclude statements for standard > section. Right now all the XML fragments are in the save directory > as the form (this works when located directly under Orbeon). So you have: webapps your-app your-form form.xhtml general.xml WEB-INF orbeon WEB-INF You load the form through http://localhost:8080/your-app/your-form/form.xhtml and need to include general.xml in form.xhtml. Is my understanding correct? The <xi:include> is interpreted by Orbeon Forms (well, Xerces ran by Orbeon Forms), so it can't just load that general.xml. 1) You could put a full URL there: <xi:include href="http://localhost:8080/your-app/your-form/general.xml" xxi:omit-xml-base="true"/>. This would make an HTTP request every time, and not be very efficient. 2) Or you could setup the Orbeon Forms resource manager to consider that webapps/your-app is a resource directory (through the FilesystemResourceManagerFactory in Orbeon's web.xml). Then you will be able to say <xi:include href="oxf:/your-form/general.xml" xxi:omit-xml-base="true"/>. 3) Or you could put that file in the Orbeon Forms resources directory and just use <xi:include href="oxf:/general.xml" xxi:omit-xml-base="true"/>. 4) With the cross context enable, I am wondering if you can put general.xml under your-app/WEB-INF/resources/general.xml and load it with oxf:/general.xml. If this works, that would be my favorite option. Otherwise #2 comes close. Alex -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by Betty Harvey
I think I have a workable solution but the problem - it isn't optimal
but will allow you to find files in relationship to Tomcat. In the META-INF directory the context.xml file is: <Context path="/test" docBase="${catalina.home}/webapps/test" crossContext="true" /> The XInclude file is brought into the form with the context of webapps: <xi:include href="webapps/test/SimpleForm/test.xml" xxi:omit-xml-base="true"/> Seems like there should be a way of just specifying 'href="text.xml"' and there probably is something else in the Tomcat configuration. Betty > The XInclude does not resolve correctly in the separate > deployment. I am using Orbeon dev-post-3.7.1.200910230248 > distribution. > > I have a form that uses several XInclude statements for standard > section. Right now all the XML fragments are in the save directory > as the form (this works when located directly under Orbeon). > > XInclude Statement: > > <xi:include href="general.xml" xxi:omit-xml-base="true"/> > > Error message: > > /usr/share/tomcat5/general.xml (No such file or directory) > > Is there anyway to get around this problem? > > Thanks! > > Betty > > > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ > Betty Harvey | Phone: 410-787-9200 FAX: 9830 > Electronic Commerce Connection, Inc. | > [hidden email] | Washington,DC XML Users Grp > URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | [hidden email] | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Betty,
On Fri, Nov 6, 2009 at 1:11 PM, Betty Harvey <[hidden email]> wrote: > I think I have a workable solution but the problem - it isn't optimal > but will allow you to find files in relationship to Tomcat. > > In the META-INF directory the context.xml file is: > > <Context path="/test" docBase="${catalina.home}/webapps/test" > crossContext="true" /> > > The XInclude file is brought into the form with the context of > webapps: > > <xi:include href="webapps/test/SimpleForm/test.xml" > xxi:omit-xml-base="true"/> the "current directory" is when you start Tomcat, is to use the JSP include directive to do the inclusion. I put up a little write-up on the subject on the wiki: http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications#TOC-File-inclusions-with-separate-deplo Alex -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by Erik Bruchez-3
I do not see this fixed. I put xxforms:size="50" on an input control with a repeat nodeset and subsequent rows added the input control goes back to the original size within form runner. Has this been fixed yet or is there something else that has to be done.
Thank you. |
Administrator
|
Brian,
This simple test seems to work: http://gist.github.com/320259 Does it work for you? -Erik On Sat, Feb 27, 2010 at 2:38 PM, bsteuhl <[hidden email]> wrote: > > I do not see this fixed. I put xxforms:size="50" on an input control with a > repeat nodeset and subsequent rows added the input control goes back to the > original size within form runner. Has this been fixed yet or is there > something else that has to be done. > > Thank you. > -- > View this message in context: http://n4.nabble.com/Orbeon-doesn-t-copy-xxforms-rows-xxforms-cols-and-xxforms-size-in-repeated-elements-tp278234p1572315.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |