Re: Projects and sites powered by Tapestry

2009-09-09 Thread martijn.list

Angelo Chen wrote:

how to close access to ".class" and ".tml"?




This has been posted to the list multiple times so I another time 
wouldn't hurt ;)



I use the following code to whitelist some assets. Access to non white 
listed assets is denied.


Add to your application module:


private static final String[] ASSET_WHITE_LIST = {"jpg", "jpeg", "png", 
"gif", "js", "css", "ico"};


/*
 * All the assets that are allowed to be downloaded using the assets 
service (including files without extension and dirs)

 */
private static final Set assetsWhitelist = 
Collections.synchronizedSet(

new HashSet(Arrays.asList(ASSET_WHITE_LIST)));

public void 
contributeHttpServletRequestHandler(OrderedConfiguration 
configuration,
@Inject @Value("${access-denied-page}") final String 
accessDeniedPage)

{
/*
 * Create a filter that will block access to some assets. The asset 
service allows access to some assets we do
 * not want to expose. The asset service will show all files in 
/assets/ directory and allows you (by default)

 * to download some files which you do not want to expose.
 */
HttpServletRequestFilter filter = new HttpServletRequestFilter()
{
public boolean service(HttpServletRequest request, 
HttpServletResponse response, HttpServletRequestHandler handler)

throws IOException
{
String path = request.getServletPath();

if (path.startsWith("/assets") && (!assetsWhitelist.contains(

StringUtils.lowerCase(FilenameUtils.getExtension(path)
{
logger.warn("access to asset " + path + " denied");

response.sendRedirect(request.getContextPath() + "/" + 
accessDeniedPage);


return true;
}

return handler.service(request, response);
}
};

configuration.add("AssetProtectionFilter", filter , "before:*");
}




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 
wrote:

On Tue, Sep 8, 2009 at 5:27 PM, Thiago H. de Paula
Figueiredo 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








--
Djigzo open source email encryption

-
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 Angelo Chen

Hi,
my tomcat now explodes the war file into ROOT directory, however, the
component templates are still inside a jar file: ROOT/WEB-INF/lib/myapp.jar
the other tml files are under ROOT, so my question is, how to avoid
templates go into the jar? following T5's default layout, component
templates will always end up in the jar.

Thanks,

Angelo


Howard Lewis Ship wrote:
> 
> Template files that change will be picked up, as long as they are on the
> file system, not packaged in a JAR. This may happen when the servlet
> container "explodes" the WAR file as part of deployment.  It is not
> dependent on production mode.
> 
> On Wed, Sep 9, 2009 at 10:40 PM, Kalle Korhonen
> wrote:
> 
>> 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 Chen
>> 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
>>
>>
> 
> 
> -- 
> 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!
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5%3A-templates-used-for-component-tp25377468p25378223.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 Howard Lewis Ship
Template files that change will be picked up, as long as they are on the
file system, not packaged in a JAR. This may happen when the servlet
container "explodes" the WAR file as part of deployment.  It is not
dependent on production mode.

On Wed, Sep 9, 2009 at 10:40 PM, Kalle Korhonen
wrote:

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


-- 
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 Michael Gerzabek

Sebastian Hennebrueder schrieb:


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.



I think this 2 person thing is most desireably. Maybe what's needed is 
some code of ethics that says "when you leave for whatever reason you 
will bring a backup for yourself". It seems to me that in these days 
things are changing a lot and it's quite possible that people have time 
now, say for 3 to 4 months, but won't have time in 4 months through new 
engagements or whatever.


I would volunteer for the proof reading of your German texts.

Michael


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



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: 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 wrote:

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


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: 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 
> wrote:
>> On Tue, Sep 8, 2009 at 5:27 PM, Thiago H. de Paula
>> Figueiredo 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



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 
Date: September 9, 2009 3:48:38 PM GMT+09:00
To: Tapestry users 
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: 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: [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  wrote:

> Hi Howard,
>
> Do you have a link to the article?
>
> --
> Kevin
>
>
>
> On Wed, Sep 9, 2009 at 1:09 PM, Howard  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 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
wrote:

> 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

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



[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: 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  wrote:
> On Tue, Sep 8, 2009 at 5:27 PM, Thiago H. de Paula
> Figueiredo 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



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



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(MappedConfiguration 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 Massimo Lusetti
On Wed, Sep 9, 2009 at 12:31 AM, Sebastian
Hennebrueder 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



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  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
>> wrote:
>>
>>  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  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 >>
 wrote:
 You could use , but it's not too pretty either...

 On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le 
 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 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
wrote:


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  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 
wrote:
You could use , but it's not too pretty either...

On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le 
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: 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
wrote:

> 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  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  >wrote:
>
> > You could use , but it's not too pretty either...
> >
> > On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le 
> > 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 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  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 wrote:

> You could use , but it's not too pretty either...
>
> On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le 
> 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
Thanks for Inge Solvoll.
Is there any better way to do this?
By the way, I found that in tapestry4 the  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 wrote:

> You could use , but it's not too pretty either...
>
> On Wed, Sep 9, 2009 at 7:35 AM, Xuan Tran Le 
> 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: 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" 
To: "Tapestry users" 
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 
> Date: September 9, 2009 7:31:45 AM GMT+09:00
> To: Tapestry users 
> 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 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 
> Date: September 9, 2009 7:31:45 AM GMT+09:00
> To: Tapestry users 
> 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 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 
Date: September 9, 2009 7:31:45 AM GMT+09:00
To: Tapestry users 
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