Click
  1. Click
  2. CLK-141

Page.setPath to JSP Pages not working

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5 M1
    • Component/s: core
    • Labels:
      None
    • Environment:
      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.

        Activity

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Huy Do
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development