Two Laptop Bag
The moose likes Portals and Portlets and the fly likes container generates request only on custom functionality? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "container generates request only on custom functionality?" Watch "container generates request only on custom functionality?" New topic
Author

container generates request only on custom functionality?

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3829
Hi,

When we go into edit (personalize) mode of a portlet and then again come back by clicking on back mode (it's not mode actually, but shown like all other modes in that menu), why container doesn't generate new request???

Why I am asking this, because, in all modes methods (doView(), doEdit() doCostomConfigure(), and doCustomEditDefaults) I display the view depending on a parameter of request. Something like this:



So initially it shows default view and then specific view on the basis of output.

Now the problem is, once the output is set, it always shows specific view (because it's not null) so it never renders default view.

I can set output specifically but I am sure I will get some problem because of doing so...

I hope my doubt is clear.

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: container generates request only on custom functionality?
 
Similar Threads
Portletmodes and portlet URLs
Waiting for my exam...
NX: Logging using FileHandler
How is java code in jsp executed in first request ?
how to redirect to success page in tomcat using its lapd configuration