Type: info
         Title: css.graphic.GraphicProvider accepting URLs 
private:graphicrepository
     Posted by: [EMAIL PROTECTED]
      Affected: -
Effective from: CWS hsqlcsvstage1


*Summary*
--------
css.graphic.GraphicProvider accepting URLs private:graphicrepository

*Description*
-------------
The css.graphic.GraphicProvider has, for a long time, been able to
load graphics from resource files. For this, you had to specify the
resource as follows 
private:resource/projectshortname/type/number, e.g.
private:resource/ofa/image/12345 would load the Image resource with
number 12345 from the ofa680*.res resource file.

Since nowadays, graphics in resource files are barely more than a
string denoting the relative path in the application's graphic
repository (images.zip), it's desirable to save the detour via the
resource files, and load the graphic directly from the repository.

For this, the GraphicProvider now honours a URL in the MediaProperties
of the form
  private:graphicrepository/relativepath.

For instance, private:graphicrepository/sw/res/dog.png would load the
dog.png graphic located in the sw/res sub storage of the images.zip.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to