websphere-portal

Bootstrap Collapse not working properly (Hide Not working)

老子叫甜甜 提交于 2021-01-20 04:13:29
问题 I am using bootstrap collapse functionality is not working properly in our IBM web portal. It working fine on “show” functionality but not working in “Hide” functionality. <a href="#demo" data-toggle="collapse"><span class=”icon”>Collapsible</span></a> <div id="demo" class="collapse"> Sample Code </div> I see in console window the “ area-expanded ” value did not change in our collapse and also did not change class name like “ collapsed ” and collapse in ”. How to fix it . 回答1: Your code works

Login User into Websphere Portal without password using PUMA

浪尽此生 提交于 2019-12-25 07:59:27
问题 I want to use facebook to login into Websphere Portal. I use facebook ID to retrieve LDAP uid, but cannot get password. What API can I use to login to portal without password? Here is my code: Context ctx = new InitialContext(); PortletServiceHome pumaHomeService = (PortletServiceHome) ctx.lookup("portletservice/com.ibm.portal.um.portletservice.PumaHome"); PumaHome pumaHome = pumaHomeService.getPumaService().getPortletService(PumaHome.class); PumaLocator pumaLocator = pumaHome.getLocator

deploy java war file to IBM web sphere portal

筅森魡賤 提交于 2019-12-23 06:10:51
问题 I have java war file and i want deploy into IBM web sphere portal. Kindly tell me steps to deploy java war file Many Thanks 回答1: Portal runs on top of a WAS instance - you can just use the WAS Admin console to install the WAR as you would on any standard WebSphere environment. The link to access your Admin Console is dependent on the host, the port that admin console is bound to and the version of WAS you are running - so I can't tell you what it is. On WAS7 + Portal it is typically something

JSR 286 compliant namespace parameter

ε祈祈猫儿з 提交于 2019-12-22 18:13:16
问题 In portlet What is the best way to read namespace parameter in action method. My form contains <input id="<portlet:namespace/>param1" name="<portlet:namespace/>param1" value='hello'/> option1: request.getParameter(response.getNamespace() + "param1"); option2: request.getParameter("param1"); option1 does not work in liferay, but does seem will work in websphere. option2 works fine in liferay 6.2. option1 seems to work in before 6.1. Can anyone please tell me what is the jsr 286 compliant way?

what is the difference between portal and myportal in websphere portal server

余生长醉 提交于 2019-12-22 10:27:53
问题 I'm using websphere portal server and what is the difference between /wps/portal and /wps/myportal in websphere portal server 回答1: /wps/portal is for anonymous context and is used for public resources, whereas /wps/myportal is used for authenticated and authorized resources. 来源: https://stackoverflow.com/questions/17213844/what-is-the-difference-between-portal-and-myportal-in-websphere-portal-server

Websphere admin login got deleted. How to set it back?

你离开我真会死。 提交于 2019-12-14 02:58:23
问题 I had written a code to delete login users from PUMA. Unfortunately due to a bug in the code, the admin login got deleted. How to set it back? 回答1: The login never gets deleted by deleting through PUMA Utilities. Only its password gets reset. It can be retrieved back by logging in to the console and Under Manage users--> Select this user and change the password. It worked fine then for me! 来源: https://stackoverflow.com/questions/31848663/websphere-admin-login-got-deleted-how-to-set-it-back

WebSphere Portal 6.1 default theme deleted

孤者浪人 提交于 2019-12-14 02:49:05
问题 I deleted the chosen default theme in WebSphere Portal 6.1 using the administration pages. Now the portal is themeless. More importantly, the theme selection page in the administration section can no longer be displayed. How can I set the default theme "externally" (i.e. manually, without the administration pages)? 回答1: You will need to correct this with xmlaccess. I suggest you export from a working portal the theme configuration back into your broken portal. 回答2: Chrisr is right. Here is

Flyout or Menu Dropdown in Portal 8 themes

蓝咒 提交于 2019-12-13 21:02:24
问题 I was wondering if anyone has been successful in creating and using a flyout or drop-down menu navigation for WebSphere Portal Server v8? We are using a custom theme. What we would like to do is keep the main pages across the top navigation bar and have it so that when you hover/click over that page/tab a menu (flyout or drop-down) displays the sub pages and their sub pages and so on. Any suggestions and pointers are welcome. Thanks in advance. 回答1: This example generate ul-li two level menu,

f:ajax render referencing iterated component

萝らか妹 提交于 2019-12-13 08:56:42
问题 I have xhtml with following structure: <h:form id="frmMain2"> <f:subview id="sub1"> <ui:repeat var="vatId" value="#{someBean.suppliesKeys()}" id="rep1"> <fieldset> <legend>vatId</legend> <h:panelGroup id="panel"> <ui:repeat var="item" value="#{someBean.supplies[vatId]}" id="rep2"> <f:subview id="sub2"> <h:commandLink id="command"> ${item} <f:ajax event="click" render=":frmMain2:sub1:rep1:0:panel"> </f:ajax> </h:commandLink> </f:subview> </ui:repeat> </h:panelGroup> </fieldset> </ui:repeat> <

how can i prevent firefox caching

拟墨画扇 提交于 2019-12-12 17:19:25
问题 i tried a lot of possible solutions but i can't solve the problem: <meta http-equiv="Cache-control" content="no-cache"> <meta http-equiv="Cache-control" content="no-store"> <meta http-equiv="Cache-control" content="must-revalidate"> <meta http-equiv="pragma" content="no-cache"> <meta name="expires" content="0"> these are not working. Can anybody help? I am using jsp/servlet. And application is a portlet for websphere portal 6.1. 回答1: The meta headers are only used when the page is requested