Matej Knopp <matej.knopp <at> gmail.com> writes:

> Yeah, ResourceReference is like global resource factory. That is for
> resources that don't belong to any component/page (they can't touch
> any component instance while they are served).

However, I don't understand why we should not just use static class
members like:

class Foo {
  static Resource MY_JS = ...;
}

class Bar {
  void g() {
    Resource r = Foo.MY_JS;
    ...
  }
}



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

Reply via email to