[ANNOUNCEMENT] tapestry-conversations 0.1.2 released!

2010-11-12 Thread Kalle Korhonen
Hello all, we'll start Tynamo project's "onslaught of announcements" by announcing tapestry-conversations 0.1.2 release (stay tuned, other announcements to follow in the coming days). Testament to backwards compatibility of Tapestry 5, conversations 0.1.2 is tested to work with T5.1.0.5 and T5.2.1,

Re: Accessing Spring context?

2010-11-12 Thread stephanos
Thanks for the response - but sorry for not being totally precise: I need 'static' access - outside of any Tapestry component, just within the same JVM. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Accessing-Spring-context-tp3261181p3262576.html Sent from the Tapestry -

Re: Tapestry 5.1.0.5 repit the scripts

2010-11-12 Thread iberck
Thank you for your response, I', trying and all is ok. So include libraries in isn't recomendend Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-1-0-5-repit-the-scripts-tp3261634p3262547.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Tapestry 5.1.0.5 repit the scripts

2010-11-12 Thread Thiago H. de Paula Figueiredo
As Howard said, Tapestry doesn't parse your .tml to avoid including JavaScript files twice. Instead of using in your template, use the @IncludeJavaScriptLibrary annotation and the repetition won't happen again.

On Fri, 12 Nov 2010 16:16:38 -

Re: Tapestry 5.1.0.5 repit the scripts

2010-11-12 Thread iberck
Thank you for time and your responses Yes, I'm using the tapestry capabilities,the only diference is I'm using "${asset:context:js/jquery-1.4.2.min.js}" in the layout and @IncludeJavaScriptLibrary("context:js/jquery-1.4.2.min.js") in the mixin, this is my code: Layout.tml: -

Re: Portlet support in Tapestry 5?

2010-11-12 Thread mmainar
Thanks everyone for the information -- View this message in context: http://tapestry.1045711.n5.nabble.com/Portlet-support-in-Tapestry-5-tp3245184p3262516.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Tapx-Datefield

2010-11-12 Thread mmainar
Hi everyone, I am trying to learn Tapestry and I have a problem I haven't been able to solve so far. I am using Tapx-Datefield in my pages. However, I would like to change the language of the calendar. I have read the documentation of the Dynarch DHTML Calendar but I cannot figure out how to appl

Re: tapestry-upload firefox bug

2010-11-12 Thread Howard Lewis Ship
Interesting ... and ugly. I'm storing this in the back of my mind, along with the question: should Ajax URLs be different than standard URLs? On Fri, Nov 12, 2010 at 5:56 AM, wrote: > Hi guys, > > When using tapestry-upload I stumbled across an unusual browser bug that I > spent hours on, so wa

Re: Tapestry 5.1.0.5 repit the scripts

2010-11-12 Thread Howard Lewis Ship
Just make sure you use Tapestry's support for JavaScript libraries (@IncludeJavaScriptLibrary in 5.1, or @Import in 5.2). Tapestry DOES NOT parse the rendered HTML to look for libraries that you've directly included in your template. It relies on you being consistent about using its built in capa

Re: Question about mixins

2010-11-12 Thread LLTYK
Another approach I've taken was setting the actual javascript mixin object as a property of the element it's related to ('$(zoneid).periodicupdate=this'). So in the constructor of the mixin, you'd check whether that property existed already, call stop on the old one if present, then replace the ol

Re: Tapestry 5.1.0.5 repit the scripts

2010-11-12 Thread Kado
About this question. Here we are using a layout that includes different components. When we include jQuery lib in the mixins the jQuery doesn't works. We have to include the jQuery lib in the layout to make the mixins work. This is because we are not including pages and we are using components

tapestry-upload firefox bug

2010-11-12 Thread P . Stavrinides
Hi guys, When using tapestry-upload I stumbled across an unusual browser bug that I spent hours on, so wanted to share... maybe it helps someone else: Unlike weaker implementations, UploadedFile.getContentType(); returns the mime type of the uploaded file by extracting it from the http header '

Re: Tapestry 5.1.0.5 repit the scripts

2010-11-12 Thread Thiago H. de Paula Figueiredo
On Fri, 12 Nov 2010 07:04:51 -0200, iberck wrote: Pd. If I add the script 2 times my mixin breaks Are you including them though @IncludeJavascriptLibrary and using the same expression to refer to the same file? If not, you should. -- Thiago H. de Paula Figueiredo Independent Java, Apache

Re: tynamo tapestry-security help

2010-11-12 Thread Paul Stanton
Kalle, Leaving that one behind... Where can I find the documentation regarding the various tapestry components and pages provided by tapestry-security? The Javadoc only contains explainations for 5/11 of the components: http://tynamo.org/constant/tapestry-security/apidocs/index.html Also, i

Read messages from custom locations

2010-11-12 Thread Dávið Klein Sundsskarð
Hi, We have an existing application that we are converting to Tapestry. Column names in the db and their labels are saved in definition files outside of Tapestry. We are using the labels all over the app, and it would be a pain to move it all to properties files as the maintenance of labels

Re: Form elements inside a zone inside a form

2010-11-12 Thread Jeshurun Daniel
Ok please ignore that. All I wanted to do was to be able to pass a context in ajaxformloop's addrowlink, and i was looking for the context attrib in the addrowlink component. I just figured that it is actually in ajaxformloop itself, and I'm back on track. Thanks to anyone who took the time to r

Re: Accessing Spring context?

2010-11-12 Thread Christophe Cordenier
Hi Inject ApplicationContext with @Inject see http://tapestry.apache.org/tapestry5.1/tapestry-spring/ -> ApplicationContext service 2010/11/11 stephanos > > When I use Tapestry with tapestry-spring the context is automatically > created > in 'the background' at startup. But I need to access Sp

Re: Tapestry 5.1.0.5 repit the scripts

2010-11-12 Thread iberck
Pd. If I add the script 2 times my mixin breaks Thanks in advance for your responses -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-1-0-5-repit-the-scripts-tp3261634p3261657.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Tapestry 5.1.0.5 repit the scripts

2010-11-12 Thread iberck
Hi dear tapestry users: I don't know if it is a bug or if it affects above versions but when I add a script (jquery) in my layout component and then I add the same script (jquery) in a mixin, the generated html has the same script (jquery) 2 times I spend some time to discover this problem becau