got5/tapestry5-jqPlot — pull request #4 by bbrahmbhatt (2012-08-22 21:58:08+00:00)
Title: Major Asset Loading Issue Is Resolved ( old implementation was working on specific container only. i.e. works on jetty but fails on tcServer )

I had to remove folder structure and convert them to package structure
and reimport all assets in new package structure.

Never use Dot (.) inside the property which might end up as part of path
resolver.
1) 1.0.0b2_r792 is converted to v1_0_0b2_r792
2) jquery.jqplot is converted to jquery/jqplot

Jetty is forgiving when Dot (.) is used to resolve assets but it will
not work on many other containers. i.e. tcServer can't resolve asset
defined like this...

stylesheetStack =
F.flow("${jquery.jqplot.core.path}/jquery.jqplot.${jquery.jqplot.version}/jquery.jqplot.min.css")

But it can happily resolve this…

stylesheetStack =
F.flow("${jquery.jqplot.core.path}/jquery/jqplot/${jquery.jqplot.version}/jquery.jqplot.min.css")

This fix will work on any web server.

Signed-off-by: bbrahmbhatt