Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3616

includeOnMenu parameter on @RooJsfManagedBean ignored when false

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.3.1.RELEASE
    • None
    • JSF
    • Windows 7 32 bit, STS 3.6.3 SR1.

    Description

      We generate the scaffold for an entity with --includeOnMenu true.

      After that, we decide to remove the generated menu, so we go to the bean definition and edit the @RooJsfManagedBean annotation to modify the includeOnMenu attribute. For example:

      @RooJsfManagedBean(entity = Ruta.class, beanName = "rutaBean", includeOnMenu = false)
      public class RutaBean {

      That doesn't remove the 'Ruta' entry from the menu and removing the entity doens't works neither.

      But if you create the scaffold with --includeOnMenu false, assigning true on the includeOnMenu annotation attribute later causes the menu to generate the entry.

      Attachments

        Activity

          People

            jcgarcia Juan Carlos García del Canto
            jbernach José María Berná Chamber
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: