File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doView and doConfigure doEdit and doHelp

 
Syed Saifuddin
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am confuse about the doMode method i.e. doView and doConfigure doEdit and doHelp that how all these work together.

Either we have to put it ina single file and web container will predict which one is to be called on the request or we have to make four different servlet for these for method.

Up till now I am used to with service, doPost and doGet method and understood the concept of their execution condition i.e when from the jsp form method is post doPost is called and if the method is get doGet is called and service is for all.

Plz give me some detail explaination of the execution cycle for each.

Thanks in advance for all who visit.
 
Stefan Zoerner
Author
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Syed!

Do you implement JSR 168 compliant portlets (i.e. your component implements javax.portlet.Portlet) or do you use a vendor specific programming model (e.g. IBM Portlet API or Jetspeed-1)?

I ask because you mention doConfigure, which is not part of GerenicPortlet in JSR 168 (it sounds IBMish to me).

Greetings, Stefan
[ January 17, 2006: Message edited by: Stefan Zoerner ]
 
Syed Saifuddin
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I am using vender specific api and your guess is right that is IBM Websphere Portal . Plz identify the sample application that use more than one mode and implement more than one doMode(doView , doEdit , doConfigure , doHelp) function or a simple explaination to use them alltogether.
 
Stefan Zoerner
Author
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at this IBM Redbook, especially chapters 4-6.

Chapter 5 contains an example with different portlet modes.
Greetings, Stefan
 
Syed Saifuddin
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You Mr. Stefan Zoerner for your help if you please send me your hotmail or yahoo e-mail ID my learning phase will speedup.

Thankyou Again
Best regards
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic