Web Script: webscripts/fr/uoh/news_actus/news_actus_selection.get
Generated from /front/service/script/webscripts/fr/uoh/news_actus/news_actus_selection.get on 25 juin 2019 08:51:15

Script Properties
Id:webscripts/fr/uoh/news_actus/news_actus_selection.get
Short Name:News actus selection
Description:Highlight of News actus
Authentication:none
Transaction:none
Method:GET
URL Template:/fr/uoh/news_actus/news_actus_selection
Format Style:any
Default Format:html
Negotiated Formats:[undefined]
Implementation:class org.springframework.extensions.webscripts.DeclarativeWebScript
Extensions:[undefined]

Store: /WEB-INF

File: webscripts/fr/uoh/news_actus/news_actus_selection.get.html.ftl
<h2 class="boxTitre">${msg("news_list.titre")}</h2>

<div id="slider">
	<#if news_list.list?has_content>
	<ul class="slide-ul">
	<#list news_list.list as news>
		<li class="slide-li uohClickableContent"
				<#if news.image?has_content>
					style="background: url(${url.context?html}/image/get?id=${news.image?url?html}) center center no-repeat;"
				</#if>
				>
			<div class="uohNews">
				<#if news.lienUrl?has_content>
					<h3 class="titre hidden"><a href="${news.lienUrl?html}" class="uohContentLink" rel="external">${news.titre?html}</a></h3>
				<#else>
					<h3 class="titre"><a href="${url.context?html}/news?id=${news.id?url?html}" class="uohContentLink">${news.titre?html}</a></h3>
					<div class="description">${news.description?html}</div>
				</#if>
			</div>
		</li>
	</#list>
	</ul>
	</#if>
</div>

<div id="news_list">
	<a class="link red" href="${url.context?html}/news_list">${msg('news_list.lien.titre')}</a>
</div>

<script type="text/javascript" >
	$(document).ready(function(){
		$("#slider").easySlider({
			auto: true,
			continuous: true,
			speed: 2000,
			prevText: '',
			nextText: ''
		});
	});
</script>
File: webscripts/fr/uoh/news_actus/news_actus_selection.get.desc.xml
<webscript>
  <shortname>News actus selection</shortname>
  <description>Highlight of News actus</description>
  <url>/fr/uoh/news_actus/news_actus_selection</url>
  <authentication>none</authentication>
</webscript>
File: webscripts/fr/uoh/news_actus/news_actus_selection.get.js
	var conn = remote.connect("alfresco-system");
	var data = conn.get("/fr/uoh/news_actus/news_actus_selection.json");

	var json = eval('('+data+')');

	model.news_list = json;

Store: classpath:surf/webscripts

[No implementation files]

Store: classpath:webscripts

[No implementation files]