Re: Tapestry Web Site Updated

2010-11-25 Thread Ulrich Stärk

I don't see why those questions can't be asked and answered on the mailing 
lists.

If you want to ask or answer questions on stackoverflow, do it. If you want to create a forum that's 
fine too. But the only *official* help source will be the mailing lists. Everything else will just 
partition the community.


Uli

On 25.11.2010 02:12, Paul Stanton wrote:

Andreas,

Agreed 100%.

http://stackoverflow.com/questions/tagged/tapestry
or as a feed:
http://stackoverflow.com/feeds/tag/tapestry

Maybe the tapestry site can leverage stackoverflow as it's recommended 
question/answer forum?

To work however, this would require some of the people here to take 
interest.

p.

On 25/11/2010 11:41 AM, Andreas Andreou wrote:

You're probably right on the reasons, but the thing is that it's a pain having
to monitor multiple sources of user feedback - there's just never enought free
time to do so.

And there's also a few big risks:
1) Making the community appear to be unresponsive
2) Frustrating users who never get their questions answered
3) Spreading the info to multiple places is hard to update
and easy to get obsolete

So, anyway, Tapestry has the mailing list, its website/documentation and there's
always StackOverflow. Perhaps it makes sense to define a strategy on how to take
advantage of that last one though

On Thu, Nov 25, 2010 at 01:36, Paul Stantonp...@mapshed.com.au wrote:

it did. it's still there but doesn't have the community.

the reason it dies was twofold:

1. it was very spam prone: the way it was set up did not do enough to
limit/kill spammers
2. it did not get the tapestry community support - it was not even
acknowledged by the tapestry site

that's not to say a forum wouldn't work if setup and supported by the core
tapestry community.

p.

On 25/11/2010 8:18 AM, Robert Zeigler wrote:

Tapestry had a forum for awhile. I think it died.

Robert

On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote:


i know most of you guys, who have been using ml for so long probably
prefer ml, that's not the point!

i guarantee there's a number of users who don't want to configure their
inbox for ml and give up.

just a thought, if no one can see the benefit i guess it isn't going to
happen!

i use stackoverflow a lot and attempt to answer or contribute to most
tapestry questions.

p.

On 24/11/2010 8:35 PM, Ivano Luberti wrote:

I prefer ml to forums and in nay case ML web archives allow to search
them.
I cannot see any other advantage of a forum over a ml.

Il 24/11/2010 4.56, Paul Stanton ha scritto:

how about adding a forum?

personally i prefer forums to mailing lists, and i believe a lot of
people don't participate in this 'user-group' community and therefore
don't get help and therefore don't like tapestry...

if you want to attract more users i recommend this.

p.

On 20/11/2010 8:15 AM, Howard Lewis Ship wrote:

We're still working out the kinks ... and I've been working hard on
revising
the tutorial ... but at long last, we're debuting the new Tapestry
Web Site:

http://tapestry.apache.org/

Feedback is encouraged; just post to users@tapestry.apache.org with
[SITE]
in the subject.


-
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

-
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







-
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: Tapestry Web Site Updated

2010-11-25 Thread Ivano Luberti
I'm sorry but I strongly disagree: I have never seen a support service
as efficient as this mailing list.
And for free.

Il 25/11/2010 0.33, Paul Stanton ha scritto:
 They (forums) are to publish discussions on specific matters.

 Exactly! I'm often disappointed with the level of help offered here,
 and maybe that's because the mailing list is too much a community
 where people try to stay connected continuously and not enough a
 question/answer type discussion.


-- 
==
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: Tapestry Web Site Updated

2010-11-25 Thread Paul Stanton

Ulrich,

of course you are entitled to your opinion.

p.

On 25/11/2010 6:47 PM, Ulrich Stärk wrote:
That's just plain wrong. The form of communication (forum vs. mailing 
list) will have no impact at all on whether questions you ask are 
answered more or less conclusively. It's how you ask your question and 
what information you provide that influences the likelihood whether 
you'll get a satisfying answer or not.


On 25.11.2010 00:33, Paul Stanton wrote:

They (forums) are to publish discussions on specific matters.

Exactly! I'm often disappointed with the level of help offered here, 
and maybe that's because the
mailing list is too much a community where people try to stay 
connected continuously and not

enough a question/answer type discussion.

I think there's a great need for a simple, searchable question/answer 
'area' whether it's a forum or
something different, where new users can ask those 'dumb' questions 
(tapestry veterans may think
their dumb) where there's a good likelihood that they will be 
answered in full instead of just

falling down the list.

Especially with the design of tapestry is such that the internals are 
not exposed to the developer
(ie no polymophism) which makes it more difficult for developers to 
get a grasp on what is available

to them.

I've asked a number of questions here which I feel have never had a 
conclusive answer, i'm sure i'm

not the only one.

Not to say people aren't helpful, that's that what i think the 
problem is. I think it's the

mechanism (mailing list) more than anything else.

p.

On 25/11/2010 3:33 AM, Ivano Luberti wrote:

Stack Overflow must be a forum because it is a way to collect many
professionals of various competences. But forums are not for community
where people try to stay connected continuously.
They are to publish discussions on specific matters.

On Wed, Nov 24, 2010 at 11:46, Paul Stantonp...@mapshed.com.au 
wrote:


i know most of you guys, who have been using ml for so long 
probably prefer

ml, that's not the point!

i guarantee there's a number of users who don't want to configure 
their

inbox for ml and give up.

just a thought, if no one can see the benefit i guess it isn't 
going to

happen!

i use stackoverflow a lot and attempt to answer or contribute to most
tapestry questions.

p.


On 24/11/2010 8:35 PM, Ivano Luberti wrote:

I prefer ml to forums and in nay case ML web archives allow to 
search

them.
I cannot see any other advantage of a forum over a ml.

Il 24/11/2010 4.56, Paul Stanton ha scritto:


how about adding a forum?

personally i prefer forums to mailing lists, and i believe a lot of
people don't participate in this 'user-group' community and 
therefore

don't get help and therefore don't like tapestry...

if you want to attract more users i recommend this.

p.

On 20/11/2010 8:15 AM, Howard Lewis Ship wrote:

We're still working out the kinks ... and I've been working 
hard on

revising
the tutorial ... but at long last, we're debuting the new Tapestry
Web Site:

http://tapestry.apache.org/

Feedback is encouraged; just post to users@tapestry.apache.org 
with

[SITE]
in the subject.

- 


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




-
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




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



Re: Tapestry Web Site Updated

2010-11-25 Thread Massimo Lusetti
On Thu, Nov 25, 2010 at 1:41 AM, Andreas Andreou andy...@di.uoa.gr wrote:

 So, anyway, Tapestry has the mailing list, its website/documentation and 
 there's
 always StackOverflow. Perhaps it makes sense to define a strategy on how to 
 take
 advantage of that last one though

Completely agree.

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: Tapestry Web Site Updated

2010-11-25 Thread Paul Stanton
I don't see why those questions can't be asked and answered on the 
mailing lists. 


you are missing the point. they probably haven't been asked on the ml 
because the user doesn't want to register/subscribe/manage the ml. some 
people have a general aversion to ml's.


p.

On 25/11/2010 7:07 PM, Ulrich Stärk wrote:
I don't see why those questions can't be asked and answered on the 
mailing lists.


If you want to ask or answer questions on stackoverflow, do it. If you 
want to create a forum that's fine too. But the only *official* help 
source will be the mailing lists. Everything else will just partition 
the community.


Uli

On 25.11.2010 02:12, Paul Stanton wrote:

Andreas,

Agreed 100%.

http://stackoverflow.com/questions/tagged/tapestry
or as a feed:
http://stackoverflow.com/feeds/tag/tapestry

Maybe the tapestry site can leverage stackoverflow as it's 
recommended question/answer forum?


To work however, this would require some of the people here to take 
interest.


p.

On 25/11/2010 11:41 AM, Andreas Andreou wrote:
You're probably right on the reasons, but the thing is that it's a 
pain having
to monitor multiple sources of user feedback - there's just never 
enought free

time to do so.

And there's also a few big risks:
1) Making the community appear to be unresponsive
2) Frustrating users who never get their questions answered
3) Spreading the info to multiple places is hard to update
and easy to get obsolete

So, anyway, Tapestry has the mailing list, its website/documentation 
and there's
always StackOverflow. Perhaps it makes sense to define a strategy on 
how to take

advantage of that last one though

On Thu, Nov 25, 2010 at 01:36, Paul Stantonp...@mapshed.com.au wrote:

it did. it's still there but doesn't have the community.

the reason it dies was twofold:

1. it was very spam prone: the way it was set up did not do enough to
limit/kill spammers
2. it did not get the tapestry community support - it was not even
acknowledged by the tapestry site

that's not to say a forum wouldn't work if setup and supported by 
the core

tapestry community.

p.

On 25/11/2010 8:18 AM, Robert Zeigler wrote:

Tapestry had a forum for awhile. I think it died.

Robert

On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote:


i know most of you guys, who have been using ml for so long probably
prefer ml, that's not the point!

i guarantee there's a number of users who don't want to configure 
their

inbox for ml and give up.

just a thought, if no one can see the benefit i guess it isn't 
going to

happen!

i use stackoverflow a lot and attempt to answer or contribute to 
most

tapestry questions.

p.

On 24/11/2010 8:35 PM, Ivano Luberti wrote:
I prefer ml to forums and in nay case ML web archives allow to 
search

them.
I cannot see any other advantage of a forum over a ml.

Il 24/11/2010 4.56, Paul Stanton ha scritto:

how about adding a forum?

personally i prefer forums to mailing lists, and i believe a 
lot of
people don't participate in this 'user-group' community and 
therefore

don't get help and therefore don't like tapestry...

if you want to attract more users i recommend this.

p.

On 20/11/2010 8:15 AM, Howard Lewis Ship wrote:
We're still working out the kinks ... and I've been working 
hard on

revising
the tutorial ... but at long last, we're debuting the new 
Tapestry

Web Site:

http://tapestry.apache.org/

Feedback is encouraged; just post to users@tapestry.apache.org 
with

[SITE]
in the subject.

- 


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

-
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







-
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




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



Re: Tapestry Web Site Updated

2010-11-25 Thread Ulrich Stärk

But registering with StackOverflow or a forum is OK or what?

On 25.11.2010 10:19, Paul Stanton wrote:

I don't see why those questions can't be asked and answered on the mailing lists. 


you are missing the point. they probably haven't been asked on the ml because 
the user doesn't want
to register/subscribe/manage the ml. some people have a general aversion to 
ml's.

p.

On 25/11/2010 7:07 PM, Ulrich Stärk wrote:

I don't see why those questions can't be asked and answered on the mailing 
lists.

If you want to ask or answer questions on stackoverflow, do it. If you want to 
create a forum
that's fine too. But the only *official* help source will be the mailing lists. 
Everything else
will just partition the community.

Uli

On 25.11.2010 02:12, Paul Stanton wrote:

Andreas,

Agreed 100%.

http://stackoverflow.com/questions/tagged/tapestry
or as a feed:
http://stackoverflow.com/feeds/tag/tapestry

Maybe the tapestry site can leverage stackoverflow as it's recommended 
question/answer forum?

To work however, this would require some of the people here to take 
interest.

p.

On 25/11/2010 11:41 AM, Andreas Andreou wrote:

You're probably right on the reasons, but the thing is that it's a pain having
to monitor multiple sources of user feedback - there's just never enought free
time to do so.

And there's also a few big risks:
1) Making the community appear to be unresponsive
2) Frustrating users who never get their questions answered
3) Spreading the info to multiple places is hard to update
and easy to get obsolete

So, anyway, Tapestry has the mailing list, its website/documentation and there's
always StackOverflow. Perhaps it makes sense to define a strategy on how to take
advantage of that last one though

On Thu, Nov 25, 2010 at 01:36, Paul Stantonp...@mapshed.com.au wrote:

it did. it's still there but doesn't have the community.

the reason it dies was twofold:

1. it was very spam prone: the way it was set up did not do enough to
limit/kill spammers
2. it did not get the tapestry community support - it was not even
acknowledged by the tapestry site

that's not to say a forum wouldn't work if setup and supported by the core
tapestry community.

p.

On 25/11/2010 8:18 AM, Robert Zeigler wrote:

Tapestry had a forum for awhile. I think it died.

Robert

On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote:


i know most of you guys, who have been using ml for so long probably
prefer ml, that's not the point!

i guarantee there's a number of users who don't want to configure their
inbox for ml and give up.

just a thought, if no one can see the benefit i guess it isn't going to
happen!

i use stackoverflow a lot and attempt to answer or contribute to most
tapestry questions.

p.

On 24/11/2010 8:35 PM, Ivano Luberti wrote:

I prefer ml to forums and in nay case ML web archives allow to search
them.
I cannot see any other advantage of a forum over a ml.

Il 24/11/2010 4.56, Paul Stanton ha scritto:

how about adding a forum?

personally i prefer forums to mailing lists, and i believe a lot of
people don't participate in this 'user-group' community and therefore
don't get help and therefore don't like tapestry...

if you want to attract more users i recommend this.

p.

On 20/11/2010 8:15 AM, Howard Lewis Ship wrote:

We're still working out the kinks ... and I've been working hard on
revising
the tutorial ... but at long last, we're debuting the new Tapestry
Web Site:

http://tapestry.apache.org/

Feedback is encouraged; just post to users@tapestry.apache.org with
[SITE]
in the subject.


-
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

-
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







-
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




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




Re: Hot reloading and mvn:gae:run

2010-11-25 Thread Nicolas Bouillon
To solve my issue, I've added a custom ant builder to Eclipse that copy the
target/classes folder to the target/myapp/WEB-INF/classes folder, and then
the tapestry hot reload of classes and resources works.

It works, but I have to trigger my custom builder manually with Ctrl-B
(build project), because it is not runned automatically.

On Mon, Nov 22, 2010 at 22:34, Nicolas Bouillon nico...@bouil.org wrote:

 Hi,

 I use tapestry for more than one year now, and I'm very pleased with. I use
 it daily at work with mvn jetty:run and I much appreciate hot class
 reloading for pages and components.

 But at home I'm trying to use it to develop a Google App Engine
 Application, and I use the maven plugin net.kindleit:maven-gae-plugin with
 the target mvn gae:run.

 The hot reload is not working, because this plugin  doesn't work the same
 way as jetty:run : it assemble the war in a directory and run from there.

 Did anybody get the hot component reloading working in that configuration ?

 Thanks.

 Nicolas.




Tapestry Mailing List vs Forum

2010-11-25 Thread Newham, Cameron
An interesting discussion.

However, while I do see that a forum would, perhaps, be initially more user 
friendly for new people to join, in the end the creation of such a thing would 
either divide the community into those on the ML and those on the forum, or at 
worst the forum would end up with new users joining and no answers because all 
of the old hands are on this ML. It wouldn't look good either way.

Personally I prefer the ML for Tapestry - mainly because the signal to noise 
ratio is high, there aren't huge numbers of posts, and the things drop into my 
mailbox where I can easily see them. People on here are (for the most part) 
friendly and very helpful. I'd rather that wasn't damaged by changing things 
just for the sake of change.

I'd rather that the effort going into this discussion was instead directed to 
providing better documentation. It's one thing I find most frustrating in the 
computer industry. I'm afraid I'm not as geeky as some who reside on here and 
elsewhere; I like instructions to have all the parts filled in, rather than 
instructions where large parts are missing and only the juicy details given 
because the author assumes you understand and can fill in background yourself. 
Some of the HOW-TOs are unfortunately like that. I have a job to do and I don't 
spend my weekends building my own server or bed time reading of IPv6 (anything 
but computers! You know what I mean) so better documentation (along the lines 
of the new Tutorial and docs) is better for me, better for my employer, and 
better for those coming to Tapestry for the first time.

Paul, if the user base increased to such an extent that there were scores of 
emails per day then I think we should look again at a forum. Until then I think 
it's not worth exploring.

c.


-Original Message-
From: Paul Stanton [mailto:p...@mapshed.com.au] 
Sent: 25 November 2010 09:20
To: Tapestry users
Subject: Re: Tapestry Web Site Updated

I don't see why those questions can't be asked and answered on the 
mailing lists. 

you are missing the point. they probably haven't been asked on the ml 
because the user doesn't want to register/subscribe/manage the ml. some 
people have a general aversion to ml's.

p.

On 25/11/2010 7:07 PM, Ulrich Stärk wrote:
 I don't see why those questions can't be asked and answered on the 
 mailing lists.

 If you want to ask or answer questions on stackoverflow, do it. If you 
 want to create a forum that's fine too. But the only *official* help 
 source will be the mailing lists. Everything else will just partition 
 the community.

 Uli

 On 25.11.2010 02:12, Paul Stanton wrote:
 Andreas,

 Agreed 100%.

 http://stackoverflow.com/questions/tagged/tapestry
 or as a feed:
 http://stackoverflow.com/feeds/tag/tapestry

 Maybe the tapestry site can leverage stackoverflow as it's 
 recommended question/answer forum?

 To work however, this would require some of the people here to take 
 interest.

 p.

 On 25/11/2010 11:41 AM, Andreas Andreou wrote:
 You're probably right on the reasons, but the thing is that it's a 
 pain having
 to monitor multiple sources of user feedback - there's just never 
 enought free
 time to do so.

 And there's also a few big risks:
 1) Making the community appear to be unresponsive
 2) Frustrating users who never get their questions answered
 3) Spreading the info to multiple places is hard to update
 and easy to get obsolete

 So, anyway, Tapestry has the mailing list, its website/documentation 
 and there's
 always StackOverflow. Perhaps it makes sense to define a strategy on 
 how to take
 advantage of that last one though

 On Thu, Nov 25, 2010 at 01:36, Paul Stantonp...@mapshed.com.au wrote:
 it did. it's still there but doesn't have the community.

 the reason it dies was twofold:

 1. it was very spam prone: the way it was set up did not do enough to
 limit/kill spammers
 2. it did not get the tapestry community support - it was not even
 acknowledged by the tapestry site

 that's not to say a forum wouldn't work if setup and supported by 
 the core
 tapestry community.

 p.

 On 25/11/2010 8:18 AM, Robert Zeigler wrote:
 Tapestry had a forum for awhile. I think it died.

 Robert

 On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote:

 i know most of you guys, who have been using ml for so long probably
 prefer ml, that's not the point!

 i guarantee there's a number of users who don't want to configure 
 their
 inbox for ml and give up.

 just a thought, if no one can see the benefit i guess it isn't 
 going to
 happen!

 i use stackoverflow a lot and attempt to answer or contribute to 
 most
 tapestry questions.

 p.

 On 24/11/2010 8:35 PM, Ivano Luberti wrote:
 I prefer ml to forums and in nay case ML web archives allow to 
 search
 them.
 I cannot see any other advantage of a forum over a ml.

 Il 24/11/2010 4.56, Paul Stanton ha scritto:
 how about adding a forum?

 personally i prefer forums to mailing lists, and i believe a 
 lot of
 people don't 

Re: Tapestry Web Site Updated

2010-11-25 Thread Borut Bolčina
If you register on the user mailing list with your google mail account and
create a filter on the mailbox, then you have the ultimate power of sorting
threads and searching the knowledge. It can not get better.

When I see a forum which has a search link which takes you to another page
where you are presented with unfamiliar and often user unfriendly web form
and later with a result page which also often does not meet minimum quality
requirements, then I see a forum like software as an outdated form of
communication and collaboration.

Stackoverflow is an ideal service for questions and answers, whereas mailing
list often serves also as a discussion and propositions media.

-Borut

2010/11/25 Paul Stanton p...@mapshed.com.au

 I don't see why those questions can't be asked and answered on the mailing
 lists. 

 you are missing the point. they probably haven't been asked on the ml
 because the user doesn't want to register/subscribe/manage the ml. some
 people have a general aversion to ml's.

 p.


 On 25/11/2010 7:07 PM, Ulrich Stärk wrote:

 I don't see why those questions can't be asked and answered on the mailing
 lists.

 If you want to ask or answer questions on stackoverflow, do it. If you
 want to create a forum that's fine too. But the only *official* help source
 will be the mailing lists. Everything else will just partition the
 community.

 Uli

 On 25.11.2010 02:12, Paul Stanton wrote:

 Andreas,

 Agreed 100%.

 http://stackoverflow.com/questions/tagged/tapestry
 or as a feed:
 http://stackoverflow.com/feeds/tag/tapestry

 Maybe the tapestry site can leverage stackoverflow as it's recommended
 question/answer forum?

 To work however, this would require some of the people here to take
 interest.

 p.

 On 25/11/2010 11:41 AM, Andreas Andreou wrote:

 You're probably right on the reasons, but the thing is that it's a pain
 having
 to monitor multiple sources of user feedback - there's just never
 enought free
 time to do so.

 And there's also a few big risks:
 1) Making the community appear to be unresponsive
 2) Frustrating users who never get their questions answered
 3) Spreading the info to multiple places is hard to update
 and easy to get obsolete

 So, anyway, Tapestry has the mailing list, its website/documentation and
 there's
 always StackOverflow. Perhaps it makes sense to define a strategy on how
 to take
 advantage of that last one though

 On Thu, Nov 25, 2010 at 01:36, Paul Stantonp...@mapshed.com.au wrote:

 it did. it's still there but doesn't have the community.

 the reason it dies was twofold:

 1. it was very spam prone: the way it was set up did not do enough to
 limit/kill spammers
 2. it did not get the tapestry community support - it was not even
 acknowledged by the tapestry site

 that's not to say a forum wouldn't work if setup and supported by the
 core
 tapestry community.

 p.

 On 25/11/2010 8:18 AM, Robert Zeigler wrote:

 Tapestry had a forum for awhile. I think it died.

 Robert

 On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote:

  i know most of you guys, who have been using ml for so long probably
 prefer ml, that's not the point!

 i guarantee there's a number of users who don't want to configure
 their
 inbox for ml and give up.

 just a thought, if no one can see the benefit i guess it isn't going
 to
 happen!

 i use stackoverflow a lot and attempt to answer or contribute to most
 tapestry questions.

 p.

 On 24/11/2010 8:35 PM, Ivano Luberti wrote:

 I prefer ml to forums and in nay case ML web archives allow to
 search
 them.
 I cannot see any other advantage of a forum over a ml.

 Il 24/11/2010 4.56, Paul Stanton ha scritto:

 how about adding a forum?

 personally i prefer forums to mailing lists, and i believe a lot of
 people don't participate in this 'user-group' community and
 therefore
 don't get help and therefore don't like tapestry...

 if you want to attract more users i recommend this.

 p.

 On 20/11/2010 8:15 AM, Howard Lewis Ship wrote:

 We're still working out the kinks ... and I've been working hard
 on
 revising
 the tutorial ... but at long last, we're debuting the new Tapestry
 Web Site:

 http://tapestry.apache.org/

 Feedback is encouraged; just post to us...@tapestry.apache.orgwith
 [SITE]
 in the subject.

 -
 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

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


  -
 To unsubscribe, e-mail: 

Re: Tapestry Web Site Updated

2010-11-25 Thread Paul Stanton
I didn't mean to start an egg throwing contest with anyone, just thought 
it was a good idea to bring up for discussion.


I appreciate all the comments and opinions, hopefully something comes of 
it even if it's just a few more people monitoring the SO list.


I won't post again on the topic because I have nothing more to say.

cheers, p.

On 25/11/2010 8:22 PM, Ulrich Stärk wrote:

But registering with StackOverflow or a forum is OK or what?

On 25.11.2010 10:19, Paul Stanton wrote:
I don't see why those questions can't be asked and answered on the 
mailing lists. 


you are missing the point. they probably haven't been asked on the ml 
because the user doesn't want
to register/subscribe/manage the ml. some people have a general 
aversion to ml's.


p.

On 25/11/2010 7:07 PM, Ulrich Stärk wrote:
I don't see why those questions can't be asked and answered on the 
mailing lists.


If you want to ask or answer questions on stackoverflow, do it. If 
you want to create a forum
that's fine too. But the only *official* help source will be the 
mailing lists. Everything else

will just partition the community.

Uli

On 25.11.2010 02:12, Paul Stanton wrote:

Andreas,

Agreed 100%.

http://stackoverflow.com/questions/tagged/tapestry
or as a feed:
http://stackoverflow.com/feeds/tag/tapestry

Maybe the tapestry site can leverage stackoverflow as it's 
recommended question/answer forum?


To work however, this would require some of the people here to take 
interest.


p.

On 25/11/2010 11:41 AM, Andreas Andreou wrote:
You're probably right on the reasons, but the thing is that it's a 
pain having
to monitor multiple sources of user feedback - there's just never 
enought free

time to do so.

And there's also a few big risks:
1) Making the community appear to be unresponsive
2) Frustrating users who never get their questions answered
3) Spreading the info to multiple places is hard to update
and easy to get obsolete

So, anyway, Tapestry has the mailing list, its 
website/documentation and there's
always StackOverflow. Perhaps it makes sense to define a strategy 
on how to take

advantage of that last one though

On Thu, Nov 25, 2010 at 01:36, Paul Stantonp...@mapshed.com.au 
wrote:

it did. it's still there but doesn't have the community.

the reason it dies was twofold:

1. it was very spam prone: the way it was set up did not do 
enough to

limit/kill spammers
2. it did not get the tapestry community support - it was not even
acknowledged by the tapestry site

that's not to say a forum wouldn't work if setup and supported by 
the core

tapestry community.

p.

On 25/11/2010 8:18 AM, Robert Zeigler wrote:

Tapestry had a forum for awhile. I think it died.

Robert

On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote:

i know most of you guys, who have been using ml for so long 
probably

prefer ml, that's not the point!

i guarantee there's a number of users who don't want to 
configure their

inbox for ml and give up.

just a thought, if no one can see the benefit i guess it isn't 
going to

happen!

i use stackoverflow a lot and attempt to answer or contribute 
to most

tapestry questions.

p.

On 24/11/2010 8:35 PM, Ivano Luberti wrote:
I prefer ml to forums and in nay case ML web archives allow to 
search

them.
I cannot see any other advantage of a forum over a ml.

Il 24/11/2010 4.56, Paul Stanton ha scritto:

how about adding a forum?

personally i prefer forums to mailing lists, and i believe a 
lot of
people don't participate in this 'user-group' community and 
therefore

don't get help and therefore don't like tapestry...

if you want to attract more users i recommend this.

p.

On 20/11/2010 8:15 AM, Howard Lewis Ship wrote:
We're still working out the kinks ... and I've been working 
hard on

revising
the tutorial ... but at long last, we're debuting the new 
Tapestry

Web Site:

http://tapestry.apache.org/

Feedback is encouraged; just post to 
users@tapestry.apache.org with

[SITE]
in the subject.

- 


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
- 


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







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




Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
Hi!
I need to redirect user to an url with some parameters (simulate a post
without form).
Can you help me to do that, please ?

Thanks in advance.


Re: Redirect to URL with params

2010-11-25 Thread Richard Hill

Can you be a little more explicit: 

You want a GET request (instead of a POST) to trigger a redirect?

Does the original GET or the redirect contain url parameters? Or both?
Do either of them have an activation context?




-Original Message-
From: Gnu Ubuntu gnu.ubu...@gmail.com
Reply-to: Tapestry users users@tapestry.apache.org
To: users@tapestry.apache.org
Subject: Redirect to URL with params
Date: Thu, 25 Nov 2010 11:24:04 +0100

Hi!
I need to redirect user to an url with some parameters (simulate a post
without form).
Can you help me to do that, please ?

Thanks in advance.



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



Re: Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
Thanks Richard for your response.
What I want is to do a post request but my page dosn't contain any form. The
user will be redirected to an URL with some parameters and after that I must
get some other parameters from the response.

I hope that is more clear now.
Thanks.


Re: Redirect to URL with params

2010-11-25 Thread Richard Hill

Ok so, if I follow correctly:

Page A: Doesn't have a form. So instead you have a normal link. This
contains as url parameters the data to be sent. After processing you
want to redirect to Page B. So you could do something like this:

PageA.java:

@Inject
private Request request;
@Inject
private PageRenderLinkSource prls;


public Link onActivate() {

   String value1 = request.getParam(key1);
   String value2 = 
   
   // Do something with these

   Link link = prls.createPageRenderLink(PageB.class);
   link.addParameter(key1, value1);
   ...
   return link;

}


If the processing is done by PageA as above, you'll need some logic in
onActivate() that determines whether you redirect or render the page
(returning null will mean that PageA is rendered). 

Or instead of a t:pagelink in PageA you could use an t:actionlink
instead, and return the Link in the onActionFromYourLink().

Hope that helps.









-Original Message-
From: Gnu Ubuntu gnu.ubu...@gmail.com
Reply-to: Tapestry users users@tapestry.apache.org
To: Tapestry users users@tapestry.apache.org, r...@su3analytics.com
Subject: Re: Redirect to URL with params
Date: Thu, 25 Nov 2010 11:56:15 +0100

Thanks Richard for your response.
What I want is to do a post request but my page dosn't contain any form. The
user will be redirected to an URL with some parameters and after that I must
get some other parameters from the response.

I hope that is more clear now.
Thanks.



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



Re: context asset servlet gives directory listing and access to WEB-INF

2010-11-25 Thread Thiago H. de Paula Figueiredo
On Thu, 25 Nov 2010 00:03:03 -0200, Paul Stanton p...@mapshed.com.au  
wrote:



Thanks Thiago,


Hi!

AFAIK you don't need to check for the real file. Just checking the URL is  
enough.

Besides this, I think it is ok. Have you tested it already?

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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



Re: Reusable login component

2010-11-25 Thread Thiago H. de Paula Figueiredo

Hi, Katia!

On Thu, 25 Nov 2010 06:13:48 -0200, Katia Aresti katiaare...@gmail.com
wrote:


There are always several ways to do the same thing.



@Thiago Doing with events like this, does not come up to the same to same
thing ? In the end I have to catch the event on my page to decide where  
to go. So, why not telling the component from the beginning where to go ?
I mean, why complicating life defining new events handling, triggering  
and catching for this use case ? Isn't it simpler and more readable to  
tell the login form where to go from the beginning ?


I guess you're right. :) When I read your message, I've read parameter
as query parameter, not as component parameter. (facepalm)

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

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



Re: Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
Thanks Richard, I'll try that.

2010/11/25 Richard Hill r...@su3analytics.com


 Ok so, if I follow correctly:

 Page A: Doesn't have a form. So instead you have a normal link. This
 contains as url parameters the data to be sent. After processing you
 want to redirect to Page B. So you could do something like this:

 PageA.java:

 @Inject
 private Request request;
 @Inject
 private PageRenderLinkSource prls;


 public Link onActivate() {

   String value1 = request.getParam(key1);
   String value2 = 

   // Do something with these

   Link link = prls.createPageRenderLink(PageB.class);
   link.addParameter(key1, value1);
   ...
   return link;

 }


 If the processing is done by PageA as above, you'll need some logic in
 onActivate() that determines whether you redirect or render the page
 (returning null will mean that PageA is rendered).

 Or instead of a t:pagelink in PageA you could use an t:actionlink
 instead, and return the Link in the onActionFromYourLink().

 Hope that helps.









 -Original Message-
 From: Gnu Ubuntu gnu.ubu...@gmail.com
 Reply-to: Tapestry users users@tapestry.apache.org
 To: Tapestry users users@tapestry.apache.org, r...@su3analytics.com
 Subject: Re: Redirect to URL with params
 Date: Thu, 25 Nov 2010 11:56:15 +0100

 Thanks Richard for your response.
 What I want is to do a post request but my page dosn't contain any form.
 The
 user will be redirected to an URL with some parameters and after that I
 must
 get some other parameters from the response.

 I hope that is more clear now.
 Thanks.



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




Re: Reusable login component

2010-11-25 Thread Tibo23

How to tell the component from the beginning where to go? Because it depends
on the parent page where the login component is included AND on a
authentication fonction success?

Here is my Login component :

public class Login {

@Inject
private IAuthenticationService authenticationService;

@Property
private String login;

@Property
private String password;

public Object onSuccess () {
if (authenticationService.login (login, password) != null) {
return (Main.class);
}
return (Index.class);
}

}
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Reusable-login-component-tp3279297p3280031.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: Tapestry Web Site Updated

2010-11-25 Thread Michael Gentry
Borut beat me to it.  If you use GMail to subscribe to the mailing
list and create a filter to automatically tag messages and move them
out of your inbox, then you practically end up with a personal forum
system.  It works beautifully for every Apache mailing list I
subscribe to.  GMail keeps it orderly and threaded, just like a forum
does.  Star helpful postings, add other tags, search to your heart's
content (although you have to have been subscribed for a while for
this to be useful), don't worry about disk space (seriously, be a pack
rat and keep every message) or management, and it is in the cloud, so
you can hit the mailing list (your personal forum) anywhere.  Also,
this approach doesn't fragment the community, which is important -- it
is hard enough covering the mailing list with all of the other
commitments people have.

Maybe the first FAQ entry be Subscribe to Tapestry User with GMail?

mrg


On Thu, Nov 25, 2010 at 4:54 AM, Borut Bolčina borut.bolc...@gmail.com wrote:
 If you register on the user mailing list with your google mail account and
 create a filter on the mailbox, then you have the ultimate power of sorting
 threads and searching the knowledge. It can not get better.

 When I see a forum which has a search link which takes you to another page
 where you are presented with unfamiliar and often user unfriendly web form
 and later with a result page which also often does not meet minimum quality
 requirements, then I see a forum like software as an outdated form of
 communication and collaboration.

 Stackoverflow is an ideal service for questions and answers, whereas mailing
 list often serves also as a discussion and propositions media.

 -Borut

 2010/11/25 Paul Stanton p...@mapshed.com.au

 I don't see why those questions can't be asked and answered on the mailing
 lists. 

 you are missing the point. they probably haven't been asked on the ml
 because the user doesn't want to register/subscribe/manage the ml. some
 people have a general aversion to ml's.

 p.


 On 25/11/2010 7:07 PM, Ulrich Stärk wrote:

 I don't see why those questions can't be asked and answered on the mailing
 lists.

 If you want to ask or answer questions on stackoverflow, do it. If you
 want to create a forum that's fine too. But the only *official* help source
 will be the mailing lists. Everything else will just partition the
 community.

 Uli

 On 25.11.2010 02:12, Paul Stanton wrote:

 Andreas,

 Agreed 100%.

 http://stackoverflow.com/questions/tagged/tapestry
 or as a feed:
 http://stackoverflow.com/feeds/tag/tapestry

 Maybe the tapestry site can leverage stackoverflow as it's recommended
 question/answer forum?

 To work however, this would require some of the people here to take
 interest.

 p.

 On 25/11/2010 11:41 AM, Andreas Andreou wrote:

 You're probably right on the reasons, but the thing is that it's a pain
 having
 to monitor multiple sources of user feedback - there's just never
 enought free
 time to do so.

 And there's also a few big risks:
 1) Making the community appear to be unresponsive
 2) Frustrating users who never get their questions answered
 3) Spreading the info to multiple places is hard to update
 and easy to get obsolete

 So, anyway, Tapestry has the mailing list, its website/documentation and
 there's
 always StackOverflow. Perhaps it makes sense to define a strategy on how
 to take
 advantage of that last one though

 On Thu, Nov 25, 2010 at 01:36, Paul Stantonp...@mapshed.com.au wrote:

 it did. it's still there but doesn't have the community.

 the reason it dies was twofold:

 1. it was very spam prone: the way it was set up did not do enough to
 limit/kill spammers
 2. it did not get the tapestry community support - it was not even
 acknowledged by the tapestry site

 that's not to say a forum wouldn't work if setup and supported by the
 core
 tapestry community.

 p.

 On 25/11/2010 8:18 AM, Robert Zeigler wrote:

 Tapestry had a forum for awhile. I think it died.

 Robert

 On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote:

  i know most of you guys, who have been using ml for so long probably
 prefer ml, that's not the point!

 i guarantee there's a number of users who don't want to configure
 their
 inbox for ml and give up.

 just a thought, if no one can see the benefit i guess it isn't going
 to
 happen!

 i use stackoverflow a lot and attempt to answer or contribute to most
 tapestry questions.

 p.

 On 24/11/2010 8:35 PM, Ivano Luberti wrote:

 I prefer ml to forums and in nay case ML web archives allow to
 search
 them.
 I cannot see any other advantage of a forum over a ml.

 Il 24/11/2010 4.56, Paul Stanton ha scritto:

 how about adding a forum?

 personally i prefer forums to mailing lists, and i believe a lot of
 people don't participate in this 'user-group' community and
 therefore
 don't get help and therefore don't like tapestry...

 if you want to attract more users i recommend this.

 p.

 On 20/11/2010 8:15 AM, Howard Lewis Ship 

Re: Reusable login component

2010-11-25 Thread Christophe Cordenier
Hi !

Use events and callbacks, see ComponentResources.triggerEvent

2010/11/25 Tibo23 thibault.malbra...@gmail.com


 How to tell the component from the beginning where to go? Because it
 depends
 on the parent page where the login component is included AND on a
 authentication fonction success?

 Here is my Login component :

 public class Login {

@Inject
private IAuthenticationService authenticationService;

@Property
private String login;

@Property
private String password;

public Object onSuccess () {
if (authenticationService.login (login, password) != null) {
return (Main.class);
}
return (Index.class);
}

 }
 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Reusable-login-component-tp3279297p3280031.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




-- 
Regards,
Christophe Cordenier.

Committer on Apache Tapestry 5
Co-creator of wooki @wookicentral.com


Re: Reusable login component

2010-11-25 Thread Katia Aresti
Without doing it with callbacks and events, more simple for your use case :

you can define 2 input parameters like this in you component :

@Parameter(defaultPrefix = BindingConstants.LITERAL)
private String successPage;

@Parameter(defaultPrefix = BindingConstants.LITERAL)
private String errorPage;

you change like this :

   public Object onSuccess () {
   if (authenticationService.login (login, password) != null) {
   return successPage;
   }
   return errorPage;
   }

And finally when you use you component, you can pass the values as
parameters on the same way as you do it with other components.

Katia

2010/11/25 Tibo23 thibault.malbra...@gmail.com


 How to tell the component from the beginning where to go? Because it
 depends
 on the parent page where the login component is included AND on a
 authentication fonction success?

 Here is my Login component :

 public class Login {

@Inject
private IAuthenticationService authenticationService;

@Property
private String login;

@Property
private String password;

public Object onSuccess () {
if (authenticationService.login (login, password) != null) {
return (Main.class);
}
return (Index.class);
}

 }
 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Reusable-login-component-tp3279297p3280031.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




Any good tapestry5 plugin for eclipse

2010-11-25 Thread Taha Hafeez
Hi

Is there any good tapestry5 plugin for eclipse.

regards
Taha


Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Inge Solvoll
This one is very helpful for creating templates and switching between
template and java. It's also pretty much the only useful T5 eclipse plugin.

http://code.google.com/p/loom-t5/

On Thu, Nov 25, 2010 at 3:49 PM, Taha Hafeez tawus.tapes...@gmail.comwrote:

 Hi

 Is there any good tapestry5 plugin for eclipse.

 regards
 Taha



Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Taha Hafeez
Thanks

regards
Taha

On Thu, Nov 25, 2010 at 8:21 PM, Inge Solvoll inge.tapes...@gmail.comwrote:

 This one is very helpful for creating templates and switching between
 template and java. It's also pretty much the only useful T5 eclipse plugin.

 http://code.google.com/p/loom-t5/

 On Thu, Nov 25, 2010 at 3:49 PM, Taha Hafeez tawus.tapes...@gmail.com
 wrote:

  Hi
 
  Is there any good tapestry5 plugin for eclipse.
 
  regards
  Taha
 



RE: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Guerin Laurent
Hi Taha,

This wiki link is very helpfull to get Component completion with parameters and 
description for TML files into Eclipse :
http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse

Cheers,

Laurent GUÉRIN

-Message d'origine-
De : Taha Hafeez [mailto:tawus.tapes...@gmail.com] 
Envoyé : jeudi 25 novembre 2010 15:56
À : Tapestry users
Objet : Re: Any good tapestry5 plugin for eclipse

Thanks

regards
Taha

On Thu, Nov 25, 2010 at 8:21 PM, Inge Solvoll inge.tapes...@gmail.comwrote:

 This one is very helpful for creating templates and switching between 
 template and java. It's also pretty much the only useful T5 eclipse plugin.

 http://code.google.com/p/loom-t5/

 On Thu, Nov 25, 2010 at 3:49 PM, Taha Hafeez tawus.tapes...@gmail.com
 wrote:

  Hi
 
  Is there any good tapestry5 plugin for eclipse.
 
  regards
  Taha
 


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



Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Everton Agner
There is Loom T5, it helps a little

http://code.google.com/p/loom-t5/

___
Everton Agner Ramos


2010/11/25 Guerin Laurent lgue...@sopragroup.com

 Hi Taha,

 This wiki link is very helpfull to get Component completion with parameters
 and description for TML files into Eclipse :
 http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse

 Cheers,

 Laurent GUÉRIN

 -Message d'origine-
 De : Taha Hafeez [mailto:tawus.tapes...@gmail.com]
 Envoyé : jeudi 25 novembre 2010 15:56
 À : Tapestry users
 Objet : Re: Any good tapestry5 plugin for eclipse

 Thanks

 regards
 Taha

 On Thu, Nov 25, 2010 at 8:21 PM, Inge Solvoll inge.tapes...@gmail.com
 wrote:

  This one is very helpful for creating templates and switching between
  template and java. It's also pretty much the only useful T5 eclipse
 plugin.
 
  http://code.google.com/p/loom-t5/
 
  On Thu, Nov 25, 2010 at 3:49 PM, Taha Hafeez tawus.tapes...@gmail.com
  wrote:
 
   Hi
  
   Is there any good tapestry5 plugin for eclipse.
  
   regards
   Taha
  
 

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




Re: T5.1 and Tynamo Security: override a Shiro Filter

2010-11-25 Thread Kalle Korhonen
Whoops. We certainly wanted to make overriding possible
programmatically. I'm on it, didn't look into the code yet but if it
doesn't currently work I'll definitely fix it. Which version of
tapestry-security are you using?

Kalle

On Wed, Nov 24, 2010 at 3:11 AM, anton.litvinenko
anton.litvine...@gmail.com wrote:

 Hello!

 I need to override Shiro authc filter. I can do that via shiro.ini file:
 [main]
 authc=com.programeter.web.security.RemoteUserAuhtenticationFilter

 But I am wondering if there's way to achieve the same via XxxModule and
 configure Shiro via Tynamo Security. Tynamo has a SecurityRequestFilter
 class, but it seems that section that could help me is commented out:

 /*
        //Apply the acquired and/or configured filters:
        MapString, Filter filters = getFilters();
        if (!CollectionUtils.isEmpty(filters)) {
            for (Map.EntryString, Filter entry : filters.entrySet()) {
                String name = entry.getKey();
                Filter filter = entry.getValue();
                applyGlobalPropertiesIfNecessary(filter);
                if (filter instanceof Nameable) {
                    ((Nameable) filter).setName(name);
                }
                //'init' argument is false, since Spring-configured filters
 should be initialized
                //in Spring (i.e. 'init-method=blah') or implement
 InitializingBean:
                manager.addFilter(name, filter, false);
            }
        }
 */

 Am I missing something? Or it is by design not permitted to override (or add
 custom) filters via Tapestry IOC?

 --
 View this message in context: 
 http://tapestry-users.832.n2.nabble.com/T5-1-and-Tynamo-Security-override-a-Shiro-Filter-tp5769989p5769989.html
 Sent from the Tapestry Users 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



Re: context asset servlet gives directory listing and access to WEB-INF

2010-11-25 Thread Paul Stanton

Yes tested and it works.

I create the real file so I can disallow all directory listings.

I could do this by testing for the (non)existence of a file extension, 
however that isn't technically cross-platform etc...


so i create the file to test whether it's a directory, and disallow if 
it is. the 'exists' test is just there because i already have the File 
object anyway.


I figured since I'm only executing the logic for things that start with 
/asset/ctx/ the overhead shouldn't be noticeable, however on second 
thought maybe this isn't a good idea?


what do you think?

p.

On 25/11/2010 10:36 PM, Thiago H. de Paula Figueiredo wrote:
On Thu, 25 Nov 2010 00:03:03 -0200, Paul Stanton p...@mapshed.com.au 
wrote:



Thanks Thiago,


Hi!

AFAIK you don't need to check for the real file. Just checking the URL 
is enough.

Besides this, I think it is ok. Have you tested it already?



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



Re: context asset servlet gives directory listing and access to WEB-INF

2010-11-25 Thread Thiago H. de Paula Figueiredo
On Thu, 25 Nov 2010 18:24:39 -0200, Paul Stanton p...@mapshed.com.au  
wrote:



Yes tested and it works.


Yay! :)

I figured since I'm only executing the logic for things that start with  
/asset/ctx/ the overhead shouldn't be noticeable, however on second  
thought maybe this isn't a good idea?


There's a possibility it creates a bottleneck, as you're going to the file  
system once before the request is handled normally or access is denied. Of  
course, it depends on the number of context assets you use, etc. If it's  
in the context and it isn't inside WEB-INF, it's probably meant to be  
public, so I wouldn't do this check in your scenario.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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



Re: T5.1 and Tynamo Security: override a Shiro Filter

2010-11-25 Thread Kalle Korhonen
Follow http://jira.codehaus.org/browse/TYNAMO-67. In the one
application I needed this, I'm still using tapestry-security 0.1.0
which allowed these type of contributions and was a separate and my
original effort at integrating jsecurity/shiro. There were a few other
interesting features and I'll merge them in over time, but don't hold
your breath. Out of interest, what's your use case for it? (If it's
just the dislike of the configuration file, that's fine I get it).

Kalle


On Thu, Nov 25, 2010 at 10:06 AM, Kalle Korhonen
kalle.o.korho...@gmail.com wrote:
 Whoops. We certainly wanted to make overriding possible
 programmatically. I'm on it, didn't look into the code yet but if it
 doesn't currently work I'll definitely fix it. Which version of
 tapestry-security are you using?

 Kalle

 On Wed, Nov 24, 2010 at 3:11 AM, anton.litvinenko
 anton.litvine...@gmail.com wrote:

 Hello!

 I need to override Shiro authc filter. I can do that via shiro.ini file:
 [main]
 authc=com.programeter.web.security.RemoteUserAuhtenticationFilter

 But I am wondering if there's way to achieve the same via XxxModule and
 configure Shiro via Tynamo Security. Tynamo has a SecurityRequestFilter
 class, but it seems that section that could help me is commented out:

 /*
        //Apply the acquired and/or configured filters:
        MapString, Filter filters = getFilters();
        if (!CollectionUtils.isEmpty(filters)) {
            for (Map.EntryString, Filter entry : filters.entrySet()) {
                String name = entry.getKey();
                Filter filter = entry.getValue();
                applyGlobalPropertiesIfNecessary(filter);
                if (filter instanceof Nameable) {
                    ((Nameable) filter).setName(name);
                }
                //'init' argument is false, since Spring-configured filters
 should be initialized
                //in Spring (i.e. 'init-method=blah') or implement
 InitializingBean:
                manager.addFilter(name, filter, false);
            }
        }
 */

 Am I missing something? Or it is by design not permitted to override (or add
 custom) filters via Tapestry IOC?

 --
 View this message in context: 
 http://tapestry-users.832.n2.nabble.com/T5-1-and-Tynamo-Security-override-a-Shiro-Filter-tp5769989p5769989.html
 Sent from the Tapestry Users 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



Re: context asset servlet gives directory listing and access to WEB-INF

2010-11-25 Thread Paul Stanton

Thiago, I do want to make sure i disallow directory listings.

agree there is potential for bottleneck so I have changed to:

public boolean service(Request request, Response response, 
RequestHandler handler) throws IOException

{
String path = request.getPath();
String contextAssetPath = RequestConstants.ASSET_PATH_PREFIX + 
RequestConstants.CONTEXT_FOLDER;


if (path.startsWith(contextAssetPath))
{
if (path.contains(WEB-INF) || path.contains(META-INF))
return fail(request, response);

// basic test for a file with an extension - avoids 
creating a new file

// (not fool proof but problems will be obvious in testing)
String last = path.substring(path.length() - 5);
if (!last.contains(.))
return fail(request, response);
}

LOG.trace(allowed  + path);
return handler.service(request, response);
}

On 26/11/2010 8:03 AM, Thiago H. de Paula Figueiredo wrote:
On Thu, 25 Nov 2010 18:24:39 -0200, Paul Stanton p...@mapshed.com.au 
wrote:



Yes tested and it works.


Yay! :)

I figured since I'm only executing the logic for things that start 
with /asset/ctx/ the overhead shouldn't be noticeable, however on 
second thought maybe this isn't a good idea?


There's a possibility it creates a bottleneck, as you're going to the 
file system once before the request is handled normally or access is 
denied. Of course, it depends on the number of context assets you use, 
etc. If it's in the context and it isn't inside WEB-INF, it's probably 
meant to be public, so I wouldn't do this check in your scenario.




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



Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Taha Hafeez
Thanks everybody

I had a look at it. I feel tapestry is in need of a good eclipse plugin !!
Don't know much about writing a plugin but am considering it.. Something on
the lines of http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench

regards
Taha


On Thu, Nov 25, 2010 at 10:23 PM, Everton Agner ton.ag...@gmail.com wrote:

 There is Loom T5, it helps a little

 http://code.google.com/p/loom-t5/

 ___
 Everton Agner Ramos


 2010/11/25 Guerin Laurent lgue...@sopragroup.com

  Hi Taha,
 
  This wiki link is very helpfull to get Component completion with
 parameters
  and description for TML files into Eclipse :
  http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse
 
  Cheers,
 
  Laurent GUÉRIN
 
  -Message d'origine-
  De : Taha Hafeez [mailto:tawus.tapes...@gmail.com]
  Envoyé : jeudi 25 novembre 2010 15:56
  À : Tapestry users
  Objet : Re: Any good tapestry5 plugin for eclipse
 
  Thanks
 
  regards
  Taha
 
  On Thu, Nov 25, 2010 at 8:21 PM, Inge Solvoll inge.tapes...@gmail.com
  wrote:
 
   This one is very helpful for creating templates and switching between
   template and java. It's also pretty much the only useful T5 eclipse
  plugin.
  
   http://code.google.com/p/loom-t5/
  
   On Thu, Nov 25, 2010 at 3:49 PM, Taha Hafeez tawus.tapes...@gmail.com
   wrote:
  
Hi
   
Is there any good tapestry5 plugin for eclipse.
   
regards
Taha
   
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org