HI,
I am getting the above error on a staging server after making any changes to a form contrl (e.g. selecting from a drop down or so). It is not consistent (doesn't always happen - but mostly does). On our development server we cannot reproduce this. The other difference is that the form is embeded in another page using iframe (and the embedded xform runs on a separate server). Restarting tomcat as well as cleaning the temp directory does not help. Any clues? Thanks, Assaf -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Assaf,
This message may occur when you store the state in the session (the default) and when the session cache no longer (or simply does not, if the session expired) contains the information necessary for the server to find the state of the XForms page. In general I would advise you try to play with this property in properties.xml: <property as="xs:integer" name="oxf.xforms.cache.session.size" value="500000"/> But in your case it may be a different issue, possibly that the session is not shared between the initial display of the page and the calls to the XForms server. You can try to switch state handling to the client with: <property as="xs:string" name="oxf.xforms.state-handling" value="client"/> But this will likely have a large impact on the amount of traffic going between the browser and your server. -Erik [hidden email] wrote: > HI, > > I am getting the above error on a staging server after making any changes to a form contrl (e.g. selecting from a drop down or so). It is not consistent (doesn't always happen - but mostly does). > > On our development server we cannot reproduce this. The other difference is that the form is embeded in another page using iframe (and the embedded xform runs on a separate server). > > Restarting tomcat as well as cleaning the temp directory does not help. > > Any clues? > > Thanks, > > Assaf Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by assafn
All,
I wanted to mention that this issue is specific to IE. In short, the issue is that if you load a main page from, say: http://www.example1.com/ and that page uses an iframe to load a form from: http://www.example2.com/ with IE, all cookies from http://www.example2.com/ will be by default disabled. This means that the session cannot be tracked, and that the XForms engine fails to work correctly. When this issue occurs, you will see that a little "eye" appears in the IE status bar, and if you open that, you can manually change settings to allow all cookies from http://www.example2.com/. But this is not a convenient solution as it requires every user to deal with complex settings. The good news is that it looks like by using a P3P descriptor you can make this work seamlessly (I haven't tried this, but it is reported to work). See the following references: [1], [2]. Good stuff to know! -Erik [1] http://www.aspnetresources.com/blog/frames_webforms_and_rejected_cookies.aspx [2] http://www.salesforce.com/developer/tn-18.jsp [hidden email] wrote: > HI, > > I am getting the above error on a staging server after making any changes to a form contrl (e.g. selecting from a drop down or so). It is not consistent (doesn't always happen - but mostly does). > > On our development server we cannot reproduce this. The other difference is that the form is embeded in another page using iframe (and the embedded xform runs on a separate server). > > Restarting tomcat as well as cleaning the temp directory does not help. > > Any clues? > > Thanks, > > Assaf Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Thanks Erik. I am trying to get this to work. Do you
have a way to add an http header to the pages returned? Can this be to all pages (so as not to have to add to each page)? Thanks, Assaf --- Erik Bruchez <[hidden email]> wrote: > All, > > I wanted to mention that this issue is specific to > IE. In short, the > issue is that if you load a main page from, say: > > http://www.example1.com/ > > and that page uses an iframe to load a form from: > > http://www.example2.com/ > > with IE, all cookies from http://www.example2.com/ > will be by default > disabled. This means that the session cannot be > tracked, and that the > XForms engine fails to work correctly. > > When this issue occurs, you will see that a little > "eye" appears in the > IE status bar, and if you open that, you can > manually change settings to > allow all cookies from http://www.example2.com/. > > But this is not a convenient solution as it requires > every user to deal > with complex settings. The good news is that it > looks like by using a > P3P descriptor you can make this work seamlessly (I > haven't tried this, > but it is reported to work). > > See the following references: [1], [2]. > > Good stuff to know! > > -Erik > > [1] > > [2] http://www.salesforce.com/developer/tn-18.jsp > > [hidden email] wrote: > > HI, > > > > I am getting the above error on a staging server > after making any changes to a form contrl (e.g. > selecting from a drop down or so). It is not > consistent (doesn't always happen - but mostly > does). > > > > On our development server we cannot reproduce > this. The other difference is that the form is > embeded in another page using iframe (and the > embedded xform runs on a separate server). > > > > Restarting tomcat as well as cleaning the temp > directory does not help. > > > > Any clues? > > > > Thanks, > > > > Assaf > > -- > Orbeon - XForms Everywhere: > http://www.orbeon.com/blog/ > > > > -- > 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 > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Ok. I got it to work: change the serializer on the servlet epilogue: <!-- Serialize to HTTP --> <p:processor name="oxf:http-serializer"> <p:input name="config"> <config> <header> <name>Cache-Control</name> <value>post-check=0, pre-check=0</value> </header> <header> <name>P3P</name> <value>policyref="http://www.xxx.com/w3c/p3p.xml", CP="CURa ADMa DEVa OUR IND DSP NON COR"</value> </header> <!-- NOTE: HTML converter specifies text/html content-type --> </config> </p:input> <p:input name="data" href="#converted"/> </p:processor> --- Assaf <[hidden email]> wrote: > Thanks Erik. I am trying to get this to work. Do you > have a way to add an http header to the pages > returned? Can this be to all pages (so as not to > have > to add to each page)? > > Thanks, > > Assaf > > --- Erik Bruchez <[hidden email]> wrote: > > > All, > > > > I wanted to mention that this issue is specific to > > IE. In short, the > > issue is that if you load a main page from, say: > > > > http://www.example1.com/ > > > > and that page uses an iframe to load a form from: > > > > http://www.example2.com/ > > > > with IE, all cookies from http://www.example2.com/ > > will be by default > > disabled. This means that the session cannot be > > tracked, and that the > > XForms engine fails to work correctly. > > > > When this issue occurs, you will see that a little > > "eye" appears in the > > IE status bar, and if you open that, you can > > manually change settings to > > allow all cookies from http://www.example2.com/. > > > > But this is not a convenient solution as it > requires > > every user to deal > > with complex settings. The good news is that it > > looks like by using a > > P3P descriptor you can make this work seamlessly > (I > > haven't tried this, > > but it is reported to work). > > > > See the following references: [1], [2]. > > > > Good stuff to know! > > > > -Erik > > > > [1] > > > > > [2] http://www.salesforce.com/developer/tn-18.jsp > > > > [hidden email] wrote: > > > HI, > > > > > > I am getting the above error on a staging server > > after making any changes to a form contrl (e.g. > > selecting from a drop down or so). It is not > > consistent (doesn't always happen - but mostly > > does). > > > > > > On our development server we cannot reproduce > > this. The other difference is that the form is > > embeded in another page using iframe (and the > > embedded xform runs on a separate server). > > > > > > Restarting tomcat as well as cleaning the temp > > directory does not help. > > > > > > Any clues? > > > > > > Thanks, > > > > > > Assaf > > > > -- > > Orbeon - XForms Everywhere: > > http://www.orbeon.com/blog/ > > > > > > > -- > > 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 > > ObjectWeb mailing lists service home page: > > http://www.objectweb.org/wws > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.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 > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Yup, you got it!
I am glad it's working! -Erik Assaf wrote: > Ok. I got it to work: > > change the serializer on the servlet epilogue: > > <!-- Serialize to HTTP --> > <p:processor name="oxf:http-serializer"> > <p:input name="config"> > <config> > <header> > <name>Cache-Control</name> > <value>post-check=0, > pre-check=0</value> > </header> > <header> > <name>P3P</name> > > <value>policyref="http://www.xxx.com/w3c/p3p.xml", > CP="CURa ADMa DEVa OUR IND DSP NON COR"</value> > </header> > <!-- NOTE: HTML converter > specifies text/html content-type --> > </config> > </p:input> > <p:input name="data" > href="#converted"/> > </p:processor> > > --- Assaf <[hidden email]> wrote: > >> Thanks Erik. I am trying to get this to work. Do you >> have a way to add an http header to the pages >> returned? Can this be to all pages (so as not to >> have >> to add to each page)? >> >> Thanks, >> >> Assaf >> >> --- Erik Bruchez <[hidden email]> wrote: >> >>> All, >>> >>> I wanted to mention that this issue is specific to >>> IE. In short, the >>> issue is that if you load a main page from, say: >>> >>> http://www.example1.com/ >>> >>> and that page uses an iframe to load a form from: >>> >>> http://www.example2.com/ >>> >>> with IE, all cookies from http://www.example2.com/ >>> will be by default >>> disabled. This means that the session cannot be >>> tracked, and that the >>> XForms engine fails to work correctly. >>> >>> When this issue occurs, you will see that a little >>> "eye" appears in the >>> IE status bar, and if you open that, you can >>> manually change settings to >>> allow all cookies from http://www.example2.com/. >>> >>> But this is not a convenient solution as it >> requires >>> every user to deal >>> with complex settings. The good news is that it >>> looks like by using a >>> P3P descriptor you can make this work seamlessly >> (I >>> haven't tried this, >>> but it is reported to work). >>> >>> See the following references: [1], [2]. >>> >>> Good stuff to know! >>> >>> -Erik >>> >>> [1] >>> > http://www.aspnetresources.com/blog/frames_webforms_and_rejected_cookies.aspx >>> [2] http://www.salesforce.com/developer/tn-18.jsp >>> >>> [hidden email] wrote: >>>> HI, >>>> >>>> I am getting the above error on a staging server >>> after making any changes to a form contrl (e.g. >>> selecting from a drop down or so). It is not >>> consistent (doesn't always happen - but mostly >>> does). >>>> On our development server we cannot reproduce >>> this. The other difference is that the form is >>> embeded in another page using iframe (and the >>> embedded xform runs on a separate server). >>>> Restarting tomcat as well as cleaning the temp >>> directory does not help. >>>> Any clues? >>>> >>>> Thanks, >>>> >>>> Assaf >>> -- >>> Orbeon - XForms Everywhere: >>> http://www.orbeon.com/blog/ >>> >>> -- >>> 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 >>> ObjectWeb mailing lists service home page: >>> http://www.objectweb.org/wws >>> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam >> protection around >> http://mail.yahoo.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 >> ObjectWeb mailing lists service home page: >> http://www.objectweb.org/wws >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.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 > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi,
Thanks again. It works now (adding the HEADER but also the html link to and a generated P3P directory -let me know if you need more info). Will need to test it more than just IE & FF. Will let you know if there are any problems. In regards to the speed of starting the page, I got a lot of negative feedback from users. It takes about 10-15 seconds to load the page which is not acceptable. I added the following compression to tomcat: compression="on" compressableMimeType="text/html,text/xml,text/plain,text/css,application/x-javascript" Are there any other mime-types needed? And last questions, when do you expect the new stable release with the improved loading/ initialization? Cheers, Assaf --- Erik Bruchez <[hidden email]> wrote: > Yup, you got it! > > I am glad it's working! > > -Erik > > Assaf wrote: > > Ok. I got it to work: > > > > change the serializer on the servlet epilogue: > > > > <!-- Serialize to HTTP --> > > <p:processor > name="oxf:http-serializer"> > > <p:input name="config"> > > <config> > > <header> > > > <name>Cache-Control</name> > > <value>post-check=0, > > pre-check=0</value> > > </header> > > <header> > > <name>P3P</name> > > > > <value>policyref="http://www.xxx.com/w3c/p3p.xml", > > CP="CURa ADMa DEVa OUR IND DSP NON COR"</value> > > </header> > > <!-- NOTE: HTML converter > > specifies text/html content-type --> > > </config> > > </p:input> > > <p:input name="data" > > href="#converted"/> > > </p:processor> > > > > --- Assaf <[hidden email]> wrote: > > > >> Thanks Erik. I am trying to get this to work. Do > you > >> have a way to add an http header to the pages > >> returned? Can this be to all pages (so as not to > >> have > >> to add to each page)? > >> > >> Thanks, > >> > >> Assaf > >> > >> --- Erik Bruchez <[hidden email]> wrote: > >> > >>> All, > >>> > >>> I wanted to mention that this issue is specific > to > >>> IE. In short, the > >>> issue is that if you load a main page from, say: > >>> > >>> http://www.example1.com/ > >>> > >>> and that page uses an iframe to load a form > from: > >>> > >>> http://www.example2.com/ > >>> > >>> with IE, all cookies from > http://www.example2.com/ > >>> will be by default > >>> disabled. This means that the session cannot be > >>> tracked, and that the > >>> XForms engine fails to work correctly. > >>> > >>> When this issue occurs, you will see that a > little > >>> "eye" appears in the > >>> IE status bar, and if you open that, you can > >>> manually change settings to > >>> allow all cookies from http://www.example2.com/. > >>> > >>> But this is not a convenient solution as it > >> requires > >>> every user to deal > >>> with complex settings. The good news is that it > >>> looks like by using a > >>> P3P descriptor you can make this work seamlessly > >> (I > >>> haven't tried this, > >>> but it is reported to work). > >>> > >>> See the following references: [1], [2]. > >>> > >>> Good stuff to know! > >>> > >>> -Erik > >>> > >>> [1] > >>> > > > > >>> [2] > http://www.salesforce.com/developer/tn-18.jsp > >>> > >>> [hidden email] wrote: > >>>> HI, > >>>> > >>>> I am getting the above error on a staging > server > >>> after making any changes to a form contrl (e.g. > >>> selecting from a drop down or so). It is not > >>> consistent (doesn't always happen - but mostly > >>> does). > >>>> On our development server we cannot reproduce > >>> this. The other difference is that the form is > >>> embeded in another page using iframe (and the > >>> embedded xform runs on a separate server). > >>>> Restarting tomcat as well as cleaning the temp > >>> directory does not help. > >>>> Any clues? > >>>> > >>>> Thanks, > >>>> > >>>> Assaf > >>> -- > >>> Orbeon - XForms Everywhere: > >>> http://www.orbeon.com/blog/ > >>> > >>> -- > >>> 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 > >>> ObjectWeb mailing lists service home page: > >>> http://www.objectweb.org/wws > >>> > >> > >> > __________________________________________________ > >> Do You Yahoo!? > >> Tired of spam? Yahoo! Mail has the best spam > >> protection around > >> http://mail.yahoo.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 > >> ObjectWeb mailing lists service home page: > >> http://www.objectweb.org/wws > >> > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.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 > > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > > > -- > Orbeon - XForms Everywhere: > http://www.orbeon.com/blog/ > > > > -- > 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 > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Assaf,
We hoped to release by the end of August, but it looks like we may have to just go with a beta. This is not a commitment. -Erik Assaf wrote: > Hi, > > Thanks again. It works now (adding the HEADER but also > the html link to and a generated P3P directory -let me > know if you need more info). Will need to test it more > than just IE & FF. Will let you know if there are any > problems. > > In regards to the speed of starting the page, I got a > lot of negative feedback from users. It takes about > 10-15 seconds to load the page which is not > acceptable. I added the following compression to > tomcat: > > compression="on" > compressableMimeType="text/html,text/xml,text/plain,text/css,application/x-javascript" > > Are there any other mime-types needed? > > And last questions, when do you expect the new stable > release with the improved loading/ initialization? > > Cheers, > > Assaf > > > > --- Erik Bruchez <[hidden email]> wrote: > >> Yup, you got it! >> >> I am glad it's working! >> >> -Erik >> >> Assaf wrote: >>> Ok. I got it to work: >>> >>> change the serializer on the servlet epilogue: >>> >>> <!-- Serialize to HTTP --> >>> <p:processor >> name="oxf:http-serializer"> >>> <p:input name="config"> >>> <config> >>> <header> >>> >> <name>Cache-Control</name> >>> <value>post-check=0, >>> pre-check=0</value> >>> </header> >>> <header> >>> <name>P3P</name> >>> >>> <value>policyref="http://www.xxx.com/w3c/p3p.xml", >>> CP="CURa ADMa DEVa OUR IND DSP NON COR"</value> >>> </header> >>> <!-- NOTE: HTML converter >>> specifies text/html content-type --> >>> </config> >>> </p:input> >>> <p:input name="data" >>> href="#converted"/> >>> </p:processor> >>> >>> --- Assaf <[hidden email]> wrote: >>> >>>> Thanks Erik. I am trying to get this to work. Do >> you >>>> have a way to add an http header to the pages >>>> returned? Can this be to all pages (so as not to >>>> have >>>> to add to each page)? >>>> >>>> Thanks, >>>> >>>> Assaf >>>> >>>> --- Erik Bruchez <[hidden email]> wrote: >>>> >>>>> All, >>>>> >>>>> I wanted to mention that this issue is specific >> to >>>>> IE. In short, the >>>>> issue is that if you load a main page from, say: >>>>> >>>>> http://www.example1.com/ >>>>> >>>>> and that page uses an iframe to load a form >> from: >>>>> http://www.example2.com/ >>>>> >>>>> with IE, all cookies from >> http://www.example2.com/ >>>>> will be by default >>>>> disabled. This means that the session cannot be >>>>> tracked, and that the >>>>> XForms engine fails to work correctly. >>>>> >>>>> When this issue occurs, you will see that a >> little >>>>> "eye" appears in the >>>>> IE status bar, and if you open that, you can >>>>> manually change settings to >>>>> allow all cookies from http://www.example2.com/. >>>>> >>>>> But this is not a convenient solution as it >>>> requires >>>>> every user to deal >>>>> with complex settings. The good news is that it >>>>> looks like by using a >>>>> P3P descriptor you can make this work seamlessly >>>> (I >>>>> haven't tried this, >>>>> but it is reported to work). >>>>> >>>>> See the following references: [1], [2]. >>>>> >>>>> Good stuff to know! >>>>> >>>>> -Erik >>>>> >>>>> [1] >>>>> > http://www.aspnetresources.com/blog/frames_webforms_and_rejected_cookies.aspx >>>>> [2] >> http://www.salesforce.com/developer/tn-18.jsp >>>>> [hidden email] wrote: >>>>>> HI, >>>>>> >>>>>> I am getting the above error on a staging >> server >>>>> after making any changes to a form contrl (e.g. >>>>> selecting from a drop down or so). It is not >>>>> consistent (doesn't always happen - but mostly >>>>> does). >>>>>> On our development server we cannot reproduce >>>>> this. The other difference is that the form is >>>>> embeded in another page using iframe (and the >>>>> embedded xform runs on a separate server). >>>>>> Restarting tomcat as well as cleaning the temp >>>>> directory does not help. >>>>>> Any clues? >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Assaf >>>>> -- >>>>> Orbeon - XForms Everywhere: >>>>> http://www.orbeon.com/blog/ >>>>> >>>>> -- >>>>> 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 >>>>> ObjectWeb mailing lists service home page: >>>>> http://www.objectweb.org/wws >>>>> >>>> >> __________________________________________________ >>>> Do You Yahoo!? >>>> Tired of spam? Yahoo! Mail has the best spam >>>> protection around >>>> http://mail.yahoo.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 >>>> ObjectWeb mailing lists service home page: >>>> http://www.objectweb.org/wws >>>> >>> >>> __________________________________________________ >>> Do You Yahoo!? >>> Tired of spam? Yahoo! Mail has the best spam >> protection around >>> http://mail.yahoo.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 >>> ObjectWeb mailing lists service home page: >> http://www.objectweb.org/wws >> >> >> -- >> Orbeon - XForms Everywhere: >> http://www.orbeon.com/blog/ >> >> -- >> 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 >> ObjectWeb mailing lists service home page: >> http://www.objectweb.org/wws >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.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 > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
All,
Related to this, yesterday some improvements were done to the loading of JavaScript and CSS files: OPS now tries to load only the files actually needed by the widgets currently in use. The mechanism is not perfect yet (some files that are not directly related to a widget are still loaded all the time), but it's a good step in the right direction. For example, you won't get code for the HTML area or tree widget if you don't use this functionality on your page. Also, we now provide "minimal" versions of JavaScript files when available. This is for the moment limited to the YUI files, but over time other files should be "compressed" as well, including xforms.js. You control this with a new property in config/properties.xml: <property as="xs:boolean" name="oxf.xforms.minimal-resources" value="true"/> -Erik Erik Bruchez wrote: > Assaf, > > We hoped to release by the end of August, but it looks like we may have > to just go with a beta. This is not a commitment. > > -Erik > > Assaf wrote: >> Hi, >> >> Thanks again. It works now (adding the HEADER but also >> the html link to and a generated P3P directory -let me >> know if you need more info). Will need to test it more >> than just IE & FF. Will let you know if there are any >> problems. >> In regards to the speed of starting the page, I got a >> lot of negative feedback from users. It takes about >> 10-15 seconds to load the page which is not >> acceptable. I added the following compression to >> tomcat: >> >> compression="on" >> compressableMimeType="text/html,text/xml,text/plain,text/css,application/x-javascript" >> >> >> Are there any other mime-types needed? >> >> And last questions, when do you expect the new stable >> release with the improved loading/ initialization? >> >> Cheers, >> >> Assaf >> >> >> >> --- Erik Bruchez <[hidden email]> wrote: >> >>> Yup, you got it! >>> >>> I am glad it's working! >>> >>> -Erik >>> >>> Assaf wrote: >>>> Ok. I got it to work: >>>> >>>> change the serializer on the servlet epilogue: >>>> >>>> <!-- Serialize to HTTP --> >>>> <p:processor >>> name="oxf:http-serializer"> >>>> <p:input name="config"> >>>> <config> >>>> <header> >>>> >>> <name>Cache-Control</name> >>>> <value>post-check=0, >>>> pre-check=0</value> >>>> </header> >>>> <header> >>>> <name>P3P</name> >>>> >>>> <value>policyref="http://www.xxx.com/w3c/p3p.xml", >>>> CP="CURa ADMa DEVa OUR IND DSP NON COR"</value> >>>> </header> >>>> <!-- NOTE: HTML converter >>>> specifies text/html content-type --> >>>> </config> >>>> </p:input> >>>> <p:input name="data" >>>> href="#converted"/> >>>> </p:processor> >>>> >>>> --- Assaf <[hidden email]> wrote: >>>> >>>>> Thanks Erik. I am trying to get this to work. Do >>> you >>>>> have a way to add an http header to the pages >>>>> returned? Can this be to all pages (so as not to >>>>> have >>>>> to add to each page)? >>>>> >>>>> Thanks, >>>>> >>>>> Assaf >>>>> >>>>> --- Erik Bruchez <[hidden email]> wrote: >>>>> >>>>>> All, >>>>>> >>>>>> I wanted to mention that this issue is specific >>> to >>>>>> IE. In short, the issue is that if you load a main page from, say: >>>>>> >>>>>> http://www.example1.com/ >>>>>> >>>>>> and that page uses an iframe to load a form >>> from: >>>>>> http://www.example2.com/ >>>>>> >>>>>> with IE, all cookies from >>> http://www.example2.com/ >>>>>> will be by default disabled. This means that the session cannot be >>>>>> tracked, and that the XForms engine fails to work correctly. >>>>>> >>>>>> When this issue occurs, you will see that a >>> little >>>>>> "eye" appears in the IE status bar, and if you open that, you can >>>>>> manually change settings to allow all cookies from >>>>>> http://www.example2.com/. >>>>>> >>>>>> But this is not a convenient solution as it >>>>> requires >>>>>> every user to deal with complex settings. The good news is that it >>>>>> looks like by using a P3P descriptor you can make this work >>>>>> seamlessly >>>>> (I >>>>>> haven't tried this, but it is reported to work). >>>>>> >>>>>> See the following references: [1], [2]. >>>>>> >>>>>> Good stuff to know! >>>>>> >>>>>> -Erik >>>>>> >>>>>> [1] >> http://www.aspnetresources.com/blog/frames_webforms_and_rejected_cookies.aspx >> >>>>>> [2] >>> http://www.salesforce.com/developer/tn-18.jsp >>>>>> [hidden email] wrote: >>>>>>> HI, >>>>>>> >>>>>>> I am getting the above error on a staging >>> server >>>>>> after making any changes to a form contrl (e.g. >>>>>> selecting from a drop down or so). It is not >>>>>> consistent (doesn't always happen - but mostly >>>>>> does). >>>>>>> On our development server we cannot reproduce >>>>>> this. The other difference is that the form is >>>>>> embeded in another page using iframe (and the >>>>>> embedded xform runs on a separate server). >>>>>>> Restarting tomcat as well as cleaning the temp >>>>>> directory does not help. >>>>>>> Any clues? >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Assaf >>>>>> -- >>>>>> Orbeon - XForms Everywhere: >>>>>> http://www.orbeon.com/blog/ >>>>>> >>>>>> -- >>>>>> 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 >>>>>> ObjectWeb mailing lists service home page: >>>>>> http://www.objectweb.org/wws >>>>>> >>>>> >>> __________________________________________________ >>>>> Do You Yahoo!? >>>>> Tired of spam? Yahoo! Mail has the best spam >>>>> protection around http://mail.yahoo.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 >>>>> ObjectWeb mailing lists service home page: >>>>> http://www.objectweb.org/wws >>>>> >>>> >>>> __________________________________________________ >>>> Do You Yahoo!? >>>> Tired of spam? Yahoo! Mail has the best spam >>> protection around >>>> http://mail.yahoo.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 >>>> ObjectWeb mailing lists service home page: >>> http://www.objectweb.org/wws >>> >>> >>> -- >>> Orbeon - XForms Everywhere: >>> http://www.orbeon.com/blog/ >>> >>> -- >>> 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 >>> ObjectWeb mailing lists service home page: >>> http://www.objectweb.org/wws >>> >> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.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 >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I noticed that the /resources/ops directory was not included in the latest nightly build, dated 10-August-2006 06:10. Is this correct? Thanks, Brian Bacsu -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Brian,
Yes, that's a feature :-) Those resources are now in a JAR called ops-resources-private.jar. We will soon split some of this out into another JAR with public resources as well. -Erik Brian Bacsu wrote: > > I noticed that the /resources/ops directory was not included in the > latest nightly build, dated 10-August-2006 06:10. > > Is this correct? > > Thanks, > > Brian Bacsu -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |