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

includeOnMenu parameter on @RooJsfManagedBean ignored when false

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.3.1.RELEASE
    • Fix Version/s: None
    • Component/s: JSF
    • Labels:
    • Environment:
      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

            • Assignee:
              jcgarcia Juan Carlos García del Canto
              Reporter:
              jbernach José María Berná Chamber
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: