Re: Netbeans 6.7 tapestry 5 plugin support

2009-06-17 Thread Alex Kotchnev
iberck, very nice !!! Let me know if there is any areas/features that I can contribute to. Feel free to contact me directly ( I noticed the project mailing list has about 0 messages ). Cheers, Alex K On Wed, Jun 17, 2009 at 2:29 AM, Ville Virtanen wrote: > > Thanks! > > This is something tha

Re: ChenilleKit Mail -- How to Use? or Any Mailer?

2009-06-17 Thread Borut Bolčina
Hi, AppModule.java public static void bind(ServiceBinder binder) { binder.bind(EmailService.class); } services/EmailService.java === import org.apache.commons.mail.EmailException; public interface EmailService { public void sendForgottenUsernameAn

Re: t5: how to use Blackbird?

2009-06-17 Thread Angelo Chen
i did: log.info('test') but Firebug says: log undefined. Thiago H. de Paula Figueiredo wrote: > > Em Wed, 17 Jun 2009 23:15:17 -0300, Angelo Chen > escreveu: > >> after upgrading my app to T5.1.0.5, I see this blackbird.js in the >> browser, >> how to use this to log some info instead of

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Craig St. Jean
Sparqle, You've hit on exactly the same problems I've seen with Tapestry. Further, there have been too many places where Tapestry 5 does not work with X environment (i.e. JBoss 4 or 5 or Glassfish, without modifications) and it just gets brushed off as "its not our problem, somethings wrong with X

Re: ChenilleKit Mail -- How to Use? or Any Mailer?

2009-06-17 Thread Christian Edward Gruber
I wrote an incredibly simple component that I'm using on an internal website. The google-code project is here: http://code.google.com/p/israfil-mail-service/ The usage is documented in the javadoc comments. I'll put up some better usage docs later. It's BSD licensed so it's unrestricted.

Re: t5: how to use Blackbird?

2009-06-17 Thread Thiago H. de Paula Figueiredo
Em Wed, 17 Jun 2009 23:15:17 -0300, Angelo Chen escreveu: after upgrading my app to T5.1.0.5, I see this blackbird.js in the browser, how to use this to log some info instead of alert? thanks, What about the Blackbrid documentation? http://www.gscottolson.com/blackbirdjs/ -- Thiago H.

ChenilleKit Mail -- How to Use? or Any Mailer?

2009-06-17 Thread newtonik
Can anyone give me an example on how to use this http://www.chenillekit.org/chenillekit-mail/SmtpService.html mailer . I am new to Tapestry and I have been trying some of their components. I decided to try the mailer today but I don't seem to know how to get it to work. I don't seem to know how t

Re: How to render a page as JSON-formatted AJAX response?

2009-06-17 Thread DH
Isn't the Zone/MultiZoneUpdate/Block way suitable for your case? It is very simple enough to deal with most ajax cases. DH - Original Message - From: "Renger Wilde" To: Sent: Thursday, June 18, 2009 4:42 AM Subject: How to render a page as JSON-formatted AJAX response? > > On my cl

t5: how to use Blackbird?

2009-06-17 Thread Angelo Chen
Hi, after upgrading my app to T5.1.0.5, I see this blackbird.js in the browser, how to use this to log some info instead of alert? thanks, Angelo -- View this message in context: http://www.nabble.com/t5%3A-how-to-use-Blackbird--tp24085319p24085319.html Sent from the Tapestry - User mailing li

Re: partial markup renderer replaces double quotes with single quotes and encodes any enclosed single quotes...

2009-06-17 Thread Howard Lewis Ship
Reducing the size of the JSON response and making it more readable. On Wed, Jun 17, 2009 at 10:54 AM, Tom Zurkan wrote: > so, is this this just for performance purposes or are there other reasons? > > > Howard Lewis Ship wrote: > >> This is part of the normal markup writer behavior for 5.1; other

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Sparqle
I agree with Juan. This is the biggest barrier to Tapestry adoption. Most people I know who are working even for big corporations are not used to Maven. In fact I know at least 100 developers from various companies in our area and nobody uses Maven. Most people want a dynamic web project in eclip

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Norman Franke
On Jun 17, 2009, at 6:19 PM, Thiago H. de Paula Figueiredo wrote: Em Wed, 17 Jun 2009 18:29:05 -0300, Norman Franke escreveu: Once you get it working for a project, it generally works. It's the starting of new projects where problems arise. I've had to purge my .m2 directly countless tim

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Sparqle
I agree with Juan. This is the biggest barrier to Tapestry adoption. Most people I know who are working even for big corporations are not used to Maven. In fact I know at least 100 developers from various companies in our area and nobody uses Maven. Most people want a dynamic web project in eclip

Re: show empty textfield for integer/double property

2009-06-17 Thread wesleywj2
thanks Thiago, it works out alright. thanks much Thiago H. de Paula Figueiredo wrote: > > Em Wed, 17 Jun 2009 17:53:43 -0300, wesleywj2 > escreveu: > >> hi, > > Hi! > >> public class MyPage{ >> @Property >> @Persist >> private int theValue; >> } > > Try changing the type fro

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Thiago H. de Paula Figueiredo
Em Wed, 17 Jun 2009 18:29:05 -0300, Norman Franke escreveu: Once you get it working for a project, it generally works. It's the starting of new projects where problems arise. I've had to purge my .m2 directly countless times. Just yesterday, while adding tapestry5-acegi support, Maven de

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Olle Hallin
The text in http://tapestry.apache.org/tapestry5.1/quickstart/ is ambiguous. In one place it says *-DarchetypeCatalog= http://tapestry.formos.com/maven-repository*, but inside the example box there's *-DarchetypeCatalog= http://tapestry.formos.com/maven-snapshot-repository* which does not work. *

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Norman Franke
And had I been able to find that, I'd have likely read it. That should either be in place of the so-outdated-it's-useless tutorial or at least have an easy to find link. I think all the pieces are there, just hard to find. Not being a maven guru, I'd never even think to look under "tapestry

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Norman Franke
On Jun 17, 2009, at 2:31 PM, Geoffrey Wiseman wrote: On Wed, Jun 17, 2009 at 1:21 PM, Norman Franke wrote: Chapter 2 just plain didn't work for me. I think part of it is due to Maven generally being extremely fragile and working less than half of the time. However, even after working aro

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Norman Franke
I did, and that worked using jetty on the command line. Eventually, following the other instructions, I was able to even get that working in Eclipse. However, it is very basic: no hibernate, no security/ authentication. I started following the instructions in the tutorial, which do not work.

Re: show empty textfield for integer/double property

2009-06-17 Thread Thiago H. de Paula Figueiredo
Em Wed, 17 Jun 2009 17:53:43 -0300, wesleywj2 escreveu: hi, Hi! public class MyPage{ @Property @Persist private int theValue; } Try changing the type from int to Integer. As any other ordinary Java int field, it is automatically initialized with 0 when the instance is buil

show empty textfield for integer/double property

2009-06-17 Thread wesleywj2
hi, is there any way to remove or not to show the "0" or "0.0" for t:textfield that bound to integer/double property? in my class file "MyPage.java", i have public class MyPage{ @Property @Persist private int theValue; } for MyPage.tml in t:form: it shows "0" because it is integ

How to render a page as JSON-formatted AJAX response?

2009-06-17 Thread Renger Wilde
On my client, I have a tabview. When the user navigates to one of the tabs on the tabview, I trigger an AJAX request to obtain the content of that tab. The AJAX request is sent to a Tapestry component event handler. I want that event handler to invoke some other page or component, and cause the

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Borut Bolčina
Hello Norman 2009/6/17 Norman Franke > Back to Maven. After some googling, I found this article: > http://tapestry.formos.com/wiki/display/T5IDEINT/Eclipse+(including+Maven) > Shouldn't > this be included in the tut

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Brandon Atkinson
I second. Maven usually works as advertised. In fact, one of the reasons I considered Tapestry superior to some other web frameworks is that it integrates with Maven, and tutorials provided archetypes for a quick start. Maven is far from perfect, but it is the best out there if you use continuou

Re: SPRING_SECURITY_CONTEXT still in session even after server restart

2009-06-17 Thread Jason Lotz
Ah, interesting. This sounds like the culprit. Thanks! Jason On Wed, Jun 17, 2009 at 12:17 AM, Kalle Korhonen wrote: > By default, Tomcat tries to store sessions on disk. Other than the > SPRING_SECURITY_CONTEXT object you didn't have serializable objects in > your application. On Windows, sa

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Geoffrey Wiseman
On Wed, Jun 17, 2009 at 1:21 PM, Norman Franke wrote: > Chapter 2 just plain didn't work for me. I think part of it is due to Maven > generally being extremely fragile and working less than half of the time. > However, even after working around that, you can't just import the project > into Eclip

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Juan E. Maya
did u follow the tapestry quickstart in http://tapestry.apache.org/tapestry5.1/quickstart/ ? I don't think it could get easier than this. U can even run it inside eclipse if u have the m2 plugin for maven. i do agree with u that the documentation could be better, however, reading your message some

Re: partial markup renderer replaces double quotes with single quotes and encodes any enclosed single quotes...

2009-06-17 Thread Tom Zurkan
so, is this this just for performance purposes or are there other reasons? Howard Lewis Ship wrote: This is part of the normal markup writer behavior for 5.1; otherwise every double quote in the markup to be escaped. JSON requires that strings always be in double quotes but HTML/XML does not (yo

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Norman Franke
I've been using T4/4.1 for several years and have been quite pleased with it. I've been using it with Hibernate, and while not perfect, it's worked pretty well. We've found it much faster to embed a web browser in our main app and do editing, queries and the like via Tapestry than writing n

Re: tapestry-spring-security update

2009-06-17 Thread Norman Franke
It does not appear to solve the @Secured issue for me under T5.1.0.5. I still need to add the: contributeComponentClassTransformWorker method in my AppModules.java. Otherwise, @Secured is ignored. Norman Franke Answering Service for Directors, Inc. www.myasd.com On May 29, 2009, at 5:32 PM

Re: integrating jQuery components

2009-06-17 Thread Massimo Lusetti
On Wed, Jun 17, 2009 at 4:05 PM, Andy Pahne wrote: > > Onno Scheffers schrieb: >>> >>> I would prefer: Tapestry uses whatever javascript lib for it's internal >>> functions. But this "whatever" library should play nice with user's >>> libraries. (So, prototype, which is in internal use today shou

Re: integrating jQuery components

2009-06-17 Thread Andy Pahne
Onno Scheffers schrieb: I would prefer: Tapestry uses whatever javascript lib for it's internal functions. But this "whatever" library should play nice with user's libraries. (So, prototype, which is in internal use today should be patched in a way not to hijack $ ). Sadly that would brea

Re: T5 tapestry spring

2009-06-17 Thread haipeng du
I found one way to fix this problem. But I am not sure if that is good one. (1) create one class to implement ObjectProvider public class TapestrySpringBeanProvider implements ObjectProvider { @Override public T provide(Class clazz, AnnotationProvider ap, ObjectLocator locat

Re: integrating jQuery components

2009-06-17 Thread Massimo Lusetti
On Wed, Jun 17, 2009 at 2:56 PM, Michael Gentry wrote: > > Some of us create web applications that are on closed networks, too ... > Yep that's right, and for the matter I think more then "some". Regards -- Massimo http://meridio.blogspot.com ---

Re: T5.1: Request forwarding breaks page/actionlinks

2009-06-17 Thread immutability
Thank you for the link pointing to the older discussion - I missed that one during my searches. Funny how everyone was saying to create a JIRA for this issue, but there doesn't seem to be any JIRA for this at the moment (open or closed) other than the old one related to the ComponentEventException

RE: best book for T5

2009-06-17 Thread Newham, Cameron
I wonder how many people would be interested in the German version compared to an English version. Are there many German Tapestry developers? Perhaps it would be interesting to know the geographic spread of developers using this framework. I assume the publishers have done their homework and know

Re: RSS FEED

2009-06-17 Thread Thiago H. de Paula Figueiredo
On Wed, Jun 17, 2009 at 10:07 AM, spaway wrote: > Is it possible we have an RSS Feed for the updates on this mailing list? In the bottom of http://www.nabble.com/Tapestry-f302.html you have some RSS feeds. -- Thiago - To unsubs

Re: best book for T5

2009-06-17 Thread Brandon Atkinson
+1 for english version On Wed, Jun 17, 2009 at 3:11 AM, Koka Kiknadze <226...@gmail.com> wrote: > I would buy an English version of your book instantly. > > > > > +1 (I'd preorder it ;) ) >

RSS FEED

2009-06-17 Thread spaway
Is it possible we have an RSS Feed for the updates on this mailing list? I think I prefer RSS Feed to a mailing list so if we could have one in addition to the mailing list it won't it be better? -- Cheers SPA

Re: integrating jQuery components

2009-06-17 Thread Michael Gentry
Some of us create web applications that are on closed networks, too ... On Wed, Jun 17, 2009 at 8:42 AM, Onno Scheffers wrote: > Google already hosts quite a repository of JavaScript framework, so > theoretically no framework needs to be included in Tapestry at all. It just > gives you more ease-

Re: Multiple form components on same page

2009-06-17 Thread Thiago H. de Paula Figueiredo
On Wed, Jun 17, 2009 at 9:48 AM, m!ga wrote: > org.apache.tapestry5.dom.Element.forceAttributes([Ljava/lang/String;)V > java.lang.NoSuchMethodError: > org.apache.tapestry5.dom.Element.forceAttributes([Ljava/lang/String;)V It surely looks like you have more than one version of Tapestry in your clas

Multiple form components on same page

2009-06-17 Thread m!ga
Hi, here is another strange behaviour of T5.1. I have a form component with 2 t:selects and t:submit button. It has own logic. Works great when it is alone on the page, but when there are more than 1 - work (normally) only first form, all other dont receive any data from their selects (null is pas

Re: integrating jQuery components

2009-06-17 Thread Onno Scheffers
> > I would prefer: Tapestry uses whatever javascript lib for it's internal > functions. But this "whatever" library should play nice with user's > libraries. (So, prototype, which is in internal use today should be patched > in a way not to hijack $ ). Sadly that would break pretty much any Prot

Re: integrating jQuery components

2009-06-17 Thread Onno Scheffers
> > I understand your solution, but that just introduces a second "tapestry > supported" javascript library. What if yet another library is better at some > point, or some people prefer another one like yui or dojo (remember this was > the "preferred" in t4 days, not that long ago). > Do we really

Re: Two Menu Components

2009-06-17 Thread Thiago H. de Paula Figueiredo
On Wed, Jun 17, 2009 at 3:35 AM, Eldred Mullany wrote: > Hi Guys Hi! > No problem, thanks Otho and donf yang for helping a newbie at Tapestry. > Am still trying get my head around how to pass data between components > (not same as pages) ie how to pass data from one component to another. Take

Re: integrating jQuery components

2009-06-17 Thread Onno Scheffers
> > In any case, the users should not required to be aware of the javascript > libraries it uses. > We only have a limited set of components as is, no use fragmenting this. End-users shouldn't, but we can expect a little more from developer, right? :o) I think most people working with Tapestry,

Re: integrating jQuery components

2009-06-17 Thread Andy Pahne
I would prefer: Tapestry uses whatever javascript lib for it's internal functions. But this "whatever" library should play nice with user's libraries. (So, prototype, which is in internal use today should be patched in a way not to hijack $ ). Then users have absolute freedom to use whatever

Re: integrating jQuery components

2009-06-17 Thread Joachim Van der Auwera
Dear Onno, I understand your solution, but that just introduces a second "tapestry supported" javascript library. What if yet another library is better at some point, or some people prefer another one like yui or dojo (remember this was the "preferred" in t4 days, not that long ago). Do we re

Re: integrating jQuery components

2009-06-17 Thread Joachim Van der Auwera
Onno Scheffers wrote: I am curious how you managed to include jQuery with @IncludeJavascriptlibrary. I only managed that with a patched version of jQuery, adding jQuery.noConflict() at the end of the jQuery javascript file. Otherwise there were Javascript bugs... (using current stable 5.1 Tapes

Re: integrating jQuery components

2009-06-17 Thread Angelo Chen
Hi, That's exactly what I'm doing, got the tip from Thiago, I used to directly include jquery in the tml file, got some unexplained error in browser lately, switching it to @Include fixes the problem, also preparing my code for upgrading to t5.1. Andy Pahne-7 wrote: > > Angelo Chen schrieb: >>

Re: integrating jQuery components

2009-06-17 Thread Onno Scheffers
> > I am curious how you managed to include jQuery with > @IncludeJavascriptlibrary. I only managed that with a patched version of > jQuery, adding jQuery.noConflict() at the end of the jQuery javascript file. > Otherwise there were Javascript bugs... (using current stable 5.1 Tapestry > release)

Re: integrating jQuery components

2009-06-17 Thread Onno Scheffers
> > However, in the current state, when you would include two jQuery based > components from different libraries, you would actually be including > prototype and two copies of jQuery. > > I think the first step would be to assure there is a common jQuery (and > possibly also other libraries like yi

Re: integrating jQuery components

2009-06-17 Thread Andy Pahne
Angelo Chen schrieb: my experience is, safer to use @IncludeJavascriptlibrary to include jQuery, but seems to me that will also pull the Prototype related js too, probably we should have @IncludeJavascriptLib not to include other js. I am curious how you managed to include jQuery with @In

Re: Switch from Prototype to jQuery?

2009-06-17 Thread Peter Stavrinides
> Many Java web frameworks don't deliver any client-side or ajax features, and > don't tie themselves to a client-side framework as a result. This much is true, but realistically people more than ever want richer applications. IMHO its a good thing for Tapestry to provide some of the basics and a

Re: T5.1: Request forwarding breaks page/actionlinks

2009-06-17 Thread P . Stavrinides
This is a topic that has been discussed before on the list... I don't disagree with you that there is a need to support server side redirects, this is the key portion of my argument in favour of supporting them: "The two types of redirects are distinctly different and equally important. Request

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Peter Stavrinides
Great post Howard, can't agree more! having an application keep running when its inherently broken is indeed absurd... reminds me of a car I owned once where some of the parts (bolts off the engine etc.) kept falling out while I was driving... needless to say I am still here today because I kept

Re: integrating jQuery components

2009-06-17 Thread Angelo Chen
my experience is, safer to use @IncludeJavascriptlibrary to include jQuery, but seems to me that will also pull the Prototype related js too, probably we should have @IncludeJavascriptLib not to include other js. Joachim Van der Auwera wrote: > > Dears, > > I see there is a lot of discussion g

T 5.0.18, Chenillekit 1.0.0

2009-06-17 Thread Borut Bolčina
Hi, just a word of caution when using and deploying an application when using those two artifacts. When using Maven to create WAR, two Javassist libraries with different versions end up in the lib directory. Use org.chenillekit chenillekit-tapestry 1.

integrating jQuery components

2009-06-17 Thread Joachim Van der Auwera
Dears, I see there is a lot of discussion going on about making it possible to include jQuery only in tapestry pages. This seems to be coming from the concern that any pages which include jQuery components may include both prototype and jQuery components. However, in the current state, when

Re: T5 tapestry spring

2009-06-17 Thread Otho
I had a similar problem. Maybe this thread helps you: http://www.nabble.com/T-5.1-How-to-inject-Spring-beans-by-name--td22934788.html 2009/6/17 haipeng du > I try to inject spring beans to page class with > @Inject > @Id("baseDAO") > private BaseDAO baseDAO > > It still gave me that "Spring con

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Igor Drobiazko
In the last years I battled for using Tapestry over JSF. There were a lot of reasons why a lost the battle too often. Most of them were non-technical but political. But this one is really strange. It is not a question of a framework, it is a question of how you develop you apps. As Howard already p

Re: best book for T5

2009-06-17 Thread Koka Kiknadze
I would buy an English version of your book instantly. > > +1 (I'd preorder it ;) )

Re: best book for T5

2009-06-17 Thread Igor Drobiazko
First we have to release the german book. The expected publication date is 29th september 2009. After the book is released I will try to make the translation possible. I've already spoken to my publisher. They have a mother company in US, so they could make an english version possible. But let's wa

Re: best book for T5

2009-06-17 Thread Igor Drobiazko
Hi Howard, I don't think your foreword will be translated. On Wed, Jun 17, 2009 at 3:02 AM, Howard Lewis Ship wrote: > Of course my hat goes in the ring for the English translation (but would my > introduction then have to be translated to German?). > > On Tue, Jun 16, 2009 at 1:06 PM, spaway