Re: [Announce] Tapestry-Bootstrap 2.0 early Alpha

2012-02-07 Thread Steve Eynon
Hi Barry, That's a really neat idea - I love the idea of wrapping the elements and visiting them afterwards! Invisible instrumentation for T5! I've looked at altering components in the past and stumbled over the same sticking point. Awesome solution, Steve. -- Steve Eynon --

Re: Need feedback for Eclipse WTP based Tapestry 5 visual editor

2012-02-07 Thread Gavin Lei
Hi, You mean we should supply a muti-page editor, which open *.tml and corresponding *.java file in the same window, right ? This is a good idea, i will consider this solution. You said "The tabs could include tml, java, properties, event handlers, services etc", in fact, i am not very clear abou

Re: Need feedback for Eclipse WTP based Tapestry 5 visual editor

2012-02-07 Thread Gavin Lei
Hi Giulio, Thank you for your advises, see the commends below 2012/2/8 Giulio Micali : > Like many people here, my advice is the lightweight one. > From my user experience, the "graphical editor" can be really cool to see > (not only in tapestry, also in JSF and before in JSP or swing/awt ecc...)

Re: T5.3.1, Page with StreamResponse no longer work

2012-02-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Feb 2012 23:15:31 -0200, sigenz wrote: Thanks Josh, I got the error now. It is because of a persist field with a default value in the Map page, which T5.3 doesn't like and resulted the failure of instantiating the page. Thank Tapestry 5.3 for that. If your default value isn't at

Re: T5.3.1, Page with StreamResponse no longer work

2012-02-07 Thread sigenz
Thanks Josh, I got the error now. It is because of a persist field with a default value in the Map page, which T5.3 doesn't like and resulted the failure of instantiating the page. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-1-Page-with-StreamResponse-no-longer-wo

Re: Need feedback for Eclipse WTP based Tapestry 5 visual editor

2012-02-07 Thread Lenny Primak
I am sure that code can be reused somehow without triggering this dependency. On Feb 7, 2012, at 11:48 AM, Giulio Micali wrote: > Like many people here, my advice is the lightweight one. >> From my user experience, the "graphical editor" can be really cool to see > (not only in tapestry, also

Re: T5.3.1, Page with StreamResponse no longer work

2012-02-07 Thread Josh Canfield
So little information... this isn't a familiar error but here are some shots in the dark. Do you have a constructor defined in Map? How are you getting the instance of Map to return from the Start page? Can you create a simple class that recreates this problem and that you can give us complete s

Re: Serialize Messages

2012-02-07 Thread Howard Lewis Ship
I'm afraid that short of an API change to the Messages interface (to expose the message keys), you will need to use reflection to access that field. On Tue, Feb 7, 2012 at 8:45 AM, Miguel O. Carvajal wrote: > Hey All, > > I have a situation where I have an application that requires that the > app

Re: T5.3.1, Page with StreamResponse no longer work

2012-02-07 Thread sigenz
Hi, Thank you for your response. The ImageStreamResponse class is defined in a different package. The Map page is returned from a Start page in the *submit* form event. It seems the Map page is not instantiated and the *onActivate* method is not called, and the ImageStreamResponse is not returned

Re: Tapestry TreeGrid

2012-02-07 Thread tgupta1419
How will the relation query look like to get this tree from the database. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-TreeGrid-tp5462126p5464526.html Sent from the Tapestry - User mailing list archive at Nabble.com.

POP UP Window

2012-02-07 Thread tgupta1419
I've defined in a.html to display a popup window:   # Examples In a.java, private static final PopupLinkRenderer EXAMPLES_POPUP_LINK=new PopupLinkRenderer("Examples", "height=400, width=610, resizable=1, scrollbars=0"); pub

Re: Calling nested class method in ognl

2012-02-07 Thread tgupta1419
Thanks! Howard -- View this message in context: http://tapestry.1045711.n5.nabble.com/Calling-nested-class-method-in-ognl-tp5460991p5464187.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Need feedback for Eclipse WTP based Tapestry 5 visual editor

2012-02-07 Thread trsvax
I'd vote for a lightweight one also. In fact if I could click on a java or tml file and end up with a window something like the Maven Pom editor I'd be happy. The tabs could include tml, java, properties, event handlers, services etc. Auto complete in the tml file might be nice but I'd say just hav

Re: Need feedback for Eclipse WTP based Tapestry 5 visual editor

2012-02-07 Thread Giulio Micali
Like many people here, my advice is the lightweight one. >From my user experience, the "graphical editor" can be really cool to see (not only in tapestry, also in JSF and before in JSP or swing/awt ecc...), but is useful only at the beginning of the project and damaging since then until end of time

Serialize Messages

2012-02-07 Thread Miguel O. Carvajal
Hey All, I have a situation where I have an application that requires that the application message catalog be serialized to JSON and processed by the browser. I have the basic code to do this but MessagesImpl.java has its "properties" map defined as private. Is there something I could do (

Re: Same IoC module in multiple threads with different configurations

2012-02-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Feb 2012 11:08:52 -0200, Erik Fäßler wrote: I know (though, like already said, I'm not quite sure why that is so). But: registry.getService() won't give me a new object but an already existing object (right? My experience tell's me so, but perhaps I have missed an option). It

Re: Tapestry TreeGrid

2012-02-07 Thread George Christman
Thanks Lance, sorry about the mixup. I think your in sight is enough to get me going again. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-TreeGrid-tp5462126p5463364.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Tapestry TreeGrid

2012-02-07 Thread Lance Java
When I said "flat database" I was simply referring to the fact that I was using a single table to represent nested data. I'm talking about a relational database too. > Anyhow, I'm using a single table with a parent node in each row. If parent is null, it becomes the root, other wise it would beco

Re: Tapestry TreeGrid

2012-02-07 Thread George Christman
Hi Lance, thanks a bunch, really appreciate it. I'd like to ask you a quick question about my db design. I'm using a relational db with no flat database experience, so not sure how well the two relate. Anyhow, I'm using a single table with a parent node in each row. If parent is null, it becomes

Re: Same IoC module in multiple threads with different configurations

2012-02-07 Thread Erik Fäßler
I know (though, like already said, I'm not quite sure why that is so). But: registry.getService() won't give me a new object but an already existing object (right? My experience tell's me so, but perhaps I have missed an option). Since I have to differentiate somehow between my use cases which al

Re: [Announce] Tapestry-Bootstrap 2.0 early Alpha

2012-02-07 Thread Ulrich Stärk
A short introduction about what Tapestry Bootstrap is about would have been nice for those that don't know Bootstrap ;) Uli On 07.02.2012 13:04, Barry Books wrote: > I've committed version 2.0 of Tapestry Bootstrap to Github. > > https://github.com/trsvax/tapestry-bootstrap > > This version supp

[Announce] Tapestry-Bootstrap 2.0 early Alpha

2012-02-07 Thread Barry Books
I've committed version 2.0 of Tapestry Bootstrap to Github. https://github.com/trsvax/tapestry-bootstrap This version supports Twitter Bootstrap version 2.0 http://twitter.github.com/bootstrap/index.html This is a complete rewrite of the first version and is very early Alpha.The first version r

Re: Same IoC module in multiple threads with different configurations

2012-02-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Feb 2012 06:31:59 -0200, Erik Fäßler wrote: One more question: Currently I instantiate objects with dependency injection by using "autobuild" (as a method call to the registry or as an annotation at an injection point). Is there another, perhaps more encouraged way to get obje

Re: Need feedback for Eclipse WTP based Tapestry 5 visual editor

2012-02-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Feb 2012 05:07:22 -0200, Lenny Primak wrote: WTP is a bloated POS anyway. Completely agree that TapestryTools should not be dependent on it. I also can't use it because I keep my plugins up-to-date and not dare re-installing it as well. Agreed 100% with this and the lightweig

Re: T5.3.1, Page with StreamResponse no longer work

2012-02-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Feb 2012 02:11:56 -0200, sigenz wrote: Hi, Hi! Exception assembling root component of page Map: Unable to instantiate instance of transformed class org.pages.Map: java.lang.reflect.InvocationTargetException Full stack trace please. As Josh said, the package in which you've

[ANN] Tapestry-Spring-Security 4.0.0

2012-02-07 Thread antalk
Lately there has been a lot of activity with regard to Tapestry 5.x and the old Spring Security Library from localhost.nu As there was no upgraded version of this library , i took the opportunity to fix the code for the latest Tapestry 5.3.2 release, its now compatible with Tapestry 5.3.2 AND spri

Re: Tapestry TreeGrid

2012-02-07 Thread Lance Java
Since tapestry's tree is ajax enabled... you will need to modify the code slightly (db structure can remain the same). Instead of getting the entire tree, you will get a single node and it's first level children for each ajax request. On Tuesday, 7 February 2012, Lance Java wrote: > I have done s

Re: Tapestry TreeGrid

2012-02-07 Thread Lance Java
I have done similar things in the past using a flat database structure to build a nested structure. public class Node { private Integer nodeId; // stored in database private String description; // stored in database private Integer parentId; // stored in database private List childNode

Re: Need feedback for Eclipse WTP based Tapestry 5 visual editor

2012-02-07 Thread Gavin Lei
Hi Dmitry, Thank you for your feedback. I will go deep into the T5 Component References things, if possible, i will merge it into TapestryTools as a new feature. Last year, Igor talked with me about moving TapestryTools to GitHub, due to bad internet service in China, it is hard for me to link to

Re: [ANNOUNCE] Tapestry release 5.3.2

2012-02-07 Thread Massimo Lusetti
On Tue, Feb 7, 2012 at 9:54 AM, Rural Hunter wrote: > congratulations but I got 404: > http://tapestry.apache.org/2011/12/21/announcing-tapestry-532.html As i wrote in the last sentence of the email: please be patient while everything sync. Cheers -- Massimo http://meridio.blogspot.com --

Re: [ANNOUNCE] Tapestry release 5.3.2

2012-02-07 Thread Rural Hunter
congratulations but I got 404: http://tapestry.apache.org/2011/12/21/announcing-tapestry-532.html 于 2012/2/7 15:54, Massimo Lusetti 写道: The Tapestry Team is very proud to announce the availability of Apache Tapestry 5.3.2. http://tapestry.apache.org/2011/12/21/announcing-tapestry-532.html Tap

Re: Same IoC module in multiple threads with different configurations

2012-02-07 Thread Erik Fäßler
Thank you a lot for your elaborate answer (I don't mind digression at all! :-)) I have to confess it was new to me that you can have plain java objects with Tapestry IoC's great dependency injection. I did not yet understand why e.g. the framework logger cannot be injected into objects, but I gu

Re: [ANNOUNCE] Tapestry release 5.3.2

2012-02-07 Thread hongdengdao
great work!! Congratulations!! 于 2012年02月07日 15:54, Massimo Lusetti 写道: The Tapestry Team is very proud to announce the availability of Apache Tapestry 5.3.2. http://tapestry.apache.org/2011/12/21/announcing-tapestry-532.html Tapestry is primarily available for download via Maven, from the Mav

[ANNOUNCE] Flow Logix Tapestry Library 0.9.2

2012-02-07 Thread Lenny Primak
http://code.google.com/p/flowlogix/wiki/TapestryLibrary Tapestry Library 0.9.2 has been released. Major feature is Groovy integration, Tapestry 5.3.2, Shiro 1.2 and Tynamo Security 0.4.1 support. Enhanced to easier run on Jetty and Tomcat, along with documentation Fixed Issue 12 , Issue 13 , Is

Re: [ANNOUNCE] Tapestry release 5.3.2

2012-02-07 Thread Kalle Korhonen
Congrats Massimo for making the release happen! Kalle On Mon, Feb 6, 2012 at 11:54 PM, Massimo Lusetti wrote: > The Tapestry Team is very proud to announce the availability of Apache > Tapestry 5.3.2. > > http://tapestry.apache.org/2011/12/21/announcing-tapestry-532.html > > Tapestry is primari