portlet

Alternative for portlets, webparts ?

I don't like webparts because of sharepoint and activeX, for java portlets they say that they are dead. So what alternative do I have ? I want to develop a portal made from parts/widgets/gadgets which can be independantly developed. I think iGoogle could be something that I nedd but I am not sure if this is true. Beside I can't use 3r...

liferay instantiable struts portlet question

Hi all, It is possible to reference a portlet, which is instantiable and is already three instances in the same page, via URL? The problem is that I don't know the instanceID when I create the URL, therefore when I click on the link, Liferay doesn't find the portlet. Thanks. Udo. ...

Problem using external paging in a portlet

Hello, I'm trying to use external paging in a JSR-286 portlet with DisplayTag 1.2. I would like DisplayTag to generate the paging links from a parameterized Action URL that i have defined, but i can't seem to make that work. Here is the code in my JSP: < portlet:actionURL var=actionUrl > < portlet:param name="someParam" value="someVal...

issue with portlet maximizing

I have 3 portlet(A,b,C) on 1 single page. However, when i maximized portlet A, the page get refreshes again and portlet B's, portlet C's methods were actually called before portlet A's. Then after which the portlet A is being maxmized. Does it suppose to be working this way? Is there any way to overcome it? Because when i'm maximizing...

Liferay 5.2: servlet.session.destroy.events hook always passes null HttpServletRequest/Response

Hello, we're trying to hook into Liferay's logout mechanism to log users out of a third-party service when they leave the portal. I understand that there's the hook mechanism which allows me to add custom implementations of Action to be executed on certain events. We tried using logout.pre.events but could never get Liferay to call our...

Drag Drop Portlets in Drupal

I want to create a portal interface in Drupal, with drag drop portlets. I should also be able to create my own portlets. I came across the following link http://aymanh.com/drag-drop-portal-interface-with-scriptaculous, but that is only compatible with Drupal 4. Any other way to implement the required functionality ? ...

Using AbstractExcelView from a portlet

Hi Experts, how can i use spring AbstractExcelView to generate a excel file in a portlet Thanks Sam ...

return a json object from doview method of a basic portlet

i want to return a json object from doview method of a basic portlet to dojo.rawXhrPost (handle as:xml) method of javascript how to do that? ...

Jetspeed2 (JSR 286) support for 2 Portlet instances on the same Portal

That's a pure newbie question.. actually not even newbie.. still investigating! I want to know if 2 instances of the same Portlet would have separate scopes? What is this scope called, maybe Application Scope? Would that hold if they are deployed on the same WAR? ...

How would I make portlets with the same backing class display different information?

Hello, I have a list with x number of items, and a page with x number of portlets. Each portlet on the page has the same backing class and access to my list, and what's shown changes depending on which list item is selected. The edit mode allows the user to select which item to display, and I store the item they selected in the preferen...

How to set a Cookie in Liferay portlet?

Hi All, I am having problems of trying to set a session cookie(s) in Liferay 6.0 portlets. I want to be able to set a cookie to the client browser to store application key for the linkedin authentication, where it can be then retrieved by other portlets. I am able to read cookies by using a following: public void addLinkedInCV(Actio...

Creating a Groovy Portlet

Hello - I am getting started researching / creating a groovy portlet that will connect to a REST based ESB service that returns JSON; I will also need to pass the username in the headers. I was wondering if there are any examples out there on how to create the portlet and set the headers? I am new to groovy and from what I understand th...

How to Hide/view the portlets in liferay Portal?

Hello every! I m developing portlets on liferay portal using icefaces, i want to hide/view the portlet programmaticaly from an action written in my managed bean. so please help me ASAP? Thanks in advance... ...

Large portlet war takes up memory causing performance issues?

I have heard a few people say that deploying a portlet war file (or perhaps any war) that includes a lot of large jars can cause performace issues because all those jars get loaded into memory. If you have several wars, all of which include a ton of large jar files, your system will get bogged down. I'm trying to get my head around why...

Shared bean between portlets in separate war files

I'm developing a 'user settings portlet' where users can effect the search behaviour of multiple other portlets. The way I'd like to do it is by a shared bean. All portlets are in different wars, and I'd rather avoid having all wars in a single ear and using a parent application context, so deployment of portlets can be made autonomously...

Unable to get my custom JSF Login Portlet working

Hi, I am using webSphere portal 6.1. I wrote my own custom login portlet and placed in the Login page from the portal server. The page loads fine the problem is when I try to login. It takes 2 attempts to login. The first time when I try to login, the page refreshes (I don’t see any exception on the consol). If I enter the user id/passwo...

Download the portlet 2.0 api

Can anyone tell me where I can download the portlet 2.0 api from? ...

How can I write portlet tests using spring-test package?

I'm trying to test my portlet controllers written using Spring but I don't know how to use org.springframework.mock.web.portlet package. There are lot of examples for org.springframework.mock.web but lack of examples for mocking portlets using Spring. Can anyone show me an example test for portlet controllers? ...

Support JSR 286 without writing a portlet

We've been given a requirement that our new project be JSR 286 compliant so that it can eventually be hosted in SharePoint. But in the same breath we were told that we're not being asked to write a portlet. Just be compliant with the standard. We were originally thinking of using Struts 2 and just writing a normal application. Does t...

Deploy VisiFire On JBoss Portal

Hi, I am trying to improve my JBoss Portal dashboard using some analytical charting tools then I found VisiFire. So I started to investigate how I could deploy a simple VisiFire page as a portlet onto JBoss Portal dashboard. Below is what I did: - I created a dummy portlet (display "Hello World" on the index page, index.html) - Replaced...