<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>dev@tapestry.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/tapestry-dev/</id>
<updated>2009-12-08T21:28:20Z</updated>
<entry>
<title>[jira] Commented: (TAP5-945) Lock contention in PerthreadManagerImpl</title>
<author><name>&quot;Howard M. Lewis Ship (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c129927167.1260307338124.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c129927167-1260307338124-JavaMail-jira@brutus%3e</id>
<updated>2009-12-08T21:22:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/TAP5-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12787747#action_12787747
] 

Howard M. Lewis Ship commented on TAP5-945:
-------------------------------------------

As I mentioned on the mailing list, this addresses a bug that may still be present in Sun
JDK 1.5, that ThreadLocal is not fully thread safe (!) in some situations ... the kind of
situations that Tapestry hits.

This could be recoded in a couple of ways. We could use a configuration symbol or JVM system
property to enable/disable the synchronization. We could add a test for JDK 1.6 to disable
the synchronization. We could use a ReentrantReadWriteLock to allow shared readers (the common
case).

&gt; Lock contention in PerthreadManagerImpl
&gt; ---------------------------------------
&gt;
&gt;                 Key: TAP5-945
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-945
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: tapestry-core
&gt;    Affects Versions: 5.1.0.5
&gt;            Reporter: Olle Hallin
&gt;            Priority: Minor
&gt;
&gt; When load testing our new high-volume site before soft launch, we found that we have
severe lock contention in org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl.
&gt; It synchronizes on "this" before invoking ThreadLocal.get() and ThreadLocal.remove(),
which I believe is unnecessary. 
&gt; During our tests, approximately  35% of all Tomcat threads were waiting for this lock
in any of 10 thread dumps taken 15 seconds apart.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (TAP5-945) Lock contention in PerthreadManagerImpl</title>
<author><name>&quot;Olle Hallin (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c2033237595.1260279198144.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c2033237595-1260279198144-JavaMail-jira@brutus%3e</id>
<updated>2009-12-08T13:33:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Lock contention in PerthreadManagerImpl
---------------------------------------

                 Key: TAP5-945
                 URL: https://issues.apache.org/jira/browse/TAP5-945
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.5
            Reporter: Olle Hallin
            Priority: Minor


When load testing our new high-volume site before soft launch, we found that we have severe
lock contention in org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl.

It synchronizes on "this" before invoking ThreadLocal.get() and ThreadLocal.remove(), which
I believe is unnecessary. 

During our tests, approximately  35% of all Tomcat threads were waiting for this lock in any
of 10 thread dumps taken 15 seconds apart.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (TAP5-945) Lock contention in PerthreadManagerImpl</title>
<author><name>&quot;Olle Hallin (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c135710923.1260279198302.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c135710923-1260279198302-JavaMail-jira@brutus%3e</id>
<updated>2009-12-08T13:33:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/TAP5-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12787453#action_12787453
] 

Olle Hallin commented on TAP5-945:
----------------------------------

We tested with 1000 virtual users and 300 Tomcat threads.


&gt; Lock contention in PerthreadManagerImpl
&gt; ---------------------------------------
&gt;
&gt;                 Key: TAP5-945
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-945
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: tapestry-core
&gt;    Affects Versions: 5.1.0.5
&gt;            Reporter: Olle Hallin
&gt;            Priority: Minor
&gt;
&gt; When load testing our new high-volume site before soft launch, we found that we have
severe lock contention in org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl.
&gt; It synchronizes on "this" before invoking ThreadLocal.get() and ThreadLocal.remove(),
which I believe is unnecessary. 
&gt; During our tests, approximately  35% of all Tomcat threads were waiting for this lock
in any of 10 thread dumps taken 15 seconds apart.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Patch inclusion consideration</title>
<author><name>&quot;Joost Schouten (ml)&quot; &lt;joost_ml@jsportal.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c4B1E4937.2090806@jsportal.com%3e"/>
<id>urn:uuid:%3c4B1E4937-2090806@jsportal-com%3e</id>
<updated>2009-12-08T12:40:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

&gt; The URL rewrite code instantiates LinkImpl's in a very ordinary way. 
&gt; It uses relative paths when the rewritten URL belongs to the same 
&gt; server as the original and a absolute one when the server name was 
&gt; changed. I guess the problem, as you described, is how LinkImpl deals 
&gt; with setting query parameters.
I thought that maybe the URL rewiter should detect any already available 
parameters and add them again the usual way though addParameter. But I 
guess that comes down to personal preference. I like (as per your 
suggestion) the LinkImpl to be a bit more clever and fix the problem 
like in my patch.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Patch inclusion consideration</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3cop.u4ma7mxd18r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4ma7mxd18r83n@arsmachina%3e</id>
<updated>2009-12-08T11:51:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Tue, 08 Dec 2009 06:45:18 -0200, Joost Schouten (ml)  
&lt;joost_ml@jsportal.com&gt; escreveu:

&gt; That'd be great. Thanks a lot and keep me posted if another solution  
&gt; would be preferable. I can imagine that maybe some work could be done on  
&gt; the way the URL rewrite stuff instantiates the LinkImpl's.

The URL rewrite code instantiates LinkImpl's in a very ordinary way. It  
uses relative paths when the rewritten URL belongs to the same server as  
the original and a absolute one when the server name was changed. I guess  
the problem, as you described, is how LinkImpl deals with setting query  
parameters.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (TAP5-936) Tapestry wiki link links to nothing for locales other then en</title>
<author><name>=?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c843958962.1260264498075.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c843958962-1260264498075-JavaMail-jira@brutus%3e</id>
<updated>2009-12-08T09:28:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ulrich StÃ¤rk updated TAP5-936:
------------------------------

    Fix Version/s: 5.2.0.0
                   5.0.19
                   5.1.0.6

&gt; Tapestry wiki link links to nothing for locales other then en
&gt; -------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-936
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-936
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: documentation
&gt;    Affects Versions: 5.2, 5.1.0.5, 5.0.18
&gt;            Reporter: Ulrich StÃ¤rk
&gt;            Assignee: Ulrich StÃ¤rk
&gt;            Priority: Minor
&gt;             Fix For: 5.2.0.0, 5.1.0.6, 5.0.19
&gt;
&gt;   Original Estimate: 0h
&gt;  Remaining Estimate: 0h
&gt;
&gt; The wiki link should link explicitly to http://wiki.apache.org/tapestry/FrontPage, otherwise
MoinMoin will choose a start page according to the user's browser's locale which in my case
(de) leads to an empty page.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (TAP5-936) Tapestry wiki link links to nothing for locales other then en</title>
<author><name>=?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c556793813.1260264498180.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c556793813-1260264498180-JavaMail-jira@brutus%3e</id>
<updated>2009-12-08T09:28:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ulrich StÃ¤rk closed TAP5-936.
-----------------------------

    Resolution: Fixed

&gt; Tapestry wiki link links to nothing for locales other then en
&gt; -------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-936
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-936
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: documentation
&gt;    Affects Versions: 5.2, 5.1.0.5, 5.0.18
&gt;            Reporter: Ulrich StÃ¤rk
&gt;            Assignee: Ulrich StÃ¤rk
&gt;            Priority: Minor
&gt;             Fix For: 5.1.0.6, 5.0.19, 5.2.0.0
&gt;
&gt;   Original Estimate: 0h
&gt;  Remaining Estimate: 0h
&gt;
&gt; The wiki link should link explicitly to http://wiki.apache.org/tapestry/FrontPage, otherwise
MoinMoin will choose a start page according to the user's browser's locale which in my case
(de) leads to an empty page.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r888299 - in /tapestry/tapestry5: branches/5.0/src/site/site.xml branches/5.1.0.x-dev/src/site/site.xml trunk/src/site/site.xml</title>
<author><name>uli@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c20091208092707.A674B23889B6@eris.apache.org%3e"/>
<id>urn:uuid:%3c20091208092707-A674B23889B6@eris-apache-org%3e</id>
<updated>2009-12-08T09:27:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: uli
Date: Tue Dec  8 09:27:07 2009
New Revision: 888299

URL: http://svn.apache.org/viewvc?rev=888299&amp;view=rev
Log:
TAP5-936: Tapestry wiki link links to nothing for locales other then en

Modified:
    tapestry/tapestry5/branches/5.0/src/site/site.xml
    tapestry/tapestry5/branches/5.1.0.x-dev/src/site/site.xml
    tapestry/tapestry5/trunk/src/site/site.xml

Modified: tapestry/tapestry5/branches/5.0/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/src/site/site.xml?rev=888299&amp;r1=888298&amp;r2=888299&amp;view=diff
==============================================================================
--- tapestry/tapestry5/branches/5.0/src/site/site.xml (original)
+++ tapestry/tapestry5/branches/5.0/src/site/site.xml Tue Dec  8 09:27:07 2009
@@ -124,7 +124,7 @@
         &lt;/menu&gt;
 
         &lt;menu name="Resources"&gt;
-            &lt;item name="Wiki" href="http://wiki.apache.org/tapestry"/&gt;
+            &lt;item name="Wiki" href="http://wiki.apache.org/tapestry/FrontPage"/&gt;
             &lt;item name="Wiki HowTos" href="http://wiki.apache.org/tapestry/Tapestry5HowTos"/&gt;
         &lt;/menu&gt;
 

Modified: tapestry/tapestry5/branches/5.1.0.x-dev/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.1.0.x-dev/src/site/site.xml?rev=888299&amp;r1=888298&amp;r2=888299&amp;view=diff
==============================================================================
--- tapestry/tapestry5/branches/5.1.0.x-dev/src/site/site.xml (original)
+++ tapestry/tapestry5/branches/5.1.0.x-dev/src/site/site.xml Tue Dec  8 09:27:07 2009
@@ -137,7 +137,7 @@
         &lt;/menu&gt;
 
         &lt;menu name="Resources"&gt;
-            &lt;item name="Wiki" href="http://wiki.apache.org/tapestry"/&gt;
+            &lt;item name="Wiki" href="http://wiki.apache.org/tapestry/FrontPage"/&gt;
             &lt;item name="Wiki HowTos" href="http://wiki.apache.org/tapestry/Tapestry5HowTos"/&gt;
         &lt;/menu&gt;
 

Modified: tapestry/tapestry5/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/site.xml?rev=888299&amp;r1=888298&amp;r2=888299&amp;view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/trunk/src/site/site.xml Tue Dec  8 09:27:07 2009
@@ -138,7 +138,7 @@
         &lt;/menu&gt;
 
         &lt;menu name="Resources"&gt;
-            &lt;item name="Wiki" href="http://wiki.apache.org/tapestry"/&gt;
+            &lt;item name="Wiki" href="http://wiki.apache.org/tapestry/FrontPage"/&gt;
             &lt;item name="Wiki HowTos" href="http://wiki.apache.org/tapestry/Tapestry5HowTos"/&gt;
         &lt;/menu&gt;
 




</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (TAP5-936) Tapestry wiki link links to nothing for locales other then en</title>
<author><name>=?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c614288014.1260263598192.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c614288014-1260263598192-JavaMail-jira@brutus%3e</id>
<updated>2009-12-08T09:13:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ulrich StÃ¤rk updated TAP5-936:
------------------------------

              Assignee: Ulrich StÃ¤rk
     Affects Version/s:     (was: 5.2.0.0)
                        5.2
    Remaining Estimate: 0h
     Original Estimate: 0h

&gt; Tapestry wiki link links to nothing for locales other then en
&gt; -------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-936
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-936
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: documentation
&gt;    Affects Versions: 5.2, 5.1.0.5, 5.0.18
&gt;            Reporter: Ulrich StÃ¤rk
&gt;            Assignee: Ulrich StÃ¤rk
&gt;            Priority: Minor
&gt;   Original Estimate: 0h
&gt;  Remaining Estimate: 0h
&gt;
&gt; The wiki link should link explicitly to http://wiki.apache.org/tapestry/FrontPage, otherwise
MoinMoin will choose a start page according to the user's browser's locale which in my case
(de) leads to an empty page.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Patch inclusion consideration</title>
<author><name>&quot;Joost Schouten (ml)&quot; &lt;joost_ml@jsportal.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c4B1E121E.4020704@jsportal.com%3e"/>
<id>urn:uuid:%3c4B1E121E-4020704@jsportal-com%3e</id>
<updated>2009-12-08T08:45:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
That'd be great. Thanks a lot and keep me posted if another solution 
would be preferable. I can imagine that maybe some work could be done on 
the way the URL rewrite stuff instantiates the LinkImpl's.

Cheers,
Joost

Robert Zeigler wrote:
&gt; I'll take a look at it, once I've closed my other ticket(s).
&gt;
&gt; Robert
&gt;
&gt; On Dec 5, 2009, at 12/59:00 AM , Joost Schouten (ml) wrote:
&gt;
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; Could one of the comitters have a look at the provided patch at: 
&gt;&gt; https://issues.apache.org/jira/browse/TAP5-937 ?
&gt;&gt;
&gt;&gt; Is it possible to get it included in T5.2.0-SNAPSHOT? It would remove 
&gt;&gt; the need for me to build a custom version on every version update or 
&gt;&gt; new developer deploy. And not to forget, it fixes a bug ;-)
&gt;&gt;
&gt;&gt; Cheers,
&gt;&gt; Joost
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt;&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (TAP5-937) LinkImpl does not handle parameters propery when passed into the constructor</title>
<author><name>&quot;Joost Schouten (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c1051628746.1260261798082.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1051628746-1260261798082-JavaMail-jira@brutus%3e</id>
<updated>2009-12-08T08:43:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joost Schouten updated TAP5-937:
--------------------------------

    Attachment: parameter_addition_patch.txt

patch checks if the baseURI already contains a '?', if so start adding the new params with
an '&amp;', otherwise start with a '?'. Also added a test for a situation where a base URI
with parameters on the path in instantiated.

&gt; LinkImpl does not handle parameters propery when passed into the constructor
&gt; ----------------------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-937
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-937
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: tapestry-core
&gt;    Affects Versions: 5.1
&gt;            Reporter: Joost Schouten
&gt;         Attachments: parameter_addition_patch.txt
&gt;
&gt;
&gt; I noticed this after using the AjaxFormLoop AddRowLink on a page which has an onActivate
and onPassivate resulting in the addition of a "t:ac" to the url. Debugging showed me that
the t:ac is already present on instantiation of the LinkImpl. When calling toAbsoluteUri the
parameters are added in a way where they will always start with a "?". Obvisouly resulting
in an invalid URL with two ?'s
&gt; I'm building a failing test at this stage and will provide a patch once resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (TAP5-937) LinkImpl does not handle parameters propery when passed into the constructor</title>
<author><name>&quot;Joost Schouten (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c1615673495.1260261678339.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1615673495-1260261678339-JavaMail-jira@brutus%3e</id>
<updated>2009-12-08T08:41:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joost Schouten updated TAP5-937:
--------------------------------

    Attachment:     (was: parameter_addition_patch.txt)

&gt; LinkImpl does not handle parameters propery when passed into the constructor
&gt; ----------------------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-937
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-937
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: tapestry-core
&gt;    Affects Versions: 5.1
&gt;            Reporter: Joost Schouten
&gt;
&gt; I noticed this after using the AjaxFormLoop AddRowLink on a page which has an onActivate
and onPassivate resulting in the addition of a "t:ac" to the url. Debugging showed me that
the t:ac is already present on instantiation of the LinkImpl. When calling toAbsoluteUri the
parameters are added in a way where they will always start with a "?". Obvisouly resulting
in an invalid URL with two ?'s
&gt; I'm building a failing test at this stage and will provide a patch once resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c92e27ac90912072335h5adbbch9c68ca34e1bd5498@mail.gmail.com%3e"/>
<id>urn:uuid:%3c92e27ac90912072335h5adbbch9c68ca34e1bd5498@mail-gmail-com%3e</id>
<updated>2009-12-08T07:35:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The bottom-up search for messages is how Tapestry is looking for
translations now. But the problem is that we are talking about replacing
existing translation. Tapestry stops searching when the component's message
catalog contains a particular key. You need somehow to tell Tapestry to
continue searching even if the key is already found. So what is the most
elegant way to do it?

Howard suggested to add a parameter of the types Messages to all the
components, right? In this case a user is responsible to for constructing
the message instance that is bound into the component's parameter.

What I'm proposing is the similar solution how ValidationMessagesSource is
working. You just override the path to the message catalog of the component.
That's it.

On Tue, Dec 8, 2009 at 5:04 AM, Robert Zeigler &lt;robertz@scazdl.org&gt; wrote:

&gt; Unless you put the definitions in your application's app.properties, right?
&gt; Then you still have to provide the custom resources component-by-component,
&gt; but the translations go in a single place.
&gt;
&gt; Robert
&gt;
&gt;
&gt; On Dec 7, 2009, at 12/75:53 PM , Igor Drobiazko wrote:
&gt;
&gt;  Hm, what about components that are used in several pages? In this case I
&gt;&gt; have to repeat the translations again and again.
&gt;&gt;
&gt;&gt; On Sun, Dec 6, 2009 at 9:02 PM, Howard Lewis Ship &lt;hlship@gmail.com&gt;
&gt;&gt; wrote:
&gt;&gt;
&gt;&gt;  Perhaps what's really needed is for components to more frequently have
&gt;&gt;&gt; a parameter used to override its internal messages with a new messages
&gt;&gt;&gt; object (presumably form the page).
&gt;&gt;&gt;
&gt;&gt;&gt; On Thu, Dec 3, 2009 at 8:52 AM, Massimo Lusetti &lt;mlusetti@gmail.com&gt;
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Thu, Dec 3, 2009 at 7:52 AM, Igor Drobiazko &lt;
&gt;&gt;&gt;&gt; igor.drobiazko@gmail.com&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;  I accompiished this by a service named ComponentMessagesOverride. The
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; mapped
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; configuration of the service is used to contribute new paths for
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; component
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; message catalogs. This service is used in an advise method to override
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; result of ComponentMessagesSource#getMessages. This temporary hack is ok
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; for
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; an application but what is the benefit to do it in tapestry-core? We can
&gt;&gt;&gt;&gt;&gt; change the implementation of ComponentMessagesSource directly.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; While here I would like to pose to your attention a use case where i
&gt;&gt;&gt;&gt; found myself repeatedly.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; It happens that I produce a "common" components (like a series of
&gt;&gt;&gt;&gt; Submit components acting togheter) where i want the pages that use it
&gt;&gt;&gt;&gt; to provide the "messages" for labels. So this could be accomplish by
&gt;&gt;&gt;&gt; extending the inheritance of the message catalog from components to
&gt;&gt;&gt;&gt; pages that include the components (or other components as well) to
&gt;&gt;&gt;&gt; application wide catalog.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; So for instance a components could provide defaults labels but pages
&gt;&gt;&gt;&gt; are given the opportunity to override it while leave the "application
&gt;&gt;&gt;&gt; wide" message catalog to have the last word on it.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Does it sounds reasonable?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Cheers
&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt; Massimo
&gt;&gt;&gt;&gt; http://meridio.blogspot.com
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; Howard M. Lewis Ship
&gt;&gt;&gt;
&gt;&gt;&gt; Creator of Apache Tapestry
&gt;&gt;&gt;
&gt;&gt;&gt; The source for Tapestry training, mentoring and support. Contact me to
&gt;&gt;&gt; learn how I can get you up and productive in Tapestry fast!
&gt;&gt;&gt;
&gt;&gt;&gt; (971) 678-5210
&gt;&gt;&gt; http://howardlewisship.com
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt;&gt;&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Best regards,
&gt;&gt;
&gt;&gt; Igor Drobiazko
&gt;&gt; http://tapestry5.de/blog
&gt;&gt;
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;
&gt;


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Patch inclusion consideration</title>
<author><name>Robert Zeigler &lt;robertz@scazdl.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3cCD0B82F3-FFE4-41F3-B7A0-6B23D26D8D72@scazdl.org%3e"/>
<id>urn:uuid:%3cCD0B82F3-FFE4-41F3-B7A0-6B23D26D8D72@scazdl-org%3e</id>
<updated>2009-12-08T04:35:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'll take a look at it, once I've closed my other ticket(s).

Robert

On Dec 5, 2009, at 12/59:00 AM , Joost Schouten (ml) wrote:

&gt; Hi,
&gt;
&gt; Could one of the comitters have a look at the provided patch at: https://issues.apache.org/jira/browse/TAP5-937

&gt;  ?
&gt;
&gt; Is it possible to get it included in T5.2.0-SNAPSHOT? It would  
&gt; remove the need for me to build a custom version on every version  
&gt; update or new developer deploy. And not to forget, it fixes a bug ;-)
&gt;
&gt; Cheers,
&gt; Joost
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: dev-help@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Robert Zeigler &lt;robertz@scazdl.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c86D33412-3FE1-44AB-89F3-5DA4959B1C5C@scazdl.org%3e"/>
<id>urn:uuid:%3c86D33412-3FE1-44AB-89F3-5DA4959B1C5C@scazdl-org%3e</id>
<updated>2009-12-08T04:04:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Unless you put the definitions in your application's app.properties,  
right? Then you still have to provide the custom resources component- 
by-component, but the translations go in a single place.

Robert

On Dec 7, 2009, at 12/75:53 PM , Igor Drobiazko wrote:

&gt; Hm, what about components that are used in several pages? In this  
&gt; case I
&gt; have to repeat the translations again and again.
&gt;
&gt; On Sun, Dec 6, 2009 at 9:02 PM, Howard Lewis Ship &lt;hlship@gmail.com&gt;  
&gt; wrote:
&gt;
&gt;&gt; Perhaps what's really needed is for components to more frequently  
&gt;&gt; have
&gt;&gt; a parameter used to override its internal messages with a new  
&gt;&gt; messages
&gt;&gt; object (presumably form the page).
&gt;&gt;
&gt;&gt; On Thu, Dec 3, 2009 at 8:52 AM, Massimo Lusetti &lt;mlusetti@gmail.com&gt;
&gt;&gt; wrote:
&gt;&gt;&gt; On Thu, Dec 3, 2009 at 7:52 AM, Igor Drobiazko &lt;igor.drobiazko@gmail.com 
&gt;&gt;&gt; &gt;
&gt;&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I accompiished this by a service named ComponentMessagesOverride.  
&gt;&gt;&gt;&gt; The
&gt;&gt; mapped
&gt;&gt;&gt;&gt; configuration of the service is used to contribute new paths for
&gt;&gt; component
&gt;&gt;&gt;&gt; message catalogs. This service is used in an advise method to  
&gt;&gt;&gt;&gt; override
&gt;&gt; the
&gt;&gt;&gt;&gt; result of ComponentMessagesSource#getMessages. This temporary  
&gt;&gt;&gt;&gt; hack is ok
&gt;&gt; for
&gt;&gt;&gt;&gt; an application but what is the benefit to do it in tapestry-core?  
&gt;&gt;&gt;&gt; We can
&gt;&gt;&gt;&gt; change the implementation of ComponentMessagesSource directly.
&gt;&gt;&gt;
&gt;&gt;&gt; While here I would like to pose to your attention a use case where i
&gt;&gt;&gt; found myself repeatedly.
&gt;&gt;&gt;
&gt;&gt;&gt; It happens that I produce a "common" components (like a series of
&gt;&gt;&gt; Submit components acting togheter) where i want the pages that use  
&gt;&gt;&gt; it
&gt;&gt;&gt; to provide the "messages" for labels. So this could be accomplish by
&gt;&gt;&gt; extending the inheritance of the message catalog from components to
&gt;&gt;&gt; pages that include the components (or other components as well) to
&gt;&gt;&gt; application wide catalog.
&gt;&gt;&gt;
&gt;&gt;&gt; So for instance a components could provide defaults labels but pages
&gt;&gt;&gt; are given the opportunity to override it while leave the  
&gt;&gt;&gt; "application
&gt;&gt;&gt; wide" message catalog to have the last word on it.
&gt;&gt;&gt;
&gt;&gt;&gt; Does it sounds reasonable?
&gt;&gt;&gt;
&gt;&gt;&gt; Cheers
&gt;&gt;&gt; --
&gt;&gt;&gt; Massimo
&gt;&gt;&gt; http://meridio.blogspot.com
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt;&gt;&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Howard M. Lewis Ship
&gt;&gt;
&gt;&gt; Creator of Apache Tapestry
&gt;&gt;
&gt;&gt; The source for Tapestry training, mentoring and support. Contact me  
&gt;&gt; to
&gt;&gt; learn how I can get you up and productive in Tapestry fast!
&gt;&gt;
&gt;&gt; (971) 678-5210
&gt;&gt; http://howardlewisship.com
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt;&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt; -- 
&gt; Best regards,
&gt;
&gt; Igor Drobiazko
&gt; http://tapestry5.de/blog


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c92e27ac90912071553u7ba69a8bj89ee7120fa0b7040@mail.gmail.com%3e"/>
<id>urn:uuid:%3c92e27ac90912071553u7ba69a8bj89ee7120fa0b7040@mail-gmail-com%3e</id>
<updated>2009-12-07T23:53:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hm, what about components that are used in several pages? In this case I
have to repeat the translations again and again.

On Sun, Dec 6, 2009 at 9:02 PM, Howard Lewis Ship &lt;hlship@gmail.com&gt; wrote:

&gt; Perhaps what's really needed is for components to more frequently have
&gt; a parameter used to override its internal messages with a new messages
&gt; object (presumably form the page).
&gt;
&gt; On Thu, Dec 3, 2009 at 8:52 AM, Massimo Lusetti &lt;mlusetti@gmail.com&gt;
&gt; wrote:
&gt; &gt; On Thu, Dec 3, 2009 at 7:52 AM, Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt;
&gt; wrote:
&gt; &gt;
&gt; &gt;&gt; I accompiished this by a service named ComponentMessagesOverride. The
&gt; mapped
&gt; &gt;&gt; configuration of the service is used to contribute new paths for
&gt; component
&gt; &gt;&gt; message catalogs. This service is used in an advise method to override
&gt; the
&gt; &gt;&gt; result of ComponentMessagesSource#getMessages. This temporary hack is ok
&gt; for
&gt; &gt;&gt; an application but what is the benefit to do it in tapestry-core? We can
&gt; &gt;&gt; change the implementation of ComponentMessagesSource directly.
&gt; &gt;
&gt; &gt; While here I would like to pose to your attention a use case where i
&gt; &gt; found myself repeatedly.
&gt; &gt;
&gt; &gt; It happens that I produce a "common" components (like a series of
&gt; &gt; Submit components acting togheter) where i want the pages that use it
&gt; &gt; to provide the "messages" for labels. So this could be accomplish by
&gt; &gt; extending the inheritance of the message catalog from components to
&gt; &gt; pages that include the components (or other components as well) to
&gt; &gt; application wide catalog.
&gt; &gt;
&gt; &gt; So for instance a components could provide defaults labels but pages
&gt; &gt; are given the opportunity to override it while leave the "application
&gt; &gt; wide" message catalog to have the last word on it.
&gt; &gt;
&gt; &gt; Does it sounds reasonable?
&gt; &gt;
&gt; &gt; Cheers
&gt; &gt; --
&gt; &gt; Massimo
&gt; &gt; http://meridio.blogspot.com
&gt; &gt;
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt; &gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt; &gt;
&gt; &gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Howard M. Lewis Ship
&gt;
&gt; Creator of Apache Tapestry
&gt;
&gt; The source for Tapestry training, mentoring and support. Contact me to
&gt; learn how I can get you up and productive in Tapestry fast!
&gt;
&gt; (971) 678-5210
&gt; http://howardlewisship.com
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;
&gt;


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r888068 - in /tapestry: tapestry-site/trunk/pom.xml	tapestry-site/trunk/src/site/xdoc/committers.xml tapestry5/trunk/pom.xml</title>
<author><name>Howard Lewis Ship &lt;hlship@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3cecd0e3310912071206p582158embdc1128e8916255@mail.gmail.com%3e"/>
<id>urn:uuid:%3cecd0e3310912071206p582158embdc1128e8916255@mail-gmail-com%3e</id>
<updated>2009-12-07T20:06:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Congrats!

On Mon, Dec 7, 2009 at 10:31 AM,  &lt;uli@apache.org&gt; wrote:
&gt; Author: uli
&gt; Date: Mon Dec  7 18:31:35 2009
&gt; New Revision: 888068
&gt;
&gt; URL: http://svn.apache.org/viewvc?rev=888068&amp;view=rev
&gt; Log:
&gt; Add myself (Ulrich Stärk) to the committers lists.
&gt;
&gt; Modified:
&gt;    tapestry/tapestry-site/trunk/pom.xml
&gt;    tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml
&gt;    tapestry/tapestry5/trunk/pom.xml
&gt;
&gt; Modified: tapestry/tapestry-site/trunk/pom.xml
&gt; URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/pom.xml?rev=888068&amp;r1=888067&amp;r2=888068&amp;view=diff
&gt; ==============================================================================
&gt; --- tapestry/tapestry-site/trunk/pom.xml (original)
&gt; +++ tapestry/tapestry-site/trunk/pom.xml Mon Dec  7 18:31:35 2009
&gt; @@ -168,6 +168,15 @@
&gt;             &lt;/roles&gt;
&gt;             &lt;timezone&gt;-3&lt;/timezone&gt;
&gt;         &lt;/developer&gt;
&gt; +        &lt;developer&gt;
&gt; +            &lt;id&gt;uli&lt;/id&gt;
&gt; +            &lt;name&gt;Ulrich St&amp;auml;rk&lt;/name&gt;
&gt; +            &lt;email&gt;uli@apache.org&lt;/email&gt;
&gt; +            &lt;roles&gt;
&gt; +                &lt;role&gt;Developer&lt;/role&gt;
&gt; +            &lt;/roles&gt;
&gt; +            &lt;timezone&gt;+1&lt;/timezone&gt;
&gt; +        &lt;/developer&gt;
&gt;     &lt;/developers&gt;
&gt;
&gt;     &lt;distributionManagement&gt;
&gt;
&gt; Modified: tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml
&gt; URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml?rev=888068&amp;r1=888067&amp;r2=888068&amp;view=diff
&gt; ==============================================================================
&gt; --- tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml (original)
&gt; +++ tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml Mon Dec  7 18:31:35 2009
&gt; @@ -73,6 +73,12 @@
&gt;                     &lt;td&gt;May 2007&lt;/td&gt;
&gt;                     &lt;td/&gt;
&gt;                 &lt;/tr&gt;
&gt; +                &lt;tr&gt;
&gt; +                    &lt;td&gt;Ulrich StÃ¤rk&lt;/td&gt;
&gt; +                    &lt;td&gt;-&lt;/td&gt;
&gt; +                    &lt;td&gt;Nov 2009&lt;/td&gt;
&gt; +                    &lt;td/&gt;
&gt; +                &lt;/tr&gt;
&gt;
&gt;                 &lt;tr&gt;
&gt;                     &lt;td&gt;Brian K. Wallace&lt;/td&gt;
&gt;
&gt; Modified: tapestry/tapestry5/trunk/pom.xml
&gt; URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/pom.xml?rev=888068&amp;r1=888067&amp;r2=888068&amp;view=diff
&gt; ==============================================================================
&gt; --- tapestry/tapestry5/trunk/pom.xml (original)
&gt; +++ tapestry/tapestry5/trunk/pom.xml Mon Dec  7 18:31:35 2009
&gt; @@ -113,6 +113,15 @@
&gt;             &lt;/roles&gt;
&gt;             &lt;timezone&gt;-3&lt;/timezone&gt;
&gt;         &lt;/developer&gt;
&gt; +        &lt;developer&gt;
&gt; +            &lt;id&gt;uli&lt;/id&gt;
&gt; +            &lt;name&gt;Ulrich St&amp;auml;rk&lt;/name&gt;
&gt; +            &lt;email&gt;uli@apache.org&lt;/email&gt;
&gt; +            &lt;roles&gt;
&gt; +                &lt;role&gt;Developer&lt;/role&gt;
&gt; +            &lt;/roles&gt;
&gt; +            &lt;timezone&gt;+1&lt;/timezone&gt;
&gt; +        &lt;/developer&gt;
&gt;     &lt;/developers&gt;
&gt;
&gt;     &lt;ciManagement&gt;
&gt;
&gt;
&gt;



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (TAP5-813) the component rendering page of the user guide is not generated by maven</title>
<author><name>=?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c393961229.1260215718206.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c393961229-1260215718206-JavaMail-jira@brutus%3e</id>
<updated>2009-12-07T19:55:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ulrich StÃ¤rk closed TAP5-813.
-----------------------------

    Resolution: Fixed

&gt; the component rendering page of the user guide is not generated by maven
&gt; ------------------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-813
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-813
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: documentation
&gt;    Affects Versions: 5.2
&gt;            Reporter: Ulrich StÃ¤rk
&gt;            Assignee: Ulrich StÃ¤rk
&gt;            Priority: Minor
&gt;             Fix For: 5.2.0.0
&gt;
&gt;         Attachments: TAP5-813.txt
&gt;
&gt;   Original Estimate: 0h
&gt;  Remaining Estimate: 0h
&gt;
&gt; Due to missing braces, maven does not generate the component rendering page ot the user
guide.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (TAP5-813) the component rendering page of the user guide is not generated by maven</title>
<author><name>=?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c937270687.1260215718088.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c937270687-1260215718088-JavaMail-jira@brutus%3e</id>
<updated>2009-12-07T19:55:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ulrich StÃ¤rk updated TAP5-813:
------------------------------

         Fix Version/s: 5.2.0.0
    Remaining Estimate: 0h
     Original Estimate: 0h

&gt; the component rendering page of the user guide is not generated by maven
&gt; ------------------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-813
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-813
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: documentation
&gt;    Affects Versions: 5.2
&gt;            Reporter: Ulrich StÃ¤rk
&gt;            Assignee: Ulrich StÃ¤rk
&gt;            Priority: Minor
&gt;             Fix For: 5.2.0.0
&gt;
&gt;         Attachments: TAP5-813.txt
&gt;
&gt;   Original Estimate: 0h
&gt;  Remaining Estimate: 0h
&gt;
&gt; Due to missing braces, maven does not generate the component rendering page ot the user
guide.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r888110 - /tapestry/tapestry5/trunk/src/site/apt/guide/rendering.apt</title>
<author><name>uli@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c20091207195419.0845C238898A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20091207195419-0845C238898A@eris-apache-org%3e</id>
<updated>2009-12-07T19:54:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: uli
Date: Mon Dec  7 19:54:17 2009
New Revision: 888110

URL: http://svn.apache.org/viewvc?rev=888110&amp;view=rev
Log:
TAP5-813: the component rendering page of the user guide is not generated by maven

Modified:
    tapestry/tapestry5/trunk/src/site/apt/guide/rendering.apt

Modified: tapestry/tapestry5/trunk/src/site/apt/guide/rendering.apt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/apt/guide/rendering.apt?rev=888110&amp;r1=888109&amp;r2=888110&amp;view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/apt/guide/rendering.apt (original)
+++ tapestry/tapestry5/trunk/src/site/apt/guide/rendering.apt Mon Dec  7 19:54:17 2009
@@ -295,7 +295,7 @@
 
   The order in which the mixins of a given class (@MixinAfter or mixins before) execute is
determined
   by the ordering constraints specified for the mixins. If no constrains are provided, the
order is undefined.
-  See {{{mixins.html}component mixins} for more details.
+  See {{{mixins.html}component mixins}} for more details.
 
 * Parents before Child
 




</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Assigned: (TAP5-813) the component rendering page of the user guide is not generated by maven</title>
<author><name>=?utf-8?Q?Ulrich_St=C3=A4rk_=28JIRA=29?= &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c1788722662.1260215598100.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1788722662-1260215598100-JavaMail-jira@brutus%3e</id>
<updated>2009-12-07T19:53:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ulrich StÃ¤rk reassigned TAP5-813:
---------------------------------

    Assignee: Ulrich StÃ¤rk

&gt; the component rendering page of the user guide is not generated by maven
&gt; ------------------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-813
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-813
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;          Components: documentation
&gt;    Affects Versions: 5.2
&gt;            Reporter: Ulrich StÃ¤rk
&gt;            Assignee: Ulrich StÃ¤rk
&gt;            Priority: Minor
&gt;         Attachments: TAP5-813.txt
&gt;
&gt;
&gt; Due to missing braces, maven does not generate the component rendering page ot the user
guide.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r888068 - in /tapestry: tapestry-site/trunk/pom.xml tapestry-site/trunk/src/site/xdoc/committers.xml tapestry5/trunk/pom.xml</title>
<author><name>uli@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c20091207183136.DB8F2238898A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20091207183136-DB8F2238898A@eris-apache-org%3e</id>
<updated>2009-12-07T18:31:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: uli
Date: Mon Dec  7 18:31:35 2009
New Revision: 888068

URL: http://svn.apache.org/viewvc?rev=888068&amp;view=rev
Log:
Add myself (Ulrich StÃ¤rk) to the committers lists.

Modified:
    tapestry/tapestry-site/trunk/pom.xml
    tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml
    tapestry/tapestry5/trunk/pom.xml

Modified: tapestry/tapestry-site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/pom.xml?rev=888068&amp;r1=888067&amp;r2=888068&amp;view=diff
==============================================================================
--- tapestry/tapestry-site/trunk/pom.xml (original)
+++ tapestry/tapestry-site/trunk/pom.xml Mon Dec  7 18:31:35 2009
@@ -168,6 +168,15 @@
             &lt;/roles&gt;
             &lt;timezone&gt;-3&lt;/timezone&gt;
         &lt;/developer&gt;
+        &lt;developer&gt;
+            &lt;id&gt;uli&lt;/id&gt;
+            &lt;name&gt;Ulrich St&amp;auml;rk&lt;/name&gt;
+            &lt;email&gt;uli@apache.org&lt;/email&gt;
+            &lt;roles&gt;
+                &lt;role&gt;Developer&lt;/role&gt;
+            &lt;/roles&gt;
+            &lt;timezone&gt;+1&lt;/timezone&gt;
+        &lt;/developer&gt;
     &lt;/developers&gt;
 
     &lt;distributionManagement&gt;

Modified: tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml?rev=888068&amp;r1=888067&amp;r2=888068&amp;view=diff
==============================================================================
--- tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml (original)
+++ tapestry/tapestry-site/trunk/src/site/xdoc/committers.xml Mon Dec  7 18:31:35 2009
@@ -73,6 +73,12 @@
                     &lt;td&gt;May 2007&lt;/td&gt;
                     &lt;td/&gt;
                 &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;Ulrich StÃƒÂ¤rk&lt;/td&gt;
+                    &lt;td&gt;-&lt;/td&gt;
+                    &lt;td&gt;Nov 2009&lt;/td&gt;
+                    &lt;td/&gt;
+                &lt;/tr&gt;
 
                 &lt;tr&gt;
                     &lt;td&gt;Brian K. Wallace&lt;/td&gt;

Modified: tapestry/tapestry5/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/pom.xml?rev=888068&amp;r1=888067&amp;r2=888068&amp;view=diff
==============================================================================
--- tapestry/tapestry5/trunk/pom.xml (original)
+++ tapestry/tapestry5/trunk/pom.xml Mon Dec  7 18:31:35 2009
@@ -113,6 +113,15 @@
             &lt;/roles&gt;
             &lt;timezone&gt;-3&lt;/timezone&gt;
         &lt;/developer&gt;
+        &lt;developer&gt;
+            &lt;id&gt;uli&lt;/id&gt;
+            &lt;name&gt;Ulrich St&amp;auml;rk&lt;/name&gt;
+            &lt;email&gt;uli@apache.org&lt;/email&gt;
+            &lt;roles&gt;
+                &lt;role&gt;Developer&lt;/role&gt;
+            &lt;/roles&gt;
+            &lt;timezone&gt;+1&lt;/timezone&gt;
+        &lt;/developer&gt;
     &lt;/developers&gt;
 
     &lt;ciManagement&gt;




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Massimo Lusetti &lt;mlusetti@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3ca6647e120912070506t555becd2o1c71c2796f85a66a@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca6647e120912070506t555becd2o1c71c2796f85a66a@mail-gmail-com%3e</id>
<updated>2009-12-07T13:06:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Sun, Dec 6, 2009 at 9:02 PM, Howard Lewis Ship &lt;hlship@gmail.com&gt; wrote:

&gt; Perhaps what's really needed is for components to more frequently have
&gt; a parameter used to override its internal messages with a new messages
&gt; object (presumably form the page).

Yep, that should be the solution if not limited to the containing page
but extended to all "containing components".

Do you like a Jira issue about this one?

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Howard Lewis Ship &lt;hlship@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3cecd0e3310912061202h228d3537heaa22189905ec573@mail.gmail.com%3e"/>
<id>urn:uuid:%3cecd0e3310912061202h228d3537heaa22189905ec573@mail-gmail-com%3e</id>
<updated>2009-12-06T20:02:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Perhaps what's really needed is for components to more frequently have
a parameter used to override its internal messages with a new messages
object (presumably form the page).

On Thu, Dec 3, 2009 at 8:52 AM, Massimo Lusetti &lt;mlusetti@gmail.com&gt; wrote:
&gt; On Thu, Dec 3, 2009 at 7:52 AM, Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt; wrote:
&gt;
&gt;&gt; I accompiished this by a service named ComponentMessagesOverride. The mapped
&gt;&gt; configuration of the service is used to contribute new paths for component
&gt;&gt; message catalogs. This service is used in an advise method to override the
&gt;&gt; result of ComponentMessagesSource#getMessages. This temporary hack is ok for
&gt;&gt; an application but what is the benefit to do it in tapestry-core? We can
&gt;&gt; change the implementation of ComponentMessagesSource directly.
&gt;
&gt; While here I would like to pose to your attention a use case where i
&gt; found myself repeatedly.
&gt;
&gt; It happens that I produce a "common" components (like a series of
&gt; Submit components acting togheter) where i want the pages that use it
&gt; to provide the "messages" for labels. So this could be accomplish by
&gt; extending the inheritance of the message catalog from components to
&gt; pages that include the components (or other components as well) to
&gt; application wide catalog.
&gt;
&gt; So for instance a components could provide defaults labels but pages
&gt; are given the opportunity to override it while leave the "application
&gt; wide" message catalog to have the last word on it.
&gt;
&gt; Does it sounds reasonable?
&gt;
&gt; Cheers
&gt; --
&gt; Massimo
&gt; http://meridio.blogspot.com
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;
&gt;



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (TAP5-840) Support character references in tml files with HTML 5 Doctype</title>
<author><name>&quot;Robin Komiwes (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c1318565949.1260027440814.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1318565949-1260027440814-JavaMail-jira@brutus%3e</id>
<updated>2009-12-05T15:37:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/TAP5-840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robin Komiwes updated TAP5-840:
-------------------------------

    Attachment: patch.txt

As I needed HTML5 for some projects, I made the fix.

I've explored many ways, such as DTDOverriding , custom external entity resolving...Without
success. I also tried to use TemplateParserImpl.resolveEntity() and to add a hack for HTML5
like it's made for HTML4. But still no success.

Finally, I tried with XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES property set to false
, a new TemplateToken implementation for entities, and it works.

Now, every entities, with or without a doctype set, are now simply output "as it".

I created a new symbol to offer the possibility to go back to the old system.

PFA the patch with tests.

&gt; Support character references in tml files with HTML 5 Doctype
&gt; -------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-840
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-840
&gt;             Project: Tapestry 5
&gt;          Issue Type: Improvement
&gt;          Components: tapestry-core
&gt;    Affects Versions: 5.0.18
&gt;            Reporter: Ben Gidley
&gt;         Attachments: patch.txt
&gt;
&gt;
&gt; Currently to support HTML character references (e.g. &amp;copy;) you need to put a HTML
Doctype at the top of the TML file. 
&gt; e.g. &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&gt; However for HTML 5 they have stopped using XML doctypes and instead use
&gt; &lt;!DOCTYPE html&gt;
&gt; If you change tapestry page to use this you can no longer use entities as the XML parser
doesn't know what to do. 
&gt; Ideally there should be some kind of logic that detects &lt;!DOCTYPE html&gt; and include
a suitable DTD to resolve the common HTML entities. The HTML 5 specification defines the allowed
named character references - http://dev.w3.org/html5/spec/Overview.html#named-character-references.
There doesn't seem to be a DTD of allowed references maintained anymore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Patch inclusion consideration</title>
<author><name>&quot;Joost Schouten (ml)&quot; &lt;joost_ml@jsportal.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c4B1A7587.2010103@jsportal.com%3e"/>
<id>urn:uuid:%3c4B1A7587-2010103@jsportal-com%3e</id>
<updated>2009-12-05T15:00:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Could one of the comitters have a look at the provided patch at: 
https://issues.apache.org/jira/browse/TAP5-937 ?

Is it possible to get it included in T5.2.0-SNAPSHOT? It would remove 
the need for me to build a custom version on every version update or new 
developer deploy. And not to forget, it fixes a bug ;-)

Cheers,
Joost

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Massimo Lusetti &lt;mlusetti@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3ca6647e120912041353t46ece550wd66dfc066325901f@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca6647e120912041353t46ece550wd66dfc066325901f@mail-gmail-com%3e</id>
<updated>2009-12-04T21:53:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 7:37 AM, Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt; wrote:

&gt; This would be a nice addition but does not solve the problem. Components are
&gt; reusable and their message catalog should be reusable too. I don't want to
&gt; provide messages for a component in every page using it. What is needed is
&gt; just a "redirect" to another package to look for message catalog.

As you said it would be an addition so an extension like system...

&gt; Now the messages are searched in a low-specific to a most-specific order. If
&gt; a component message catalog contains an entry for a particular key the
&gt; application wide catalog will be never considered. So you don't have any
&gt; chance to override existing translations of a component. For backward
&gt; compatibility reasons this behavior should not be changed.

Well even i perfectly understand the "backward compatibilty" shield
effect i think that some thoughts should be deserved to such an
option.

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (TAP5-445) Add ability to turn off GZIP compression easily, for both static assets and dynamic page renders</title>
<author><name>&quot;Gabriel Falkenberg (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c903963974.1259940021021.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c903963974-1259940021021-JavaMail-jira@brutus%3e</id>
<updated>2009-12-04T15:20:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/TAP5-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785963#action_12785963
] 

Gabriel Falkenberg commented on TAP5-445:
-----------------------------------------

Just so that people finding this page via Google has something to copy/paste to turn off GZIP-compression
in their Tapestry 5 apps:

	    public static void contributeApplicationDefaults(MappedConfiguration&lt;String, String&gt;
configuration)
	    {
	        configuration.add(SymbolConstants.GZIP_COMPRESSION_ENABLED, "false");
	    }


&gt; Add ability to turn off GZIP compression easily, for both static assets and dynamic page
renders
&gt; ------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-445
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-445
&gt;             Project: Tapestry 5
&gt;          Issue Type: Improvement
&gt;          Components: tapestry-core
&gt;    Affects Versions: 5.1.0.0
&gt;            Reporter: Fernando
&gt;            Assignee: Howard M. Lewis Ship
&gt;             Fix For: 5.1.0.0
&gt;
&gt;
&gt; I have to report a huge regression because of Tapestry Compression.
&gt; I just tried running with the latest tapestry and it worked just fine most of the time
( going against browsers ), but we interact with the Facebook proxy, and it looks like they
got totally confused with the tapestry compression support, thus they would only serve up
an error page.  Luckily, with Tapestry's new configuration override feature (thank you howard),
I was able to turn it off easily, and have my app working again.
&gt; 	public void contributeHttpServletRequestHandler( OrderedConfiguration&lt;HttpServletRequestFilter&gt;
configuration ) {
&gt; 		configuration.override( "GZIP", null );
&gt; 	}
&gt; So I wanted to report this regression, it might be the case that I'm the only one affected,
but we don't for sure, and probably people will never realize why it doesn't work.  I don't
know if any other issues might arise from tapestry-compression, but I will want to make sure
I can turn the feature off as I need to.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c92e27ac90912032237w5f461797pba4bb3db26526411@mail.gmail.com%3e"/>
<id>urn:uuid:%3c92e27ac90912032237w5f461797pba4bb3db26526411@mail-gmail-com%3e</id>
<updated>2009-12-04T06:37:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt;
&gt; While here I would like to pose to your attention a use case where i
&gt; found myself repeatedly.
&gt;
&gt; It happens that I produce a "common" components (like a series of
&gt; Submit components acting togheter) where i want the pages that use it
&gt; to provide the "messages" for labels. So this could be accomplish by
&gt; extending the inheritance of the message catalog from components to
&gt; pages that include the components (or other components as well) to
&gt; application wide catalog.
&gt;

This would be a nice addition but does not solve the problem. Components are
reusable and their message catalog should be reusable too. I don't want to
provide messages for a component in every page using it. What is needed is
just a "redirect" to another package to look for message catalog.

&gt;
&gt; So for instance a components could provide defaults labels but pages
&gt; are given the opportunity to override it while leave the "application
&gt; wide" message catalog to have the last word on it.
&gt;

Now the messages are searched in a low-specific to a most-specific order. If
a component message catalog contains an entry for a particular key the
application wide catalog will be never considered. So you don't have any
chance to override existing translations of a component. For backward
compatibility reasons this behavior should not be changed.

&gt;
&gt; Does it sounds reasonable?
&gt;
&gt; Cheers
&gt; --
&gt; Massimo
&gt; http://meridio.blogspot.com
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;
&gt;



-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Status of Git at Apache</title>
<author><name>Marvin Humphrey &lt;marvin@rectangular.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c20091203195029.GA15895@rectangular.com%3e"/>
<id>urn:uuid:%3c20091203195029-GA15895@rectangular-com%3e</id>
<updated>2009-12-03T19:50:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; &gt; Perhaps someone will create a good Apache-specific cheat sheet.

I would appreciate, use, and help revise such a document.

With medium-sized or large contributions, I prefer to structure things as a
series of small patches rather than a single mondo patch -- that way, the
contribution is easier for other community members to review.  I haven't yet
found the time to get past git's initial learning curve, but from what I
understand, git-svn would make that workflow simpler.

First hint: 

Depending on how git was installed, git-svn may not be in your path.  If
git-svn is available but not accessible, "git svn" may work instead.

(This is the situation if you use the current version of
&lt;http://code.google.com/p/git-osx-installer/&gt;.)

Marvin Humphrey


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Status of Git at Apache</title>
<author><name>Howard Lewis Ship &lt;hlship@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3cecd0e3310912030945w397592d7u8195219ba7079c4a@mail.gmail.com%3e"/>
<id>urn:uuid:%3cecd0e3310912030945w397592d7u8195219ba7079c4a@mail-gmail-com%3e</id>
<updated>2009-12-03T17:45:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I meant to reply to the list.

On Thu, Dec 3, 2009 at 8:28 AM, Doug Cutting &lt;cutting@apache.org&gt; wrote:
&gt; Howard Lewis Ship wrote:
&gt;&gt;
&gt;&gt; If you haven't used Git extensively, you should try it.
&gt;
&gt; I have tried it.  It is fast, but I couldn't manage to get it to work
&gt; seamlessly in my workflow, keeping a branch per patch, re-syncing these with
&gt; trunk, and using git-svn to commit a branch back to trunk.  Like Eclipse, it
&gt; would probably make my life easier in the long run once I got over the
&gt; learning hump, but I've not had the time to do so.  Perhaps someone will
&gt; create a good Apache-specific cheat sheet.
&gt;
&gt; (Did you mean to reply to the list or not?)
&gt;
&gt; Doug
&gt;



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Massimo Lusetti &lt;mlusetti@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3ca6647e120912030852v6b0f2824se9e13b00acb5118b@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca6647e120912030852v6b0f2824se9e13b00acb5118b@mail-gmail-com%3e</id>
<updated>2009-12-03T16:52:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 3, 2009 at 7:52 AM, Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt; wrote:

&gt; I accompiished this by a service named ComponentMessagesOverride. The mapped
&gt; configuration of the service is used to contribute new paths for component
&gt; message catalogs. This service is used in an advise method to override the
&gt; result of ComponentMessagesSource#getMessages. This temporary hack is ok for
&gt; an application but what is the benefit to do it in tapestry-core? We can
&gt; change the implementation of ComponentMessagesSource directly.

While here I would like to pose to your attention a use case where i
found myself repeatedly.

It happens that I produce a "common" components (like a series of
Submit components acting togheter) where i want the pages that use it
to provide the "messages" for labels. So this could be accomplish by
extending the inheritance of the message catalog from components to
pages that include the components (or other components as well) to
application wide catalog.

So for instance a components could provide defaults labels but pages
are given the opportunity to override it while leave the "application
wide" message catalog to have the last word on it.

Does it sounds reasonable?

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event in 5.1.0.5</title>
<author><name>&quot;Peter Rietzler (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c286556020.1259830700859.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c286556020-1259830700859-JavaMail-jira@brutus%3e</id>
<updated>2009-12-03T08:58:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785233#action_12785233
] 

Peter Rietzler commented on TAP5-930:
-------------------------------------

Here is  a simple tml that shows the problem
- clicking on the button triggers the correct behavior -&gt; two messages 'onsubmit' and 'onsubmit
from event handler'
- clicking on the link triggers only one message -&gt; 'onsubmit' (any other event handlers
are not executed because in LinkSubmit.js only onsubmit is executed)

&lt;html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter"
&gt;
	&lt;body&gt;
		
		&lt;t:form id="form" onsubmit="alert('onsubmit')"&gt;
			&lt;t:linkSubmit&gt;Submit Form&lt;/t:linkSubmit&gt;
			&lt;t:submit/&gt;
		&lt;/t:form&gt;
		
		&lt;script type="text/javascript"&gt;
			$("form").addEventListener("submit", function() {
				alert('onsubmit from event handler');
			}, false);
		&lt;/script&gt;
			
	&lt;/body&gt;
&lt;/html&gt;

&gt; linksubmit does not fire sumbit event in 5.1.0.5
&gt; ------------------------------------------------
&gt;
&gt;                 Key: TAP5-930
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-930
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;    Affects Versions: 5.1
&gt;         Environment: java 1.6
&gt; windows 7
&gt; tapestry 5.1.0.5
&gt; firefox 3.5 or google chrome
&gt;            Reporter: Sergey Kashin
&gt;            Priority: Critical
&gt;         Attachments: linksubmit.js
&gt;
&gt;
&gt; linksubmit does not fire sumbit form
&gt; where is no any action
&gt; if i change linksubmit to submit buttom all works fine
&gt; Template:
&gt; ----------------------------------------------------------------------------------
&gt; &lt;?xml version="1.0" encoding="windows-1251"?&gt;
&gt; &lt;html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"  xmlns:p="tapestry:parameter"&gt;
&gt;     &lt;t:form t:id="frm" &gt;
&gt;        &lt;t:textfield value="txt"&gt;&lt;/t:textfield&gt;&lt;br/&gt;
&gt;       &lt;t:linksubmit t:id="save" &gt;Save&lt;/t:linksubmit&gt; .  &lt;t:linksubmit
t:id="cancel" &gt;Cancel&lt;/t:linksubmit&gt;
&gt;     &lt;/t:form&gt;
&gt; &lt;/html&gt;
&gt; ----------------------------------------------------------------------------------
&gt; java code:
&gt; ----------------------------------------------------------------------------------
&gt;   private Object formEventReturn;
&gt;   @Property
&gt;   private String txt;
&gt;   void onSelectedFromSave() {
&gt;     // do whatever;
&gt;     formEventReturn = Index.class; // go to AnotherPage
&gt;   }
&gt;   void onSelectedFromCancel() {
&gt;     // do whatever
&gt;     formEventReturn = null; // stay on this page
&gt;   }
&gt; Object onSuccessFromFrm() {
&gt;   //do things specific to form Foo
&gt;   return formEventReturn;
&gt; }
&gt; ----------------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c92e27ac90912022252y5c74b4b1jfefe2648dd2c9d8c@mail.gmail.com%3e"/>
<id>urn:uuid:%3c92e27ac90912022252y5c74b4b1jfefe2648dd2c9d8c@mail-gmail-com%3e</id>
<updated>2009-12-03T06:52:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I accompiished this by a service named ComponentMessagesOverride. The mapped
configuration of the service is used to contribute new paths for component
message catalogs. This service is used in an advise method to override the
result of ComponentMessagesSource#getMessages. This temporary hack is ok for
an application but what is the benefit to do it in tapestry-core? We can
change the implementation of ComponentMessagesSource directly.

On Wed, Dec 2, 2009 at 11:54 PM, Howard Lewis Ship &lt;hlship@gmail.com&gt; wrote:

&gt; This is something I've been meaning to look at as well. I'd like to
&gt; check what I've done for my client to see what I had to hack to
&gt; accomplish this, to ensure that we don't go through a couple of cycles
&gt; of this. I'm working for that client tomorrow, so I'll document that's
&gt; needed then.
&gt;
&gt; I think the entire approach needs to be a bit more pluggable (though
&gt; decorating the service is also an option).
&gt;
&gt;
&gt; On Wed, Dec 2, 2009 at 12:59 PM, Igor Drobiazko
&gt; &lt;igor.drobiazko@gmail.com&gt; wrote:
&gt; &gt; I would like to fix TAP5-915 and have to make ComponentMessagesSource a
&gt; part
&gt; &gt; of the public API. I know we should be reluctant to move services from
&gt; &gt; internal packages but this feature is a must. Tapestry allows you to
&gt; &gt; override almost every part of the framework, but not the message catalog
&gt; of
&gt; &gt; the components. Do you have any objections?
&gt; &gt;
&gt; &gt; The idea is to provide a mapped configuration for the service in which a
&gt; &gt; component class is mapped to a path. In the following example the message
&gt; &gt; catalog of  DateField is obtained from foo/bar/baz and not from
&gt; &gt; /org/apache/tapestry5/corelib/components
&gt; &gt;
&gt; &gt; public void
&gt; &gt; contributeComponentMessagesSource(MappedConfiguration&lt;Class,String&gt;
&gt; &gt; configuration)
&gt; &gt; {
&gt; &gt;     configuration.add(DateField.class, "/foo/bar/baz");
&gt; &gt; }
&gt; &gt;
&gt; &gt; --
&gt; &gt; Best regards,
&gt; &gt;
&gt; &gt; Igor Drobiazko
&gt; &gt; http://tapestry5.de/blog
&gt; &gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Howard M. Lewis Ship
&gt;
&gt; Creator of Apache Tapestry
&gt;
&gt; The source for Tapestry training, mentoring and support. Contact me to
&gt; learn how I can get you up and productive in Tapestry fast!
&gt;
&gt; (971) 678-5210
&gt; http://howardlewisship.com
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: dev-help@tapestry.apache.org
&gt;
&gt;


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (TAP5-815) Asset dispatcher allows any file inside the webapp visible and downloadable</title>
<author><name>&quot;Geoff Callender (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c1977260878.1259818760832.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1977260878-1259818760832-JavaMail-jira@brutus%3e</id>
<updated>2009-12-03T05:39:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/TAP5-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785188#action_12785188
] 

Geoff Callender commented on TAP5-815:
--------------------------------------

Hey Robert,

I haven't had a chance to review the AssetProtectionDispatcher, but can you confirm its default
setup matches the following bits of the servlet spec? I think the servlet spec describes the
behaviour that developers would reasonably expect, regardless of the fact that T5 doesn't
use servlets.

1. ALWAYS deny clients access to WEB-INF: 

"any requests from the client to access the resources in WEB-INF/ directory must be returned
with a SC_NOT_FOUND(404) response." (Servlet Spec 2.4 section 9.5)

2. ALWAYS deny clients access to META-INF: 

"any requests to access the resources in META-INF directory must be returned with a SC_NOT_FOUND(404)
response." (Servlet spec 2.4 section 9.6)

3. By default, allow access to static resources: 

"Web containers are required to support access to web resources by clients that have not authenticated
themselves to the container. This is the common mode of access to web resources on the Internet."
(Servlet Spec 2.4 section 12.7)

If resources such as .tml files need to be hidden then either move them into WEB-INF/classes
(which I'd argue is where they belong anyway as they are a non-configurable part of the app)
or blacklist them.

As for displaying index pages as the client traverses the resources, I think we're all agreed
it's wrong.

Geoff

&gt; Asset dispatcher allows any file inside the webapp visible and downloadable
&gt; ---------------------------------------------------------------------------
&gt;
&gt;                 Key: TAP5-815
&gt;                 URL: https://issues.apache.org/jira/browse/TAP5-815
&gt;             Project: Tapestry 5
&gt;          Issue Type: Bug
&gt;    Affects Versions: 5.1.0.5
&gt;            Reporter: Thiago H. de Paula Figueiredo
&gt;            Assignee: Robert Zeigler
&gt;            Priority: Blocker
&gt;
&gt; Take any asset and you have an URL like domain.com/assets/ctx/f10407a6c1753e39/css/main.css.
If you request domain.com/assets/ctx/f10407a6c1753e39/, a list containing all the files inside
the webapp root is shown. It gives you the hint at downloading any file you want, including
anyting inside WEB-INF and assets that should be protected by ResourceDigestGenerator.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3cop.u4b8hcmk18r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4b8hcmk18r83n@arsmachina%3e</id>
<updated>2009-12-03T01:16:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Wed, 02 Dec 2009 20:54:09 -0200, Howard Lewis Ship &lt;hlship@gmail.com&gt;  
escreveu:

&gt; I think the entire approach needs to be a bit more pluggable (though
&gt; decorating the service is also an option).

Service decoration in Tapestry-IoC is very powerful. Once I was in a hurry  
and needed to override a service implementation. I tried using  
ServiceOverride, but I got the "service depends on itself" exception. Then  
I just added a decorate method, instantiated the new service  
implementation and returned it, completely ignoring the original  
implementation and not doing any decoration. Works like a charm. :)

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Howard Lewis Ship &lt;hlship@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3cecd0e3310912021454y23e16c3r64d0118fc6ee3adf@mail.gmail.com%3e"/>
<id>urn:uuid:%3cecd0e3310912021454y23e16c3r64d0118fc6ee3adf@mail-gmail-com%3e</id>
<updated>2009-12-02T22:54:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
This is something I've been meaning to look at as well. I'd like to
check what I've done for my client to see what I had to hack to
accomplish this, to ensure that we don't go through a couple of cycles
of this. I'm working for that client tomorrow, so I'll document that's
needed then.

I think the entire approach needs to be a bit more pluggable (though
decorating the service is also an option).


On Wed, Dec 2, 2009 at 12:59 PM, Igor Drobiazko
&lt;igor.drobiazko@gmail.com&gt; wrote:
&gt; I would like to fix TAP5-915 and have to make ComponentMessagesSource a part
&gt; of the public API. I know we should be reluctant to move services from
&gt; internal packages but this feature is a must. Tapestry allows you to
&gt; override almost every part of the framework, but not the message catalog of
&gt; the components. Do you have any objections?
&gt;
&gt; The idea is to provide a mapped configuration for the service in which a
&gt; component class is mapped to a path. In the following example the message
&gt; catalog of  DateField is obtained from foo/bar/baz and not from
&gt; /org/apache/tapestry5/corelib/components
&gt;
&gt; public void
&gt; contributeComponentMessagesSource(MappedConfiguration&lt;Class,String&gt;
&gt; configuration)
&gt; {
&gt;     configuration.add(DateField.class, "/foo/bar/baz");
&gt; }
&gt;
&gt; --
&gt; Best regards,
&gt;
&gt; Igor Drobiazko
&gt; http://tapestry5.de/blog
&gt;



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Status of Git at Apache</title>
<author><name>Howard Lewis Ship &lt;hlship@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3cecd0e3310912021321i2f866b31q912442fb60038cd8@mail.gmail.com%3e"/>
<id>urn:uuid:%3cecd0e3310912021321i2f866b31q912442fb60038cd8@mail-gmail-com%3e</id>
<updated>2009-12-02T21:21:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There's definitely a bit of conflict going on here. On the one hand,
Apache's central message is all about community, but at the same time
(for the sake of the legal umbrella and CLA's) we are embracing a tool
(SVN) specifically to act as a choke point preventing community
involvement.

As a side note, I believe Ted Leung had a story at ApacheCon about the
loss of several months of Subversion commits and how, fortunately, he
had an archive of the commit mails and the knowledge to reapply all
the changes from those commit mails. In the world of Git, you could
follow that route, or recover official changes from any repository of
any committer or other user.

We've seen a side effect of Git's "code immortality" with Why the
Lucky Stiff, who deleted his online presence (including many GitHub
projects) a few months ago, but new GitHub projects were created from
other user's forks, losing none of his history.

The point is, it chagrins me to use a lesser tool, especially since
outside of one area, it does not address (from a technical
perspective) the goals of the Apache community.

On Wed, Dec 2, 2009 at 1:02 PM, Doug Cutting &lt;cutting@apache.org&gt; wrote:
&gt; Howard Lewis Ship wrote:
&gt;&gt;
&gt;&gt; So what I'm hearing is that as long as external code is delivered via
&gt;&gt; a JIRA patch, and the JIRA issue is referenced in the commit, then
&gt;&gt; there's no difference between Git and SVN from a legal stand point.
&gt;
&gt; It's not black and white.  The Jira signoff and even a CLA aren't strictly
&gt; required, since the license itself says that its terms apply to anything
&gt; that's intentionally submitted.  However we like to have good documentation
&gt; of that intent.  Jira's checkbox provides this.  The ICLA provides this.
&gt;
&gt; A concern with Git is that a committer might push and pull changes from
&gt; others, work on them, then commit the collaboratively produced code, with no
&gt; clear point to document the intent of those others.
&gt;
&gt; Of concern with this pattern is, as mentioned, the decreased documentation
&gt; of intent.  But also of concern is the decreased visibility of these
&gt; interactions to the community.  With subversion+Jira, a project has a single
&gt; patch repository and a single source code repository that all interactions
&gt; go through, so that any member of the community can monitor progress on
&gt; every issue in a single place.  But, when folks are collaborating in a
&gt; distributed manner there's no longer a single point to monitor: to track the
&gt; project one must monitor the individual Git repos of each developer.
&gt;
&gt; To use an analogy, it's a bit like C++'s operator overloading, which I view
&gt; as a bad idea (pretend you agree with me, for the sake of this discussion).
&gt;  In C++ projects you need to enforce a coding guideline against using this
&gt; language feature.  In Java projects you have no such need, since Java simply
&gt; doesn't have operator overloading.  Similarly, Subversion doesn't easily
&gt; support distributed development, while Git does.  The ASF wishes to
&gt; discourage distributed development and is thus wary of embracing Git as a
&gt; primary tool.
&gt;
&gt; Finally, there's the infra issue: subversion is our highest priority
&gt; service, the one infra works hardest to keep running reliably without data
&gt; loss.  Properly supporting another source code management system would not
&gt; be free and would spread our infrastructure resources even more thinly and
&gt; can thus not be considered lightly.
&gt;
&gt; Doug
&gt;
&gt;
&gt;



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ComponentMessagesSource to become public API</title>
<author><name>Robin Komiwes &lt;odisseus@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c507731e00912021302o7512031arec2ccb76f7a59f27@mail.gmail.com%3e"/>
<id>urn:uuid:%3c507731e00912021302o7512031arec2ccb76f7a59f27@mail-gmail-com%3e</id>
<updated>2009-12-02T21:02:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I had this problem before and I had to hack some internals services to make
it works.

I'm definitely OK to make this API public.

On Wed, Dec 2, 2009 at 9:59 PM, Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt;wrote:

&gt; I would like to fix TAP5-915 and have to make ComponentMessagesSource a
&gt; part
&gt; of the public API. I know we should be reluctant to move services from
&gt; internal packages but this feature is a must. Tapestry allows you to
&gt; override almost every part of the framework, but not the message catalog of
&gt; the components. Do you have any objections?
&gt;
&gt; The idea is to provide a mapped configuration for the service in which a
&gt; component class is mapped to a path. In the following example the message
&gt; catalog of  DateField is obtained from foo/bar/baz and not from
&gt; /org/apache/tapestry5/corelib/components
&gt;
&gt; public void
&gt; contributeComponentMessagesSource(MappedConfiguration&lt;Class,String&gt;
&gt; configuration)
&gt; {
&gt;     configuration.add(DateField.class, "/foo/bar/baz");
&gt; }
&gt;
&gt; --
&gt; Best regards,
&gt;
&gt; Igor Drobiazko
&gt; http://tapestry5.de/blog
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>ComponentMessagesSource to become public API</title>
<author><name>Igor Drobiazko &lt;igor.drobiazko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-dev/200912.mbox/%3c92e27ac90912021259p1beab3b2y85a35c32b85b0feb@mail.gmail.com%3e"/>
<id>urn:uuid:%3c92e27ac90912021259p1beab3b2y85a35c32b85b0feb@mail-gmail-com%3e</id>
<updated>2009-12-02T20:59:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I would like to fix TAP5-915 and have to make ComponentMessagesSource a part
of the public API. I know we should be reluctant to move services from
internal packages but this feature is a must. Tapestry allows you to
override almost every part of the framework, but not the message catalog of
the components. Do you have any objections?

The idea is to provide a mapped configuration for the service in which a
component class is mapped to a path. In the following example the message
catalog of  DateField is obtained from foo/bar/baz and not from
/org/apache/tapestry5/corelib/components

public void
contributeComponentMessagesSource(MappedConfiguration&lt;Class,String&gt;
configuration)
{
     configuration.add(DateField.class, "/foo/bar/baz");
}

-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog


</pre>
</div>
</content>
</entry>
</feed>
