portlet

Getting the portlet position

Following on from : http://stackoverflow.com/questions/1034360/how-to-save-portlet-positions I'd like to know how to get the new position of the portlet in the first place. ...

SQL table not created when deploying a WAR file to Liferay

Hi, I've created a JSR-268 portlet for Liferay which uses services to interact with a database. I can deploy the portlet without problems or errors, but the table defined by the services is not created! I get no "table not found" error when I test the portlet. I get no errors at all! The table just isn't there in the database. I've fou...

Can I make a struts based portlet remember its view when another portlet is used?

I've written a fairly basic portlet using the struts portlet bridge and deployed it to liferay, navigation within my portlet seems fine, but whenever I click a link on another portlet in the portal my portlet reverts to the view action setup in my portlet.xml rather than re-rendering the existing state. What am I doing wrong? My portlet...

JMS without JNDI?

We are running portlets in WebSphere 6.01, using Java 1.4. We want to send JMS messages to a JBoss 5 queue, running Java 5 (or maybe 6, but it's certainly newer than 1.4). Trying to connect using JNDI is not working, since we have to include the JBoss client jars in the classpath of the portlet, and they are Java 1.5. So I get an unsuppo...

Why would a portlet need to change the character encoding?

I'm wondering why a portlet would need to change the character encoding? If it's included in a page, the page should already have a character encoding. I don't see what a browser is supposed to do when a portlet uses a different one. Follow-up question: why does the portlet 2.0 api contradict itself when it comes to character encoding? ...

How to change the "Event" portlet in Plone 3

I am trying to customize the "Event" portlet in Plone 3 that shows the upcoming events. The "view" link in the footer of that portlet goes to the /events URL. But my site is multi-lingual so that URL is not always correct. For example, the correct URL for Dutch events should be /evenementen. In my setup I use one folder per language. /e...

ResourceResponse.setCharacterEncoding() not working

I need to return some special Latin letter (e.g. á) in the response of a portlet serveResource() method. I have tried the following ways: response.setCharacterEncoding("ISO-8859-1") ; PrintWriter out = resWrapper.getWriter(); out.println("á"); out.close(); OR response.setContentType("text/plain; charset=ISO-8859-1"); PrintWriter out...

Grails portlet plugin problems

Hi all Wonder if anyone has come accross this problem. I have created a demo portlet using the grails portlet and liferay plugins. After installing the grails plugins in a project i simply ran the following commands grails create-portlet MyFirst grails generate-portlet-views MyFirst grails liferay-deploy The portlet deploys fine. H...

Angel LMS plugin interface

Hi all, since I did'nt find any related information on the topic I post the question here: Does the Angel LMS has an plugin interface like let's say moodle or webCt? I figured there's some coding interface which produces something like portlets, does anyone have more specific information on this topic? thx, K ...

How to make a JSR-168 portlet with a chart?

I'm trying to make a JSR-168 portlet with a chart. Studying about it i can run some portlets in NetBeans with portlet-container but i have to make some charts to run too. Can some one help with a LINK or an Example? I found that to help me: -> dojocampus.org -> dojotoolkit.org -> extjs.com I make a chart, but when i put on portlet-con...

How to render a view a grails portlet

How do i render a view in a portlet. Have an action that handles a form submit from a portlet view window. def actionView = { //TODO Define action phase println "IN THE ACTION !!!!" String name = portletRequest.getParameter("name") if(name){ println "RESNDERING RESULT" render(view:'result',m...

Tutorials for creating and deploying a simple java portlet in pluto 2.0

Hi! I'm new to portlets and pluto and would like to start with getting a simple hello world portlet up and running on pluto 2.0, but most of the resources I found for this are for earlier versions of pluto or not specific enough for me since I'm new to this area. The eclipse plugin also does not work for pluto 2.0 Please provide links ...

How to pop up a new window in JBoss AS portlet?

Working in the JBoss AS portlet we have been unable to open a jsp page in a new portlet. We are fairly new to JBoss, and unsure how to go about it. We want a link in a portlet that, when clicked, opens a new window and load into it a jsp. Are there web.xml/WEB-INF changes? ...

HTML Site Inside Java Portlets

I'm a complete noob when it comes to portlet development. I have a task which is to take a fairly small static html site and incorporate it into a portal/portlet environment. My first thought is to develop one portlet that contains the entire html site within it. Is this just a terrible idea? If not, then I know I could make a simple ...

WebSphere Portal portlet crazy threading

Hello, We are dealing with an issue in our WebSphere Portal solution. It's a stand-alone application server, running WebSphere Portal on top of WebSphere 6.0 and all the stack is installed by another IBM product: WCL - Workplace Collaborative Learning (an e-learning plataform). It's a Windows Server 2003 install, btw. The issue is that...

Can I add Java portlet in sharepoint 2007?

Can I add Java portlet in sharepoint 2007? If yes, can some please explain the details on how can I do so? ...

Multiple Pages Inside One Portlet

I am curious if anyone knows if it is possible for a single portlet to contain multiple pages, let's say JSP pages. Furthermore is it possible to link to these different pages within the same portlet? For example. Let's say I have a single portlet. And in this portlet I want the initial view to be a JSP page with just 5 links on it to 5...

What's wrong with my listener in my web.xml?

We're using JBoss 4.22 with portlets. When the listener tag is not in the web.xml the portlet loads, but the listener sessionDestroyed() is never called (obviously). When added the portlet isn't loaded, and there aren't any exceptions or log messages. Are there any gotchas I should be aware of? <web-app xmlns="http://java.sun.com/xml...

what is the difference between a portlet and a servlet ?

i am asked to work on portlets and portals. i want to know the difference between a portlet and a servlet ? how/where does a portlet differ(may be functionally) from servlet ? ...

I have a customized login page i want to change the portlets in it after login succeeds may i know how can i do it

I have a customized login page i want to change the portlets in it after login succeeds may i know how can i do it ...