Jörn Nettingsmeier wrote:
hi !

the problem: when using the "new publication" usecase link in 1.4, a publication is created, but the index.html page is only updated after a manual reload, which is highly confusing to new users, since there is no clue that the creation worked.

Thank you very much for your patch!

Would you mind filing a bug report and attaching the patch, so that
its history is preserved?

-- Andreas


suggested fix (thanks to andreas hartmann for help):

diff -u build/lenya/webapp/lenya/xslt/util/welcome.xsl-old build/lenya/webapp/lenya/xslt/util/welcome.xsl --- build/lenya/webapp/lenya/xslt/util/welcome.xsl-old 2005-12-07 17:49:52.000000000 +0100 +++ build/lenya/webapp/lenya/xslt/util/welcome.xsl 2005-12-07 17:45:24.000000000 +0100
@@ -29,6 +29,8 @@
   <page:page>

   <page:title>Apache Lenya - Content Management System</page:title>
+  <xhtml:meta http-equiv="cache-control" content="no-cache"/>
+  <xhtml:meta http-equiv="pragma" content="no-cache"/>
   <page:body>
     <xsl:apply-templates select="xhtml:[EMAIL PROTECTED] = 
'lenya-frontpage']"/>
     <xsl:apply-templates select="lenya:publications"/>

best,

jörn


------------------------------------------------------------------------

--- build/lenya/webapp/lenya/xslt/util/welcome.xsl-old  2005-12-07 
17:49:52.000000000 +0100
+++ build/lenya/webapp/lenya/xslt/util/welcome.xsl      2005-12-07 
17:45:24.000000000 +0100
@@ -29,6 +29,8 @@
   <page:page>
<page:title>Apache Lenya - Content Management System</page:title>
+  <xhtml:meta http-equiv="cache-control" content="no-cache"/>
+  <xhtml:meta http-equiv="pragma" content="no-cache"/>
   <page:body>
     <xsl:apply-templates select="xhtml:[EMAIL PROTECTED] = 
'lenya-frontpage']"/>
     <xsl:apply-templates select="lenya:publications"/>


------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to