######################################################################
##
## Copyright (c) LIFL 1999
## The GOODE team of the LIFL
## University of Lille, France
## All rights reserved
##
## The CorbaWeb script associated to the OMG IDL CORBA::ModuleDef
## interface.
##
######################################################################

# Each action must have two arguments: the first one refers to the
# current CORBA object and the second one refers to a CorbaWeb
# ActionContext instance.

######################################################################
## This action displays the contain of a CORBA::ModuleDef.
######################################################################

proc view(module, ac)
{
  generate_contained_information(module, ac)

  # generates a list of the contained objects.
  generate_contents_list(module, ac)

  # generates a form to apply the lookup method.
  generate_lookup_form(module, ac)
}

######################################################################
## Declaration of these actions into the CorbaWeb ActionRepository.
######################################################################

declareAction("view", view,
              "Views the contain of a CORBA::ModuleDef object")

######################################################################
# end of file 'CorbaWeb/actions/CORBA_ModuleDef'
######################################################################
