Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-21 Thread Chris Lewis
Eelco,

It's nice that you restate your distaste for trolls and that we can
readily agree on their vile nature. I can't speak for the rest of the
list, but I need no reminder of the childishness of the 'my group vs
your group' mentality. I'm a software developer, not an evangelist, and
therefore look at a piece of technology through the lens of its
applicability to a problem and its elegance in dealing with the primary
pains of that problem (tool for the task).

Now about this derelict troll. I am not asserting that this person is a
core developer of wicket, but I am asserting that he was at least active
on the wicket dev and user lists throughout 2006-2007, and that it
stands to reason that the person mentioned in that changelog is the
same. We can't be sure of that because no email is listed, but does it
really seem so illogical to think they are the same person, especially
considering that the time frame of his list activity roughly coincide
with that changelog's date?

It's true that we cannot empirically know if all of these trolls, who
happen to carry an astonishing similarity in writing style (eg voice,
tone), are the same person or not. However we can be sure that Francis
Amanfo ([EMAIL PROTECTED]) is Emmanuel Sowah ([EMAIL PROTECTED]), thanks
to a classic error:
http://www.nabble.com/Can-you-comment-on-this--to7986838.html#a8018515

The email address I am specifically pointing out as the tie between at
least 2 of the personalities, as well as a person formerly active on the
wicket lists is [EMAIL PROTECTED]:
http://www.nabble.com/forum/Search.jtp?query=famanfo%40gmail.comlocal=yforum=13974matchingForums=a

It's worth noting that he seemed to be a happy tapestry user in the past
(2005-April-ish 2006):
http://www.nabble.com/user/UserPosts.jtp?user=148339local=yforum=302matchingForums=a

When this Rob Smeets fool surfaced many of us quickly assumed (yes,
assumed) he was the same as Emmanuel, again due to the remarkably
similar style in his messages. In the end it doesn't really matter.
Trolls are trolls and when they even passively align themselves with
something then by nature that something's name, in this case wicket, can
be dragged through the mud entirely against its will. It's therefore
important that the tapestry community be as careful about isolating him
from wicket as the wicket community is about distancing itself from him.
We are all software developers using conceptually similar tools -
component frameworks - which means we theoretically have a lot to learn
from each other's strengths and weaknesses. Damn the lines, the camps,
and the trolls. It's open source software, we should all be gaining from
this.

Respectfully yours,
Chris Lewis

Eelco Hillenius wrote:
 Chris Lewis-5 wrote:
   
 Except for the part about him not being a friend of wicket, I agree.
 We've every reason to believe this moron is the same Emanuel whatever,
 who is known to be Francis Amanfo, and who we know a good bit about.
 Specifically, he is active in the wicket community and was mentioned in
 a 'thanks' for having contributed an accepted patch
 (http://wicket.sourceforge.net/wicket-1.1/changes-report.html - search
 for Francis Amanfo). I wouldn't dare say that the rantings of a such
 bird brain reflect the wicket community, but he is in some manner
 associated with it.

 

 The Francis mentioned here contributed a patch. A very long time ago I might
 add. I don't think it Rob and Francis and other trolls around here are one
 person, and messages like this:
 http://www.theserverside.com/news/thread.tss?thread_id=48743#249209 enforce
 that opinion. But maybe I don't know any off them either.

 To me, there is  a huge difference between someone contributing a patch and
 someone being active over an extended period of time (patches, but also on
 the mailing list) or even being part of the core team. If there would be
 anyone really active in the Wicket community behaving like Rob does we'd
 quite simply tell him to go fcku himself. And in the case of Rob, I actually
 sent him a private email with pretty much that message a while ago, though I
 never got a reply.

 We've stated on several occasions and in public that we don't like trolls
 either (here for instance:
 http://chillenious.wordpress.com/2007/02/06/is-there-a-wicket-tapestry-feud/).
 The whole my group vs your group is so incredibly childish.

 And the trolls are probably laughing their asses off right now. Ignoring
 them works better.

 Eelco (from the Wicket 'community')
   

-- 
http://thegodcode.net



Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-21 Thread Chris Lewis
By the way I just read your linked blog post and have three things to say:

1) Thanks. Continuous affirmation of a lack of sides is a Good Thing.

2) I read the post after writing and smiled that I spoke of the same
Kumbaya state that should exist between the two frameworks, and also
that I used the same 'mud' imagery referring to the wake of a troll.

3) The word plays on HLS' last name never get old. I'm not being
sarcastic. I giggle every time I read one.

chris

Eelco Hillenius wrote:
 Chris Lewis-5 wrote:
   
 Except for the part about him not being a friend of wicket, I agree.
 We've every reason to believe this moron is the same Emanuel whatever,
 who is known to be Francis Amanfo, and who we know a good bit about.
 Specifically, he is active in the wicket community and was mentioned in
 a 'thanks' for having contributed an accepted patch
 (http://wicket.sourceforge.net/wicket-1.1/changes-report.html - search
 for Francis Amanfo). I wouldn't dare say that the rantings of a such
 bird brain reflect the wicket community, but he is in some manner
 associated with it.

 

 The Francis mentioned here contributed a patch. A very long time ago I might
 add. I don't think it Rob and Francis and other trolls around here are one
 person, and messages like this:
 http://www.theserverside.com/news/thread.tss?thread_id=48743#249209 enforce
 that opinion. But maybe I don't know any off them either.

 To me, there is  a huge difference between someone contributing a patch and
 someone being active over an extended period of time (patches, but also on
 the mailing list) or even being part of the core team. If there would be
 anyone really active in the Wicket community behaving like Rob does we'd
 quite simply tell him to go fcku himself. And in the case of Rob, I actually
 sent him a private email with pretty much that message a while ago, though I
 never got a reply.

 We've stated on several occasions and in public that we don't like trolls
 either (here for instance:
 http://chillenious.wordpress.com/2007/02/06/is-there-a-wicket-tapestry-feud/).
 The whole my group vs your group is so incredibly childish.

 And the trolls are probably laughing their asses off right now. Ignoring
 them works better.

 Eelco (from the Wicket 'community')
   

-- 
http://thegodcode.net



Re: [T5] JavaScript in template files

2008-05-21 Thread Chris Lewis
Ken,

You need to specify your script block as containing CDATA, like so:

script type=text/javascript![CDATA[
if(true  true) {
alert(!!!);
}
]]/script

Tapestry treats templates as XML, and  is an invalid character unless
processed as cdata.

chris

Ken wrote:
 Hi,

 I wrote a template file like below:


 html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 script type=text/javascript
 if (true  true) {
   alert(!!!);
 }
 /script
 /head
 /html


 and prepare empty Java file.
 then I accessed to this page and got an error:


 An unexpected application exception has occurred.

 Failure parsing template classpath:com/example/myapp/Test.tml: The
 entity name must immediately follow the '' in the entity reference.


 I'm using Tapestry 5.0.11.

 somebody help me.
 thanks.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


   

-- 
http://thegodcode.net


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Filip S. Adamsen

Hi,

I'm hardly an expert. I just read the docs and keep an eye on the 
commits and JIRA issues. :)


All the advice I can give is that you read ALL the docs on T5 and go 
from there. Learning Spring is not necessary with T5 IoC. Hibernate is a 
very good framework to know, though - I use it extensively myself.


I can't recommend a database for you, it depends on the kind of 
application you want to make, your budget, where you deploy, etc.


What do you mean by what knowledges I use?

-Filip

mark lu skrev:

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The 
current beta version is 5.0.11 with 5.0.12 available as snapshots.


As T5 was alpha when Alexander wrote the book, there have been quite a 
few changes since then. You can see some of them at 
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.


If there's anything else that doesn't work I'd advise you to check out 
the relevant docs at the website, and if that doesn't solve your 
problem, send a mail to this list. We'll probably be able to tell you 
what's going on.


Regarding T5 applications, I've had one site running since December 2, 
2007 and another site up since August, 2007.


-Filip

On 2008-05-20 17:27, mark lu wrote:

i am new to tapestry.
i just want to use t5 to build my application and i don't want to learn
the
inner technology of t5.
so,what's the stable version of t5?
i have read Alexander Kolesnikov's book--tapestry 5 build web
application,and know something about t5.
however,during my studying process,i encountered some problem even though
i
have followed the book.
so,i think it's the framework's bug,maybe.
so...who can help me?

another question:
whoever have built a application using t5 already?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Smeets on the Couch

2008-05-21 Thread Bill Holloway
A brief psychoanalysis --

It is quite likely that, like most trolls, Rob Smeets is suffering from
what is known as the abused child syndrome.  This behavior arises from an
insidious form of parental neglect of the subject as a young child, where
the only attention the child receives from the parents is negative
attention, usually to correct behavior -- attention such as stop hitting
your brother, be quiet, sit down, etc.  The parents fail to grant the
child any substantive positive, praising attention for good behavior.  Since
we all need attention from our parents, the child in this situation quickly
learns to misbehave to garner parental attention of any kind.  Because we
all base our adult relationships with peers and colleagues on relationship
skills learned as a child, the adult abused-child engages in
socially-unacceptable behavior and, sadly, thrives on the negative reactions
of its peers.

If this has escalated into a full-blown personality disorder for Mr.
Smeets, and I suspect that it has, he has really very little hope.  The
common wisdom is that personality disorders stay with the subject for life,
regardless of treatment.  About the only hope Smeets has is for his peers
and colleagues to stop reinforcing the his misbehaviors by responding to
them negatively.  In this way, it is hoped that he might learn to pursue an
alternate course for attention, namely socially-acceptable, positive
behavior.

In other words, STOP RESPONDING TO SMEET'S FRICKING POSTS.  JUST STOP.
Ignore him.  Stop doing what he wants you to do and he'll either throw
tantrums and get kicked off or he'll go away.  Frankly I don't know why
Howard hasn't at least moderated him by now.

That'll be $120, please.

Bill H., Bachelor of Shenanigans, Master of Sh*t, Piled Higher and Deeper


Re: [T5] JavaScript in template files

2008-05-21 Thread Ken
Thank you Chris.

After I prepare CDATA block, the error was gone.
But my firebug pointed as below and dialog doesn't work.

missing ) after condition
 if (true amp;amp; true) {\n

Anyway I think this is my homework.
I have to try a little.

thanks again!

Chris wrote:
 Ken,
 
 You need to specify your script block as containing CDATA, like so:
 
 script type=text/javascript![CDATA[
 if(true  true) {
 alert(!!!);
 }
 ]]/script
 
 Tapestry treats templates as XML, and  is an invalid character unless
 processed as cdata.
 
 chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-21 Thread Andy Pahne

Howard Lewis Ship schrieb:

...
I'm still experimenting, but this dual headed deployment will be the
best upgrade path from T3/T4 to T5.

I expect to follow up with new T5 tools to make sharing data between
the apps easier.





The discussion about the package name got very long, but nobody was 
interested in the new T5 tools to make sharing data [...] easier.


I am very interested how you will integrate T4 and T5 apps. Having such 
an integration would be a viable upgrade path.


Could you please share your thoughts on the integration tools?

Thanks,
Andy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] JavaScript in template files

2008-05-21 Thread Szemere Szemere
Take a look at
http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript

This explains how to do it.

Szemere

On Wed, May 21, 2008 at 6:23 AM, Ken [EMAIL PROTECTED] wrote:

 Hi,

 I wrote a template file like below:


 html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 script type=text/javascript
 if (true  true) {
  alert(!!!);
 }
 /script
 /head
 /html


 and prepare empty Java file.
 then I accessed to this page and got an error:


 An unexpected application exception has occurred.

 Failure parsing template classpath:com/example/myapp/Test.tml: The
 entity name must immediately follow the '' in the entity reference.


 I'm using Tapestry 5.0.11.

 somebody help me.
 thanks.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




show page title in layout component

2008-05-21 Thread Leon Derks

Hello

I use a layout component for all my pages, like below.
But for some reason, the page title is not passed to the layout 
component. What am I doing wrong?

Leon

Page.tml
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; 
t:type=layout title=${message:page-title}

.
/html

Laout.tml:
?xml version=1.0 encoding=utf-8?
!DOCTYPE HTML PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; 
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;

   head
   meta http-equiv=Content-Type content=text/html;charset=utf-8 /
   link rel=shortcut icon href=${asset:favicon.ico}/
   title${title}/title
   /head
   body
   div id=container
   t:branding t:id=branding /
   t:heading t:id=heading 
t:breadCrumbs=basePage.breadCrumbHolder.breadCrumbs /

   t:body /
   t:copyright t:id=copyright /
   /div
   /body
/html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread mark lu

sorry,i mean what technology do you use in you web application?
such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
thank you for your help!!


Filip S. Adamsen-2 wrote:
 
 Hi,
 
 I'm hardly an expert. I just read the docs and keep an eye on the 
 commits and JIRA issues. :)
 
 All the advice I can give is that you read ALL the docs on T5 and go 
 from there. Learning Spring is not necessary with T5 IoC. Hibernate is a 
 very good framework to know, though - I use it extensively myself.
 
 I can't recommend a database for you, it depends on the kind of 
 application you want to make, your budget, where you deploy, etc.
 
 What do you mean by what knowledges I use?
 
 -Filip
 
 mark lu skrev:
 Alexander 's book based on 5.0.6.
 i think you must be an expert in tapestry!
 i want to build my web application,cound you give me some advices?
 what other knowledges do i need except for tapestry?do i need learn
 spring
 or hibernate?
 Alexander recommend db4o as a database,how about you advice?
 what knowledges do you use in you web applicaton?
 thanks!!
 
 
 
 Filip S. Adamsen-2 wrote:
 Hi there,

 Welcome to the list. :)

 Alexander's book is based on Tapestry 5.0.7 or so, I believe. The 
 current beta version is 5.0.11 with 5.0.12 available as snapshots.

 As T5 was alpha when Alexander wrote the book, there have been quite a 
 few changes since then. You can see some of them at 
 http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

 If there's anything else that doesn't work I'd advise you to check out 
 the relevant docs at the website, and if that doesn't solve your 
 problem, send a mail to this list. We'll probably be able to tell you 
 what's going on.

 Regarding T5 applications, I've had one site running since December 2, 
 2007 and another site up since August, 2007.

 -Filip

 On 2008-05-20 17:27, mark lu wrote:
 i am new to tapestry.
 i just want to use t5 to build my application and i don't want to learn
 the
 inner technology of t5.
 so,what's the stable version of t5?
 i have read Alexander Kolesnikov's book--tapestry 5 build web
 application,and know something about t5.
 however,during my studying process,i encountered some problem even
 though
 i
 have followed the book.
 so,i think it's the framework's bug,maybe.
 so...who can help me?

 another question:
 whoever have built a application using t5 already?
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/t5%27s-version--tp17343189p17358619.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] JavaScript in template files

2008-05-21 Thread Ken

Thanks Szemere!
It's works!

Szemere wote:

Take a look at
http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



customizing css of dojo widget components

2008-05-21 Thread abhilash

Hi all,
how can i specify my own  css styles to dojo widgets.
I am using  tapestry4.1.5

any ideas?
Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/customizing-css-of-dojo-widget-components-tp17359199p17359199.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Adam Zimowski
You can use pretty much any IDE to develop your web application, but
Howard (the creator) as well as most people on the list use Eclipse,
so if you need IDE-specific help, you're most likely to get it here
with Eclipse as your tool.

For application server (aka servlet container), again, you can use
anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
is heavily preferred here is Jetty, for its speed and simplicity.
Again, you'll eliminate tons of potential problems related to app
server setup if you choose Jetty at least for you local development.
For example, under Jetty Tapestry live class reloading works
flawlessly, but not so under Tomcat (due to Tomcat's internal design,
specifically it's classloader design).

Other than those two, you're free to use any technology. Tapestry has
a great support for Hibernate, so if you choose that you'll be right
at home. I personally use iBatis, and have had no problems integrating
it with Tapestry. Spring is also very well supported, but really, not
needed since one of Spring's biggest advantages, it's IOC container,
has built-in functionality in Tapestry. What I mean is that Tapestry
has a fantastic IOC container itself, which pretty much eliminates the
need for Spring. If you need AOP, integrating AspectJ should work just
as well. I wrote few applications in Tapestry 5 where the only part of
Spring I used was spring-core, spring-dao and spring-jdbc, to take
advantage of Spring data access layer. Tapestry is very, very flexible
 in regards what technology stack you want to use with it.

If you're used to logging with Log4J this may be a bit of change to
you, as Tapestry uses simple logging facade rather than commons
logging. What this means, you won't be using Log4J directly in your
apps as you may have in the past, instead you'll be using Logger class
from http://www.slf4j.org/. It takes a while getting used to, because
at first I would find myself using Log4J in non-Tapestry classes
anyway (just a habit) rather than pulling in slf4j.

Finally, Tapestry 5 is a world-class code! If you have a chance take a
look at it's sources. It reads like a poem, simply put, it's a
masterpiece. What I mean by that is that it follows all the best
practices, desgin patterns, and everything a programmer should be
doing. You can learn a great bit about system design by following
patterns used by Tapestry itself.

It really helps to be very famliar with Inversion of Control, as
Tapestry implements it quite differently than what many newcommers are
used to. Using dependencies is very easy, as you found from the book,
just do @Inject, @InjectPage etc and bam! it's there. Setting up your
own (dao's, etc) is different though, as you build a module with
build methods or bindings, I'd recommend to get very familiar with
Tapestry IOC section on the website:
http://tapestry.apache.org/tapestry5/tapestry-ioc/.

Other than that, I can only say Tapestry 5 is a pleasure to work with!
It's power is amazing, anything can be changed and configured, so if
you're ever thinking, jeez I don't like this or that default, what
now? Just send and e-mail to this list, and you'll see it most likely
can be changed the way you want it.

Enjoy!

On Wed, May 21, 2008 at 3:40 AM, mark lu [EMAIL PROTECTED] wrote:

 sorry,i mean what technology do you use in you web application?
 such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
 thank you for your help!!


 Filip S. Adamsen-2 wrote:

 Hi,

 I'm hardly an expert. I just read the docs and keep an eye on the
 commits and JIRA issues. :)

 All the advice I can give is that you read ALL the docs on T5 and go
 from there. Learning Spring is not necessary with T5 IoC. Hibernate is a
 very good framework to know, though - I use it extensively myself.

 I can't recommend a database for you, it depends on the kind of
 application you want to make, your budget, where you deploy, etc.

 What do you mean by what knowledges I use?

 -Filip

 mark lu skrev:
 Alexander 's book based on 5.0.6.
 i think you must be an expert in tapestry!
 i want to build my web application,cound you give me some advices?
 what other knowledges do i need except for tapestry?do i need learn
 spring
 or hibernate?
 Alexander recommend db4o as a database,how about you advice?
 what knowledges do you use in you web applicaton?
 thanks!!



 Filip S. Adamsen-2 wrote:
 Hi there,

 Welcome to the list. :)

 Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
 current beta version is 5.0.11 with 5.0.12 available as snapshots.

 As T5 was alpha when Alexander wrote the book, there have been quite a
 few changes since then. You can see some of them at
 http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

 If there's anything else that doesn't work I'd advise you to check out
 the relevant docs at the website, and if that doesn't solve your
 problem, send a mail to this list. We'll probably be able to tell you
 what's going on.

 Regarding T5 applications, I've 

Re: show page title in layout component

2008-05-21 Thread Filip S. Adamsen

You're missing the t: namespace prefix on the title attribute.

Since you're putting it on a regular XHTML element, Tapestry won't 
process the attribute without it.


-Filip

Leon Derks skrev:

Hello

I use a layout component for all my pages, like below.
But for some reason, the page title is not passed to the layout 
component. What am I doing wrong?

Leon

Page.tml
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; 
t:type=layout title=${message:page-title}

.
/html

Laout.tml:
?xml version=1.0 encoding=utf-8?
!DOCTYPE HTML PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; 
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;

   head
   meta http-equiv=Content-Type content=text/html;charset=utf-8 /
   link rel=shortcut icon href=${asset:favicon.ico}/
   title${title}/title
   /head
   body
   div id=container
   t:branding t:id=branding /
   t:heading t:id=heading 
t:breadCrumbs=basePage.breadCrumbHolder.breadCrumbs /

   t:body /
   t:copyright t:id=copyright /
   /div
   /body
/html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Filip S. Adamsen
My projects are setup with Maven, stored in Subversion, edited in 
IntelliJ IDEA, run in Jetty for local testing, deployed to Tomcat 5.5 
(for now, moving to Jetty soon) and use Hibernate with MySQL (although 
I'm migrating to PostgreSQL soon) for data access.


-Filip

mark lu skrev:

sorry,i mean what technology do you use in you web application?
such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
thank you for your help!!


Filip S. Adamsen-2 wrote:

Hi,

I'm hardly an expert. I just read the docs and keep an eye on the 
commits and JIRA issues. :)


All the advice I can give is that you read ALL the docs on T5 and go 
from there. Learning Spring is not necessary with T5 IoC. Hibernate is a 
very good framework to know, though - I use it extensively myself.


I can't recommend a database for you, it depends on the kind of 
application you want to make, your budget, where you deploy, etc.


What do you mean by what knowledges I use?

-Filip

mark lu skrev:

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn
spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The 
current beta version is 5.0.11 with 5.0.12 available as snapshots.


As T5 was alpha when Alexander wrote the book, there have been quite a 
few changes since then. You can see some of them at 
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.


If there's anything else that doesn't work I'd advise you to check out 
the relevant docs at the website, and if that doesn't solve your 
problem, send a mail to this list. We'll probably be able to tell you 
what's going on.


Regarding T5 applications, I've had one site running since December 2, 
2007 and another site up since August, 2007.


-Filip

On 2008-05-20 17:27, mark lu wrote:

i am new to tapestry.
i just want to use t5 to build my application and i don't want to learn
the
inner technology of t5.
so,what's the stable version of t5?
i have read Alexander Kolesnikov's book--tapestry 5 build web
application,and know something about t5.
however,during my studying process,i encountered some problem even
though
i
have followed the book.
so,i think it's the framework's bug,maybe.
so...who can help me?

another question:
whoever have built a application using t5 already?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Package rename for 5.0.12

2008-05-21 Thread 9902468

Hi,

There's something fishy going on, as the latest nightly build of annotations
is the 16th days. Also, source control seems to be missing all together
Inject and InjectService from ioc. Is anyone else seeing this or is it just
me? (Moved somewhere or renamed?)

 - 99



Howard Lewis Ship wrote:
 
 As a follow on to the prior discussion ... the upgrade for users from
 5.0.11 to 5.0.12 (once 5.0.12 is available) will have one big wrinkle:
 
 Package org.apache.tapestry has been renamed to org.apache.tapestry5.
 
 The rationale behind this is the rename will allow Tapestry 3 or
 Tapestry 4 applications to co-exist with a Tapestry 5 application.
 Without it, there were a number of naming conflicts.
 
 It's unfortunate that such a large change should occur so late, pretty
 much on the eve of a release candidate (5.0.12 may be a second beta,
 or may be the release candidate).  This represents a lack of foresight
 on my part, and an evolving set of priorities.
 
 If you are on Unix, you can update your code pretty easily:
 
 find . -name \*.java -o -name \*.xml -o -name \*.properties  | xargs
 sed -i s/org\\.apache\\.tapestry\\./org.apache.tapestry5./g
 
 This finds all Java, XML and properties files and edits them in place
 to replace org.apache.tapestry. with org.apache.tapestry5..
 
 This will be necessary after tonight's nightly build (if you are using
 5.0.12-SNAPSHOT) or once 5.0.12 is available (as part of the upgrade
 from 5.0.11).
 
 Thanks to everyone for all the great input; it felt that the consensus
 was that tapestry5 (rather than tapestry.v5 or other suggestions) was
 the best approach.  Tapestry5 really is a new product in the Tapestry
 product line, and this naming still feels consistent to me.
 
 -- 
 Howard M. Lewis Ship
 
 Creator Apache Tapestry and Apache HiveMind
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Package-rename-for-5.0.12-tp17348699p17363689.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Filip S. Adamsen

What a great post!

One correction, though. Howard and a lot of other people - myself 
included - use IntelliJ IDEA. :)


-Filip

Adam Zimowski skrev:

You can use pretty much any IDE to develop your web application, but
Howard (the creator) as well as most people on the list use Eclipse,
so if you need IDE-specific help, you're most likely to get it here
with Eclipse as your tool.

For application server (aka servlet container), again, you can use
anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
is heavily preferred here is Jetty, for its speed and simplicity.
Again, you'll eliminate tons of potential problems related to app
server setup if you choose Jetty at least for you local development.
For example, under Jetty Tapestry live class reloading works
flawlessly, but not so under Tomcat (due to Tomcat's internal design,
specifically it's classloader design).

Other than those two, you're free to use any technology. Tapestry has
a great support for Hibernate, so if you choose that you'll be right
at home. I personally use iBatis, and have had no problems integrating
it with Tapestry. Spring is also very well supported, but really, not
needed since one of Spring's biggest advantages, it's IOC container,
has built-in functionality in Tapestry. What I mean is that Tapestry
has a fantastic IOC container itself, which pretty much eliminates the
need for Spring. If you need AOP, integrating AspectJ should work just
as well. I wrote few applications in Tapestry 5 where the only part of
Spring I used was spring-core, spring-dao and spring-jdbc, to take
advantage of Spring data access layer. Tapestry is very, very flexible
 in regards what technology stack you want to use with it.

If you're used to logging with Log4J this may be a bit of change to
you, as Tapestry uses simple logging facade rather than commons
logging. What this means, you won't be using Log4J directly in your
apps as you may have in the past, instead you'll be using Logger class
from http://www.slf4j.org/. It takes a while getting used to, because
at first I would find myself using Log4J in non-Tapestry classes
anyway (just a habit) rather than pulling in slf4j.

Finally, Tapestry 5 is a world-class code! If you have a chance take a
look at it's sources. It reads like a poem, simply put, it's a
masterpiece. What I mean by that is that it follows all the best
practices, desgin patterns, and everything a programmer should be
doing. You can learn a great bit about system design by following
patterns used by Tapestry itself.

It really helps to be very famliar with Inversion of Control, as
Tapestry implements it quite differently than what many newcommers are
used to. Using dependencies is very easy, as you found from the book,
just do @Inject, @InjectPage etc and bam! it's there. Setting up your
own (dao's, etc) is different though, as you build a module with
build methods or bindings, I'd recommend to get very familiar with
Tapestry IOC section on the website:
http://tapestry.apache.org/tapestry5/tapestry-ioc/.

Other than that, I can only say Tapestry 5 is a pleasure to work with!
It's power is amazing, anything can be changed and configured, so if
you're ever thinking, jeez I don't like this or that default, what
now? Just send and e-mail to this list, and you'll see it most likely
can be changed the way you want it.

Enjoy!

On Wed, May 21, 2008 at 3:40 AM, mark lu [EMAIL PROTECTED] wrote:

sorry,i mean what technology do you use in you web application?
such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
thank you for your help!!


Filip S. Adamsen-2 wrote:

Hi,

I'm hardly an expert. I just read the docs and keep an eye on the
commits and JIRA issues. :)

All the advice I can give is that you read ALL the docs on T5 and go
from there. Learning Spring is not necessary with T5 IoC. Hibernate is a
very good framework to know, though - I use it extensively myself.

I can't recommend a database for you, it depends on the kind of
application you want to make, your budget, where you deploy, etc.

What do you mean by what knowledges I use?

-Filip

mark lu skrev:

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn
spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
current beta version is 5.0.11 with 5.0.12 available as snapshots.

As T5 was alpha when Alexander wrote the book, there have been quite a
few changes since then. You can see some of them at
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

If there's anything else that doesn't work I'd advise you to check out
the relevant docs at the website, and if that doesn't solve your

T5: get name of Start page

2008-05-21 Thread Leon Derks

Hello

Is it possible to get the name of the (default) start page?

Leon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Package rename for 5.0.12

2008-05-21 Thread Filip S. Adamsen

Everything's fine.

Annotations was moved to org.apache.tapestry:tapestry5-annotations. Now 
that T5 is in org.apache.tapestry5 it should probably be moved back.


Also, some packages changed from ...annotation to ...annotations, might 
be why you can't find @Inject and @InjectService.


-Filip

9902468 skrev:

Hi,

There's something fishy going on, as the latest nightly build of annotations
is the 16th days. Also, source control seems to be missing all together
Inject and InjectService from ioc. Is anyone else seeing this or is it just
me? (Moved somewhere or renamed?)

 - 99



Howard Lewis Ship wrote:

As a follow on to the prior discussion ... the upgrade for users from
5.0.11 to 5.0.12 (once 5.0.12 is available) will have one big wrinkle:

Package org.apache.tapestry has been renamed to org.apache.tapestry5.

The rationale behind this is the rename will allow Tapestry 3 or
Tapestry 4 applications to co-exist with a Tapestry 5 application.
Without it, there were a number of naming conflicts.

It's unfortunate that such a large change should occur so late, pretty
much on the eve of a release candidate (5.0.12 may be a second beta,
or may be the release candidate).  This represents a lack of foresight
on my part, and an evolving set of priorities.

If you are on Unix, you can update your code pretty easily:

find . -name \*.java -o -name \*.xml -o -name \*.properties  | xargs
sed -i s/org\\.apache\\.tapestry\\./org.apache.tapestry5./g

This finds all Java, XML and properties files and edits them in place
to replace org.apache.tapestry. with org.apache.tapestry5..

This will be necessary after tonight's nightly build (if you are using
5.0.12-SNAPSHOT) or once 5.0.12 is available (as part of the upgrade
from 5.0.11).

Thanks to everyone for all the great input; it felt that the consensus
was that tapestry5 (rather than tapestry.v5 or other suggestions) was
the best approach.  Tapestry5 really is a new product in the Tapestry
product line, and this naming still feels consistent to me.

--
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: get name of Start page

2008-05-21 Thread Filip S. Adamsen

Yes, it is.

In a page:

  @Inject
  @Symbol(tapestry.start-page-name)
  private String startPageName;

In a service:

  Constructor(@Inject @Symbol(tapestry.start-page-name) String 
startPageName) {

...
  }

http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/conf.html
http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/symbols.html

-Filip

Leon Derks skrev:

Hello

Is it possible to get the name of the (default) start page?

Leon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5: Grid - custom sortable icon

2008-05-21 Thread pavla

Hi,
it would be great to have a simple way how to customize sortable icon in
grid table (for now I use some workaround). Generated table header cell for
sortable column looks like:

th...
.. something 
.. 
../../assets/tapestry/corelib/components/sortable.png 

/th

Maybe, it would be better generated code looks like:
th...
.. something 
/th

and sortable icon would be included as a background-image of the link
(defined in css class t-sort-column; for actually sorted column the
classes that can serve that purpose already exist: t-sort-column-ascending
and t-sort-column-descending). This way I think it would be semantically
cleaner and really easy to customize.

Best regards, Pavla

-- 
View this message in context: 
http://www.nabble.com/T5%3A-Grid---custom-sortable-icon-tp17364213p17364213.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Customizing grid sorting

2008-05-21 Thread Dan Adams
There are two situations we hit often in our applications:
 - disabling sorting for one specific column because it doesn't have a 
corresponding db column
 - not allowing sorting by any of the columns because the data is sorted 
explicitly

In T4 with contrib:Table you could specify a list of colums like foo,!bar,baz 
and then bar wouldn't be sorted. How have others handled this in T5?

Dan Adams
Senior Software Engineer
Interactive Factory
p: 617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread mark lu

Thank you for your explanation with so much patience and other warmhearted
guys!
i think i am in the right place!
My enviornment is:eclipse3.3 ,jetty6.1.9,tapestry5.0.6.

At first,i use tomcat,but whenever i changed the code there will be a error
pop up--hot code replace error,so i have to restart the server.it's very
annoy!so,i change to jetty,it's very fast!
BTW,who know how to conquer the hot code replace error in tomcat?
I have goolge this error,say i have to use IBM'vm,have i?

when i study t5,i have encountered some problems.the first one is about ASO:
in the page class,i declare a variable:
@ApplicationState
private IDataSource dataSource;//IDataSource  is a interface

in AppModule:
public void contributeApplicationStateManager(
  MappedConfigurationClass, ApplicationStateContribution configuration) {

 ApplicationStateCreatorIDataSource creator = new
ApplicationStateCreatorIDataSource() {
public IDataSource create() {
return new MockDataSource();
}
};

configuration.add(IDataSource.class, new 
ApplicationStateContribution(
session, creator));
}



the error is:
Failure reading parameter source of component ShowAll:grid:
java.lang.InstantiationException: com.packtpub.celebrities.data.IDataSource


what's the problem?


Adam Zimowski wrote:
 
 You can use pretty much any IDE to develop your web application, but
 Howard (the creator) as well as most people on the list use Eclipse,
 so if you need IDE-specific help, you're most likely to get it here
 with Eclipse as your tool.
 
 For application server (aka servlet container), again, you can use
 anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
 is heavily preferred here is Jetty, for its speed and simplicity.
 Again, you'll eliminate tons of potential problems related to app
 server setup if you choose Jetty at least for you local development.
 For example, under Jetty Tapestry live class reloading works
 flawlessly, but not so under Tomcat (due to Tomcat's internal design,
 specifically it's classloader design).
 
 Other than those two, you're free to use any technology. Tapestry has
 a great support for Hibernate, so if you choose that you'll be right
 at home. I personally use iBatis, and have had no problems integrating
 it with Tapestry. Spring is also very well supported, but really, not
 needed since one of Spring's biggest advantages, it's IOC container,
 has built-in functionality in Tapestry. What I mean is that Tapestry
 has a fantastic IOC container itself, which pretty much eliminates the
 need for Spring. If you need AOP, integrating AspectJ should work just
 as well. I wrote few applications in Tapestry 5 where the only part of
 Spring I used was spring-core, spring-dao and spring-jdbc, to take
 advantage of Spring data access layer. Tapestry is very, very flexible
  in regards what technology stack you want to use with it.
 
 If you're used to logging with Log4J this may be a bit of change to
 you, as Tapestry uses simple logging facade rather than commons
 logging. What this means, you won't be using Log4J directly in your
 apps as you may have in the past, instead you'll be using Logger class
 from http://www.slf4j.org/. It takes a while getting used to, because
 at first I would find myself using Log4J in non-Tapestry classes
 anyway (just a habit) rather than pulling in slf4j.
 
 Finally, Tapestry 5 is a world-class code! If you have a chance take a
 look at it's sources. It reads like a poem, simply put, it's a
 masterpiece. What I mean by that is that it follows all the best
 practices, desgin patterns, and everything a programmer should be
 doing. You can learn a great bit about system design by following
 patterns used by Tapestry itself.
 
 It really helps to be very famliar with Inversion of Control, as
 Tapestry implements it quite differently than what many newcommers are
 used to. Using dependencies is very easy, as you found from the book,
 just do @Inject, @InjectPage etc and bam! it's there. Setting up your
 own (dao's, etc) is different though, as you build a module with
 build methods or bindings, I'd recommend to get very familiar with
 Tapestry IOC section on the website:
 http://tapestry.apache.org/tapestry5/tapestry-ioc/.
 
 Other than that, I can only say Tapestry 5 is a pleasure to work with!
 It's power is amazing, anything can be changed and configured, so if
 you're ever thinking, jeez I don't like this or that default, what
 now? Just send and e-mail to this list, and you'll see it most likely
 can be changed the way you want it.
 
 Enjoy!
 
 On Wed, May 21, 2008 at 3:40 AM, mark lu [EMAIL PROTECTED] wrote:

 sorry,i mean what technology do you use in you web application?
 such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
 thank you for your help!!


 Filip S. Adamsen-2 wrote:

 Hi,

 I'm hardly an expert. I just read the docs 

Re: t5's version?

2008-05-21 Thread mark lu

As you say,there is no need to use spring,so i'll study hibernate next,am i
right?:)
BTW,i don't master maven,is't going to be a problem during my learning?is't
very useful?
i don't like the command line's tools!



Adam Zimowski wrote:
 
 You can use pretty much any IDE to develop your web application, but
 Howard (the creator) as well as most people on the list use Eclipse,
 so if you need IDE-specific help, you're most likely to get it here
 with Eclipse as your tool.
 
 For application server (aka servlet container), again, you can use
 anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
 is heavily preferred here is Jetty, for its speed and simplicity.
 Again, you'll eliminate tons of potential problems related to app
 server setup if you choose Jetty at least for you local development.
 For example, under Jetty Tapestry live class reloading works
 flawlessly, but not so under Tomcat (due to Tomcat's internal design,
 specifically it's classloader design).
 
 Other than those two, you're free to use any technology. Tapestry has
 a great support for Hibernate, so if you choose that you'll be right
 at home. I personally use iBatis, and have had no problems integrating
 it with Tapestry. Spring is also very well supported, but really, not
 needed since one of Spring's biggest advantages, it's IOC container,
 has built-in functionality in Tapestry. What I mean is that Tapestry
 has a fantastic IOC container itself, which pretty much eliminates the
 need for Spring. If you need AOP, integrating AspectJ should work just
 as well. I wrote few applications in Tapestry 5 where the only part of
 Spring I used was spring-core, spring-dao and spring-jdbc, to take
 advantage of Spring data access layer. Tapestry is very, very flexible
  in regards what technology stack you want to use with it.
 
 If you're used to logging with Log4J this may be a bit of change to
 you, as Tapestry uses simple logging facade rather than commons
 logging. What this means, you won't be using Log4J directly in your
 apps as you may have in the past, instead you'll be using Logger class
 from http://www.slf4j.org/. It takes a while getting used to, because
 at first I would find myself using Log4J in non-Tapestry classes
 anyway (just a habit) rather than pulling in slf4j.
 
 Finally, Tapestry 5 is a world-class code! If you have a chance take a
 look at it's sources. It reads like a poem, simply put, it's a
 masterpiece. What I mean by that is that it follows all the best
 practices, desgin patterns, and everything a programmer should be
 doing. You can learn a great bit about system design by following
 patterns used by Tapestry itself.
 
 It really helps to be very famliar with Inversion of Control, as
 Tapestry implements it quite differently than what many newcommers are
 used to. Using dependencies is very easy, as you found from the book,
 just do @Inject, @InjectPage etc and bam! it's there. Setting up your
 own (dao's, etc) is different though, as you build a module with
 build methods or bindings, I'd recommend to get very familiar with
 Tapestry IOC section on the website:
 http://tapestry.apache.org/tapestry5/tapestry-ioc/.
 
 Other than that, I can only say Tapestry 5 is a pleasure to work with!
 It's power is amazing, anything can be changed and configured, so if
 you're ever thinking, jeez I don't like this or that default, what
 now? Just send and e-mail to this list, and you'll see it most likely
 can be changed the way you want it.
 
 Enjoy!
 
 On Wed, May 21, 2008 at 3:40 AM, mark lu [EMAIL PROTECTED] wrote:

 sorry,i mean what technology do you use in you web application?
 such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
 thank you for your help!!


 Filip S. Adamsen-2 wrote:

 Hi,

 I'm hardly an expert. I just read the docs and keep an eye on the
 commits and JIRA issues. :)

 All the advice I can give is that you read ALL the docs on T5 and go
 from there. Learning Spring is not necessary with T5 IoC. Hibernate is a
 very good framework to know, though - I use it extensively myself.

 I can't recommend a database for you, it depends on the kind of
 application you want to make, your budget, where you deploy, etc.

 What do you mean by what knowledges I use?

 -Filip

 mark lu skrev:
 Alexander 's book based on 5.0.6.
 i think you must be an expert in tapestry!
 i want to build my web application,cound you give me some advices?
 what other knowledges do i need except for tapestry?do i need learn
 spring
 or hibernate?
 Alexander recommend db4o as a database,how about you advice?
 what knowledges do you use in you web applicaton?
 thanks!!



 Filip S. Adamsen-2 wrote:
 Hi there,

 Welcome to the list. :)

 Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
 current beta version is 5.0.11 with 5.0.12 available as snapshots.

 As T5 was alpha when Alexander wrote the book, there have been quite a
 few changes since then. You can see some of them at
 

Re: Package rename for 5.0.12

2008-05-21 Thread Howard Lewis Ship
There's two different artifacts thgat store annotations:
tapestry-annotations (for T4) and tapestry5-annotations (for T5).
T5's name is going to stay modified (as tapestry5-annotations) so that
we can distinguish the two when using them in the same WAR.

On Wed, May 21, 2008 at 5:15 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote:
 Everything's fine.

 Annotations was moved to org.apache.tapestry:tapestry5-annotations. Now that
 T5 is in org.apache.tapestry5 it should probably be moved back.

 Also, some packages changed from ...annotation to ...annotations, might be
 why you can't find @Inject and @InjectService.

 -Filip

 9902468 skrev:

 Hi,

 There's something fishy going on, as the latest nightly build of
 annotations
 is the 16th days. Also, source control seems to be missing all together
 Inject and InjectService from ioc. Is anyone else seeing this or is it
 just
 me? (Moved somewhere or renamed?)

  - 99



 Howard Lewis Ship wrote:

 As a follow on to the prior discussion ... the upgrade for users from
 5.0.11 to 5.0.12 (once 5.0.12 is available) will have one big wrinkle:

 Package org.apache.tapestry has been renamed to org.apache.tapestry5.

 The rationale behind this is the rename will allow Tapestry 3 or
 Tapestry 4 applications to co-exist with a Tapestry 5 application.
 Without it, there were a number of naming conflicts.

 It's unfortunate that such a large change should occur so late, pretty
 much on the eve of a release candidate (5.0.12 may be a second beta,
 or may be the release candidate).  This represents a lack of foresight
 on my part, and an evolving set of priorities.

 If you are on Unix, you can update your code pretty easily:

 find . -name \*.java -o -name \*.xml -o -name \*.properties  | xargs
 sed -i s/org\\.apache\\.tapestry\\./org.apache.tapestry5./g

 This finds all Java, XML and properties files and edits them in place
 to replace org.apache.tapestry. with org.apache.tapestry5..

 This will be necessary after tonight's nightly build (if you are using
 5.0.12-SNAPSHOT) or once 5.0.12 is available (as part of the upgrade
 from 5.0.11).

 Thanks to everyone for all the great input; it felt that the consensus
 was that tapestry5 (rather than tapestry.v5 or other suggestions) was
 the best approach.  Tapestry5 really is a new product in the Tapestry
 product line, and this naming still feels consistent to me.

 --
 Howard M. Lewis Ship

 Creator Apache Tapestry and Apache HiveMind

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Smeets on the Couch

2008-05-21 Thread Howard Lewis Ship
Actually, I did kick him off the list (he then went paranoid, accusing
me of blocking his domain) but we seem to be having a ripple effect
as new folks pick up the old threads.

On Wed, May 21, 2008 at 1:09 AM, Bill Holloway [EMAIL PROTECTED] wrote:
 A brief psychoanalysis --

 It is quite likely that, like most trolls, Rob Smeets is suffering from
 what is known as the abused child syndrome.  This behavior arises from an
 insidious form of parental neglect of the subject as a young child, where
 the only attention the child receives from the parents is negative
 attention, usually to correct behavior -- attention such as stop hitting
 your brother, be quiet, sit down, etc.  The parents fail to grant the
 child any substantive positive, praising attention for good behavior.  Since
 we all need attention from our parents, the child in this situation quickly
 learns to misbehave to garner parental attention of any kind.  Because we
 all base our adult relationships with peers and colleagues on relationship
 skills learned as a child, the adult abused-child engages in
 socially-unacceptable behavior and, sadly, thrives on the negative reactions
 of its peers.

 If this has escalated into a full-blown personality disorder for Mr.
 Smeets, and I suspect that it has, he has really very little hope.  The
 common wisdom is that personality disorders stay with the subject for life,
 regardless of treatment.  About the only hope Smeets has is for his peers
 and colleagues to stop reinforcing the his misbehaviors by responding to
 them negatively.  In this way, it is hoped that he might learn to pursue an
 alternate course for attention, namely socially-acceptable, positive
 behavior.

 In other words, STOP RESPONDING TO SMEET'S FRICKING POSTS.  JUST STOP.
 Ignore him.  Stop doing what he wants you to do and he'll either throw
 tantrums and get kicked off or he'll go away.  Frankly I don't know why
 Howard hasn't at least moderated him by now.

 That'll be $120, please.

 Bill H., Bachelor of Shenanigans, Master of Sh*t, Piled Higher and Deeper




-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-21 Thread Howard Lewis Ship
Right now, I'm thinking of a new annotation that would allow you to
map a component field directly to a Session attribute; the session
attribute keys used by a T3 or T4 app are very predictable and this
would allow the T5 app to share data where appropriate without the
fuss of using the Session API directly.

On Wed, May 21, 2008 at 1:17 AM, Andy Pahne [EMAIL PROTECTED] wrote:
 Howard Lewis Ship schrieb:

 ...
 I'm still experimenting, but this dual headed deployment will be the
 best upgrade path from T3/T4 to T5.

 I expect to follow up with new T5 tools to make sharing data between
 the apps easier.




 The discussion about the package name got very long, but nobody was
 interested in the new T5 tools to make sharing data [...] easier.

 I am very interested how you will integrate T4 and T5 apps. Having such an
 integration would be a viable upgrade path.

 Could you please share your thoughts on the integration tools?

 Thanks,
 Andy

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Howard Lewis Ship
On Wed, May 21, 2008 at 3:08 AM, Adam Zimowski [EMAIL PROTECTED] wrote:
 You can use pretty much any IDE to develop your web application, but
 Howard (the creator) as well as most people on the list use Eclipse,
 so if you need IDE-specific help, you're most likely to get it here
 with Eclipse as your tool.

 For application server (aka servlet container), again, you can use
 anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
 is heavily preferred here is Jetty, for its speed and simplicity.
 Again, you'll eliminate tons of potential problems related to app
 server setup if you choose Jetty at least for you local development.
 For example, under Jetty Tapestry live class reloading works
 flawlessly, but not so under Tomcat (due to Tomcat's internal design,
 specifically it's classloader design).

 Other than those two, you're free to use any technology. Tapestry has
 a great support for Hibernate, so if you choose that you'll be right
 at home. I personally use iBatis, and have had no problems integrating
 it with Tapestry. Spring is also very well supported, but really, not
 needed since one of Spring's biggest advantages, it's IOC container,
 has built-in functionality in Tapestry. What I mean is that Tapestry
 has a fantastic IOC container itself, which pretty much eliminates the
 need for Spring. If you need AOP, integrating AspectJ should work just
 as well. I wrote few applications in Tapestry 5 where the only part of
 Spring I used was spring-core, spring-dao and spring-jdbc, to take
 advantage of Spring data access layer. Tapestry is very, very flexible
  in regards what technology stack you want to use with it.

 If you're used to logging with Log4J this may be a bit of change to
 you, as Tapestry uses simple logging facade rather than commons
 logging. What this means, you won't be using Log4J directly in your
 apps as you may have in the past, instead you'll be using Logger class
 from http://www.slf4j.org/. It takes a while getting used to, because
 at first I would find myself using Log4J in non-Tapestry classes
 anyway (just a habit) rather than pulling in slf4j.

 Finally, Tapestry 5 is a world-class code! If you have a chance take a
 look at it's sources. It reads like a poem, simply put, it's a
 masterpiece. What I mean by that is that it follows all the best
 practices, desgin patterns, and everything a programmer should be
 doing. You can learn a great bit about system design by following
 patterns used by Tapestry itself.

Thanks for the complements!  I prefer all my DSLs to be in iambic pentameter.


 It really helps to be very famliar with Inversion of Control, as
 Tapestry implements it quite differently than what many newcommers are
 used to. Using dependencies is very easy, as you found from the book,
 just do @Inject, @InjectPage etc and bam! it's there. Setting up your
 own (dao's, etc) is different though, as you build a module with
 build methods or bindings, I'd recommend to get very familiar with
 Tapestry IOC section on the website:
 http://tapestry.apache.org/tapestry5/tapestry-ioc/.

 Other than that, I can only say Tapestry 5 is a pleasure to work with!
 It's power is amazing, anything can be changed and configured, so if
 you're ever thinking, jeez I don't like this or that default, what
 now? Just send and e-mail to this list, and you'll see it most likely
 can be changed the way you want it.

 Enjoy!

 On Wed, May 21, 2008 at 3:40 AM, mark lu [EMAIL PROTECTED] wrote:

 sorry,i mean what technology do you use in you web application?
 such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
 thank you for your help!!


 Filip S. Adamsen-2 wrote:

 Hi,

 I'm hardly an expert. I just read the docs and keep an eye on the
 commits and JIRA issues. :)

 All the advice I can give is that you read ALL the docs on T5 and go
 from there. Learning Spring is not necessary with T5 IoC. Hibernate is a
 very good framework to know, though - I use it extensively myself.

 I can't recommend a database for you, it depends on the kind of
 application you want to make, your budget, where you deploy, etc.

 What do you mean by what knowledges I use?

 -Filip

 mark lu skrev:
 Alexander 's book based on 5.0.6.
 i think you must be an expert in tapestry!
 i want to build my web application,cound you give me some advices?
 what other knowledges do i need except for tapestry?do i need learn
 spring
 or hibernate?
 Alexander recommend db4o as a database,how about you advice?
 what knowledges do you use in you web applicaton?
 thanks!!



 Filip S. Adamsen-2 wrote:
 Hi there,

 Welcome to the list. :)

 Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
 current beta version is 5.0.11 with 5.0.12 available as snapshots.

 As T5 was alpha when Alexander wrote the book, there have been quite a
 few changes since then. You can see some of them at
 http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

 If there's anything else that doesn't work I'd advise you 

Re: show page title in layout component

2008-05-21 Thread Josh Canfield
 html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 t:type=layout title=${message:page-title}

I believe you want to replace
title=${message:page-title}
with
t:title=message:page-title

Josh

On Wed, May 21, 2008 at 1:35 AM, Leon Derks [EMAIL PROTECTED] wrote:
 Hello

 I use a layout component for all my pages, like below.
 But for some reason, the page title is not passed to the layout component.
 What am I doing wrong?
 Leon

 Page.tml
 html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 t:type=layout title=${message:page-title}
 .
 /html

 Laout.tml:
 ?xml version=1.0 encoding=utf-8?
 !DOCTYPE HTML PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
 html xmlns=http://www.w3.org/1999/xhtml;
 xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
   head
   meta http-equiv=Content-Type content=text/html;charset=utf-8 /
   link rel=shortcut icon href=${asset:favicon.ico}/
   title${title}/title
   /head
   body
   div id=container
   t:branding t:id=branding /
   t:heading t:id=heading
 t:breadCrumbs=basePage.breadCrumbHolder.breadCrumbs /
   t:body /
   t:copyright t:id=copyright /
   /div
   /body
 /html

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Josh Canfield
Hey Filip,

I'm using the same environment that you've described. I'm curious
about your choice to move from MySQL and Tomcat. I've considered
making the two changes you are working on, and I'm curious what made
you take the leap?

Josh

On Wed, May 21, 2008 at 3:30 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote:
 My projects are setup with Maven, stored in Subversion, edited in IntelliJ
 IDEA, run in Jetty for local testing, deployed to Tomcat 5.5 (for now,
 moving to Jetty soon) and use Hibernate with MySQL (although I'm migrating
 to PostgreSQL soon) for data access.

 -Filip

 mark lu skrev:

 sorry,i mean what technology do you use in you web application?
 such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
 thank you for your help!!


 Filip S. Adamsen-2 wrote:

 Hi,

 I'm hardly an expert. I just read the docs and keep an eye on the commits
 and JIRA issues. :)

 All the advice I can give is that you read ALL the docs on T5 and go from
 there. Learning Spring is not necessary with T5 IoC. Hibernate is a very
 good framework to know, though - I use it extensively myself.

 I can't recommend a database for you, it depends on the kind of
 application you want to make, your budget, where you deploy, etc.

 What do you mean by what knowledges I use?

 -Filip

 mark lu skrev:

 Alexander 's book based on 5.0.6.
 i think you must be an expert in tapestry!
 i want to build my web application,cound you give me some advices?
 what other knowledges do i need except for tapestry?do i need learn
 spring
 or hibernate?
 Alexander recommend db4o as a database,how about you advice?
 what knowledges do you use in you web applicaton?
 thanks!!



 Filip S. Adamsen-2 wrote:

 Hi there,

 Welcome to the list. :)

 Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
 current beta version is 5.0.11 with 5.0.12 available as snapshots.

 As T5 was alpha when Alexander wrote the book, there have been quite a
 few changes since then. You can see some of them at
 http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

 If there's anything else that doesn't work I'd advise you to check out
 the relevant docs at the website, and if that doesn't solve your problem,
 send a mail to this list. We'll probably be able to tell you what's going
 on.

 Regarding T5 applications, I've had one site running since December 2,
 2007 and another site up since August, 2007.

 -Filip

 On 2008-05-20 17:27, mark lu wrote:

 i am new to tapestry.
 i just want to use t5 to build my application and i don't want to
 learn
 the
 inner technology of t5.
 so,what's the stable version of t5?
 i have read Alexander Kolesnikov's book--tapestry 5 build web
 application,and know something about t5.
 however,during my studying process,i encountered some problem even
 though
 i
 have followed the book.
 so,i think it's the framework's bug,maybe.
 so...who can help me?

 another question:
 whoever have built a application using t5 already?

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Filip S. Adamsen

Hi Josh,

With Tomcat it's all the small, annoying problems I encounter every once 
in a while and the fact that it's slooow compared to Jetty. And since I 
use it for development I might as well use it in production.


With MySQL... I sort of just want to try (and learn) something new. That 
and the fact that MySQL is just weird sometimes.


And since I'm the one making the decisions around here, I can do 
whatever I want. :)


-Filip

On 2008-05-21 19:17, Josh Canfield wrote:

Hey Filip,

I'm using the same environment that you've described. I'm curious
about your choice to move from MySQL and Tomcat. I've considered
making the two changes you are working on, and I'm curious what made
you take the leap?

Josh

On Wed, May 21, 2008 at 3:30 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote:

My projects are setup with Maven, stored in Subversion, edited in IntelliJ
IDEA, run in Jetty for local testing, deployed to Tomcat 5.5 (for now,
moving to Jetty soon) and use Hibernate with MySQL (although I'm migrating
to PostgreSQL soon) for data access.

-Filip

mark lu skrev:

sorry,i mean what technology do you use in you web application?
such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
thank you for your help!!


Filip S. Adamsen-2 wrote:

Hi,

I'm hardly an expert. I just read the docs and keep an eye on the commits
and JIRA issues. :)

All the advice I can give is that you read ALL the docs on T5 and go from
there. Learning Spring is not necessary with T5 IoC. Hibernate is a very
good framework to know, though - I use it extensively myself.

I can't recommend a database for you, it depends on the kind of
application you want to make, your budget, where you deploy, etc.

What do you mean by what knowledges I use?

-Filip

mark lu skrev:

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn
spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
current beta version is 5.0.11 with 5.0.12 available as snapshots.

As T5 was alpha when Alexander wrote the book, there have been quite a
few changes since then. You can see some of them at
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

If there's anything else that doesn't work I'd advise you to check out
the relevant docs at the website, and if that doesn't solve your problem,
send a mail to this list. We'll probably be able to tell you what's going
on.

Regarding T5 applications, I've had one site running since December 2,
2007 and another site up since August, 2007.

-Filip

On 2008-05-20 17:27, mark lu wrote:

i am new to tapestry.
i just want to use t5 to build my application and i don't want to
learn
the
inner technology of t5.
so,what's the stable version of t5?
i have read Alexander Kolesnikov's book--tapestry 5 build web
application,and know something about t5.
however,during my studying process,i encountered some problem even
though
i
have followed the book.
so,i think it's the framework's bug,maybe.
so...who can help me?

another question:
whoever have built a application using t5 already?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Package rename for 5.0.12

2008-05-21 Thread Filip S. Adamsen
Ah, okay. Wouldn't it make sense to rename the rest of the artifacts as 
well? Or is that too disruptive?


-Filip

On 2008-05-21 18:06, Howard Lewis Ship wrote:

There's two different artifacts thgat store annotations:
tapestry-annotations (for T4) and tapestry5-annotations (for T5).
T5's name is going to stay modified (as tapestry5-annotations) so that
we can distinguish the two when using them in the same WAR.

On Wed, May 21, 2008 at 5:15 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote:

Everything's fine.

Annotations was moved to org.apache.tapestry:tapestry5-annotations. Now that
T5 is in org.apache.tapestry5 it should probably be moved back.

Also, some packages changed from ...annotation to ...annotations, might be
why you can't find @Inject and @InjectService.

-Filip

9902468 skrev:

Hi,

There's something fishy going on, as the latest nightly build of
annotations
is the 16th days. Also, source control seems to be missing all together
Inject and InjectService from ioc. Is anyone else seeing this or is it
just
me? (Moved somewhere or renamed?)

 - 99



Howard Lewis Ship wrote:

As a follow on to the prior discussion ... the upgrade for users from
5.0.11 to 5.0.12 (once 5.0.12 is available) will have one big wrinkle:

Package org.apache.tapestry has been renamed to org.apache.tapestry5.

The rationale behind this is the rename will allow Tapestry 3 or
Tapestry 4 applications to co-exist with a Tapestry 5 application.
Without it, there were a number of naming conflicts.

It's unfortunate that such a large change should occur so late, pretty
much on the eve of a release candidate (5.0.12 may be a second beta,
or may be the release candidate).  This represents a lack of foresight
on my part, and an evolving set of priorities.

If you are on Unix, you can update your code pretty easily:

find . -name \*.java -o -name \*.xml -o -name \*.properties  | xargs
sed -i s/org\\.apache\\.tapestry\\./org.apache.tapestry5./g

This finds all Java, XML and properties files and edits them in place
to replace org.apache.tapestry. with org.apache.tapestry5..

This will be necessary after tonight's nightly build (if you are using
5.0.12-SNAPSHOT) or once 5.0.12 is available (as part of the upgrade
from 5.0.11).

Thanks to everyone for all the great input; it felt that the consensus
was that tapestry5 (rather than tapestry.v5 or other suggestions) was
the best approach.  Tapestry5 really is a new product in the Tapestry
product line, and this naming still feels consistent to me.

--
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Customizing grid sorting

2008-05-21 Thread Waldo Mendoza
Dan Adams dan at ifactory.com writes:

 
 There are two situations we hit often in our applications:
  - disabling sorting for one specific column because it doesn't have a 
corresponding db column
  - not allowing sorting by any of the columns because the data is sorted 
explicitly
 
 In T4 with contrib:Table you could specify a list of colums like 
foo,!bar,baz and then bar wouldn't be
 sorted. How have others handled this in T5?
 
 Dan Adams
 Senior Software Engineer
 Interactive Factory
 p: 617.235.5857
 
 -
 To unsubscribe, e-mail: users-unsubscribe at tapestry.apache.org
 For additional commands, e-mail: users-help at tapestry.apache.org
 
 


Hello Dan!

I think you cannot do that using actual Grid parameters, but you can use the 
BeanModel API to disable sorting on specific properties, maybe a good place to 
make it is the setupRender phase method:

private BeanModel _model;

...

void setupRender()
{
  _model.get(name).sortable(false);
}




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Autocomplete component

2008-05-21 Thread Marcus
Hi,

Using autocomplete mixin, how do we know, if an option of the list provided
was selected, or if user has entered another text?

Would be great if some event was fired on server side when user select one
of option provided by mixin.

Thanks,

Marcus


Overriding default validation messages

2008-05-21 Thread Toby Hobson
Hi

How do I change the default validation message for a validator i.e. I want to 
change the message from you must supply a value for is to x is required. I 
know how to do it for each property i.e. email-required-message=x but I'd like 
to change the default

Thanks!

Toby



Re: Overriding default validation messages

2008-05-21 Thread Manuel Corrales
I think this is the best way (if not the only)

http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner

Regards.

On Wed, May 21, 2008 at 5:10 PM, Toby Hobson [EMAIL PROTECTED]
wrote:

 Hi

 How do I change the default validation message for a validator i.e. I want
 to change the message from you must supply a value for is to x is
 required. I know how to do it for each property i.e.
 email-required-message=x but I'd like to change the default

 Thanks!

 Toby




Re: Overriding default validation messages

2008-05-21 Thread Toby Hobson
Sorry ... I should have looked at the wiki first 

Thanks Manuel

Tob

- Original Message 
From: Manuel Corrales [EMAIL PROTECTED]
To: Tapestry users users@tapestry.apache.org; Toby Hobson [EMAIL PROTECTED]
Sent: Wednesday, 21 May, 2008 9:19:48 PM
Subject: Re: Overriding default validation messages

I think this is the best way (if not the only)

http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner

Regards.

On Wed, May 21, 2008 at 5:10 PM, Toby Hobson [EMAIL PROTECTED]
wrote:

 Hi

 How do I change the default validation message for a validator i.e. I want
 to change the message from you must supply a value for is to x is
 required. I know how to do it for each property i.e.
 email-required-message=x but I'd like to change the default

 Thanks!

 Toby







Re: Overriding default validation messages

2008-05-21 Thread Manuel Corrales
Its ok, i did the same thing (exactly the same question), that how i know
about the wiki now.

:)

On Wed, May 21, 2008 at 5:22 PM, Toby Hobson [EMAIL PROTECTED]
wrote:

 Sorry ... I should have looked at the wiki first

 Thanks Manuel

 Tob

 - Original Message 
 From: Manuel Corrales [EMAIL PROTECTED]
 To: Tapestry users users@tapestry.apache.org; Toby Hobson 
 [EMAIL PROTECTED]
 Sent: Wednesday, 21 May, 2008 9:19:48 PM
 Subject: Re: Overriding default validation messages

 I think this is the best way (if not the only)


 http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner

 Regards.

 On Wed, May 21, 2008 at 5:10 PM, Toby Hobson [EMAIL PROTECTED]
 wrote:

  Hi
 
  How do I change the default validation message for a validator i.e. I
 want
  to change the message from you must supply a value for is to x is
  required. I know how to do it for each property i.e.
  email-required-message=x but I'd like to change the default
 
  Thanks!
 
  Toby
 
 






Re: Package rename for 5.0.12

2008-05-21 Thread Howard Lewis Ship
A bit disruptive and unecessary; T4 is tapestry-framework (and
tapestry-contrib) and you bring in tapestry-annotations explicitly.
T5 is tapestry-core which brings in tapestry-ioc which brings in
tapestry5-annotations.

On Wed, May 21, 2008 at 10:36 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote:
 Ah, okay. Wouldn't it make sense to rename the rest of the artifacts as
 well? Or is that too disruptive?

 -Filip

 On 2008-05-21 18:06, Howard Lewis Ship wrote:

 There's two different artifacts thgat store annotations:
 tapestry-annotations (for T4) and tapestry5-annotations (for T5).
 T5's name is going to stay modified (as tapestry5-annotations) so that
 we can distinguish the two when using them in the same WAR.

 On Wed, May 21, 2008 at 5:15 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote:

 Everything's fine.

 Annotations was moved to org.apache.tapestry:tapestry5-annotations. Now
 that
 T5 is in org.apache.tapestry5 it should probably be moved back.

 Also, some packages changed from ...annotation to ...annotations, might
 be
 why you can't find @Inject and @InjectService.

 -Filip

 9902468 skrev:

 Hi,

 There's something fishy going on, as the latest nightly build of
 annotations
 is the 16th days. Also, source control seems to be missing all together
 Inject and InjectService from ioc. Is anyone else seeing this or is it
 just
 me? (Moved somewhere or renamed?)

  - 99



 Howard Lewis Ship wrote:

 As a follow on to the prior discussion ... the upgrade for users from
 5.0.11 to 5.0.12 (once 5.0.12 is available) will have one big wrinkle:

 Package org.apache.tapestry has been renamed to org.apache.tapestry5.

 The rationale behind this is the rename will allow Tapestry 3 or
 Tapestry 4 applications to co-exist with a Tapestry 5 application.
 Without it, there were a number of naming conflicts.

 It's unfortunate that such a large change should occur so late, pretty
 much on the eve of a release candidate (5.0.12 may be a second beta,
 or may be the release candidate).  This represents a lack of foresight
 on my part, and an evolving set of priorities.

 If you are on Unix, you can update your code pretty easily:

 find . -name \*.java -o -name \*.xml -o -name \*.properties  | xargs
 sed -i s/org\\.apache\\.tapestry\\./org.apache.tapestry5./g

 This finds all Java, XML and properties files and edits them in place
 to replace org.apache.tapestry. with org.apache.tapestry5..

 This will be necessary after tonight's nightly build (if you are using
 5.0.12-SNAPSHOT) or once 5.0.12 is available (as part of the upgrade
 from 5.0.11).

 Thanks to everyone for all the great input; it felt that the consensus
 was that tapestry5 (rather than tapestry.v5 or other suggestions) was
 the best approach.  Tapestry5 really is a new product in the Tapestry
 product line, and this naming still feels consistent to me.

 --
 Howard M. Lewis Ship

 Creator Apache Tapestry and Apache HiveMind

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Using onValidate() event handler with beaneditform

2008-05-21 Thread Dan Adams
Is this supposed to work?

Dan Adams
Senior Software Engineer
Interactive Factory
p: 617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Using onValidate() event handler with beaneditform

2008-05-21 Thread Howard Lewis Ship
The name got shifted somewhat, to onValidateForm().

On Wed, May 21, 2008 at 2:05 PM, Dan Adams [EMAIL PROTECTED] wrote:
 Is this supposed to work?

 Dan Adams
 Senior Software Engineer
 Interactive Factory
 p: 617.235.5857


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



help in index page cache tapestry5.11

2008-05-21 Thread 孟凡振
Hi all,
I encounter a problem , in my index page a lots of query happens
each time when i reload the it.
so my question here is that is there some cache strategy to cache my index
page?

thanks in advance!!