Hello,
I have an application, quite similar to xforms-sql-address-book, which uses a MySQL database and Tomcat. I've deployed it on a test server, and I get some state issues, every time I make a modification on the page (like add, edit, ...), the current page still keeps track of the previous state of the page, and I have to refresh the page to get the right data. Locally it runs fine and I don't have this problem. I've made some research on it and it seems like it is a state problem (the page always displays the last state instead of current state), here is what I tried : - added in properties.xml : <property as="xs:string" name="oxf.xforms.state-handling" value="server"/> - updated the ops.jar from today's cvs repository, with the package ops\org\orbeon\oxf\xforms\state But these have no effects. Does anyone know if there are some workarounds for this issue ? And how we could integrate it with Orbeon 3.5.1 (I'm using this last stable release) ? Thank you for your suggestions. -- 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
|
By "state issue", what do you mean exactly? Do you see an error, and
if so which one? The SQL Address Book example refreshes its content after each operation by running an XForms submission that queries the latest version of the data. Do you follow that same pattern? I would recommend you do not use 3.5.1 at the moment as 3.6 is getting awfully close, and over 160 features issues have been addressed between these two versions. It is not enough to update ops.jar or parts thereof and use that as a patch to 3.5.1. The other ops-*.jar files have already changed, and other support JAR file have been upgraded. So you should either download a nighly build, or get the code from CVS but build the entire WAR with the ant task's orbeon-war or orbeon-dist-war targets and use all the new JAR files produced. -Erik On Nov 19, 2007, at 8:05 AM, Kim-Vân Ho-Dac wrote: > Hello, > > I have an application, quite similar to xforms-sql-address-book, > which uses a MySQL database and Tomcat. > I've deployed it on a test server, and I get some state issues, > every time I make a modification on the page (like add, edit, ...), > the current page still keeps track of the previous state of the > page, and I have to refresh the page to get the right data. > Locally it runs fine and I don't have this problem. > > I've made some research on it and it seems like it is a state > problem (the page always displays the last state instead of current > state), here is what I tried : > - added in properties.xml : <property as="xs:string" > name="oxf.xforms.state-handling" value="server"/> > - updated the ops.jar from today's cvs repository, with the package > ops\org\orbeon\oxf\xforms\state > > But these have no effects. > > Does anyone know if there are some workarounds for this issue ? And > how we could integrate it with Orbeon 3.5.1 (I'm using this last > stable release) ? > > Thank you for your suggestions. Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
I finally got this issue fixed.
About the 3.6, there is one thing I noticed, I've downloaded the nightly build from yesterday, and in the examples apps for instance To-Do Lists, the calendars are not anymore "clickable" and display an input instead of an ouput with the selected date. Erik Bruchez a écrit : > By "state issue", what do you mean exactly? Do you see an error, and > if so which one? > > The SQL Address Book example refreshes its content after each > operation by running an XForms submission that queries the latest > version of the data. Do you follow that same pattern? > > I would recommend you do not use 3.5.1 at the moment as 3.6 is getting > awfully close, and over 160 features issues have been addressed > between these two versions. > > It is not enough to update ops.jar or parts thereof and use that as a > patch to 3.5.1. The other ops-*.jar files have already changed, and > other support JAR file have been upgraded. So you should either > download a nighly build, or get the code from CVS but build the entire > WAR with the ant task's orbeon-war or orbeon-dist-war targets and use > all the new JAR files produced. > > -Erik > -- 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
|
Did you clear your browser cache? Does this happen with other browsers
as well? -Erik On Nov 20, 2007, at 1:40 AM, Kim-Vân Ho-Dac wrote: > I finally got this issue fixed. > About the 3.6, there is one thing I noticed, I've downloaded the > nightly build from yesterday, and in the examples apps for instance > To-Do Lists, the calendars are not anymore "clickable" and display > an input instead of an ouput with the selected date. > > Erik Bruchez a écrit : >> By "state issue", what do you mean exactly? Do you see an error, >> and if so which one? >> >> The SQL Address Book example refreshes its content after each >> operation by running an XForms submission that queries the latest >> version of the data. Do you follow that same pattern? >> >> I would recommend you do not use 3.5.1 at the moment as 3.6 is >> getting awfully close, and over 160 features issues have been >> addressed between these two versions. >> >> It is not enough to update ops.jar or parts thereof and use that as >> a patch to 3.5.1. The other ops-*.jar files have already changed, >> and other support JAR file have been upgraded. So you should either >> download a nighly build, or get the code from CVS but build the >> entire WAR with the ant task's orbeon-war or orbeon-dist-war >> targets and use all the new JAR files produced. >> >> -Erik >> > > > > -- > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Free forum by Nabble | Edit this page |