portlet

Automating Portlet Deployment to WebSphere Portal Server 6.1

I've recently started on a project to develop some portlets which will run on IBM WebSphere Portal Server 6.1. Does anyone know of any scripts, Ant tasks, Maven plugins, etc. for publishing a portlet to Portal Server? In the WebSphere Portlet Factory plugin for eclipse it is possible to "publish" a portlet project to Portal Server inst...

Debugging portlets on eclipse

How can I add the pluto's apache server 2.0.1 to eclipse galileo? I downloaded the pluto's server and I can start it but I would like to run from the "Run As -> Run on Server" menu. I haven't a tomcat installation, I'm using the tomcat inside the pluto's server. I tried to add the pluto's server as a tomcat server, but when I type the...

Is there a standard way to access page paramaters in portlets ?

If I have a request for a page containing portlets like this www.foo.com/portal/page?something=bar Is there a standard way to find the value of "something" parameter in a portlet ? There doesn't seem to be a way to access HttpServletRequest in JSR-286. Portals like LifeRay have their own utilities to do that but I'd love to have a standa...

Bookmark portlet Using Spring MVC

How to add ,delete and update functionality in bookmark portlet using spring MVC .. ...

Writing Portlets for LifeRay CMS/Portal

Hi, I am new to portlets and have a question about how they work in CMS portals ( we are evaluating LifeRay as a CMS ). Let's say, for example, I would like to create a portlet to display all the books required for a particular course. You don't have to be logged in to see this, it will appear on public website. In the CMS, I will cre...

Can LifeRay portlets get parameters?

I am having trouble understanding the concept of portlets in a CMS. Let's say I write a weather portlet to display current temperature. I build it, package it in a war, deploy the war in LifeRay. Now I created a page, and I want to create 2 instances of the portlet I wrote. I want to display the weather in Seattle and the weather in ...

Help with Liferay portlets,igoogle like portals

Hi i am completely new to portlets and portals. I have had a brief(very brief) look at the jsr for portlets, installed liferay played around with its default portlets and set myself up an eclipse working environment in the hope of developing my own little portlet module. I have to create a portal similar to igoogle, and the tabs system i...

Serialize jquery sortable

Hello all, I have been digging around on this site and googling for a while now and I cannot find a good solution to my problem. I would like to be able to save the state of my jquery portlets on a page. I would rather not have a "save state" button if I can avoid it. Anyway, I just have the jquery code copied from their portlet examp...

Embed Silverlight app in a jsp portlet

How to embed a silverlight app in a jsp portlet? Rgds ...

Spring 2.5.x MVC portlet with annotation & AJAX with jQuery+JSON Error: Content Type cant be set to json...

Hi all, When i try to use spring 2.5.x DispatcherPortlet with liferay to use Ajax, i am getting this error. I have configured it using annotations. At class level i used following annotations, Code for controller... @Controller @RequestMapping("VIEW") public class MyController { @SuppressWarnings("unchecked") @RequestMapping(method...

Docking framework for Eclipse Forms/SWT

Hi, I have a few composites in an Eclipse editor, and the user would like to resize, maximize, restore, and move those composites around in the editor, as if each of those was a portlet. Is there a toolkit for doing this, or is it something that I'll have to build myself from basic facilities like DnD and SashForms? Thank you. Pradyu...

pagination with displaytag in portlet jsr 286

I want to use displaytag in my jsr 286 portlet but it gives exception. Can anyone provide me examples for using display tag with portlet as I could not found any examples through googling. ...

grails portlet namespace

How to use namespace in grails portlets for Liferay . Generally we use this in jsp portlets : '<portlet:namespace />_Users' Can we use the same for grails too ? thanks. ...

ERROR: 'ContentNegotiatingViewResolver'of Spring 3.0.3 MVC Portlet+JSON ...

Hi, I want to make spring MVC 3.0.3 portlet using DispatcherPortlet class With JSON support. So, i added following configuration in the spring context file. <bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver"> text/html ...

3-column Web Parts Page?

Hello all, I am setting up an asp.net web parts portal for some stuff. I have a [hopefully] really easy question. How can I make the page have 3 major columns? Right now I have two columns using <div id="leftpanel" style="float: left"> and <div id="rightpanel" style="float: right">. But I cannot figure out how to get a panel in the cent...

Portlet, Spring, Service Layer injecting HttpSession

Hi, I've got a service layer which is managed by spring. Now at one point I need some informations from the httpsession. Is there a clean way to inject the httpsession directly into my servicelayer? My portlets are not managed by spring - this point matters in my setup. ...

Relative File Path Problem

Hello all, I am developing a portlet that is trying to read in a config file. I am developing it in an eclipse project. I currently have the config file placed inside my WEB-INF folder (which is in root/WEB-INF/), and its called config.properties. How can I access this file using relative path in my java source code? (which is in root/sr...

Java Portals and Portlets

The Java world has a JSR-286 standard for how portals and portlets should interoperate: software components sharing a unified web page. There seem to be a number of portal implementations. But is there a live "marketplace" of interchangeable portlets that will run in them? From what I can find searching the web, it looks very lopsided -...

Need to render WCM content from an Asynch bean

I'm trying to get rendered WCM content in an Asych bean (which implements the Work interface). I can create a Workspace using a username and password, but I don't see an API to create a RenderingContext without passing either a portlet request/response or a servlet request/response pair). Is there any way I can either 1) Create a Rend...

Spring Portlet MVC and session objects

Hi there, I'm working on some portlets which I lay on Springs Portlet MVC framework. Now one question comes around: In these portlets I need some session objects (user info, etc) - to create this objects I was thinking of using a filter. My question is now: Do I have to declare my filter on normal webapp context (web.xml) or do I need t...