Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-364

Tomahawk 1.1.3 component jscookmenu does not render

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.3
    • 1.0.4
    • Clay
    • None

    Description

      t:jscookmenu and related t:navigationMenuItem components render to a default rendererType that results in a SubmitQuery button being rendered when using Clay. Also the Myfaces ExtensionsFilter does not include the appropriate javascript and related resources from the Tomahawk 1.1.3 jar for jscookmenu, as it should.

      From Gary VanMatre's reearch into this:
      1 )The rendererType of the jscookMenu must be set to "org.apache.myfaces.JSCookMenu". This can be worked around by inheriting a new component and setting the missing attribute:
      <component jsfid="t:myJscookMenu" extends="t:jscookMenu">
      <attributes>
      <set name="rendererType" value="org.apache.myfaces.JSCookMenu" />
      </attributes>
      </component>

      2) The ClayViewHander is not explicitly setting the response's content type, and ExtensionsFilter requires this to work.

      Attachments

        Activity

          People

            gvanmatre@comcast.net Gary VanMatre
            skolson Steve Olson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: