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

wrong generation by view-controller command

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0.M2
    • 1.1.0.M2
    • WEB MVC
    • None

    Description

      roo> web mvc install view --path / --viewName about --title About

      1. results (double slash):
      view.xml: <put-attribute name="body" value="/WEB-INF/views//about.jspx"/>
      menu.jspx: <menu:item id="i_view_about_id" messageCode="global_menu_new" url="//about" z="SYxt/81HP69IsYlNYu4u37Hse1g="/>
      webmvc-config.xml: <mvc:view-controller path="//about"/>

      2. application.properties:

      menu_category_view_label=View
      menu_item_view_about_id_label=About
      label_=About <- bad key

      3. about.jspx: <page:page id="_title" title="About"> <-- please use label key from application.properties for attr "id" insteaf of "_title". for attr "title" please use value of label key from application.properties

      4. command: web mvc install view --path / --viewName zxc --title 'ASD and QWE'
      the second part of title (" and QWE") has been ignored in the labels generation in application.properties

      ROO-820.

      Attachments

        Activity

          People

            sschmidt Stefan Schmidt
            dzmitry Dzmitry Barouka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: