-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use this patch. The last one was broken.

- --
Ing. Leonardo Quijano Vincenzi
DTQ Software
Web Application Design and Programming
http://www.dtqsoftware.com

Leonardo Quijano Vincenzi escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> It's been a long time since I last posted to this list. So I'd like to
> say hello to everybody. I was dragged to the dark world of .NET for a
> while, but here I am. It seems like a lot has been going on the Tapestry
> world.
>
> I'm checking on Tacos 4.0.2, using Tapestry 4, and I found out a little
> bug that maybe someone can help with. Since it seems I no longer have
> commit rights to the Tacos repository, I think I'll just include the
> test pages as attachments.
>
> The bug report is here:
>
> http://tacoscomponents.jot.com/BugReporter/Bug142
>
> I hope I'm not duplicating an existing issue... but it seems that
> something's wrong with refresh. Any pointers on how to handle this?
>
> Thanks,
>
> - --
> Ing. Leonardo Quijano Vincenzi
> DTQ Software
> Web Application Design and Programming
> http://www.dtqsoftware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGX549Wo2cCuRWVCkRAqnvAJ9x5e6tgV4ZEEW0jv8AOBHppA1P4QCfcIod
ITElkmaMU0aWnSWCvxJDmb8=
=PYex
-----END PGP SIGNATURE-----
Index: tacos-demo/src/java/net/sf/tacos/demo/pages/bugs/Bug142.java
===================================================================
--- tacos-demo/src/java/net/sf/tacos/demo/pages/bugs/Bug142.java  (revision 0)
+++ tacos-demo/src/java/net/sf/tacos/demo/pages/bugs/Bug142.java  (revision 0)
@@ -0,0 +1,12 @@
+package net.sf.tacos.demo.pages.bugs;
+
+
+/**
+ * @author lquijano
+ */
+public abstract class Bug142 extends BaseBugPage
+{
+
+    public abstract boolean getTestValue();
+
+}
Index: tacos-demo/src/context/WEB-INF/bugs/Bug142.page
===================================================================
--- tacos-demo/src/context/WEB-INF/bugs/Bug142.page (revision 0)
+++ tacos-demo/src/context/WEB-INF/bugs/Bug142.page (revision 0)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE page-specification PUBLIC
+  "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
+  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
+
+<page-specification class="net.sf.tacos.demo.pages.bugs.Bug142">
+
+   <description>Bug test page</description>
+
+</page-specification>
Index: tacos-demo/src/context/WEB-INF/bugs/Bug142.html
===================================================================
--- tacos-demo/src/context/WEB-INF/bugs/Bug142.html (revision 0)
+++ tacos-demo/src/context/WEB-INF/bugs/Bug142.html (revision 0)
@@ -0,0 +1,44 @@
+<body jwcid="@Border" title="Bug142">
+  <div id="note" >
+    <h2>Bug 142</h2>
+    <p>
+      Trying to refresh the zone that triggers the refresh event
+      puts garbage on the screen.
+    </p>
+  </div>
+
+  <form jwcid="@tacos:AjaxForm">
+     <span jwcid="[EMAIL PROTECTED]:AjaxEventSubmit"
+           action="listener:doNothing"
+           updateComponents="ognl:{components.testZone.id}" />
+
+     <div jwcid="[EMAIL PROTECTED]" id="ognl:components.testZone.id">
+       <fieldset>
+         <legend>Test Zone</legend>
+
+         <p>
+           <strong>This zone should appear only once.</strong>
+         </p>
+
+         <p>
+           Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+           sed do eiusmod tempor incididunt ut labore et dolore magna
+           aliqua. Ut enim ad minim veniam, quis nostrud exercitation
+           ullamco laboris nisi ut aliquip ex ea commodo consequat.
+           Duis aute irure dolor in reprehenderit in voluptate velit
+           esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
+           occaecat cupidatat non proident, sunt in culpa qui officia
+           deserunt mollit anim id est laborum.
+         </p>
+
+           <input
+             jwcid="[EMAIL PROTECTED]"
+             displayName="Click to refresh the test zone."
+             value="ognl:testValue"
+             eventListener="onclick=components.updateZone.id" />
+           <label jwcid="@FieldLabel" prerender="false"
+                  field="component:testCheckbox" />
+       </fieldset>
+     </div>
+  </form>
+</body>
\ No newline at end of file

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tacos-devel mailing list
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to