Commit 84ef1ae6 authored by Arnaud Saval's avatar Arnaud Saval

WEBLAB-958 merge with portlet from incubation

git-svn-id: svn://svn.forge.objectweb.org/svnroot/weblab/trunk/WebLabServices/Portlets/metadata-portlet@3389 a803c184-d8de-4a0e-a52b-d3eef88212b6
parent 1f7d7e01
......@@ -5,22 +5,16 @@
<groupId>org.ow2.weblab.portlets</groupId>
<artifactId>parent</artifactId>
<version>1.2.5</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.ow2.weblab.portlets</groupId>
<artifactId>weblab-metaview</artifactId>
<version>1.2.0</version>
<packaging>war</packaging>
<version>2.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>WebLab Metaview</name>
<description>this portlet allows you to display chosen metadata to the user for a given Document</description>
<dependencies>
<dependency>
<groupId>org.ow2.weblab.portlets</groupId>
<artifactId>weblab-portlet</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.weblab.core.helpers</groupId>
<artifactId>rdf-helper-jena</artifactId>
......@@ -29,16 +23,37 @@
<groupId>org.ow2.weblab.core.helpers</groupId>
<artifactId>rdf-helper-jena-selection</artifactId>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>3.0.7.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc-portlet</artifactId>
<version>3.0.7.RELEASE</version>
</dependency>
<dependency>
<groupId>org.ow2.weblab.components</groupId>
<artifactId>weblab-client</artifactId>
<version>0.2.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.ow2.weblab.portlets</groupId>
<artifactId>weblab-portlet-filters</artifactId>
<version>0.2.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
</dependencies>
<description>This portlet displays WebLab resources metadata.</description>
<build>
<finalName>${project.artifactId}</finalName>
</build>
......
/**
* WEBLAB: Service oriented integration platform for media mining and intelligence applications
*
* Copyright (C) 2004 - 2012 Cassidian, an EADS Company
*
* This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
package org.ow2.weblab.portlet.bean;
/**
* Bean representing the configuration of the annotation filter service.
*
* @author emilien
*/
public class AnnotationServiceConfigBean {
private String serviceURL;
public AnnotationServiceConfigBean() {
}
public String getServiceURL() {
return this.serviceURL;
}
public void setServiceURL(final String serviceURL) {
this.serviceURL = serviceURL;
}
}
/**
* WEBLAB: Service oriented integration platform for media mining and intelligence applications
*
* Copyright (C) 2004 - 2012 Cassidian, an EADS Company
*
* This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
package org.ow2.weblab.portlet.bean;
import java.util.Map;
/**
* Bean to store annotations description and it value.
*
* @author emilien
*/
public class AnnotationsDescBean {
/*
* attributes
*/
private Map<String, String> properties;
/**
* @return the properties
*/
public Map<String, String> getProperties() {
return this.properties;
}
/**
* @param properties
* the properties to set
*/
public void setProperties(final Map<String, String> properties) {
this.properties = properties;
}
public String[] getDisctinctAnnotationsNS() {
return this.properties.values().toArray(new String[this.properties.values().size()]);
}
/**
* get the value for the annotation name-space.
*
* @param namespace
* of annotation
* @return value for this annotation
*/
public String getAnnotationValue(final String namespace) {
return this.properties.get(namespace).toString();
}
}
/**
* WEBLAB: Service oriented integration platform for media mining and intelligence applications
*
* Copyright (C) 2004 - 2012 Cassidian, an EADS Company
*
* This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
package org.ow2.weblab.portlet.bean;
import java.util.Map;
import java.util.TreeMap;
/**
* Class representing a result configuration for result portlet.
*
* @author emilien
*/
public class MetaConfBean {
private Map<String, Boolean> properties;
public MetaConfBean() {
this.properties = new TreeMap<String, Boolean>();
}
public Map<String, Boolean> getProperties() {
return this.properties;
}
public void setProperties(final Map<String, Boolean> properties) {
this.properties = properties;
}
}
/**
* WEBLAB: Service oriented integration platform for media mining and intelligence applications
*
* Copyright (C) 2004 - 2012 Cassidian, an EADS Company
*
* This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
package org.ow2.weblab.portlet.bean;
/**
* Bean representing the configuration of the search service.
*
* @author emilien
*/
public class RepoServiceConfigBean {
private String serviceURI;
public RepoServiceConfigBean() {
}
public String getServiceURI() {
return this.serviceURI;
}
public void setServiceURI(final String serviceURL) {
this.serviceURI = serviceURL;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!-- Spring xml for meta-data display in the result portlet. Here is
defined interesting RDF annotations namespace for the result portlet.
The portlet search in resources for this annotation and display them
when possible (as meta-data).
-->
<beans>
<bean id="metaConf" class="org.ow2.weblab.portlet.bean.AnnotationsDescBean">
<property name="properties">
<map>
<!-- Documents properties -->
<entry key="hasNativeContent" value="http://weblab.ow2.org/core/1.2/ontology/processing#hasNativeContent" />
<entry key="hasNormalisedContent" value="http://weblab.ow2.org/core/1.2/ontology/processing#hasNormalisedContent" />
<entry key="isGeneratedFrom" value="http://weblab.ow2.org/core/1.2/ontology/processing#isGeneratedFrom" />
<entry key="isProducedFrom" value="http://weblab.ow2.org/core/1.2/ontology/processing#isProducedFrom" />
<entry key="isExposedAs" value="http://weblab.ow2.org/core/1.2/ontology/processing#isExposedAs" />
<entry key="gatheringDate" value="http://weblab.ow2.org/core/1.2/ontology/processing#hasGatheringDate" />
<entry key="projectName" value="http://weblab-project.org/core/model/property/crawler/projectName" />
<entry key="hasOriginalFileSize" value="http://weblab.ow2.org/core/1.2/ontology/processing#hasOriginalFileSize" />
<entry key="hasOriginalFileName" value="http://weblab.ow2.org/core/1.2/ontology/processing#hasOriginalFileName" />
<entry key="refersTo" value="http://weblab.ow2.org/core/1.2/ontology/processing#refersTo" />
<!-- DublinCore properties-->
<entry key="title" value="http://purl.org/dc/elements/1.1/title" />
<entry key="abstract" value="http://purl.org/dc/terms/abstract" />
<entry key="creator" value="http://purl.org/dc/elements/1.1/creator" />
<entry key="catego" value="http://purl.org/dc/terms/subject" />
<entry key="subject" value="http://purl.org/dc/elements/1.1/subject" />
<entry key="description" value="http://purl.org/dc/elements/1.1/description" />
<entry key="publisher" value="http://purl.org/dc/elements/1.1/publisher" />
<entry key="contributor" value="http://purl.org/dc/elements/1.1/contributor" />
<entry key="date" value="http://purl.org/dc/elements/1.1/date" />
<entry key="type" value="http://purl.org/dc/elements/1.1/type" />
<entry key="format" value="http://purl.org/dc/elements/1.1/format" />
<entry key="identifier" value="http://purl.org/dc/elements/1.1/identifier" />
<entry key="source" value="http://purl.org/dc/elements/1.1/source" />
<entry key="language" value="http://purl.org/dc/elements/1.1/language" />
<entry key="relation" value="http://purl.org/dc/elements/1.1/relation" />
<entry key="coverage" value="http://purl.org/dc/elements/1.1/coverage" />
<entry key="rights" value="http://purl.org/dc/elements/1.1/rights" />
<entry key="modified" value="http://purl.org/dc/terms/modified" />
<entry key="created" value="http://purl.org/dc/terms/created" />
<entry key="extent" value="http://purl.org/dc/terms/extent" />
<!-- FOAF properties -->
<entry key="thumbnail" value="http://xmlns.com/foaf/0.1/thumbnail"></entry>
<entry key="firstName" value="http://xmlns.com/foaf/0.1/firstName"></entry>
<entry key="lastName" value="http://xmlns.com/foaf/0.1/lastName"></entry>
<!-- RDF properties -->
<entry key="seeAlso" value="http://www.w3.org/2000/01/rdf-schema#seeAlso" />
<!-- Search properties -->
<entry key="hasRank" value="http://weblab.ow2.org/core/1.2/ontology/retrieval#hasRank" />
<entry key="hasDescription" value="http://weblab.ow2.org/core/1.2/ontology/retrieval#hasDescription" />
<entry key="hasScore" value="http://weblab.ow2.org/core/1.2/ontology/retrieval#hasScore" />
<entry key="isLinkedTo" value="http://weblab.ow2.org/core/1.2/ontology/retrieval#isLinkedTo" />
<entry key="inResultSet" value="http://weblab.ow2.org/core/1.2/ontology/retrieval#inResultSet" />
</map>
</property>
</bean>
<bean id="meta_conf_bean" class="org.ow2.weblab.portlet.bean.MetaConfBean">
<property name="properties">
<map>
<!-- Documents properties -->
<entry key="hasNativeContent" value="false" />
<entry key="hasNormalisedContent" value="false" />
<entry key="isGeneratedFrom" value="false" />
<entry key="isProducedFrom" value="true" />
<entry key="isExposedAs" value="true" />
<entry key="gatheringDate" value="false" />
<entry key="projectName" value="false" />
<entry key="hasOriginalFileSize" value="false" />
<entry key="hasOriginalFileName" value="false" />
<entry key="refersTo" value="false" />
<!-- DublinCore properties-->
<entry key="title" value="true" />
<entry key="abstract" value="true" />
<entry key="creator" value="false" />
<entry key="subject" value="true" />
<entry key="catego" value="true" />
<entry key="description" value="false" />
<entry key="publisher" value="false" />
<entry key="contributor" value="false" />
<entry key="date" value="false" />
<entry key="type" value="true" />
<entry key="format" value="true" />
<entry key="identifier" value="false" />
<entry key="source" value="true" />
<entry key="language" value="true" />
<entry key="relation" value="false" />
<entry key="coverage" value="false" />
<entry key="rights" value="false" />
<entry key="modified" value="false" />
<entry key="created" value="false" />
<entry key="extent" value="false" />
<!-- FOAF properties -->
<entry key="thumbnail" value="false"></entry>
<entry key="name" value="false"></entry>
<!-- RDF properties -->
<entry key="seeAlso" value="false" />
<!-- Search properties -->
<entry key="hasRank" value="false" />
<entry key="hasDescription" value="false" />
<entry key="hasScore" value="false" />
</map>
</property>
</bean>
</beans>
\ No newline at end of file
......@@ -6,8 +6,6 @@ log4j.appender.console.encoding = UTF-8
log4j.appender.console.layout = org.apache.log4j.PatternLayout
log4j.appender.console.layout.conversionPattern = %d{ISO8601} %-5p %c - %m%n
# RollingFile appender limited to DEBUG
log4j.appender.rollingfile = org.apache.log4j.DailyRollingFileAppender
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"><beans> <bean id="servicesConfig" class="org.ow2.weblab.components.client.config.ServiceConfigMap"> <description> This is the main bean that will handle the weblab-client configuration. The principle is simple: for each service port (ie implementation of one generic interface) the configuration will have the implementation URI (in general linked to the application service taxonomy) and will link it to the actual URL to be used. </description> <constructor-arg> <map> <entry key="http://weblab.ow2.org/core/1.2/services/resourceContainer#Load_Resource"> <value>http://localhost:8084/petals/services/weblab-repository</value> </entry> </map> </constructor-arg> </bean></beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"><beans> <bean id="servicesConfig" class="org.ow2.weblab.components.client.config.ServiceConfigMap"> <description> This is the main bean that will handle the weblab-client configuration. The principle is simple: for each service port (ie implementation of one generic interface) the configuration will have the implementation URI (in general linked to the application service taxonomy) and will link it to the actual URL to be used. </description> <constructor-arg> <map> <entry key="http://weblab.ow2.org/services/resourceContainer/file-repo"> <value>http://localhost:8181/simple-file-repository/resourceContainer</value> </entry> </map> </constructor-arg> </bean></beans>
\ No newline at end of file
......
......@@ -3,6 +3,6 @@
<display>
<category name="WebLab">
<portlet id="MetaDataPortlet" />
<portlet id="weblab-metaview" />
</category>
</display>
......@@ -4,61 +4,10 @@
<description xml:lang="FR">Visualisation des méta données</description>
<portlet-name>weblab-metaview</portlet-name>
<display-name xml:lang="FR">Visualisation des méta données</display-name>
<portlet-class>org.ow2.weblab.portlet.MetaDataPortlet</portlet-class>
<!-- default parameters -->
<!--actions/reactions mapping-->
<!-- reactions -->
<init-param>
<!-- portlet reaction -->
<name>{http://weblab.ow2.org/portlet/reaction}displayMeta</name>
<!-- events triggering this reaction -->
<value>{http://weblab.ow2.org/events/result}selectDocument {http://weblab.ow2.org/events/geo}selectDocument {http://weblab.ow2.org/events/time}selectDocument {http://weblab.ow2.org/events/basket}selectDocument {http://weblab.ow2.org/events/basket}selectImage</value>
</init-param>
<init-param>
<!-- portlet reaction -->
<name>{http://weblab.ow2.org/portlet/reaction}loadAndDisplayMeta</name>
<!-- events triggering this reaction -->
<value>{http://weblab.ow2.org/events/result}selectNotLoadedDocument {http://weblab.ow2.org/events/result}selectNotLoadedImage {http://weblab.ow2.org/events/geo}selectNotLoadedDocument {http://weblab.ow2.org/events/time}selectNotLoadedDocument {http://weblab.ow2.org/events/basket}selectNotLoadedDocument {http://weblab.ow2.org/events/basket}selectNotLoadedImage</value>
</init-param>
<!-- service configuration -->
<init-param>
<name>repo_service_uri</name>
<value>http://weblab.ow2.org/core/1.2/services/resourceContainer#Load_Resource</value>
</init-param>
<!-- set if the portlet use redirection for action -->
<init-param>
<name>use_redirection</name>
<value>false</value>
</init-param>
<!-- jsp mapping -->
<init-param>
<name>view_page_url</name>
<value>/jsp/meta_portlet_view.jsp</value>
</init-param>
<init-param>
<name>view_metat_ajax_page_url</name>
<value>/jsp/meta_portlet_view_meta_ajax.jsp</value>
</init-param>
<init-param>
<name>error_page_url</name>
<value>/jsp/meta_portlet_error.jsp</value>
</init-param>
<!-- <portlet-class>org.ow2.weblab.portlet.MetaDataPortlet</portlet-class>-->
<portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
<expiration-cache>0</expiration-cache>
<!-- Supported only the view mode for this portlet -->
<supports>
<mime-type>text/html</mime-type>
......@@ -76,10 +25,9 @@
</portlet-info>
<!-- Supported event for this portlet -->
<!-- processing -->
<!-- processing -->
<supported-processing-event>
<qname xmlns:result="http://weblab.ow2.org/events/result">result:selectDocument</qname>
</supported-processing-event>
......@@ -89,8 +37,39 @@
<supported-processing-event>
<qname xmlns:result="http://weblab.ow2.org/events/result">result:selectNotLoadedImage</qname>
</supported-processing-event>
<supported-processing-event>
<qname xmlns:basket="http://weblab.ow2.org/events/basket">basket:selectDocument</qname>
</supported-processing-event>
<supported-processing-event>
<qname xmlns:basket="http://weblab.ow2.org/events/basket">basket:selectNotLoadedDocument</qname>
</supported-processing-event>
<!-- publishing -->
<supported-publishing-event>
<qname xmlns:meta="http://weblab.ow2.org/events/meta">meta:selectNotLoadedDocument</qname>
</supported-publishing-event>
</portlet>
<!-- filters -->
<filter>
<filter-name>weblab-event-filter</filter-name>
<filter-class>org.ow2.weblab.portlet.filter.WebLabMapperEventFilter</filter-class>
<lifecycle>EVENT_PHASE</lifecycle>
</filter>
<filter>
<filter-name>weblab-action-filter</filter-name>
<filter-class>org.ow2.weblab.portlet.filter.WebLabMapperActionFilter</filter-class>
<lifecycle>ACTION_PHASE</lifecycle>
</filter>
<filter-mapping>
<filter-name>weblab-event-filter</filter-name>
<portlet-name>weblab-metaview</portlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>weblab-action-filter</filter-name>
<portlet-name>weblab-metaview</portlet-name>
</filter-mapping>
<!-- event declaration -->
<event-definition>
<qname xmlns:result="http://weblab.ow2.org/events/result">result:selectDocument</qname>
......@@ -104,4 +83,16 @@
<qname xmlns:result="http://weblab.ow2.org/events/result">result:selectNotLoadedImage</qname>
<value-type>org.ow2.weblab.core.model.PieceOfKnowledge</value-type>
</event-definition>
<event-definition>
<qname xmlns:basket="http://weblab.ow2.org/events/basket">basket:selectDocument</qname>
<value-type>org.ow2.weblab.core.model.Document</value-type>
</event-definition>
<event-definition>
<qname xmlns:basket="http://weblab.ow2.org/events/basket">basket:selectNotLoadedDocument</qname>
<value-type>org.ow2.weblab.core.model.PieceOfKnowledge</value-type>
</event-definition>
<event-definition>
<qname xmlns:meta="http://weblab.ow2.org/events/meta">meta:selectNotLoadedDocument</qname>
<value-type>org.ow2.weblab.core.model.PieceOfKnowledge</value-type>
</event-definition>
</portlet-app>
\ No newline at end of file
......@@ -3,4 +3,21 @@
version="2.4">
<display-name>weblab-metaview</display-name>
<description>WebLab portlet web application to show metadata about weblab resource</description>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
<servlet>
<servlet-name>ViewRendererServlet</servlet-name>
<servlet-class>org.springframework.web.servlet.ViewRendererServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ViewRendererServlet</servlet-name>
<url-pattern>/WEB-INF/servlet/view</url-pattern>
</servlet-mapping>
</web-app>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt"%>
<portlet:defineObjects />
<fmt:setLocale value="${pageContext.request.locale}" />
<fmt:setBundle basename="result_portlet" />
<form action="<portlet:actionURL/>" method="post">
<input type="hidden" name="form_name" value="meta_conf_form">
<table id="resultPortlet_configMetaTable" class="taglib-search-iterator">
<thead>
<!-- header -->
<tr class="portlet-section-header results-header basket_row-title">
<th><fmt:message key="portlet.meta.configuration" /></th><th></th>
</tr>
</thead>
<tbody>
<c:forEach var="property" items="${meta_conf_bean.properties}" varStatus="status">
<c:choose>
<c:when test="${(status.count%2) == 1}">
<tr class="portlet-section-body results-row">
<c:choose>
<c:when test="${property.value}">
<td><fmt:message key="meta.${property.key}"/></td><td><input name="${property.key}" type="checkbox" checked="checked"/></td>
</c:when>
<c:otherwise>
<td><fmt:message key="meta.${property.key}"/></td><td><input name="${property.key}" type="checkbox"/></td>
</c:otherwise>
</c:choose>
</tr>
</c:when>
<c:otherwise>
<tr class="portlet-section-alternate results-row alt">
<c:choose>
<c:when test="${property.value}">
<td><fmt:message key="meta.${property.key}"/></td><td><input name="${property.key}" type="checkbox" checked="checked"/></td>
</c:when>
<c:otherwise>
<td><fmt:message key="meta.${property.key}"/></td><td><input name="${property.key}" type="checkbox"/></td>
</c:otherwise>
</c:choose>
</tr>
</c:otherwise>
</c:choose>
</c:forEach>
</tbody>
</table>
<input type="submit" value="<fmt:message key="meta.save_config"/>">
</form>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<span class="portlet-msg-error">
${message_error}
</span>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt"%>
<portlet:defineObjects />
<fmt:setLocale value="${pageContext.request.locale}" />
<fmt:setBundle basename="meta_portlet" />
<portlet:resourceURL var="resourceURL" escapeXml="false" />
<c:choose>
<c:when test="${user_media_unit==null}">
<div class="portlet-msg-info"><fmt:message
key="portlet.no_meta" /></div>
</c:when>
<c:otherwise>
<!-- icons definition -->
<c:url value="/images/" var="baseURL"></c:url>
<!-- AJAX resource collection -->
<div id="meta_portlet_meta_view">
<div id="result_portlet_loading_image">
<img alt="loading" src="${baseURL}ajax-loader.gif">
</div>
</div>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#meta_portlet_meta_view").load("${resourceURL}");
});
</script>
</c:otherwise>
</c:choose>
\ No newline at end of file
This diff is collapsed.
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<div class="contenu_portlet">
<span class="portlet-msg-warn">
${message_warning}
</span>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment