• Post Reply Bookmark Topic Watch Topic
  • New Topic

container generates request only on custom functionality?

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!