• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Jetspeed-2 and Cutom mode

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am trying to deploy a portlet on JetSpeed-2 portal server, I ve added one custom portlet mode called "config" however its not displayed when I log-in as administrator.

I ve following entries in portlet.xml

<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-mode>edit</portlet-mode>
<portlet-mode>help</portlet-mode>
<portlet-mode>config</portlet-mode>
</supports>

also

<custom-portlet-mode>
<portlet-mode>config</portlet-mode>
</custom-portlet-mode>

also I ve a overridden doDispatch() method, which calls the doConfig() method if mode is set in request.

There is not exception in console..has anybody come across such situation? what I am missing here?

cheers
Shailesh
 
author and cow tipper
Posts: 5001
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the JetSpeed2 portal support the custom config mode?

From the JetSpeed2 website, it indicates that the supported custom portlet mode is print, and the custom window state is solo.

JetSpeed-2: Portal Core Features

If a portal doesn't support the custom portlet mode, it will never render on the page, even if you code everything correctly. IBM's WebSphere Portal Server 5.x and 6 support the config mode, I know that, but I'm not sure about JetSpeed.

If you're just doing testing, see if you can get the print mode to come up instead. If you've got the code already, it's probably just a few minor changes to use the word print instead of config.

Good luck!

-Cameron McKenzie
 
Shailesh Joshi
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey thats very informative, I thought if you want any custom mode just add them in portlet.xml and over write doDispatch(). I ll test for 'print' in JetSpeed-2.

Thanks
Shailesh
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic