Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-995

Allow the label of a property to be rendered as HTML. Also, allow the label of boolean panels to be rendered on the right hand side.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • viewer-wicket-1.7.0, core-1.7.0
    • core-1.8.0
    • Core, Viewer Wicket
    • None

    Description

      Suggested syntax is:

      @PropertyLayout(
        named="Accept <a href="http://foo.org/terms">terms</a>?",
        namedEscaped=false
        labelPosition=LabelPosition.RIGHT
      )
      

      The Javadoc should state that LabelPosition.RIGHT is only supported by boolean panels; if specified for other panels it will be ignored and default to LEFT instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: