Novell Home

Customizing the Chooser Mode in iManager Roles & Tasks

Novell Cool Solutions: Tip
By Wolfgang Schreiber

Digg This - Slashdot This

Posted: 31 Oct 2007
 

Problem

A Forum reader recently asked:

"I'd like a way to specify which chooser mode is used when someone clicks on a custom task in the Roles & Tasks menu. By default, it always displays "Select a single object" so you need to click on "Select multiple objects" or "Simple Selection" or "Advanced Selection". I want to have my users (helpdesk) see "Simple Selection" as the default when using my custom task."

And here's the response from Wolfgang Schreiber ...

Solution

You can modify the initial object selector by adding this to your install.xml:

      <url-param>
         <param-key>TC.mode</param-key>
         <param-value>multiple</param-value>
      </url-param>
or
      <url-param>
         <param-key>TC.mode</param-key>
         <param-value>simple</param-value>
      </url-param>
or
<url-param>
         <param-key>TC.mode</param-key
         <param-value>advanced</param-value>
      </url-param>

Increment the <version> counter in the <module> tag, then restart Tomcat and update your module in rbs configuration.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell