• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

doView and doConfigure doEdit and doHelp

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Evildoers! Eat my justice! And this tiny ad's justice too!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic