Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1459

Unnecessary tag attributes (...ByBeanPath)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.05.03, 2.20.00RC3
    • 2.05.04, 2.20.00
    • None
    • None

    Description

      Excerpted from Jasha's mail in the hst mailing list:
      """
      last week I developed rendered templates in Freemarker instead of JSP (will blog about that soon). I found some convenience attributes in the hst taglibs that take a string instead of a HippoBean, like <@hst.link hippobeanByPath="${mybean.path}"/>. I wondered why this is introduced because this works from the freemarker servlet: <@hst.link hippobean=mybean /> (not the omission of quotes and ${}. Was hippobeanByPath done to support other templating languages or in a portlet environment?
      """

      The attributes with "...ByBeanPath" were introduced with misunderstanding on freemarker parameter usage. See [1].

      Those unnecessary attributes need to be removed in 2.20 or higher and deprecated in 2.05.xx.

      [1] http://freemarker.sourceforge.net/docs/pgui_misc_servlet.html

      Attachments

        Issue Links

          Activity

            People

              wko Woonsan Ko (Inactive)
              wko Woonsan Ko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: