Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] multiple search terms

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] multiple search terms


Chronological Thread 
  • From: Rahul Doshi <>
  • To: "" <>, "" <>
  • Subject: Re: [grouper-users] multiple search terms
  • Date: Wed, 13 Mar 2013 17:21:56 +0000
  • Accept-language: en-US
  • Authentication-results: sfpop-ironport07.merit.edu; dkim=neutral (message not signed) header.i=none

Hi Chris,

I am attaching the two customized action classes and struts-config.xml snippets to configure them.  I used custom-struts-config.xml file to configure action classes in our environment.

  <action name="SearchFormBean" path="/doSearchSubjects" scope="request"
            type="edu.internet2.middleware.grouper.ui.actions.CmuDoSearchSubjectsAction"
            unknown="false" validate="false">
      <forward name="SearchResults" path="SubjectSearchResultsDef" redirect="false"/>
    </action>  

  <action name="SearchFormBean" path="/searchNewMembers" scope="request"
            type="edu.internet2.middleware.grouper.ui.actions.CmuSearchNewMembersAction"
            unknown="false" validate="false">
      <forward name="AssignNewMembers" path="/populateAssignNewMembers.do"
               redirect="false"/>
    </action>

Thanks,
Rahul

From: "" <>
Date: Wednesday, March 13, 2013 8:43 AM
To: Rahul Doshi <>, "" <>
Subject: Re: [grouper-users] multiple search terms

Send along the code...

Thanks,
Chris



----- Reply message -----
From: "Rahul Doshi" <>
To: "" <>
Subject: [grouper-users] multiple search terms
Date: Tue, Mar 12, 2013 5:19 pm


Hello,

We had a need to be able to search on multiple search terms in single search request so that we can add multiple subjects to the grouper group at once.  It doesn't appear grouper supports this out of the box so I had to customize grouper search dialog to be able to take multiple search terms delimited by coma and search on them.  Although it solved our problem for time being I would really like if this was built-in functionality in grouper. 

I would be happy to share my code if needed.

Thanks,
Rahul

Attachment: CmuDoSearchSubjectsAction.java
Description: CmuDoSearchSubjectsAction.java

Attachment: CmuSearchNewMembersAction.java
Description: CmuSearchNewMembersAction.java




Archive powered by MHonArc 2.6.16.

Top of Page