Opened 12 years ago

Closed 12 years ago

#341 closed task (fixed)

printAllLibSources

Reported by: adube Owned by:
Priority: major Milestone: 1.0.0
Component: packaging/scripts/config Version:
Keywords: Cc:

Description

Create a new 'printAllLibSources' method in Globals.xslt that will manage the inclusion of all client libraries with the exception of ExtJS (because of its GPL license).

The method will receive 2 parameters :

  • "version" (String) possible values are : "stable", "unstable" and "deprecated". Loads the according libs depending on the widgets to use. Defaults to "stable".
  • "compressed" (Boolean) Load the compressed versions or uncompressed. Defaults to "compressed".

Change the sample template file to use it. Remove the parameters from the sample config.php file and use "version" and "compressed" parameter instead.

Change History (1)

comment:1 by adube, 12 years ago

Resolution: fixed
Status: newclosed

Feature added in r1185. The samples were adjusted accordingly. Only the "uncompressed" libraries are currently managed since the compressed ones are not available yet. This will be taken care of in an other ticket.

Currently, the 'stable' and 'unstable' libraries are the same, so the samples only send either "stable" or "deprecated" (if using a map, mapfishlayertree or mapfishrecenter widget).

Done.

Note: See TracTickets for help on using tickets.