Re: Jetty startup error with 5.3.1-SNAPSHOT in project working before with 5.2.4

2011-06-18 Thread Ben Tomasini
-release-version}/version      scopetest/scope    /dependency Why are you excluding tapestry-annotations and only including them in test scope? They are required at runtime for tapestry-core, thus the declared dependency :) Josh On Fri, Jun 17, 2011 at 8:48 PM, Ben Tomasini ben.tomas...@gmail.com

Documentation for 5.3 components

2011-06-17 Thread Ben Tomasini
Where can I find documentation for 5.3? I am namely interested in the Tree and Dynamic components. All I was able to find where the release notes: http://tapestry.apache.org/release-notes-530.html Ben - To unsubscribe,

Re: Documentation for 5.3 components

2011-06-17 Thread Ben Tomasini
the Tapestry JavaDoc (via a custom JavaDoc taglet), which I think is better for everyone! Once the 5.3.0 vote goes through, I'll upload the JavaDocs to http://tapestry.apache.org/5.3/apidocs/.  Eventually, http://tapestry.apache.org/current/ will link to 5.3. On Fri, Jun 17, 2011 at 12:48 PM, Ben

Re: Documentation for 5.3 components

2011-06-17 Thread Ben Tomasini
. BUILD FAILED Total time: 17.52 secs On Fri, Jun 17, 2011 at 3:01 PM, Howard Lewis Ship hls...@gmail.com wrote: Yes it will.  Or at least, you can be our guinea pig. On Fri, Jun 17, 2011 at 2:14 PM, Ben Tomasini ben.tomas...@gmail.com wrote: So running ./gradlew javadoc from the root

Jetty startup error with 5.3.1-SNAPSHOT in project working before with 5.2.4

2011-06-17 Thread Ben Tomasini
I am trying to use Tapestry 5.3 (5.3.1-SNAPSHOT) in my Maven project after doing a gradle install of the head of trunk. When starting up Jetty on my app, I get the following exception. This project was working with tapestry 5.2.4. Any help would be appreciated. ** Jetty startup output:

Re: Jetty startup error with 5.3.1-SNAPSHOT in project working before with 5.2.4

2011-06-17 Thread Ben Tomasini
     scopetest/scope    /dependency Why are you excluding tapestry-annotations and only including them in test scope? They are required at runtime for tapestry-core, thus the declared dependency :) Josh On Fri, Jun 17, 2011 at 8:48 PM, Ben Tomasini ben.tomas...@gmail.com wrote: I am trying

Re: Using conditional comments with @Import(stylesheet=...)

2011-03-17 Thread Ben Tomasini
not.  Just @Inject the Asset for the stylesheet(s) and invoke one of the importStylesheet() methods. Glad to see you back in the Tapestry fold ...  is this a personal project, or something for Vertifore? On Wed, Mar 16, 2011 at 8:40 PM, Ben Tomasini ben.tomas...@gmail.com wrote: Hello, I am

Using conditional comments with @Import(stylesheet=...)

2011-03-16 Thread Ben Tomasini
Hello, I am looking to integrate the blueprint-css framework into a tapestry app and would like to use the @Import annotation on my Layout component to do so. The blueprint-css setup uses conditional comments (http://www.quirksmode.org/css/condcom.html) to give special instructions for IE 6 and

Re: [T4.1] OGNL performance problem (serialization)

2009-01-10 Thread Ben Tomasini
What version of OGNL are you using? There is a known serious issue affecting 2.6.11: http://jira.opensymphony.com/browse/OGNL-141 http://blog.opencomponentry.com/2008/02/01/ognl-272-released/ Ben On Fri, Jan 9, 2009 at 4:42 PM, Aaron Kaminsky aar...@adaptiveplanning.comwrote: Hi all, I am

Re: T5 IoC question ...

2008-03-21 Thread Ben Tomasini
Glenn, What requires you to have separate implementations for each environment? Is it configuration data that you could move into a properties file that lives the in the classpath of your container? Ben On Fri, Mar 21, 2008 at 4:02 PM, Glenn Sudduth [EMAIL PROTECTED] wrote: (This seems like a

Re: T5: Grid's rowClass

2008-03-03 Thread Ben Tomasini
Does Tapestry itself provide a simpler way to do this? Alternating row styles is very common and it would be nice to have this be more automatic. Ben On Wed, Nov 28, 2007 at 5:54 PM, Angelo Chen [EMAIL PROTECTED] wrote: Hi, In your tml you define a css class: style type=text/css

Question about Grid styles and paging for a simple HTML table

2008-03-03 Thread Ben Tomasini
I am trying to use the Grid component to render an HTML table with very specific CSS to make the table look like a table which is currently being rendered with the displaytag library in a Struts2 application. Our current style sheet uses CSS selectors based on the simple element name without any

Re: Question about Grid styles and paging for a simple HTML table

2008-03-03 Thread Ben Tomasini
component instead? Ben On Mon, Mar 3, 2008 at 12:49 PM, Ben Tomasini [EMAIL PROTECTED] wrote: I am trying to use the Grid component to render an HTML table with very specific CSS to make the table look like a table which is currently being rendered with the displaytag library in a Struts2

Setter injection support and proper object construction in Tapestry IoC

2007-11-17 Thread Ben Tomasini
I understand that constructor injection and final instance variables are the preferred way to do dependency injection with Tapestry IoC. This is clearly safest in terms of proper, thread-safe construction and immutability. Am I correct in assuming that good ol' build* methods on modules are still

Re: Setter injection support and proper object construction in Tapestry IoC

2007-11-17 Thread Ben Tomasini
simultaneously. The sun will have cooled to a cold cinder before that actually happens in production. On Nov 17, 2007 4:47 PM, Ben Tomasini [EMAIL PROTECTED] wrote: I understand that constructor injection and final instance variables are the preferred way to do dependency injection with Tapestry IoC

Re: Mixing T5 and Guice --- best practices

2007-10-29 Thread Ben Tomasini
I used Hivemind without Tapestry 4 on a handful of high volume applications at a large bank. In fact, I came to use Tapestry after working with Hivemind first. Its concept of distributed configuration is quite unique and very powerful. Tapestry 5 IoC has the same. Ben On 10/29/07, Jan Vissers

Checking for a logged in user globally

2007-09-24 Thread Ben Tomasini
Hi, I am working on an application that requires a logged in user for access to any of the pages. My plan is to create a login form and store the logged in user in an ASO. I understand that I can implement an onActivate() on each of my pages, check to see if the user exists in the ASO, and if

Re: Checking for a logged in user globally

2007-09-24 Thread Ben Tomasini
Excellent. Is there a JIRA tracking issue for this? I would be happy to create one if not. On 9/24/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: I'm looking to add a chain-of-command around handling of render and action requests; you'll be able to plug in there. On 9/24/07, Ben Tomasini

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-23 Thread Ben Tomasini
I have the same requirement mentioned in #2. What is the best approach to handle this with Tapestry 5? I am thinking of just eager loading a service and invoking the init method in the builder method of the module. Any other thoughts? I think this was the Tapestry 4 way:

Re: [T5] How to add a extra column for delete/update action using Grid component.

2007-08-21 Thread Ben Tomasini
You can also create a bean specifically for the grid, perhaps with a static method to create a list from your model classes, and add dummy getters for your columns. This new bean can also extend your model class, and extend the getters for your @NonVisual properties. Ben On 8/21/07, Ned Jackson

Re: [T5] how to Eager Loading PERTHREAD_SCOPE service?

2007-08-18 Thread Ben Tomasini
It seems to me that the normal eager load behavior would be irrelevant for a perthread service because a perthread service must be bound to a thread which is using the registry, and the registry cannot be used until it is built. On 8/18/07, Jun Tsai [EMAIL PROTECTED] wrote: I had a perthread

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Ben Tomasini
I have used both Tapestry and HiveMind under high production loads and have never found any memory leaks in the frameworks themselves. This includes memory intensive, high volume workflow and image processing applications for large financial institutions. However, nearly every application I have

[T5] Method interceptor around component events

2007-07-17 Thread Ben Tomasini
I mentioned this before in a different context. Hope this is not redundant. I am looking to be able to wrap component events in transactions. I took a look at how the hibernate sessions are managed in tapestry-hibernate. Trouble with that model is that some of the code needs to be outside of a

T5: form context not invoking onActivate with matching parameters

2007-06-28 Thread Ben Tomasini
I was using the following code: Start.html t:form context=literal:test t:submit / /t:form Start.java void onActivate() { System.out.println(No args); } void onActivate(String value) { System.out.println(String arg); } On a form submit, the console shows: No

T5: Equivalent of ListenerInvokerFilter?

2007-06-26 Thread Ben Tomasini
All, In Tap4, I used a ListenerInvokerFilter to wrap a Spring transaction around my listeners. It was a very handy way to do transaction demarcation. Is there a way to inject similar logic around a ComponentEvent? Ben

T5: Expiclit Service Injection

2007-06-13 Thread Ben Tomasini
I am working with tapestry 5.0.4 trying to do explicit service injection since there are three services which match my interface. Here is the code for the private field in the tapestry page: @Inject @Service(UserTranslator) private Translator userTranslator; And here is the module public

T5: Translating lists

2007-06-13 Thread Ben Tomasini
I have a simple requirement to tranlsate a list of type A to a list of type B I have a simple service interface to do this: List translate(List list) It does a 1:1 translation on the source list, mapping properties to the new list. It is specifically used to create beans to pass into the grid

Re: T5: Expiclit Service Injection

2007-06-13 Thread Ben Tomasini
Upgraded to 5.0.5-SNAPSHOT and that fixed it. On 6/13/07, Ben Tomasini [EMAIL PROTECTED] wrote: I am working with tapestry 5.0.4 trying to do explicit service injection since there are three services which match my interface. Here is the code for the private field in the tapestry page

Re: T5: Translating lists

2007-06-13 Thread Ben Tomasini
through tapestry-ioc guide to get to know the IOC part of the framework, and to get more familiar with creating services and dependancy injection. Davor Hrg On 6/13/07, Ben Tomasini [EMAIL PROTECTED] wrote: I have a simple requirement to tranlsate a list of type A to a list of type B I have

Re: T5: Translating lists

2007-06-13 Thread Ben Tomasini
not have to be backed up by the source object, a static or singleton method that ingests Type A and outputs Type B would be my first choice. On 6/13/07, Ben Tomasini [EMAIL PROTECTED] wrote: Thank you. Is there native support for lists of different types? Will the TypeCoercer take a ListTypeA

Filter mapping problem in Jetty

2007-06-07 Thread Ben Tomasini
I am running Tap5 from Jetty using the Maven2 jetty:run plugin. All works fine with the following in the web.xml: filter-mapping filter-nameTapestryFilter/filter-name url-pattern/*/url-pattern /filter-mapping When I change to this: filter-mapping

Re: Filter mapping problem in Jetty

2007-06-07 Thread Ben Tomasini
Hmm... It looks like leaving the default mapping in place allows the tapestry filter to run (and I assume take care of my perthread cleanup) and does not interfere with my other servlet mappings. Very nice. Ben On 6/7/07, Ben Tomasini [EMAIL PROTECTED] wrote: I am running Tap5 from Jetty

Wiring up AppModule

2007-06-07 Thread Ben Tomasini
I am working on a T5 application, and can't figure out how the AppModule is wired up to the IoC container in the quickstart example. In may application, I am working on extending TapestryFilter and overriding provideExtraModuleDefs to wire up the module in my web application, but am convinced

Classless template component

2007-06-05 Thread Ben Tomasini
In Tap5, do template components require a Java class? I am working on a Layout.html component whose Layout.java is empty. Is there a way to omit the Layout.java class and have tapestry pickup the component? Ben