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...