Exemplo n.º 1
0
 public static ResourceKey toResourceKey(final DescriptorKey key) {
   return ResourceKey.from(
       key.getApplicationKey(), "site/layouts/" + key.getName() + "/" + key.getName() + ".xml");
 }
Exemplo n.º 2
0
 @Override
 public ResourceKey getComponentPath() {
   final DescriptorKey key = this.getKey();
   return ResourceKey.from(key.getApplicationKey(), "site/layouts/" + key.getName());
 }