Questions tagged [jsr286]

JSR 286 is the Java Portlet 2 specification.

JSR 286 is the Java Portlet 2 specification.

Resources

90 questions
0
votes
2 answers

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…
Shane Courtrille
  • 13,960
  • 22
  • 76
  • 113
0
votes
0 answers

Jquery ajax 403 forbidden error while calling serveResource() method of JSR 286

I am using JSR 286 portlets and using serveResource() method to achieve AJAX call. Implementation works fine in my localhost server. But it does not work once deployed on application server. Below given is the architecture. Below given is the code…
Taksh
  • 431
  • 4
  • 8
0
votes
1 answer

Direct portlet access prevented by WebSphere Portal

I'm trying to deploy a JSR 286 portlet in websphere portal. Deployment goes fine but when I try to access a resource url directly I get the following: Error 403: Direct portlet access prevented by WebSphere Portal I'm very new to portlets and…
0
votes
1 answer

Navigate from JSR286(IBM) portlet to JSF 2.0 portlet

I need to redirect with some parameter from JSR286(IBM) portlet to JSF 2.0 portlet. I am having the page unique id and friendly url too. I have tried response.sendRedirect() and requestDispatcher.forward() but no success till now. Please provide…
0
votes
1 answer

Navigation between two portlets

In JSR286, we can go from one portlet to another by: 1) Simple navigation 2) Using IPC(Inter Portlet Communication) I have two portlets A and B. Both are having corresponding Portlet.java file(which handle life cycle of portlet). When we go from A…
Gaurav Jeswani
  • 4,410
  • 6
  • 26
  • 47
0
votes
1 answer

ResourceMapping in JSR286 SpringMVC portlets

am developing a JSR286 portlet with springMVC. I have a div in my portlet which will iterate a collection in my model and showing it as below
San
  • 161
  • 1
  • 1
  • 13
0
votes
1 answer

How to render a web page in a portlet view?

Can any one please guide me that how can we render the custom web page view in the portlet? For example, I have a input text box in my where user can enter the target URL and on click of the submit button the portlet content should display the…
Vinod
  • 2,263
  • 9
  • 55
  • 104
0
votes
1 answer

Portlet aware of other portlets on the same page

i am tasked to develop an "action portlet" that contains the actions (e.g. h:commandLink) for all other portlets on the same page. Now these actions should only be available if the corresponding portlet is actually present on the same page. Is it…
user3580311
0
votes
3 answers

Reading URL parameters in a JSR286 portlet on Websphere Portal 8.5

In IBM Websphere Portal 8.5, how can I get retrieve query string parameters from the URL, inside a JSR286 portlet ? It seems that the HTTPServletRequest is not passed through to the PortletRequest. Do I need to use the configuration in the…
spnbldk
  • 97
  • 1
  • 3
  • 10
0
votes
1 answer

JSR 286 Portlet Count the number of user online

I want to create a JSR 286 Portlet named VisitCounter to install on websphere Portal 8.0. VisitCounter counts the number of user online. public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException { …
rocket
  • 9
  • 3
0
votes
1 answer

Exception when deploying a JSR 286 portlet into WebLogic+WebCenter 11g

I get the following exception when deploying a JSR 286 portlet into Oracle WebLogic Server 11g (to deploy it later in Oracle WebCenter 11g): <19-ene-2010 13H32' CET>
Montecarlo
  • 1,239
  • 1
  • 11
  • 24
0
votes
2 answers

How to call a method when clicking on href on jsp(Using portlet JSR 286 and Spring MVC 3)

i am new to portlet and I have a visit.jsp page with an href tag as follows: Visit .... Basically my requirement is that i just have to call a method called methodVisit in a VisitController.java when i click on the…
user1999453
  • 1,297
  • 4
  • 29
  • 65
0
votes
2 answers

Difference between Spring request scope and JSF request scope?

I am working on a JSR-286 portlet application that uses JSF 1.2. I am working on moving my JSF managed beans to Spring beans, and I noticed what appears to a difference between how Spring is treating request scope from how JSF is treating request…
Chatoyancy
  • 143
  • 1
  • 17
0
votes
1 answer

Global configuration per portlet instance (user independent)

Is there any interface or class provided by the JSR286 specification to store configuration parameters for a portlet? The PortletPreferences interface allows me to store preferences but these are user-specific as far as I know. I also read you could…
g00glen00b
  • 41,995
  • 13
  • 95
  • 133
0
votes
4 answers

Request scope issue in IBM portal 8.0

I have a JSR 286 portlet running in a Websphere Portal Server 8.0. There, I do a file upload and after show the results of processing. Initially my managed bean responsible to process this file has a Request Scope (@RequestScoped). When I Click in…
Rafael Afonso
  • 595
  • 1
  • 10
  • 28