I use liferay 5.2 with jsf-portlet.
From the page I want to press a button to generate one PDF.
In managedbean i build pdf and I want to show it in response.
In a ByteArrayOutputStream named outputStream i have my pdf built with JasperReport.
I write:
PortletResponse portletResponse = (PortletResponse)externalCtx.getResponse();
...
I'm deploying the most basic Portlet possible to Liferay:
public class FirstPortlet extends GenericPortlet
{
@RenderMode(name="VIEW")
public void welcomeWelcome(RenderRequest request,
RenderResponse response) throws
PortletException, IOException
{
PrintWriter out = response.getWriter...
Hi everyone,
i am trying to install oracle webcenter and some of its compnents like wls_portlet and wls_spaces, in order to deploy and test my portlet in Oracle environment.
i have first installed Oracle Weblogic Server. Then installed necessary repositories for those webcenter components through RCU.
finally i installed webcenter, and e...
Hi,
I am having two portlet(PORTLET-1, PORTLET-B) in two separate page(PAGE-A, PAGE-B). PAGE-A contains PORTLET-1 and PAGE-B contains PORTLET-2.
My requirement is that If I click on PORTLET-1 on PAGE-A then PAGE-2 will be opened. How it can be done in websphere6.x portlet
Partha
...
let say i have a page , and i want to allow 3rd party to embed small application/iframe into my page. in order to use caja on my page to secure the 3rd party small app/iframe. do i need to put any extra javascript/serverside code in order to use caja? fetching of the 3rd party small application is done through proxy or direct iframe?
...
Hello,
I am running a jetspeed portal which contains various portlet applications and have come across an issue after a recent reinstall where some of the portlets will return
Cannot pass a null PortletDefinition
to a PortletEntity
Any idea what is causing this issue? I investigated a bit and it seems that jetspeed runs a proce...
We have some portlets created by a team working on a JEE site.
They would like to include one of these portlets within a site I manage, which is ASP.NET.
Aside from solutions like iframes, is it possible to embed a Java portlet within an ASP.NET page?
(Note: I don't have much Java/portlet experience, so please take that into considera...
i m using struts 2 jquery plugin in my portlet application.Its not working.Is there any other special to do for portlets...please help me...
I kept the struts2 jquery plugin in web-inf/lib and when i am using the struts2 jquery tag it not working properly
For ex:
1. i am using the datepicker tag the image is not displayed
2. When i am u...
I am using jquery UI tab, and one of the tab panels contains the UI portlets.
The problem is that the portlets are not inside the tab boundary, here is a screen shot:
http://pic20.picturetrail.com/VOL22/543225/792958/384422925.jpg
here is the main page
http://codepad.org/fQRxsosu
here is the include file for the portlets, newPort...
Hi,
I have a portlet application. It is configured using Spring framework IoC container. I am using org.springframework.web.context.ContextLoaderListener to load my context.
I have an application context at root level (applicationContext.xml) and a portlet specific context (MyPortlet-portlet.xml).
I have a portlet of type org.spring...
Hi,
How to get portlet preferences in grails for liferay .??
I used :
import javax.portlet.*
def renderEdit = {
PortletPreferences pref = RenderRequest.getPreferences()
println pref
['mykey':'myvalue']
}
but getting issue :
No signature of method: static javax.portlet.RenderRequest.getPreferences() is applicable...
Given the following Portlet Code:
ArrayList nameList = new ArrayList();
nameList.add("Willi Willisch");
nameList.add("Seppi Seppisch");
renderRequest.setAttribute("names", nameList);
And the following JSP Code:
<c:forEach var="aName" items="${names}">
<tr>
<td>${aName} </td>
</tr>
</c:forEach>
Prints out:
${aName}...
The following exception is thrown:
Caused by: java.lang.IllegalStateException: A flow execution action URL can only be obtained in a RenderRequest using a
RenderResponse
at org.springframework.webflow.context.portlet.PortletExternalContext.getFlowExecutionUrl(PortletExternalContext.java:2
06)
at org.springframework.webflow....
Hi,
How to redirect to new different form page in Grails portlets .
When click on "New User" it should show new.gsp (here).
but this is not happening and always redirects to view.gsp .
I'm using like this in view.gsp :
a href="${portletResponse.createActionURL()}" name="new_user" id="new_user">New User
please suggest me .
...
I am trying to build something "portlet server"-ish on the google app engine.
(as open source)
I'd like to use the JSR168/286 standards, but I think that the restrictions of
the app engine will make it somewhere between tricky and impossible.
Has anyone tried to run jetspeed or an application that uses pluto internally
on the googl...
I am having a hard time trying to find documentation at achieving IPC using Coldfusion 9 portlets under JBOSS. Does anyone have any good references I can take a look at? Or maybe some example code that I can go off of?
So far I've been successful in getting my portlets working under Liferay (JBOSS), form submission, different views (ed...
As the title says - I need to change css-class-wrapper parameter at runtime, preferably in action class. I've found that Portlet interface has setCssClassWrapper method that could probably do what I want, but I can't seem to find any easy way to access current portlet object from my code. Could anyone please give me a hand with what I wa...
Hi,
I'm a bit of a jQuery n00b so please excuse me if this seems like a stupid question. I am creating a site using the jQuery UI more specifically the sortable portlets. I have been able store whether or not a portlet is has been open or closed to a cookie. This is done using the following code. The slider ID is currently where the con...
Hi all,
I'm actively developing grails portlets for liferay till today .
I was wondering is there a future road map for next plugin releases and updates for portlet support, because i was not finding people developing portlet applications on grails on net.
Is there any portlet applications running under production ?? .
could any one ...
Hi everyone,
I'm trying to create a Spring MVC Portlet (version 3.0.0) to deploy in Weblogic Portal (10.3.2) but am getting the following error when I go to the portal page that I have put my portlet on:
The portlet "helloWorld" is not available. The portlet class org.springframework.web.portlet.DispatcherPortlet is not found. javax.po...