资源发布器

处理模板时发生错误。
Can't convert this string to number: ""
The blamed expression:
==> articleId?number  [in template "20116#20152#1311914" at line 16, column 46]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if curEntry.getClassPK() != articleI...  [in template "20116#20152#1311914" at line 16, column 18]
----
1<@liferay_theme["defineObjects"] /> 
2 
3 
4<#assign alUtil = serviceLocator.findService("com.al.util.portlet.ALService")> 
5<#assign page_group = layout.getGroup() /> 
6<#assign site_url = htmlUtil.escape(page_group.getDisplayURL(themeDisplay, false))> 
7<#assign url = themeDisplay.getURLCurrent()> 
8 
9<#assign articleId = httpUtil.getParameter(url, "article", false)!"0"/> 
10 
11 
12<div class="container"> 
13    <#if entries?has_content> 
14        <div class="row"> 
15        	<#list entries as curEntry> 
16        	 <#if curEntry.getClassPK()!=articleId?number > 
17 
18            	<#assign  
19                   assetRenderer = curEntry.getAssetRenderer() 
20                   journalArticle = assetRenderer.getAssetObject()  
21                   className = assetRenderer.getClassName() 
22                   journalArticle = assetRenderer.getArticle() 
23                   document = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) 
24                   rootElement = document.getRootElement() 
25                   Image = document.valueOf("//dynamic-element[@name='NewsImage']/dynamic-content/text()") 
26                   Date = document.valueOf("//dynamic-element[@name='Date']/dynamic-content/text()") 
27                   Title = document.valueOf("//dynamic-element[@name='Title']/dynamic-content/text()") 
28                   ShortDesc = document.valueOf("//dynamic-element[@name='ShortDescription']/dynamic-content/text()") 
29                />    
30      
31     
32                <div class="col-md-4 moreNewsWrappers"> 
33 
34				<#assign classPK = journalArticle.getResourcePrimKey()?string/> 
35                   <#-- <span class="MoreNewsImage"> 
36                        <#if Image??><a href="#"><img src="${Image}" /></a></#if> 
37                    </span>--> 
38					 
39                   <#if Date??> <h5>${Date}</h5></#if> 
40                <#if Title?? && Title?has_content> 
41					<#if classPK !="0"> 
42						<#assign url = alUtil.getNewsURL(site_url,Title,"press-release",classPK)/> 
43							<a href="${url}" target="_blank"> 
44								<h3 class="newstitle">${Title[0..*80]}</h3> 
45							</a> 
46					<#else> 
47							<h3 class="newstitle">${Title[0..*80]}</h3> 
48				    </#if>	 
49				</#if> 
50                <#if ShortDesc?? && ShortDesc?has_content> 
51					<p class="short-description">${ShortDesc[0..*80]}..  
52				    	<a href="${url}">READ MORE</a> </p></#if> 
53                </div>  
54                </#if> 
55            </#list> 
56        </div> 
57    </#if> 
58     
59</div> 

资源发布器

1618

1618

20 Questions to AL Leaders

As a part of our #Inside AL series, we will feature one of our Leaders every fortnight and here is the first series with our MD Mr. Vipin Sondhi.   1....

400 employees rock the stage at IMPROVE 2019

Amidst great monuments, cave sanctuaries and sculptures; amidst vast beaches, monoliths, stone carvings and temples, Mahabalipuram was buzzing with activity and painted blue by the 400 Ashok...

Teaming up with ABB Power Grids for Green electric buses to help reduce carbon emissions

The Indian Government is promoting the use of electric vehicles (EVs), in some cases planning on  mandating it, to reach 30 per cent penetration of EVs by 2030. For operators, the switch to...

Ashok Leyland delivers first batch of BS-VI Trucks

We delivered our first batch of BS-VI trucks to customers in Delhi-NCR region, ahead of the implementation date of 01st April, 2020.   We have been consistently relying on our...

Green Brigadiers at AL work towards restoration of the Alasanatham Lake.

On 11 th January about 60 enthusiastic volunteers from our Hosur plant joined the Green Brigade and planted 40 saplings of Bamboo, Bougainvillea, Neem, Indian gooseberry  & Guava...

Ek Rishta DOSTi Ka

Our DOST has once again made us proud. Bisleri, a leading player in the Packaged Drinking Water space has recently purchased 200 DOST vehicles from Ashok Leyland as a part of the phase 1...

Ashok Leyland Q3 FY ’20 Revenues at Rs. 4016 Cr; EBITDA at 5.6%

12 February, 2020 Ashok Leyland Q3 FY ’20 Revenues at Rs. 4016 Cr; EBITDA at 5.6% ...

Conference Call

Conference Call Ashok Leyland Conference Call Invite - February 17,...

ALRPS

ALRPS   The trust and reliability that genuine Ashok Leyland spare parts inspire is impossible to...

Intimation to Stock Exchanges 2020

Intimation to Stock Exchanges Wednesday, February 12, 2020 ...

DOST LiTE - Features

Performance ...

4 Bay Authorized Service Center at Bhiwandi inaugurated

On 9th Nov 2019, Mr. Abhishek Bag – Regional Manager, Mumbai inaugurated a new 4 Bay Authorized Service Center at Bhiwandi, Maharashtra managed by M/s. Super Automotive. This facility...