Bhargav N Balasubrahmanya

Greenhorn
+ Follow
since May 28, 2008
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 Bhargav N Balasubrahmanya

Hi,
I'm working on a JSF portlet project for the past 3 months.

Server - WPS 6.0.1
IDE - RAD 7.0

The design is in such a manner that there are multiple tabs in the application once i log in, like the HomePage, Reports etc;
These tabs contain different portlets in them. for eg, the HomePage contains 2 portlets whose doView() method have been overridden to have some logic before rendering the page.
The Reports page also has portlets of the ContentPage, the LeftNav and a header.
Now, everything works fine but for the fact that even when i click on the Reports tab, apart from the loading of the portlets in the Reports page, the doView() method of the Portlets in the HomePage are also called.
This doesn't really cause me a problem because ultimately i get whatever is required on the screen [but unneccessarily the doView() logic of 2 more portlets are called and executed], but the rendering of the page takes a hit because of unneccesary code being executed.
Is there any way that i specify that these be not executed.

Thanks in advance
Bhargav
13 years ago
Hi, i can't use any of the jstl core tags. not even the <c:if>, <c:forEach works. does this not work at all in jsf portlets?
can anyone help me out of this?

thanks
Bhargav
13 years ago
Thanks Cameron, i was actually facing problems with this earlier.
I could create a simple portlet service and use it in my portlet application.
The portlet service, when run independently with the spring injection ran fine.
But when i tried running it as a service(in the sense, use it in my portlet application), it used to cause me problems saying, the spring-beans.xml was not found. If the give the absolute path of the xml in the application, it would work fine, but the relative paths were causing problems.
It's ok now. i could solve it with some changes in my code.
14 years ago
Hi,
I was able to make use of the portlet services. But now, i want to use spring injection in the services project. how do i proceed with it?
14 years ago
Hi, i'm using wps 6.0.1 and trying to use the command cache in my application. But the requirement is that the cache should be reloaded automatically after some specified time, what currently happens with commandcache is that it gets reloaded only if it gets a request and the cache has been invalidated.
The problem is that the reloading of cache only after there is a request causes considerable delay for the first time for the first user. so, i would want the cache to reload automatically after some specifiede time, no matter if there's a request or not.
Thanks.
Bhargav
14 years ago
Hi, i'm new to portlets and i'm using the ibm websphere portal v6.0.1

I want to know how to use the document viewer portlet to view a pdf file.
can anyone help?

Thanks
Bhargav
14 years ago
Hi, i'm using a faces portlet and i want to display a pdf file in the page.
This is accomplished using an iframe and getting the pdf. When i use an iframe, i get all the usuall options of save, print, search etc all of which was not required and i removed them using styles so that the jsf page would contain only the 'actuall content' of the pdf.

But now, i want the pdf contents to be displayed to the user one page at a time with the Next and Prev options provided by me somewhere in the jsf page, so that he can view the rest of the pages.

How do i read and display the contents of the pdf one page at a time in java?

Thanks
Bhargav
14 years ago
Hi,
I have a requirement to display pages of a pdf in a jsp initially like a preview with options of going to next/prev pages and the zooming options. The entire functionality is similar to the google books page. Kindly suggest me the approach.
Thanks in advance.

Bhargav
14 years ago
JSP