Blog Welcome

Welcome to my blog and I wish you joy! I'm reading the HTML5 spec; and have posted the audio here.

Asset Publisher

An error occurred while processing the template.
No error description was specified for this error; low-level message: java.lang.ClassNotFoundException: com.liferay.portlet.asset.model.AssetRenderer cannot be found by com.liferay.portal.template.freemarker_2.0.24

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign PortalAssetRenderer = staticU...  [in template "11002#11040#69601" at line 2, column 1]
----
1<div id="podcast"></div> 
2<#assign PortalAssetRenderer = staticUtil["com.liferay.portlet.asset.model.AssetRenderer"] /> 
3<#assign DLAppLocalServiceUtil = staticUtil["com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil"] /> 
4<#assign FileVersion = staticUtil["com.liferay.portal.kernel.repository.model.FileVersion"] /> 
5<#assign StringPool = staticUtil["com.liferay.portal.kernel.util.StringPool"] /> 
6<#assign HttpUtil = staticUtil["com.liferay.portal.kernel.util.HttpUtil"] /> 
7<#assign HtmlUtil = staticUtil["com.liferay.portal.kernel.util.HtmlUtil"] /> 
8 
9<select id="podcastDropdown"> 
10    <#list entries as entry> 
11         
12        
13            <#assign assetRenderer = entry.getAssetRenderer() /> 
14            <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
15            <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) /> 
16             
17            <#if assetRenderer.getType()=="document"> 
18             
19                <#assign dlFileEntryId = assetRenderer.getClassPK() /> 
20                <#assign fileEntry = DLAppLocalServiceUtil.getFileEntry(dlFileEntryId)  /> 
21                <#assign fileVersion = fileEntry.getLatestFileVersion() /> 
22                <#assign viewURL = themeDisplay.getPortalURL() + themeDisplay.getPathContext() + "/documents/" + fileEntry.getGroupId() + StringPool.SLASH + fileEntry.getFolderId() + StringPool.SLASH + HttpUtil.encodeURL(HtmlUtil.unescape(fileEntry.getTitle())) + StringPool.SLASH + fileEntry.getUuid() + "?version=" + fileVersion.getVersion() /> 
23 
24            </#if> 
25             
26        <option value="${viewURL}"> 
27        	Part ${entries?size - entry_index} - sections ${entryTitle} 
28        </option> 
29    </#list> 
30</select> 
31<div> 
32<a href="" id="podcast-download">Download <span id="podcast-download-part"></span></a> 
33</div> 
34<script type="text/javascript"> 
35    try { 
36         
37        YUI().use( 
38            'aui-audio', 
39            function(Y) { 
40             var targetUrl = Y.one("#podcastDropdown").get("options").item(0).get("value");    
41             var podcastAudio = new Y.Audio( 
42
43                    boundingBox: '#podcast', 
44                    url: targetUrl, 
45                    oggUrl: targetUrl, 
46                 
47
48             ).render(); 
49             Y.one("#podcast-download").set("href", targetUrl); 
50             
51              Y.one("#podcastDropdown").on("change", function(e){ 
52                try { 
53                    e.preventDefault();  
54                    Y.one("#podcast").empty(); 
55                    podcastAudio = new Y.Audio({ 
56                        boundingBox: '#podcast', 
57                        url: this.get("value"), 
58                        oggUrl: this.get("value") 
59 
60                    }); 
61                    Y.one("#podcast-download").set("href", this.get("value")); 
62                     
63                } catch (err) { 
64                    if (console) { 
65                        console.log(err); 
66
67
68             }); 
69
70        ); 
71 
72    } catch (err) { 
73        if (console) { 
74            console.log(err); 
75
76
77</script> 
78<style type="text/css"> 
79#podcastDropdown, #podcast { 
80    width: 100%; 
81    margin-bottom: 15px; 
82
83#podcast-download { 
84    margin-bottom: 15px; 
85
86</style> 

Blogs

1. Brand attributes for Gallery 26 2. Get action items done, at least just one 3. Get in early and pull the work needed

Three affirmations for tomorrow are: 1. Better planning for the upcoming week 2. Review the prior week and the actions 3. Review the in basket items, clear

Three affirmations for tomorrow are: 1. Review the in basket action items 2. Complete prioritized action item 3. Long term planning at 50k level

Three affirmations for tomorrow are: 1. Clean up the in basket and define them 2. Do the urgent and important actions 3. Get some more sleep to make up the lost sleep

Three affirmations for the morning are: 1. Review all items in the in-basket 2. Accomplish three of next action items 3. Spend 20 minutes of meditation

Three goals for tomorrow are as follows: 1. Clarify in basket activities 2. Perform at least three Next Action items 3. LIsten more to the SAfari Tech books

1. Get organized, and clear in basket 2. Perform at least one next action item 3. Spend time outdoors and enjoy the nature

The following are three goals for Friday: 1. Follow up on weekly activities 2. Plan out the weekend and next week better 3. Complete at least 3 actions from the list

Three affirmations for today are these: 1. Resolve why In Basket is not shrinking 2. Complete at least one Next Action item 3. Esfand (Peganum harmala) burn to keep the evil eye away!

Three affirmations for this Tuesday are: 1. Clarify all the inbasket items 2. Perform at least one next action item 3. Send weekly review and set the next goals

Three affirmations for Tuesday are these: 1. Weekly prioritization update 2. Internal in basket review of tasks 3. Complete at least 1 next action item

Affirmations for tomorrow morning: 1. Complete all the weekly obligations 2. Spend time for an hour weekly review 3. Forecast the next few months and their projects

Three goals for Wednesday are as below: 1. Prioritize the important actions 2. Get more sleep as have been lacking in sleep 3. Follow up on long-standing transaction

Three goals for tomorrow are as follows. 1. Complete transaction that's been on your mind 2. Review and clarify the in-basket 3. Focus just on the important actions

Three goals for tomorrow are as follows: 1. Transfer notes to the In Basket system 2. Clarify remaining In Basket tasks 3. Perform at least 2 Next Action items

Three goals for Friday are the following: 1. Review and clarify the inbasket 2. Perform at least one Next Action item 3. Finiship one long-term task and purge from mind

Three goals for tomorrow are as follows: 1. Review in basket and clarify stuff 2. Perform at least one Next Action item 3. Weekly review and goal-planning next week

Three goals for today are the following: 1. Review the in basket several times 2. Prioritize urgent, important tasks 3. Complete a Next Action item from list

Three goals for tomorrow are as follows: 1. Perform one action from the in basket 2. Develop the improved recognition 3. Spend time with family and get more sleep

Three goals for tomorrow are as follows: 1. Get more sleep to give mind, body a rest 2. Clarify all items in In Basket 3. Finish at least one Next Action item

Recent Bloggers

BV
Bijan Vakili
Posts: 154
Stars: 0
Date: 7/18/17