pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: Absolute URL Resolution in WTKX files
Date Mon, 15 Nov 2010 12:37:03 GMT
The "@" symbol is defined as "relative to the current file". However, you can use an absolute
path as well - just specify a path that is relative to the classpath (full path to the file
but no leading slash).

FYI, the "@" syntax for styles is no longer supported in Pivot 2.0 - named styles/stylesheets
are now used for this purpose.


On Nov 14, 2010, at 11:31 PM, ocean ocean wrote:

> Can't seem to pull this off. I have a style defined in a separate jar as a json file.
(I picked up this nifty look by examining the terra_file_browser_sheet_skin.wtkx where the
dialog buttons refer to a @command_button.json). Now I want to reference this json stylesheet
from many different wtkx files. How to do this? It seems the @-operator is always relative
to the current wtkx file. But what if I'd like to refer to a json stylesheet using an absolute
> Where is the sourcecode that interprets the @-operator and translates it into an URL
to be loaded?
> Thanks,

View raw message