What version of Presentation Server are you using?

-- Regards, Dan S



On Thu, 20 Jan 2005 21:55:50 -0800 (PST), "Andriy Rokhmanov"
<[EMAIL PROTECTED]> said:
> Hello,
> 
> Looks like I have a problem with OXF cached included
> files.
> Let me describe my question on a small example.
> 
> I have a very simple construct, here is a page
> definition from 
> page-flow.xml:
> ***************
>     <page id="test" path-info="/test"
>           xforms="test/form.xml"
>           view="test/view.xsl">
>     </page>
> ***************
> 
> This is my form.xml (attention on xi:include):
> ***************
> <xforms:model
> xmlns:xforms="http://www.w3.org/2002/xforms";
>         xmlns:xi="http://www.w3.org/2003/XInclude";>
>     <xforms:instance>
>         <form>
>             <xi:include href="test.xml"/>
>         </form>
>     </xforms:instance>
> </xforms:model>
> ***************
> 
> And here is a test.xml, which was mentioned just
> before:
> ***************
> <test>
>   <message>123</message>
> </test>
> ***************
> 
> After applying this view.xsl , everything works fine.
> You can see in your 
> browser an text input field with '123' value :
> ***************
> <html xsl:version="1.0"
>       
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>        xmlns:xforms="http://www.w3.org/2002/xforms";
>        xmlns="http://www.w3.org/1999/xhtml";>
>     <head/>
>     <body>
>         <xforms:input ref="/*/test/message"/>
>     </body>
> </html>
> ***************
> 
> Let's say my test.xml file was modified by some
> background process, and now 
> node <message> has a value 123456.
> But after browser page refresh it still show me the
> the old 123 value (and 
> this is 100% not a browser issue).
> 
> The problem fixed after I set parameter
> 'oxf.cache.size' to some small 
> value, for ex. '1'. But I would like to have a OXF
> cache available in 
> production environment.
> 
> Can you give me please any advice how to avoid this
> caching issue and be 
> able to handle updates on XForm in included file?
> 
> Thank you,
> Andriy.
> 
> P.S. It works fine also if after each background
> test.xml update I do a unix 
> 'touch' to form.xml file. I believe it also related to
> cache, probably 
> because OXF cache makes positive decision about object
> validity if 
> modification time of form.xml file is not changed?
> 
> A.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> orbeon-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/orbeon-user


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to