Re: Tapestry 5.2.5 and jboss6

2011-05-06 Thread Geoff Callender
I'm also having trouble with JBoss 6. I'm trying to deploy jumpstart's ear. First, a fix to the ClasspathURLConverter for JBoss 6. Instead of this... if (url != null && url.getProtocol().startsWith("vfs")) { try this... if (url != null && url.getProtocol().starts

Re: contribute to from a page

2011-05-06 Thread Michael Gentry
Oh, and if you need more than one something, use curly braces: @Import(library = { "context:js/something1.js", "context:js/something2.js"}, stylesheet = "context:css/something.css") mrg On Fri, May 6, 2011 at 1:29 PM, Michael Gentry wrote: > Just use @Import in your page's class: > > @Import(li

Re: contribute to from a page

2011-05-06 Thread Thiago H. de Paula Figueiredo
On Fri, 06 May 2011 14:17:36 -0300, stephanos2k wrote: I have a layout L and page P. The layout has a few scripts & stylesheets which are needed everywhere. But P requires a few specific files. How can I add a stylesheet and a script to the final ? See the @Import annotation. It already do

Re: contribute to from a page

2011-05-06 Thread Michael Gentry
Just use @Import in your page's class: @Import(library = "context:js/something.js", stylesheet = "context:css/something.css") mrg PS. You should probably use that in your layout's class, too. On Fri, May 6, 2011 at 1:17 PM, stephanos2k wrote: > I have a layout L and page P. The layout has a f

contribute to from a page

2011-05-06 Thread stephanos2k
I have a layout L and page P. The layout has a few scripts & stylesheets which are needed everywhere. But P requires a few specific files. How can I add a stylesheet and a script to the final ? -> I tried just defining a in P, assuming it would be merged; didn't work. -> I can't use annotations

Re: Blog Post: Tapestry Magic #1

2011-05-06 Thread Massimo Lusetti
On Fri, May 6, 2011 at 2:38 PM, Taha Hafeez wrote: > There can be many reasons for using this. e.g. for example in an eBanking > website, you can hide parameters like account number, dates of credit, > credit card numbers etc. This is very important in Banking related > application BTW I've seen

Re: Execute JavaScript from dynamic component

2011-05-06 Thread Richard Hill
Hi Tim, A "cheap" way is to simply include your javascript in a tag at the bottom of your component .tml: