Alfresco中的Dynamic Dashlet分享 [英] Dynamic Dashlet in Alfresco Share

查看:85
本文介绍了Alfresco中的Dynamic Dashlet分享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为用户体验要求,我需要创建一个动态dashlet。

As a user experience requirement, I need to create a dynamic dashlet.

根据我的需要,动态dashlet是可以在内部加载的特殊dashlet。 几乎所有内容。我说几乎所有内容都是因为这样的dashlet当然会有其自身的局限性。同时,动态dashlet具有最大化的能力是很不错的,实际上它可以显示真实内容(例如Alfresco页面)。

According to what I need, a dynamic dashlet would be a special dashlet that can load inside "almost every content". I say almost every content because of course this kind of dashlet would have its own limits of course. At the same time, it would be nice that the dynamic dashlet has the ability of being maximized, what in fact would show the real content (for example, an Alfresco page).

也许我的问题是模棱两可的,但目的是让用户有机会检查执行该特殊仪表板中的通用功能,这样用户不必离开仪表板就可以改善用户体验。

Perhaps my question is ambiguous, but the intention to give the user the chance of check execute common functionality inside that special dashlet, this way the user doesn't have to leave the dashboard improving the user experience as a consequence.

有人以前有过这样的要求吗?

Did anybody have had such requirement or similar before? Would that be possible to do?

我想知道一些技巧和建议,以便找出正确的方法。

I would like to know some tips and suggestions in order to find out the right approach.

预先感谢。

推荐答案

您可以尝试重新使用webview Dashlet,它也可以显示另一个页面。

You could try re-using the webview Dashlet which can also show another page.

唯一的问题是,并非可以通过url访问共享中可见的每个部分。确保模板由* .ftl的区域建立,但这并不意味着您可以仅查看* .ftl。

The only problem is that not every part which is visible in Share can be accessed via url. Sure the template gets build up by regions of *.ftl's but that doesn't mean you can 'just' view the *.ftl.

唯一的动态内容我看到正在制作一个自定义页面模板,该模板显示一个或几个由url动态构建的区域。

The only 'dynamic' thing I see is making a custom page template which shows one or couple of regions which are dynamically build by the url.

例如指向share / page / customPage?region1 = documentlibrary应该在该页面中插入documentlibrary模板,这样就可以在webview Dashlet的iFrame中显示它。

e.g. pointing to share/page/customPage?region1=documentlibrary should insert the documentlibrary template within that page and thus it can be shown within the iFrame of the webview Dashlet.

实际上documentlibrary是一个不好的例子,因为Liferay已经有一个portletMode可用。但希望你能明白我的意思。

Actually the documentlibrary is a bad example, because there is already a portletMode available for Liferay. But hopefully you'll get my point.

这篇关于Alfresco中的Dynamic Dashlet分享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆