Questions tagged [jsr286]

JSR 286 is the Java Portlet 2 specification.

JSR 286 is the Java Portlet 2 specification.

Resources

90 questions
0
votes
1 answer

How in liferay's tabs element control which tab to open

In liferay's tabs, liferays version is 6, element, how to control which tab to open, for example, if I go from one tab to another .jsp page, and return back, I need to be opened, the tab, from which I leave page? In tabs element I use sections.
test1604
  • 620
  • 4
  • 12
  • 31
0
votes
1 answer

Portlet: form that submits to either an action or directly a render phase?

In a Portlet project (which uses spring 3.1) Consider the following form:
With selected…
yankee
  • 38,872
  • 15
  • 103
  • 162
0
votes
2 answers

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

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…
yankee
  • 38,872
  • 15
  • 103
  • 162
0
votes
1 answer

http PUT and DELETE using JSR 286 serveResource()

I'm making a ajax request with type:'DELETE' but somehow the request is not going inside the ServeResources(request,response) method (overridden from GenericPortlet class). does anyone has an idea that why "Delete" and "Put" are not working with…
user619969
  • 65
  • 7
0
votes
2 answers

Spring Portal MVC Clear Action Exception going to Render Phase

I would like to know whether or not it is possible to clear an exception out of the request when trying to hit the Render Phase after the Action Phase has thrown the exception. If you look at this code snippet from the doRenderService method of…
El Guapo
  • 5,581
  • 7
  • 54
  • 82
0
votes
0 answers

Portlet client-side service

I try to create portlet, which act as "web-service", only on client. In other words: Portlet wait, until somebody send to him several parameters (over http in exmple), and then perform some actions. It is real or not?
Chiffa
  • 136
  • 2
0
votes
3 answers

Spring MVC messageSource spanish characters

I have a portlet that uses spring mvc and when the portal is in spanish and in the controller I try to use the messageSource.getMessage it returns latin characters as weird chars. MessageSource def in application context:
Carlos
  • 1,696
  • 1
  • 14
  • 21
0
votes
1 answer

How to download a pdf file from byte array in Java portlet (JSR-286)?

I am not familiarize with Java, but I have a task to solve. I have a JSR-286 portlet. There is a download.jspx with a button that should download a PDF file. The file is served from an API in byte[] array. I've tried to save the file on the user…
0
votes
1 answer

Distinguish between '<' and the encoded equivalent using PortletRequest.getParameter()

I'm writing a JSR 286 portlet for IBM WebSphere Portal 6.1. I have the following code: @ProcessAction(name="processForm") public void processForm(ActionRequest request, ActionResponse response) throws PortletException, IOException { …
cc1001
  • 77
  • 1
  • 8
0
votes
1 answer

Webflow, JSF, Primefaces: Why is this List empty?

I have four lists in my webflow, which I load from my service layer. They look like this one: In my…
L.Butz
  • 2,466
  • 25
  • 44
0
votes
2 answers

Accessing URL Parameters in a JSR 286 Portlet?

is there a way to access URL parameters in a Jetspeed2 Portlet/Portal? like: www.bla.com/portal/page.psml?param=12345 I can only find some tools for liferay (PortalUtil.java) to access the httpservletrequest, but as far as i know there is no such…
gregor
  • 1
  • 1
0
votes
1 answer

Download file pfrom portal using JSR 286, Struts 2.2.0 + PortletPlugin 2.2.0 on IBM WP 6.1.5

I'm using JSR-286 + Struts 2.2.0 + PortletPlugin 2.2.0 I can't set name for file which user wants to download. User can get file, but it's name is corrupted. Instead of "myImage.png" user gets "241883e9" or "241563a2". If users renames downloaded…
Capacytron
  • 3,425
  • 6
  • 47
  • 80
0
votes
1 answer

WebSphere Portal 8.5 navigation between portlets with passing parameters

Our project in WebSphere Portal 8.5 have a few portlets (JSR 286). Portlet A for example contains pages with description of some goods, and tools for the editing this description. And Portlet B contains tools for create orders for these goods (this…
0
votes
1 answer

Struts2 portlet read cookies using CookieInterceptor

I'm creating web-app using JSR286, Struts2 for portlets on WebSphere Portal 6.1.5 The problem is that I can't make work built in CookieInterceptor. I've tried this in src/struts.xml:
Capacytron
  • 3,425
  • 6
  • 47
  • 80
0
votes
1 answer

Portlet navigation

We are evaluating using JSR-286 portlets for our next project. Users will be able to build an web app with our hosted service. Each user will get a webiste on our portlet server. One of our scenarios is: The user places our "table portlet" one…
dve
  • 371
  • 2
  • 16