• Post Reply Bookmark Topic Watch Topic
  • New Topic

container generates request only on custom functionality?  RSS feed

ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!