The MCS theme policy corresponds to the style sheets generated for those devices that support Cascading style sheets (CSS).
MCS主题策略对应于为那些支持级联样式表(CSS)的设备生成的样式表。
Figure 17 shows the design view for wp_styles_en.mthm in the MCS theme editor of the Mobile Portal Toolkit.
图17显示了wp _ styles_en . mthm在MobilePortalToolkit的MCS主题编辑器中的设计视图。
You should have an understanding of JSP, XDIME, portal aggregator, and MCS policy development.
您还应该对JSP、XDIME、门户聚合器和MCS策略开发有一定的理解。
The MCS caches device information, which can result in erroneous behavior if the user-agent is swapped during the same session.
当在同一个会话中切换用户代理时,MCS缓存设备信息会导致错误行为。
For full Mobile Portal installations, MCS policies are stored in a database repository.
对于完全安装的MobilePortal,MCS策略存储在数据库存储库中。
As shown in Figure 1, MCS accepts XDIME as input and produces the markup language suitable for the device making the request.
正如图1所示,MCS接收XDIME作为输入,并生成符合设备要求的标记语言。
Alternatively, you can examine the MCS multichannel server logs from different devices, as Listing 5 shows.
另外,您可以从不同的设备检查MCS多通道服务器日志,如列表5所示。
Update the MCS policies in the database repository.
更新数据库存储库中的MCS策略。
To avoid this, complete the following steps to disable the MCS policy cache on a full Mobile Portal installation.
要避免这一点,请在完全安装的MobilePortal上完成以下步骤来禁用MCS策略缓存。
When customizing the XDIME aggregator, we recommend that you modify the MCS policies before attempting to modify the JSPs.
在自定义XDIME聚合器时,我们建议您在试图修改JSP之前先修改MCS策略。
For a development server, this isn't ideal because it requires you to restart the server for any new changes imported into the MCS repository.
对于开发服务器,这并不理想,因为当有任何新的更改导入MCS存储库时都需要您重新启动服务器。
MCS also has similar capabilities with other components.
MCS对于其它组件也有类似的功能。
The Portal UTE makes use of the MCS policies files directly from the file system.
PortalUTE使用直接来自文件系统的MCS策略文件。
Armed with this information, MCS is a step closer to converting XDIME into device-specific markup, but more flexibility is added by introducing the concept of a layout.
配置有这种信息的MCS可以更易于将XDIME转换成特定设备的标记,还可以通过引入布局的概念使其更加灵活。
In many cases, this is sufficient to tweak MCS policies and basic changes to the XDIME aggregator JSPs.
在许多情况下,对XDIME聚合器JSP应用MCS策略和基本更改就已足够。
Change the various MCS policies to create your own custom mobile portal application.
更改各种MCS策略来创建您自己的自定义移动门户应用程序。
MCS employs a specific-to-general hierarchical approach for matching policies from the device repository to a device.
MCS使用一个由特殊到一般的分级方法将设备储存库中的策略同具体的设备匹配起来。
That way, MCS will pass the image URL to the appropriate device.
这样,MCS就将URL图片传递到适当的设备上。
MCS solves this problem with device layout policies that manage presentation and tailor content to suit the screen sizes and capabilities of various devices.
MCS通过设备布局策略(layoutpolicies)解决了这个问题,这个策略管理设备描述并删减其内容以适合不同的屏幕尺寸及设备性能。
The MCS component of Mobile portal is implemented in the form of a portal filter.
Mobileportal的MCS组件是以门户过滤器(portalfilter)的形式实现的。
MCS provides this capability by introducing the concept of a theme policy (not to be confused with a Portal theme).
MCS通过引入主题策略(themepolicy)(不要同Portaltheme混淆)的概念来提供这种能力。