简体   繁体   English

从WebSphere Portal重新建立除去的portlet

[英]Reestablish the removed portlet from WebSphere Portal

There is an ear deployed into WebSphere WAS. WebSphere WAS中部署了一个耳朵。 It contains 3 portlets. 它包含3个Portlet。 I imported XML descriptor for this app to the WebSphere Portal and put the portlets on portal pages. 我将此应用程序的XML描述符导入WebSphere Portal,并将portlet放在门户页面上。 It was working. 它正在工作。

Unfortunately I removed one of the portlets from web modules in portal administration. 不幸的是,我在门户网站管理中从Web模块中删除了一个portlet。 Because of this portlet was removed from all pages also. 由于此portlet也已从所有页面中删除。 I can't find the portlet in portlets list, so I can't put it to the pages again. 我在portlet列表中找不到该portlet,因此无法再次将其放在页面中。

How can I reestablish the removed portlet to portal without uninstalling and deploying whole ear application to application server again. 如何重新建立已删除的Portlet到门户,而又不卸载整个耳应用程序并将其再次部署到应用程序服务器。

I tried to import portlet XML to portal again. 我试图再次将portlet XML导入门户。 But it didn't help 但这没有帮助

UPDATE 更新

here is the XML 这是XML

<?xml version="1.0" encoding="UTF-8"?>
<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_7.0.0.xsd" type="update" create-oids="true">
<portal action="locate">
    <web-app action="update" active="true" domain="rel" predeployed="true" removable="true" uid="kz.edu.nu.world.roomreservation.RoomReservationPortlet.4207700365webmod">
    <url>file://localhost/opt/IBM/WebSphere/wp_profile/installedApps/Cell01/RoomReservationEAR.ear/RoomReservation.war</url>
        <context-root>/.RoomReservation</context-root>
        <display-name>.RoomReservation</display-name>
       <portlet-app action="update" active="true" defaultlocale="en" domain="rel" name="kz.edu.nu.world.roomreservation.RoomReservationPortlet.4207700365" uid="kz.edu.nu.world.roomreservation.RoomReservationPortlet.4207700365">
            <portlet action="update" active="true" defaultlocale="en" domain="rel" name="RoomReservation" provided="false">
                <localedata locale="en">
                    <title>RoomReservation</title>
                </localedata>
        <localedata locale="ru">
                    <title>RoomReservation</title>
                </localedata>
        <localedata locale="kk">
                    <title>RoomReservation</title>
                </localedata>
            </portlet>
        </portlet-app>
    </web-app>
</portal>
</request>

Sorry to be the bearer of bad news, but you will need to update the ear. 不好意思,不好意思,但是您需要及时更新。 I don't think you have to uninstall the ear, just update it and import xml again. 我认为您不必卸载耳朵,只需对其进行更新并再次导入xml。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 用于 WebSphere Portal 7 的 IBM Script Portlet - IBM Script Portlet for WebSphere Portal 7 如何在Websphere Portal上从Struts portlet显示Excel内容 - How to display Excel content from Struts portlet on Websphere Portal 将Portlet部署自动化到WebSphere Portal Server 6.1 - Automating Portlet Deployment to WebSphere Portal Server 6.1 Websphere Portal中的Spring Web MVC Portlet - Spring web mvc portlet in websphere portal Websphere Portal中的Spring MVC Portlet重用 - Spring MVC Portlet reuse in Websphere Portal 在Websphere Portal 8.5上的JSR286 Portlet中读取URL参数 - Reading URL parameters in a JSR286 portlet on Websphere Portal 8.5 在WebSphere Portal Portlet中获取响应表单定制@proceesAction - Getting response form custom @proceesAction in WebSphere Portal Portlet 2个具有相同名称的类在WebSphere Portal的Portlet中的不同jar中 - 2 classes with same name in different jar's in portlet for WebSphere portal 获取在 IBM websphere portal 8.0 上运行的发布数据 JSR-286 portlet - Getting post data JSR-286 portlet running on IBM websphere portal 8.0 Websphere Portal Portlet在发生异常后不会失败,并在重新加载时重新激发所有事件 - Websphere Portal portlet doesn't fail after an exception and refires all events on reload
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM