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
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
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
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
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
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
Hi Tim,
A "cheap" way is to simply include your javascript in a tag at
the bottom of your component .tml: