Index: addon/builtin/repository/src/main/resources/hippostd-workflows-threepane.xml
===================================================================
--- addon/builtin/repository/src/main/resources/hippostd-workflows-threepane.xml (revision 24258)
+++ addon/builtin/repository/src/main/resources/hippostd-workflows-threepane.xml (working copy)
@@ -52,6 +52,9 @@
${editor.id}
+
+ service.gallery.processor
+
60
Index: addon/defaultcontent/repository/src/main/resources/defaultcontent-data.xml
===================================================================
--- addon/defaultcontent/repository/src/main/resources/defaultcontent-data.xml (revision 24258)
+++ addon/defaultcontent/repository/src/main/resources/defaultcontent-data.xml (working copy)
@@ -581,7 +581,7 @@
new-image-folder
- hippogallery:exampleImageSet
+ hippogallery:imageset
preview
Index: addon/defaultcontent/repository/src/main/resources/defaultcontent-image-example.xml
===================================================================
--- addon/defaultcontent/repository/src/main/resources/defaultcontent-image-example.xml (revision 24258)
+++ addon/defaultcontent/repository/src/main/resources/defaultcontent-image-example.xml (working copy)
@@ -32,7 +32,7 @@
new-image-folder
- hippogallery:exampleImageSet
+ hippogallery:imageset
preview
@@ -52,7 +52,7 @@
- hippogallery:exampleImageSet
+ hippogallery:imageset
hippo:harddocument
@@ -68,9 +68,12 @@
preview
live
+
+ Hippo.jpg
+
- hippo:resource
+ hippogallery:image
/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABRAGQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZ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Q/CqzfTviXNZSsrSWwnhZl6EqcEj8q90sxi0hHoi/yryPwZYyR/F3VZ2ZCjTXRABOeXNYyoxpyi49z0sPmtfGYfEQrvRRdtDU+PP/Iuaf8A9ff/ALI1dV8OP+RH0f8A64D+ZrnPjdbPdaBYLGVBF1n5v9xq6bwBGYfBmkxtgssIBx9TWsf479Dzq7X9kUl/ef6nhttFrM3jvUk8NlxqH2ifGx1Q7dxzyxAroLnwh498QPFb61Iwt1bcGnuUZVPrhSST+FXPANjLD8Ur6ZmQoXuOATnljXs1Y0aCnFtt7nqZpm9TCVYRpQi3yrVrVfO5j6RpMWheGItNgYulvAy7iMbmOSxx2ySTXgHgi38TTy3Y8KGUOFXzvLlROOdv3iM96+krwZtJh6o38q8p+BtlJaXermQodyR42k+rVpWgnOEVpuceV4uVPC4mvJKUrxequndvcyl8C+MfEeoQf8JLM0UEfHmTTrIVXvtVSeT+Fdl8WLFbf4ctb2qEQWrQqB/dQEKP6V31VtSsoNSsLizu03wToUdfY/1rT2CUWluzjlnNWrXpVKiSjB3tFWXmcZ8FriKXwTFFGR5kM0iyDuCTuH6EVyvx9uIXvtHt1KmeOOR3HcKxULn/AL5auZ8Q6fq3w+1horDVHVJ13K8LFSy543Dpn862vh34VuPFOpjXdavPtEEcgZldizysOgOeAv8A+quXnc4extqfQRwdPC4iWbOd4ataO92tvxPZNCieHRNPil/1iW8at9QoBq9RRXoJW0PiJy5pOT6hRRRTJCiiigD/2Q==
@@ -95,6 +104,12 @@
image/jpeg
+
+ 175
+
+
+ 142
+
Index: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.html
===================================================================
--- addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.html (revision 0)
+++ addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.html (revision 0)
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Property changes on: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.html
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Index: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.java
===================================================================
--- addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.java (revision 0)
+++ addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.java (revision 0)
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2010 Hippo.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.hippoecm.frontend.editor.plugins.resource;
+
+import javax.jcr.Node;
+import javax.jcr.RepositoryException;
+
+import org.apache.wicket.markup.html.basic.Label;
+import org.apache.wicket.markup.html.panel.Fragment;
+import org.apache.wicket.model.IModel;
+import org.apache.wicket.model.Model;
+import org.hippoecm.frontend.plugin.IPluginContext;
+import org.hippoecm.frontend.plugin.config.IPluginConfig;
+import org.hippoecm.frontend.service.render.RenderPlugin;
+import org.hippoecm.repository.gallery.HippoGalleryNodeType;
+
+/**
+ * Displays a file name of an image set without editing options.
+ */
+public class FileNameDisplayPlugin extends RenderPlugin {
+
+ private static final long serialVersionUID = 1L;
+
+ public FileNameDisplayPlugin(IPluginContext context, IPluginConfig config) {
+ super(context, config);
+
+ add(createFileNameFragment("fragment", getModel()));
+ }
+
+ private Fragment createFileNameFragment(String id, IModel model) {
+ String fileName = "";
+ try {
+ fileName = model.getObject().getProperty(HippoGalleryNodeType.ImageSet.FILE_NAME).getString();
+ } catch (RepositoryException ignored) {
+ // ignore
+ }
+
+ Fragment fragment = new Fragment(id, "filename", this);
+ fragment.add(new Label("name", new Model(fileName)));
+ return fragment;
+ }
+
+ @Override
+ protected void onModelChanged() {
+ replace(createFileNameFragment("fragment", getModel()));
+ super.onModelChanged();
+ redraw();
+ }
+
+}
Property changes on: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.java
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Index: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.properties
===================================================================
--- addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.properties (revision 0)
+++ addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.properties (revision 0)
@@ -0,0 +1 @@
+filename.label: File name:
Property changes on: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin.properties
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Index: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin_nl.properties
===================================================================
--- addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin_nl.properties (revision 0)
+++ addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin_nl.properties (revision 0)
@@ -0,0 +1 @@
+filename.label: Bestandsnaam:
Property changes on: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/FileNameDisplayPlugin_nl.properties
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Index: addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/ImageDisplayPlugin.html
===================================================================
--- addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/ImageDisplayPlugin.html (revision 24258)
+++ addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/resource/ImageDisplayPlugin.html (working copy)
@@ -17,17 +17,25 @@
-
+
+
+ -
+
+
+ -
+
+
+
-
-
+
-
@@ -49,5 +57,5 @@
-
+