Neeraj Shidhaye

Greenhorn
+ Follow
since Jan 09, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Neeraj Shidhaye

Hi,

Well, i also had requirement for generating PDF from portlet and which should allow user to open,save the pdf dodument.

I introduced servlet and my servlet was generating pdf.

I would suggest, if you could move your pdf generation code to Servlet that should solve your problem.
I mean, on click of your generate pdf button, control should go to servlet.

hope that helps.

<Neeraj Sidhaye/>
http://ExtremePortal.blogspot.com

11 years ago
well in this case, i would suggest to create custom portlet framework, make use of design pattern as per your need and that would also be easy to manage.



Thanks
<Neeraj Sidhaye/>
http://ExtremePortal.blogspot.com

11 years ago
you can explore Spring Framework.
Spring Framework 3.0.1 has a support for JSR 286 portlets.

Have a look here
http://blog.springsource.com/2009/02/25/spring-framework-30-m2-released/

hope that helps.

<Neeraj Sidhaye/>
http://ExtremePortal.blogspot.com
11 years ago
how are you getting value in doView of portlet 2?

You will have to specify portlet session APPLICATION SCOPE, when you get value from session in doView of portlet 2.

portletSession.getAttribute("Key",PortletSEssion.APPLICATION_SCOPE);

hope that helps..

<Neeraj Sidhaye/>
http://ExtremePortal.blogspot.com

11 years ago
Well let me explain here

By implementing JSR168 custom portlet mode called "edit_shared", is the solution to your problem.

data set in Edit_Shared mode will be shared by all users for that portlet instance on that page. This will be treated as global preference fro that portlet instance.
data set in edit mode will be user specific and will get stored to user preference.

In your case, users who will have rights to edit mode will be able to change zip code to see weather of their desired city.
Users who are not having rights to edit mode, will see weather details as per set in edit_shared mode.

Edit_shared mode settings will be changed by adminstrator, and this will be set for all users for that portlet instance on that page.

hope that helps..

<Neeraj Sidhaye/>
http://ExtremePortal.blogspot.com
11 years ago
Hi Abhijit,

why are you setting actionURL to hidden field?

<Neeraj Sidhaye/>
http://ExtremePortal.blogspot.com
11 years ago
Hi all,


I have a scenario where i have a link say My Account on a jsp in an External J2EE app, and on click of that link i want to pass a parameter to portal.

My environment is :- IBM WebSphere Portal 6.0, JSR 168 Portles and Windows OS

Here I am again explaining my issue in detail:-

Problem Scenario:- I have my j2ee app running out of portal (running in a separate container/separate machine), and in that j2ee web app somewhere on a jsp page i have a link say My Account, on click of that link i have to pass a parameter( for example:- ParamName=paramValue) to Portal.

Queries: - Now here i have two queries:-
1) How to pass parameter from a external j2ee app to Portal? And
2) How to retrieve that parameter in portal (might be before or after login)

Would appreciate much....


Thanks much...
<Neeraj Sidhaye/>
http://ExtremePortal.blog.co.uk

12 years ago