Wednesday, December 03, 2008

Issue with latest Jawr 2.6

I have been using JAWR library for past six months in my project and found it very well documented and very stable too. But, yesterday I was surprised to find an issue with its latest (2.6) release.

A new configuration feature jawr.csslinks.flavor has been added to configure how <link> CSS tag is rendered. But, by default, <link>tag is not terminated with "/>" as claimed in the jawr taglib docs. With 2.6 release (Nov 25,2008), my CSS links which worked fine earlier, started to render as follows:
<link rel="stylesheet" type="text/css" media="screen" 
href
="/xxx/gzip_N173773858/bundles/base.cssnull
This broke my screen layout.

Adding jawr.csslinks.flavor = xhtml in jawr.properties solves this issue.

5 comments:

Unknown said...

I just stumbled upon your comment, I will definitely fix this for the next version.
I recommend that next time you post it in the forum or add an issue at the project's tracker. This way you will make sure it gets fixed :)
Regards, Jordi.

Unknown said...

https://jawr.dev.java.net/issues/show_bug.cgi?id=49

:)

Bimalesh Jha said...

Yes you are right. I should have added this to the JAWR issue tracker, but I do not remember my dev.java.net account. Probably I will revive my account and report issue directly, in future. Thanks for looking at this issue. You are doing a very good job.
Cheers,
-BJ

Unknown said...

Thanks for the post here. I've got the same problem and this was the only thing that google turned up.

I shudder to think of having to read the documentation ;) not that it would have necessarily helped.

I wonder why the google bots haven't spidered the entry issue at java.net yet.

Unknown said...

At last, the issue has been fixed. Version 2.7 has just been released.
Regards, Jordi.