portlet

Portlet URL Generation From AJAX Servlet

人走茶凉 提交于 2020-01-04 11:03:03
问题 I am trying to modify a portlet to load data for a table over AJAX because the WS calls take a ridiculous amount of time to complete. The table is basically an overview with one entry per table row and a link in each row to more detailed information on the entry. Here is how I am currently creating the URLs for each row in the table: <portlet:renderURL portletMode="VIEW" windowState="maximized" var="showURL"> <portlet:param name="id" value="${entry.ID}"/> </portlet:renderURL> I have created

Portlet URL Generation From AJAX Servlet

巧了我就是萌 提交于 2020-01-04 11:01:49
问题 I am trying to modify a portlet to load data for a table over AJAX because the WS calls take a ridiculous amount of time to complete. The table is basically an overview with one entry per table row and a link in each row to more detailed information on the entry. Here is how I am currently creating the URLs for each row in the table: <portlet:renderURL portletMode="VIEW" windowState="maximized" var="showURL"> <portlet:param name="id" value="${entry.ID}"/> </portlet:renderURL> I have created

Passing variable to jsp

北慕城南 提交于 2020-01-04 02:59:33
问题 I have a java class public void doView( RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException { //I need to pass the string variable over to my jsp ThemeDisplay themeDisplay = (ThemeDisplay) renderRequest.getAttribute(WebKeys.THEME_DISPLAY); String sLang_Id = themeDisplay.getLanguageId(); include("/html/mypackage/view.jsp", renderRequest, renderResponse); } How would I read sLang_Id in my jsp <c:out value="${sLang_Id}" /> ??? 回答1: Add the following

Passing variable to jsp

早过忘川 提交于 2020-01-04 02:59:07
问题 I have a java class public void doView( RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException { //I need to pass the string variable over to my jsp ThemeDisplay themeDisplay = (ThemeDisplay) renderRequest.getAttribute(WebKeys.THEME_DISPLAY); String sLang_Id = themeDisplay.getLanguageId(); include("/html/mypackage/view.jsp", renderRequest, renderResponse); } How would I read sLang_Id in my jsp <c:out value="${sLang_Id}" /> ??? 回答1: Add the following

Using JSR-268 IPC for portlets on different pages in Liferay

僤鯓⒐⒋嵵緔 提交于 2020-01-03 05:18:26
问题 I started developing a portlet based application using WebSphere Portal and now I am switching my development environment to Liferay. I am using the event system introduced with JSR-286 for inter-portlet communication, trying to avoid all non standardized features in order to serve both WebSphere Portal and Liferay as supported environments. My events seem to work fine if the publishing portlet and the receiving portlet are on the same page, but I would like to place those portlets on

Portlet is temporarily unavailable

五迷三道 提交于 2020-01-03 04:15:36
问题 Im following Liferay in Action book instructions to write edit mode for a portlet. I successfully deployed the portlet. This portlet contains a text box and a button in edit mode. If I type a name in the text box and press the button, this name will be shown in view mode of the portlet. But when I go to edit mode and type a name in the text box and press the Add Name button it shows me "Portlet is temporarily unavailable" message. Update: I checked the log file. It says "javax.portlet

Plone Content Type-Specific Portlet Assignment

情到浓时终转凉″ 提交于 2020-01-02 04:34:10
问题 I'm developing a content type for Plone 4, and I'd like to block all user, group, and context portlets it may inherit from its parent object. I'm thoroughly confused by the documentation at this point–in portlets.xml, <blacklist/> only seems to address path-specific blocking. <assignment/> seems like what I want, but it seems too specific–I don't want to manage the assignment for all possible portlets on my content type. There are hints that I've found that customizing an ILeftColumn and

Unable to include css and JS files in Liferay Portlet JSP Page

≡放荡痞女 提交于 2020-01-02 03:54:23
问题 I have download a Jquery Image Slider source and want to integarte with my JSP File This is my Folder Struture This is the way i am including them <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <link type="text/css" href="/css/jquery.ui.theme.css" rel="stylesheet" /> <link type="text/css" href="/css/jquery.ui.core.css" rel="stylesheet" /> <link type="text/css" href="/css/jquery.ui.slider.css" rel="stylesheet" /> <link rel=

jQuery UI and Splitter

妖精的绣舞 提交于 2020-01-01 02:46:10
问题 Using jQuery UI, how can I use a Splitter kind of feature like the one at http://methvin.com/splitter/3csplitter.html? I am asking this as I need 2 things to be implemented on my page; Portlet (Draggable) :: http://jqueryui.com/sortable/#portlets and Vertical Splitter :: http://methvin.com/splitter/3csplitter.html I am not sure how good coding practice it is if I am including 2 separate libraries (even though both are jQuery based); like http://host.sonspring.com/portlets/ for Portlets and

jQuery UI and Splitter

余生长醉 提交于 2020-01-01 02:46:09
问题 Using jQuery UI, how can I use a Splitter kind of feature like the one at http://methvin.com/splitter/3csplitter.html? I am asking this as I need 2 things to be implemented on my page; Portlet (Draggable) :: http://jqueryui.com/sortable/#portlets and Vertical Splitter :: http://methvin.com/splitter/3csplitter.html I am not sure how good coding practice it is if I am including 2 separate libraries (even though both are jQuery based); like http://host.sonspring.com/portlets/ for Portlets and