Re: Comment in .tml file

2009-09-09 Thread Inge Solvoll
You could use t:remove, but it's not too pretty either...

On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le lexuanttk...@gmail.com wrote:

 I want to comment in .tml file and all the comments will not be displayed
 when we view page source (on browser). Anybody help me...



Re: How to create analog of Spring FactoryBean?

2009-09-09 Thread Andrey Larionov
Also interesting, is in Tapestry dispose mechanism like in spring?
(Implementing DisposableBean)

On Wed, Sep 9, 2009 at 09:06, Andrey Larionovanlario...@gmail.com wrote:
 thanks paul.

 On Tue, Sep 8, 2009 at 20:46, Paul Fieldpaul.fi...@db.com wrote:
 Hi Andrey,

 Thiago H. de Paula Figueiredo thiag...@gmail.com wrote on 08/09/2009
 15:51:14:

 Em Tue, 08 Sep 2009 11:27:06 -0300, Andrey Larionov
 anlario...@gmail.com
 escreveu:

  No, FactoryBean can create new instance on every call of getObject.

 Then you can create a new Tapestry-IoC scope (ServiceLifecycle
 implementation) that creates a new object everytime an injection is
 made.

 Do  you mean you want a service that acts like a prototype bean in
 Spring? You could create a new scope as Thiago suggests but you are likely
 to end up with a service that creates a new underlying object for every
 method call - and that probably isn't what you want.

 I suggest simply creating a service that is a Factory; maybe something
 like this:

 public final class AppModule {
    public static void bind(ServiceBinder binder) {
        binder.bind(ConnectionFactory.class, ConnectionFactoryWithPool.
 class);
    }
 }


 public interface ConnectionFactory {
    Connection createConnection();
 }


 public class ConnectionFactoryWithPool implements ConnectionFactory {

    

    public Conection createConnection() {
        return pool.getConnection();
    }
 }


 public class MyPage {
   �...@inject
    private ConnectionFactory connectionFactory;

    public void myAction() {
        Connection connection = connectionFactory.createConnection();
        try {
            ...
        } finally {
            connection.close();
        }
    }
 }


 - Paul


 ---

 This e-mail may contain confidential and/or privileged information. If you 
 are not the intended recipient (or have received this e-mail in error) 
 please notify the sender immediately and delete this e-mail. Any 
 unauthorized copying, disclosure or distribution of the material in this 
 e-mail is strictly forbidden.

 Please refer to http://www.db.com/en/content/eu_disclosures.htm for 
 additional EU corporate and regulatory disclosures.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread Sebastian Hennebrueder
Spanish and Portuguese are both important languages. This would be 
great. In my opinion, we would have to find at least two people to 
allows reviews and as backup.


snippet from Thiagos Mail:
 I think that this would be a very nice addition to the documentation. It
 could replace the current one or, more probably, to be added 
alongside the


My impression is that it is mostly a question of reorganizing and 
structuring the content. Most questions, I run into are already answered 
somewhere. More choice especially for new users doesn't improve things 
but makes it harder. As a consequence, I would prefer to drop the 
existing tutorial.


Alfonso Quiroga schrieb:

I can help translating to spanish.

On Tue, Sep 8, 2009 at 9:14 PM, Thiago H. de Paula
Figueiredothiag...@gmail.com wrote:

Em Tue, 08 Sep 2009 19:31:45 -0300, Sebastian Hennebrueder
use...@laliluna.de escreveu:


Hello,

Hi!


I would like to update the quick start documentation and defined the
following goals:

[snip]

Very good points.


Are you interested in this effort and is this likely to be accepted? (A
question to be answered by commiters.)

I think that this would be a very nice addition to the documentation. It
could replace the current one or, more probably, to be added alongside the
current one. The more good documentation, the better. :)


I started to write the tutorial and prepared some chapters. You can find
the current state at the end of this mail. I would appreciate your comments.

I'll take a lookt at it later.


What do you think about taking the effort to translate this tutorial?

It would be very good to promote Tapestry and raise its adoption in
non-English-speaking places. I could help the (Brazilian) Portuguese
translation in my free time (unfortunately, very little lately).

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org






--
Best Regards / Viele Grüße

Sebastian Hennebrueder
-
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread akira

On Sep 9, 2009, at 2:06 PM, users-digest-h...@tapestry.apache.org wrote:

I can help translating it to japanese, just one problem? The whole  
Tapestry site apparently is encoded in ISO-8859-1, thus no support for  
2 byte character sets (japanese, chinese, korean) or hebrew, greek,  
russian...Anyway, i would like to help.



From: Sebastian Hennebrueder use...@laliluna.de
Date: September 9, 2009 7:31:45 AM GMT+09:00
To: Tapestry users users@tapestry.apache.org
Subject: New Tapestry tutorial to replace the quickstart tutorial


Hello,

before continuing to evaluate JSF 2, I would like to help out to  
improve the Tapestry documentation. This is something, I have quite  
some experience with.


I would like to update the quick start documentation and defined the  
following goals:

- setup with and without Maven
- stable Maven setup (possibly fall back to old archetype  
configuration)

- the sample application should look smart
- Expect a minimum of Java and IDE knowhow but take care that  
everything is explained in details
- Always explain first, what we are going to do, show diagrams or  
screen shots and then go forward step by step
- Provide enough 'power functionality' like mixins or self made  
components and explain the usefulness

- Provide a helpful outlook, where to go next after the tutorial.

I would like to publish the tutorial on my website and in addition  
give it under Apache licence to the Tapestry project. In my opinion  
this should live either on the normal Tapestry website or in the  
Tapestry Wiki area.


Are you interested in this effort and is this likely to be accepted?  
(A question to be answered by commiters.)


I started to write the tutorial and prepared some chapters. You can  
find the current state at the end of this mail. I would appreciate  
your comments.

Which functionality should be included in addition?
What do you think about taking the effort to translate this  
tutorial? Keep in mind that this comes with a lot of effort as we  
have continuously translate all changes into all support languages.  
We would probably need to have 2-3 people per language, to have  
enough fall backs to keep this in sync.


--
Best Regards / Viele Grüße

Sebastian Hennebrueder
-
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de




RE: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread Komiwes Robin
I can help to translate it in French!

-Message d'origine-
De : akira [mailto:wilsonaik...@gmail.com]
Envoyé : mercredi 9 septembre 2009 11:18
À : Tapestry users
Objet : Re: New Tapestry tutorial to replace the quickstart tutorial

On Sep 9, 2009, at 2:06 PM, users-digest-h...@tapestry.apache.org wrote:

I can help translating it to japanese, just one problem? The whole
Tapestry site apparently is encoded in ISO-8859-1, thus no support for
2 byte character sets (japanese, chinese, korean) or hebrew, greek,
russian...Anyway, i would like to help.

 From: Sebastian Hennebrueder use...@laliluna.de
 Date: September 9, 2009 7:31:45 AM GMT+09:00
 To: Tapestry users users@tapestry.apache.org
 Subject: New Tapestry tutorial to replace the quickstart tutorial


 Hello,

 before continuing to evaluate JSF 2, I would like to help out to
 improve the Tapestry documentation. This is something, I have quite
 some experience with.

 I would like to update the quick start documentation and defined the
 following goals:
 - setup with and without Maven
 - stable Maven setup (possibly fall back to old archetype
 configuration)
 - the sample application should look smart
 - Expect a minimum of Java and IDE knowhow but take care that
 everything is explained in details
 - Always explain first, what we are going to do, show diagrams or
 screen shots and then go forward step by step
 - Provide enough 'power functionality' like mixins or self made
 components and explain the usefulness
 - Provide a helpful outlook, where to go next after the tutorial.

 I would like to publish the tutorial on my website and in addition
 give it under Apache licence to the Tapestry project. In my opinion
 this should live either on the normal Tapestry website or in the
 Tapestry Wiki area.

 Are you interested in this effort and is this likely to be accepted?
 (A question to be answered by commiters.)

 I started to write the tutorial and prepared some chapters. You can
 find the current state at the end of this mail. I would appreciate
 your comments.
 Which functionality should be included in addition?
 What do you think about taking the effort to translate this
 tutorial? Keep in mind that this comes with a lot of effort as we
 have continuously translate all changes into all support languages.
 We would probably need to have 2-3 people per language, to have
 enough fall backs to keep this in sync.

 --
 Best Regards / Viele Grüße

 Sebastian Hennebrueder
 -
 Software Developer and Trainer for Hibernate / Java Persistence
 http://www.laliluna.de



Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra 
être recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos Origin group liability cannot be triggered 
for the message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread DH
I can help on Chinese.

DH
http://www.gaonline.com.cn

- Original Message - 
From: Komiwes Robin robin.komi...@atosorigin.com
To: Tapestry users users@tapestry.apache.org
Sent: Wednesday, September 09, 2009 5:28 PM
Subject: RE: New Tapestry tutorial to replace the quickstart tutorial


I can help to translate it in French!

-Message d'origine-
De : akira [mailto:wilsonaik...@gmail.com]
Envoyé : mercredi 9 septembre 2009 11:18
À : Tapestry users
Objet : Re: New Tapestry tutorial to replace the quickstart tutorial

On Sep 9, 2009, at 2:06 PM, users-digest-h...@tapestry.apache.org wrote:

I can help translating it to japanese, just one problem? The whole
Tapestry site apparently is encoded in ISO-8859-1, thus no support for
2 byte character sets (japanese, chinese, korean) or hebrew, greek,
russian...Anyway, i would like to help.

 From: Sebastian Hennebrueder use...@laliluna.de
 Date: September 9, 2009 7:31:45 AM GMT+09:00
 To: Tapestry users users@tapestry.apache.org
 Subject: New Tapestry tutorial to replace the quickstart tutorial


 Hello,

 before continuing to evaluate JSF 2, I would like to help out to
 improve the Tapestry documentation. This is something, I have quite
 some experience with.

 I would like to update the quick start documentation and defined the
 following goals:
 - setup with and without Maven
 - stable Maven setup (possibly fall back to old archetype
 configuration)
 - the sample application should look smart
 - Expect a minimum of Java and IDE knowhow but take care that
 everything is explained in details
 - Always explain first, what we are going to do, show diagrams or
 screen shots and then go forward step by step
 - Provide enough 'power functionality' like mixins or self made
 components and explain the usefulness
 - Provide a helpful outlook, where to go next after the tutorial.

 I would like to publish the tutorial on my website and in addition
 give it under Apache licence to the Tapestry project. In my opinion
 this should live either on the normal Tapestry website or in the
 Tapestry Wiki area.

 Are you interested in this effort and is this likely to be accepted?
 (A question to be answered by commiters.)

 I started to write the tutorial and prepared some chapters. You can
 find the current state at the end of this mail. I would appreciate
 your comments.
 Which functionality should be included in addition?
 What do you think about taking the effort to translate this
 tutorial? Keep in mind that this comes with a lot of effort as we
 have continuously translate all changes into all support languages.
 We would probably need to have 2-3 people per language, to have
 enough fall backs to keep this in sync.

 --
 Best Regards / Viele Grüße

 Sebastian Hennebrueder
 -
 Software Developer and Trainer for Hibernate / Java Persistence
 http://www.laliluna.de



Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra 
être recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos Origin group liability cannot be triggered 
for the message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Comment in .tml file

2009-09-09 Thread Xuan Tran Le
Thanks for Inge Solvoll.
Is there any better way to do this?
By the way, I found that in tapestry4 the !-- and -- syns apply good for
this situation. I wonder why they can't apply for tapestry5.

On Wed, Sep 9, 2009 at 1:07 PM, Inge Solvoll inge.tapes...@gmail.comwrote:

 You could use t:remove, but it's not too pretty either...

 On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le lexuanttk...@gmail.com
 wrote:

  I want to comment in .tml file and all the comments will not be displayed
  when we view page source (on browser). Anybody help me...
 



RE: Comment in .tml file

2009-09-09 Thread Komiwes Robin
Because if you do so, you use the XML comment notation and Tapestry will be 
unable to fully parse your template file.
Then, errors can occurs if your java classes reffer to elements in the template 
(which are commented).

-Message d'origine-
De : Xuan Tran Le [mailto:lexuanttk...@gmail.com]
Envoyé : mercredi 9 septembre 2009 11:34
À : Tapestry users
Objet : Re: Comment in .tml file

Thanks for Inge Solvoll.
Is there any better way to do this?
By the way, I found that in tapestry4 the !-- and -- syns apply good for
this situation. I wonder why they can't apply for tapestry5.

On Wed, Sep 9, 2009 at 1:07 PM, Inge Solvoll inge.tapes...@gmail.comwrote:

 You could use t:remove, but it's not too pretty either...

 On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le lexuanttk...@gmail.com
 wrote:

  I want to comment in .tml file and all the comments will not be displayed
  when we view page source (on browser). Anybody help me...
 



Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra 
être recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos Origin group liability cannot be triggered 
for the message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.


Re: Comment in .tml file

2009-09-09 Thread Xuan Tran Le
I think that the Tapestry should not take care of the comments, it should
ignore what reside in the comment notation. Because in the comment there is
just the comment for the code of developer or the copyright in the header.
There is nothing to be parsed here.

On Wed, Sep 9, 2009 at 4:51 PM, Komiwes Robin
robin.komi...@atosorigin.comwrote:

 Because if you do so, you use the XML comment notation and Tapestry will be
 unable to fully parse your template file.
 Then, errors can occurs if your java classes reffer to elements in the
 template (which are commented).

 -Message d'origine-
 De : Xuan Tran Le [mailto:lexuanttk...@gmail.com]
 Envoyé : mercredi 9 septembre 2009 11:34
 À : Tapestry users
 Objet : Re: Comment in .tml file

 Thanks for Inge Solvoll.
 Is there any better way to do this?
 By the way, I found that in tapestry4 the !-- and -- syns apply good for
 this situation. I wonder why they can't apply for tapestry5.

 On Wed, Sep 9, 2009 at 1:07 PM, Inge Solvoll inge.tapes...@gmail.com
 wrote:

  You could use t:remove, but it's not too pretty either...
 
  On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le lexuanttk...@gmail.com
  wrote:
 
   I want to comment in .tml file and all the comments will not be
 displayed
   when we view page source (on browser). Anybody help me...
  
 


 Ce message et les pièces jointes sont confidentiels et réservés à l'usage
 exclusif de ses destinataires. Il peut également être protégé par le secret
 professionnel. Si vous recevez ce message par erreur, merci d'en avertir
 immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
 pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin
 ne pourra être recherchée quant au contenu de ce message. Bien que les
 meilleurs efforts soient faits pour maintenir cette transmission exempte de
 tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa
 responsabilité ne saurait être recherchée pour tout dommage résultant d'un
 virus transmis.

 This e-mail and the documents attached are confidential and intended solely
 for the addressee; it may also be privileged. If you receive this e-mail in
 error, please notify the sender immediately and destroy it. As its integrity
 cannot be secured on the Internet, the Atos Origin group liability cannot be
 triggered for the message content. Although the sender endeavours to
 maintain a computer virus-free network, the sender does not warrant that
 this transmission is virus-free and will not be liable for any damages
 resulting from any virus transmitted.



Re: Comment in .tml file

2009-09-09 Thread Carl Crowder

Without dealing with comments you can't use conditional stylesheets.

Xuan Tran Le wrote:

I think that the Tapestry should not take care of the comments, it should
ignore what reside in the comment notation. Because in the comment there is
just the comment for the code of developer or the copyright in the header.
There is nothing to be parsed here.

On Wed, Sep 9, 2009 at 4:51 PM, Komiwes Robin
robin.komi...@atosorigin.comwrote:


Because if you do so, you use the XML comment notation and Tapestry will be
unable to fully parse your template file.
Then, errors can occurs if your java classes reffer to elements in the
template (which are commented).

-Message d'origine-
De : Xuan Tran Le [mailto:lexuanttk...@gmail.com]
Envoyé : mercredi 9 septembre 2009 11:34
À : Tapestry users
Objet : Re: Comment in .tml file

Thanks for Inge Solvoll.
Is there any better way to do this?
By the way, I found that in tapestry4 the !-- and -- syns apply good for
this situation. I wonder why they can't apply for tapestry5.

On Wed, Sep 9, 2009 at 1:07 PM, Inge Solvoll inge.tapes...@gmail.com

wrote:
You could use t:remove, but it's not too pretty either...

On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le lexuanttk...@gmail.com
wrote:


I want to comment in .tml file and all the comments will not be

displayed

when we view page source (on browser). Anybody help me...



Ce message et les pièces jointes sont confidentiels et réservés à l'usage
exclusif de ses destinataires. Il peut également être protégé par le secret
professionnel. Si vous recevez ce message par erreur, merci d'en avertir
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin
ne pourra être recherchée quant au contenu de ce message. Bien que les
meilleurs efforts soient faits pour maintenir cette transmission exempte de
tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa
responsabilité ne saurait être recherchée pour tout dommage résultant d'un
virus transmis.

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to
maintain a computer virus-free network, the sender does not warrant that
this transmission is virus-free and will not be liable for any damages
resulting from any virus transmitted.





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



[T5.1.0.5] Problem with report-plugin on windows

2009-09-09 Thread raucha

The maven site generation on my CI machine (which is running Linux) works
well while using the tapestry-component-report plugin. If I try to stage the
site on my windows development machine I encounter the following error
during 

mvn site:stage -DstagingDirectory=C:\fullsite

..
[INFO] Cobertura Report generation was successful.
[INFO] Generating Component Reference report.
[INFO] Running JavaDoc to collect component parameter data ...
1 error
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error during page generation

Embedded error: Error rendering Maven report: Javadoc exit code: 1 -
javadoc: error - Cannot find doclet class
org.apache.tapestry.mojo.ParametersDocl
et

Command line was: cmd.exe /X /C
c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe
@target/component-report-javadoc-arguments.txt
[INFO]

[INFO] For more information, run Maven with the -e switch

After some research on the web I have tried to change all path entrys in the
generated file component-report-javadoc-arguments.txt from '\' to '/' and
executed the command line manually. 

After that javadoc.exe worked fine so my question is how can I configure the
way the report plugin generates the component-report-javadoc-arguments file
to still use the Linux path delimiter even on a windows machine?
-- 
View this message in context: 
http://www.nabble.com/-T5.1.0.5--Problem-with-report-plugin-on-windows-tp25362108p25362108.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Comment in .tml file

2009-09-09 Thread Xuan Tran Le
Thanks for your helping

On Wed, Sep 9, 2009 at 5:10 PM, Carl Crowder carl.crow...@taptu.com wrote:

 Without dealing with comments you can't use conditional stylesheets.


 Xuan Tran Le wrote:

 I think that the Tapestry should not take care of the comments, it should
 ignore what reside in the comment notation. Because in the comment there
 is
 just the comment for the code of developer or the copyright in the header.
 There is nothing to be parsed here.

 On Wed, Sep 9, 2009 at 4:51 PM, Komiwes Robin
 robin.komi...@atosorigin.comwrote:

  Because if you do so, you use the XML comment notation and Tapestry will
 be
 unable to fully parse your template file.
 Then, errors can occurs if your java classes reffer to elements in the
 template (which are commented).

 -Message d'origine-
 De : Xuan Tran Le [mailto:lexuanttk...@gmail.com]
 Envoyé : mercredi 9 septembre 2009 11:34
 À : Tapestry users
 Objet : Re: Comment in .tml file

 Thanks for Inge Solvoll.
 Is there any better way to do this?
 By the way, I found that in tapestry4 the !-- and -- syns apply good
 for
 this situation. I wonder why they can't apply for tapestry5.

 On Wed, Sep 9, 2009 at 1:07 PM, Inge Solvoll inge.tapes...@gmail.com

 wrote:
 You could use t:remove, but it's not too pretty either...

 On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le lexuanttk...@gmail.com
 wrote:

  I want to comment in .tml file and all the comments will not be

 displayed

 when we view page source (on browser). Anybody help me...


 Ce message et les pièces jointes sont confidentiels et réservés à l'usage
 exclusif de ses destinataires. Il peut également être protégé par le
 secret
 professionnel. Si vous recevez ce message par erreur, merci d'en avertir
 immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
 pouvant être assurée sur Internet, la responsabilité du groupe Atos
 Origin
 ne pourra être recherchée quant au contenu de ce message. Bien que les
 meilleurs efforts soient faits pour maintenir cette transmission exempte
 de
 tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa
 responsabilité ne saurait être recherchée pour tout dommage résultant
 d'un
 virus transmis.

 This e-mail and the documents attached are confidential and intended
 solely
 for the addressee; it may also be privileged. If you receive this e-mail
 in
 error, please notify the sender immediately and destroy it. As its
 integrity
 cannot be secured on the Internet, the Atos Origin group liability cannot
 be
 triggered for the message content. Although the sender endeavours to
 maintain a computer virus-free network, the sender does not warrant that
 this transmission is virus-free and will not be liable for any damages
 resulting from any virus transmitted.



 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread Massimo Lusetti
On Wed, Sep 9, 2009 at 12:31 AM, Sebastian
Hennebruederuse...@laliluna.de wrote:

 translate all changes into all support languages. We would probably need to
 have 2-3 people per language, to have enough fall backs to keep this in
 sync.

Great effort, i definitely would like to translate to Italian.

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

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Problem overriding service ValidationMessagesSource

2009-09-09 Thread Inge Solvoll
Hi!

I want to use my DB-based Messages implementation instead of the T5 property
file based one. My problem is that the getValidationMessages method of my
source is only called once, and probably cached until next server restart.
This doesn't work very good for me, as every request potentially is a new
user with a new Locale/language that should be looked up from DB. Any ideas
on how I could configure the system to do a fresh read from Messages service
every time a validation message is computed?



  public static void contributeServiceOverride(MappedConfigurationClass,
Object configuration, @Local final org.apache.tapestry5.ioc.Messages
messages, @Local final ValidationMessagesSource validationMessagesSource) {
configuration.add(org.apache.tapestry5.ioc.Messages.class, messages);
configuration.add(ValidationMessagesSource.class,
validationMessagesSource);
  }

The implementation of my ValidationMessagesSource:

public class CustomValidationMessagesSource implements
ValidationMessagesSource, UpdateListener {

  private final Messages messages;

  public CustomValidationMessagesSource(Messages messages) {
this.messages = messages;

  }

  public Messages getValidationMessages(Locale locale) {
return messages;
  }

  public void checkForUpdates() {
// Included to find out what this does
  }
}


Re: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread Ivano Luberti
I also can help on Italian, but I'm not a T5 user, only T4: maybe this
could get me started learning it !

Massimo Lusetti ha scritto:
 On Wed, Sep 9, 2009 at 12:31 AM, Sebastian
 Hennebruederuse...@laliluna.de wrote:

   
 translate all changes into all support languages. We would probably need to
 have 2-3 people per language, to have enough fall backs to keep this in
 sync.
 

 Great effort, i definitely would like to translate to Italian.

 Cheers
   

-- 
==
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Projects and sites powered by Tapestry

2009-09-09 Thread Sergey Didenko
BTW, it's worth to remind again everyone who is going to publish their
site urls, to close the access to .class and .tml files .

On Tue, Sep 8, 2009 at 6:46 PM, Massimo Lusetti mluse...@gmail.com wrote:
 On Tue, Sep 8, 2009 at 5:27 PM, Thiago H. de Paula
 Figueiredothiag...@gmail.com wrote:

 Hi!

 I guess this was already discussed some time ago, but I couldn't find it. :(
 Anyway, it's been a long time, so let's get it started again. ;)

 Tapestry is a wonderful framework, but it isn't the best known one around.
 Sometimes, managers ask us to provide some projects/sites/success
 stories/etc using it so they can be more confident about Tapestry. There's a
 Success Stories page in the wiki
 (http://wiki.apache.org/tapestry/SuccessStories), but it hasn't had any edit
 since 2007-10-05.

 What about sharing your success stories with us, promoting Tapestry
 (specially T5)? If the project is a public website, please post the URL
 here. I think we should have a list of Tapestry-powered sites.

 Thanks in advance.

 It would be great to have that page more up to date but i remember
 Howard asking for private user stories and more then one have
 replied him even personally so i guess if that would make sense too to
 have that stories online.
 Do i remember correctly Howard?

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

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



[Tapestry Central] Formos in the news

2009-09-09 Thread Howard
I may no longer work at Formos, but I'm still pleased to see a nice
writeup about Formos and StreamBank. StreamBank is an application that
helps land owners and The Freshwater Trust work to improve stream
health and water quality across Oregon. The article doesn't state this,
but StreamBank is written in Tapestry (it started as Tapestry 4 and was
ported to Tapestry 5).

--
Posted By Howard to Tapestry Central at 9/09/2009 10:06:00 AM

Re: [Tapestry Central] Formos in the news

2009-09-09 Thread Kevin Menard
Hi Howard,

Do you have a link to the article?

-- 
Kevin



On Wed, Sep 9, 2009 at 1:09 PM, Howard hls...@gmail.com wrote:
 I may no longer work at Formos, but I'm still pleased to see a nice
 writeup about Formos and StreamBank. StreamBank is an application that
 helps land owners and The Freshwater Trust work to improve stream
 health and water quality across Oregon. The article doesn't state this,
 but StreamBank is written in Tapestry (it started as Tapestry 4 and was
 ported to Tapestry 5).

 --
 Posted By Howard to Tapestry Central at 9/09/2009 10:06:00 AM

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread Howard Lewis Ship
I'm all in favor of any effort to improve the documentation.  I think it's
really unfortunate that the current tutorial does not even get the Maven
part quite right.
One thought ... the http://tapestry.apache.org/tapestry5/ (or tapestry5.1/,
tapestry5.2/, etc.) part of the site is synced to the release schedule; it
only gets updated when there's a new release (alpha, beta or final).

I think the tutorial, as a living document, should move up a level ... be
part of tapestry-site, not tapestry-project.  tapestry-site (i.e., the
http://tapestry.apache.org/) is still built using Maven and stored in
Subversion, but can be updated at any time.

We could set up a kind of nightly build for this on tapestry.formos.com as
well.

On Tue, Sep 8, 2009 at 3:31 PM, Sebastian Hennebrueder
use...@laliluna.dewrote:

 Hello,

 before continuing to evaluate JSF 2, I would like to help out to improve
 the Tapestry documentation. This is something, I have quite some experience
 with.

 I would like to update the quick start documentation and defined the
 following goals:
 - setup with and without Maven
 - stable Maven setup (possibly fall back to old archetype configuration)
 - the sample application should look smart
 - Expect a minimum of Java and IDE knowhow but take care that everything is
 explained in details
 - Always explain first, what we are going to do, show diagrams or screen
 shots and then go forward step by step
 - Provide enough 'power functionality' like mixins or self made components
 and explain the usefulness
 - Provide a helpful outlook, where to go next after the tutorial.

 I would like to publish the tutorial on my website and in addition give it
 under Apache licence to the Tapestry project. In my opinion this should live
 either on the normal Tapestry website or in the Tapestry Wiki area.

 Are you interested in this effort and is this likely to be accepted? (A
 question to be answered by commiters.)

 I started to write the tutorial and prepared some chapters. You can find
 the current state at the end of this mail. I would appreciate your comments.
 Which functionality should be included in addition?
 What do you think about taking the effort to translate this tutorial? Keep
 in mind that this comes with a lot of effort as we have continuously
 translate all changes into all support languages. We would probably need to
 have 2-3 people per language, to have enough fall backs to keep this in
 sync.

 --
 Best Regards / Viele Grüße

 Sebastian Hennebrueder
 -
 Software Developer and Trainer for Hibernate / Java Persistence
 http://www.laliluna.de




 My sample structure and content

 1Introduction to Tapestry 5
 Tapestry is an innovative Java based web framework. It provides great
 support for modern
 Ajax enabled applications. It is component and object oriented, which
 allows to build a web
 application with a minimum of duplicated code.
 In this tutorial we are going to have a look at important concepts of
 Tapestry, while building a
 nice application.

 2Setting up the application
 There are three setup options:
 • Generating a sample application using Apache Maven
 The generated project can be imported into your preferred development
 environment
 like Eclipse, Netbeans or IntelliJ
 • Using a prepared project for the Eclipse development environment
 • Using a prepared project for the IntelliJ development environment

 2.1 Setup with Apache Maven
 You need to install Apache Maven first. The download and documentation of
 Maven can be
 found on its website http://maven.apache.org/
 If Maven is successfully installed, you should be able to type the
 following command in a shell
 or in a terminal.
 mvn -version
 Outputs something like:
 Maven version: 2.0.10
 Java version: 1.6.0_13
 OS name: mac os x version: 10.5.8 arch: x86_64 Family: mac
 The following command will use a Maven archetype to setup a ready to run
 Tapestry
 application. An archetype is just a kind of prototype or template. In
 addition all required
 libraries will be downloaded.

 2.2 Setup with Eclipse project
 First, we download the prepared Eclipse project and the Tapestry libraries,
 then we are going
 to copy the required libraries to the library folder of the web
 application.
 Download the project at
 http://www.laliluna.de/download/tapestry-5-eclipse.zip
 Unzip the project
 Download a stable Tapestry 5 release at
 http://tapestry.apache.org/download.html
 Unzip the Tapestry download and copy the following libraries to the folder
 Webroot/WEB-INF/
 of the unzipped project.
 • antlr-runtime-3.1.1.jar
 • commons-codec-1.3.jar
 • javassist-3.9.0.GA.jar
 • log4j-1.2.14.jar
 • slf4j-api-1.5.2.jar
 • slf4j-log4j12-1.5.2.jar
 • stax-api-1.0.1.jar
 • stax2-api-3.0.1.jar
 • tapestry-core-5.1.0.5.jar
 • tapestry-ioc-5.1.0.5.jar
 • tapestry5-annotations-5.1.0.5.jar
 • woodstox-core-asl-4.0.3.jar

 2.3 Setup with IntelliJ project
 We are going to use the option to import a standard Eclipse project. Follow
 the steps of the
 Eclipse 

Re: [Tapestry Central] Formos in the news

2009-09-09 Thread Howard Lewis Ship
blogger.com should include a link to the article with the mail it sends.
http://tapestryjava.blogspot.com/2009/09/formos-in-news.html

http://columbian.com/article/20090906/BIZ01/709069998/


On Wed, Sep 9, 2009 at 10:27 AM, Kevin Menard nirvd...@gmail.com wrote:

 Hi Howard,

 Do you have a link to the article?

 --
 Kevin



 On Wed, Sep 9, 2009 at 1:09 PM, Howard hls...@gmail.com wrote:
  I may no longer work at Formos, but I'm still pleased to see a nice
  writeup about Formos and StreamBank. StreamBank is an application that
  helps land owners and The Freshwater Trust work to improve stream
  health and water quality across Oregon. The article doesn't state this,
  but StreamBank is written in Tapestry (it started as Tapestry 4 and was
  ported to Tapestry 5).
 
  --
  Posted By Howard to Tapestry Central at 9/09/2009 10:06:00 AM

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




-- 
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!


Re: New Tapestry tutorial - documentation structure

2009-09-09 Thread Sebastian Hennebrueder

Howard Lewis Ship schrieb:

I'm all in favor of any effort to improve the documentation.  I think it's
really unfortunate that the current tutorial does not even get the Maven
part quite right.


Good to hear

One thought ... the http://tapestry.apache.org/tapestry5/ (or tapestry5.1/,
tapestry5.2/, etc.) part of the site is synced to the release schedule; it
only gets updated when there's a new release (alpha, beta or final).




I think the tutorial, as a living document, should move up a level ... be
part of tapestry-site, not tapestry-project.  tapestry-site (i.e., the
http://tapestry.apache.org/) is still built using Maven and stored in
Subversion, but can be updated at any time.

We might consider to move the documentation out of the way in general. 
At least the tutorial.
I had some ideas already on this topic and will move the discussion on 
this to a new thread.


So, we can do it.

I did not get any feedback on the content ideas so far. I already 
thought of binding expression, which should be included.


We have to keep in mind that the tutorial doesn't have to show all 
features. It should satisfy the user in a way that he has finished a 
common use case (list, create, update, delete), he should learn the 
general concept of Tapestry and he should get a first impression that he 
can write large enterprise application very efficiently with a minimum 
of duplicated. The latter target is why I would like show component writing.


It would be great, if you think about carefully, what we need to show in 
addition to my ideas. I will continue writing next week, so there is 
time to reflect on this


Furthermore, do you agree that we only translate the tutorial into 
languages where at least 2 persons are ready to keep the translation up 
to date. I propose this backup for two reason. Firstly, I experienced 
this for my own tutorial where I had people willing to translate 
tutorials and this stopped after a couple of months. Because, it is 
really work and interests or available time can easily change. The other 
reason is that every translation, my English writing needs reviews to 
iron out the worst mistakes. This is our welcome documentation for the 
first user. It needs to be as smooth as possible. I need proof reading 
for my German texts as well.



--
Best Regards / Viele Grüße

Sebastian Hennebrueder
-
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread akira
On Sep 10, 2009, at 2:29 AM, users-digest-h...@tapestry.apache.org  
wrote:



From: Sebastian Hennebrueder use...@laliluna.de
Date: September 9, 2009 3:48:38 PM GMT+09:00
To: Tapestry users users@tapestry.apache.org
Subject: Re: New Tapestry tutorial to replace the quickstart tutorial

Spanish and Portuguese are both important languages. This would be  
great. In my opinion, we would have to find at least two people to  
allows reviews and as backup.


I can help on the Portuguese (pt-br) translation too.

My impression is that it is mostly a question of reorganizing and  
structuring the content. Most questions, I run into are already  
answered somewhere. More choice especially for new users doesn't  
improve things but makes it harder. As a consequence, I would prefer  
to drop the existing tutorial.


Organizing the content i think will be very helpful - putting links,  
wikis organized by compatibility / version / date of creation? In some  
links and wikis is hard to find the creation date / target version or  
more details like tested platforms, versions used etc.


Akira.

Re: Projects and sites powered by Tapestry

2009-09-09 Thread Angelo Chen

how to close access to .class and .tml?


Sergey Didenko wrote:
 
 BTW, it's worth to remind again everyone who is going to publish their
 site urls, to close the access to .class and .tml files .
 
 On Tue, Sep 8, 2009 at 6:46 PM, Massimo Lusetti mluse...@gmail.com
 wrote:
 On Tue, Sep 8, 2009 at 5:27 PM, Thiago H. de Paula
 Figueiredothiag...@gmail.com wrote:

 Hi!

 I guess this was already discussed some time ago, but I couldn't find
 it. :(
 Anyway, it's been a long time, so let's get it started again. ;)

 Tapestry is a wonderful framework, but it isn't the best known one
 around.
 Sometimes, managers ask us to provide some projects/sites/success
 stories/etc using it so they can be more confident about Tapestry.
 There's a
 Success Stories page in the wiki
 (http://wiki.apache.org/tapestry/SuccessStories), but it hasn't had any
 edit
 since 2007-10-05.

 What about sharing your success stories with us, promoting Tapestry
 (specially T5)? If the project is a public website, please post the URL
 here. I think we should have a list of Tapestry-powered sites.

 Thanks in advance.

 It would be great to have that page more up to date but i remember
 Howard asking for private user stories and more then one have
 replied him even personally so i guess if that would make sense too to
 have that stories online.
 Do i remember correctly Howard?

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

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Projects-and-sites-powered-by-Tapestry-tp25348447p25375291.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Redirect page

2009-09-09 Thread Xuan Tran Le
I'm developing a project in portlet mode and I have a problem with page
redirect:
- I have 3 pages named A, B, C.
- In page named A, I have a page link to page B, then I want B auto redirect
to page C

The problem is that in B class I don't know how to redirect to C. I try to
call

-- B class -
@InjectPage
private C c;//page C

Object onActivate() {
   return c;
}



i don't know in B class which phase (which method) can redirect to other
page.

I did try add a action link to B, then when A call B, in B I click to the
action link, then I have C. But I don't want to click page B again. I want
to click page A then it call to B and in B it auto redirect to C.


Re: Redirect page

2009-09-09 Thread Benny Law
I would try something like this:
in B class...

@PageAttached
private void redirectToC() {
 // ...
 throw new RedirectException(...); // URL for C
}

You will need to create RedirectException. I believe there is something in
the wiki on how to handle this exception in AppModule.

Hope this helps.

Benny

On Thu, Sep 10, 2009 at 12:18 AM, Xuan Tran Le lexuanttk...@gmail.comwrote:

 I'm developing a project in portlet mode and I have a problem with page
 redirect:
 - I have 3 pages named A, B, C.
 - In page named A, I have a page link to page B, then I want B auto
 redirect
 to page C

 The problem is that in B class I don't know how to redirect to C. I try to
 call

 -- B class -
 @InjectPage
 private C c;//page C

 Object onActivate() {
   return c;
 }

 

 i don't know in B class which phase (which method) can redirect to other
 page.

 I did try add a action link to B, then when A call B, in B I click to the
 action link, then I have C. But I don't want to click page B again. I want
 to click page A then it call to B and in B it auto redirect to C.



Re: Redirect page

2009-09-09 Thread Xuan Tran Le
Thanks you so much. Maybe I have to follow this link:
http://wiki.apache.org/tapestry/Tapestry5RedirectException

Is there any built-in for this? I think that my problem is rather common.
Why don't you make it be a tapestry built-in?

On Thu, Sep 10, 2009 at 11:30 AM, Benny Law benny.mk@gmail.com wrote:

 I would try something like this:
 in B class...

 @PageAttached
 private void redirectToC() {
 // ...
 throw new RedirectException(...); // URL for C
 }

 You will need to create RedirectException. I believe there is something in
 the wiki on how to handle this exception in AppModule.

 Hope this helps.

 Benny

 On Thu, Sep 10, 2009 at 12:18 AM, Xuan Tran Le lexuanttk...@gmail.com
 wrote:

  I'm developing a project in portlet mode and I have a problem with page
  redirect:
  - I have 3 pages named A, B, C.
  - In page named A, I have a page link to page B, then I want B auto
  redirect
  to page C
 
  The problem is that in B class I don't know how to redirect to C. I try
 to
  call
 
  -- B class -
  @InjectPage
  private C c;//page C
 
  Object onActivate() {
return c;
  }
 
  
 
  i don't know in B class which phase (which method) can redirect to other
  page.
 
  I did try add a action link to B, then when A call B, in B I click to the
  action link, then I have C. But I don't want to click page B again. I
 want
  to click page A then it call to B and in B it auto redirect to C.
 



Re: Redirect page

2009-09-09 Thread Benny Law
I wish it were built into Tapestry 5 too. It was in previous versions. I
don't fully understand why Howard took it out, and I don't know of any
built-in mechanism to abort the current page and redirect to another. I
guess this is why somebody created the wiki entry. I followed it (with some
modifications) and it works for me.

Benny

On Thu, Sep 10, 2009 at 12:54 AM, Xuan Tran Le lexuanttk...@gmail.comwrote:

 Thanks you so much. Maybe I have to follow this link:
 http://wiki.apache.org/tapestry/Tapestry5RedirectException

 Is there any built-in for this? I think that my problem is rather common.
 Why don't you make it be a tapestry built-in?

 On Thu, Sep 10, 2009 at 11:30 AM, Benny Law benny.mk@gmail.com
 wrote:

  I would try something like this:
  in B class...
 
  @PageAttached
  private void redirectToC() {
  // ...
  throw new RedirectException(...); // URL for C
  }
 
  You will need to create RedirectException. I believe there is something
 in
  the wiki on how to handle this exception in AppModule.
 
  Hope this helps.
 
  Benny
 
  On Thu, Sep 10, 2009 at 12:18 AM, Xuan Tran Le lexuanttk...@gmail.com
  wrote:
 
   I'm developing a project in portlet mode and I have a problem with page
   redirect:
   - I have 3 pages named A, B, C.
   - In page named A, I have a page link to page B, then I want B auto
   redirect
   to page C
  
   The problem is that in B class I don't know how to redirect to C. I try
  to
   call
  
   -- B class -
   @InjectPage
   private C c;//page C
  
   Object onActivate() {
 return c;
   }
  
   
  
   i don't know in B class which phase (which method) can redirect to
 other
   page.
  
   I did try add a action link to B, then when A call B, in B I click to
 the
   action link, then I have C. But I don't want to click page B again. I
  want
   to click page A then it call to B and in B it auto redirect to C.
  
 



t5: templates used for component

2009-09-09 Thread Angelo Chen

Hi,
I'd like to update the templates for component in the live server, but it is
always stored in:

myapp/ROOT/WEB-INF/lib/myapp.jar

is there a way not to include those tml in the jar file? Thanks,

Angelo

-- 
View this message in context: 
http://www.nabble.com/t5%3A-templates-used-for-component-tp25377468p25377468.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: t5: templates used for component

2009-09-09 Thread Kalle Korhonen
The templates need to be on the classpath. It's completely up to you
whether you want to keep them in a jar, war, ear or as plain files in
the file system. However, I don't think changes in the templates would
be picked up unless you run in non-production mode.

Kalle


On Wed, Sep 9, 2009 at 10:20 PM, Angelo Chenangelochen...@yahoo.com.hk wrote:

 Hi,
 I'd like to update the templates for component in the live server, but it is
 always stored in:

 myapp/ROOT/WEB-INF/lib/myapp.jar

 is there a way not to include those tml in the jar file? Thanks,

 Angelo

 --
 View this message in context: 
 http://www.nabble.com/t5%3A-templates-used-for-component-tp25377468p25377468.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org