Re: Testing Tapestry application

2006-07-21 Thread KE Gan
Haha .. alright : .. Thanks a bunch !! On 7/21/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: I can't really take credit for it. All I did was move java files around to different places and made them use the testing infrastructure that Howard/the team had already created. You can use it now, just

tapestry - spring integration

2006-07-21 Thread Anders Cessner
Hi all, I just started on a project that uses spring with spring web mvc, hibernate and acegi, but now wants to move from spring mvc to tapestry 4. I tried to merge the contents of AcegiSpringJava5 on wiki to the project, but obviously due to earlier configurations of acegi i just get 2 pages

Re: tapestry - spring integration

2006-07-21 Thread Christian Haselbach
Quoting Anders Cessner [EMAIL PROTECTED]: I´ve browsed through some of the mails sent to this mailing list earlier and have learned some tricks to keep those lazy load exceptions away, for example, but didnt really get how exactly do i configure tapestry and spring so i can inject the spring

Re: tapestry - spring integration

2006-07-21 Thread Christian Dutaret
It is actually very easy. Download tapestry-spring.jar from Javaforge. Put the jar in your web app classpath, then you can inject Spring beans into your page like this : @InjectSpring(my.bean) public abstract MyBeanType getMyBean(); (that is if you use annotations) Further detailed

how do i store spec html in a sub dir of WEB-INF for components and pages..

2006-07-21 Thread Josh Long
Hello freindly Tapestry list.. What is the configuration mechanism to specify a custom spec/template resolver for the page or component? That is, i'd like to have a directory structure: /WEB-INF/pages/(*html|[*.page]) /WEB-INF/components/(*html|[*.jwc]) and have it so that if

Making java.sql.Connection available to object as HiveMind service

2006-07-21 Thread Rui Pacheco
Hi all I'm using HiveTranse to make a Connect object available as a HiveMind service to my application, but I am wondering if there isn't any other way of making it available. I'm trying to move away both from the extra weight HiveTranse's .jars bring and the lack of documentation and examples

Auto submit invoked by a DatePicker selection?

2006-07-21 Thread Gareth McClure
Hi, I am working on a Tapestry project and I have a functioning DatePicker component, however what I want to do is to automatically invoke a submit to update the date binding when a user uses the DatePicker component to select a date, rather than making the user press a submit button. Can

Getting started with Tacos

2006-07-21 Thread Rachel Swailes
Hi there I've read a lot of documentation and other posts online but I'm still struggling to get started with tacos. I started by trying to get the examples in the component reference to work and the AjaxSubmit example kind of works now. But the page completely reloads after I press the

RE: Getting started with Tacos

2006-07-21 Thread Jonathan Barker
This may not be your problem, but... When there is a problem with the AJAX functionality, the tacos components tend to fall back to conventional behavior - I found this when I was having problems. Make sure there are no script errors on your page, and make sure you have the necessary dojo script

Re: tapestry - spring integration

2006-07-21 Thread hv @ Fashion Content
wouldnt you need to add the SpringContext listener to web.xml as well? Christian Dutaret [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] It is actually very easy. Download tapestry-spring.jar from Javaforge. Put the jar in your web app classpath, then you can inject Spring

Re: tapestry - spring integration

2006-07-21 Thread Christian Dutaret
You're absolutely right. Although the Spring context listener is not specific to tapestry integration, it is just the standard spring way to expose a context to a web application. Howard's tapestry-spring just hooks on this. hv @ Fashion Content wrote : wouldnt you need to add the

Re: Issues with Label Components with Tapestry 4.0

2006-07-21 Thread mraible
I ended up overriding the default FieldLabel: http://fisheye5.cenqua.com/qsearch/appfuse/?q=FieldLabel -- View this message in context: http://www.nabble.com/Issues-with-Label-Components-with-Tapestry-4.0-tf1686779.html#a5434006 Sent from the Tapestry - User forum at Nabble.com.

Tapestry AspectJ

2006-07-21 Thread Adam Zimowski
Can anybody reflect on their experience with combining a large Tap (4) application with AspectJ? I am most interested in advising Tapestry pages but also any other object that I may not have configured explicitly in Hivemind. * By using AspectJ was cross cutting truly easier on your application

RE: Tapestry AspectJ

2006-07-21 Thread James Carman
I wrote a HiveMind module that allows you to inject HiveMind services/configurations into AspectJ aspects. It works similar to the way Spring does it. -Original Message- From: Adam Zimowski [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 10:30 AM To: users@tapestry.apache.org

Re: Tapestry AspectJ

2006-07-21 Thread Adam Zimowski
Oh, so Hivemind must know about my objects. What about objects outside of Hivemind scope, those instantiated thru the code? On 7/21/06, James Carman [EMAIL PROTECTED] wrote: I wrote a HiveMind module that allows you to inject HiveMind services/configurations into AspectJ aspects. It works

Re: tapestry - spring integration

2006-07-21 Thread Anders Cessner
thank you all for the answers. i was able to get it to work very quickly and elegantly by using howards tapestry-spring. On 7/21/06, Christian Dutaret [EMAIL PROTECTED] wrote: You're absolutely right. Although the Spring context listener is not specific to tapestry integration, it is just

RE: Tapestry AspectJ

2006-07-21 Thread Konstantin Ignatyev
In case there is a need to apply aspects to all the classes in the application and its libraries, lets say add tracing aspect, then AspectJ can be applied at build time and statically weave all the necessary things into classes, which will then be just regular classes and I think the can be

Re: contrib:Table paging in @For loop

2006-07-21 Thread Mind Bridge
Hi, The reason this happens is that Table stores its state in a persistent property by default, which happens to be the same property when Table is placed in a For loop. Please implement ITableSessionStoreManager and provide the 'tableSessionStoreManager' parameter to Table. That will allow

RE: contrib:Table paging in @For loop

2006-07-21 Thread Steve Shucker
Thank you! That was a trivially simple solution that solved 90% of my issues. I'd spent several hours digging into the table's internals before I saw your email and fixed the paging in 10 minutes. It was no problem to make the objects I was iterating over implement ITableSessionStoreManager. Is

How can I disable the asset hash for javascript files?

2006-07-21 Thread Josh Long
Essentially, I have a bevy of components that reference things via the asset mechanims. Is there anyway to get tapestry 3 (in this case, though Id like to know the 4.0 solution if possible, as well) to not create a hash and to instead simply write out the url without the sp parameter and such

Re: PermGen space

2006-07-21 Thread Martin Strand
I believe it has to do with Tapestry's class enhancing. If you disable caching (which you would only do in a development environment) Tapestry will re-enhance the component classes on every request, leaving the classloader with more and more classes to keep track of. Apparently, these