Your province is Ontario.

Entrer un groupe et sélectionner une province

Entrer un groupe valide. Note : Entrer le nom de votre entreprise, organisation, syndicat, ordre professionnel, association de diplômés ou de retraités, par exemple.
Sélectionner une province.

Important notice

We’re currently receiving a high number of phone and online requests. We’re working hard to serve our customers as quickly as possible. You can do some transactions right away, like storing a vehicle or filing a claim, in your Online Services account.

Skip to content
An error occurred while processing the template.
Denied resolving class java.lang.Class by java.lang.Class
1## 
2## Web content templates are used to lay out the fields defined in a 
3## web content structure. 
4## 
5## Please use the left panel to quickly add commonly used variables. 
6## Autocomplete is also available and can be invoked by typing "$". 
7## 
8############################################################################### 
9 
10#set ($structureName = "Blogue")	## structure name fr_CA 
11 
12############################################################################### 
13#set ($userSegmentutils = $utilLocator.findUtil("lptp-selecteur-segment-portlet", "com.desjardins.offreenligne.assurancedommages.portail.lptp.personnalisation.util.UserSegmentsUtils")) 
14#set ($assetEntryLocalService = $serviceLocator.findService("com.liferay.portlet.asset.service.AssetEntryLocalService")) 
15#set ($serviceContext = $portal.getClass().forName("com.liferay.portal.service.ServiceContextThreadLocal").getServiceContext()) 
16#set ($httpServletRequest = $serviceContext.getRequest()) 
17#set ($languageCategories = $userSegmentutils.fetchLanguageCategories($portalUtil.getOriginalServletRequest($httpServletRequest))) 
18#set ($ddmStructureLocalService = $serviceLocator.findService("com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService")) 
19#set ($groupLocalService = $serviceLocator.findService("com.liferay.portal.service.GroupLocalService")) 
20#set ($layoutLocalService = $serviceLocator.findService("com.liferay.portal.service.LayoutLocalService")) 
21#set ($virtualLocalService = $serviceLocator.findService('com.liferay.portal.service.VirtualHostLocalService')) 
22 
23#set ($serverName = $request.get("theme-display").getServerName()) 
24 
25#set ($virtualHost = $virtualLocalService.getVirtualHost($serverName)) 
26#set ($isVirtualHost = ($virtualHost && $virtualHost.getLayoutSetId() != 0)) 
27 
28#set($domaine = "") 
29#if (!$isVirtualHost) 
30	#set ($groupTypeURL = "/web") 
31	#set ($group = $groupLocalService.fetchGroup($groupId)) 
32	#set ($domaine = $groupTypeURL + $group.getFriendlyURL()) 
33#end 
34 
35#set ($layoutData = $Page_du_blogue.getData()) 
36#set ($layoutDataArray = $stringUtil.split($layoutData, "@")) 
37#set ($layoutId = $layoutDataArray.get(0))	 
38#set ($layout = $layoutLocalService.getLayout($groupId, false, $getterUtil.getLong($layoutId))) 
39#set ($bloguePageURL = $layout.getFriendlyURL($locale)) 
40#set ($domaine = $domaine+$bloguePageURL) 
41 
42 
43#set ($assetEntryQuery = $portal.getClass().forName('com.liferay.portlet.asset.service.persistence.AssetEntryQuery').newInstance()) 
44 
45#set($structures = $ddmStructureLocalService.getStructures($groupId)) 
46#foreach ($str in $structures) 
47	#if ($str.getName("fr_CA") == $structureName) 
48		#set($structureId = $str.getStructureId()) 
49		$assetEntryQuery.setClassTypeIds($structureId) 
50	#end 
51#end 
52 
53#foreach ($language in $languageCategories) 
54	#if ($language.getName() == "$Langue.getData()") 
55		#set ($catId = $language.getCategoryId()) 
56		#set ($catIds = $arrayUtil.append($assetEntryQuery.getAnyCategoryIds(), $catId)) 
57		$assetEntryQuery.setAnyCategoryIds($catIds) 
58	#end 
59#end 
60 
61<div class="no-index"> 
62#set ($entries = $assetEntryLocalService.getEntries($assetEntryQuery)) 
63#if (!$entries.isEmpty()) 
64	#foreach ($entry in $entries) 
65		#if($entry.isVisible())  
66			#set ($article = $journalArticleLocalService.getLatestArticle($entry.getClassPK())) 
67			#set ($articleURL = $domaine + "/-/" + $article.getUrlTitle().trim()) 
68			<a href="$articleURL">$article.getTitle($locale)</a><br/> 
69		#end 
70	#end 
71#end 
72</div>