Uploaded image for project: 'Click'
  1. Click
  2. CLK-141

Page.setPath to JSP Pages not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5 M1
    • core
    • None
    • Linux Tomcat java 1.5

    Description

      Click servlet does not take JSP pages into consideration when rendering with a Page.getPath().

      eg. in your Page you have
      addModel("data", mydata)
      setPath("mypage.jsp")

      click uses renderTemplate() which only handles velocity templates.
      See attachment for my fix.

      Attachments

        Activity

          People

            sabob Bob Schellink
            huy Huy Do
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: