MyFaces Trinidad
  1. MyFaces Trinidad
  2. TRINIDAD-548

plugins: add hooks for custom code to GenerateJspTaglibsMojo

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-incubating-plugins
    • Fix Version/s: 1.0.0-incubating-plugins
    • Component/s: Plugins
    • Labels:
      None

      Description

      1] add 3 protected methods which are no-ops in Trinidad. These are each called once in the class.

      // hook for custom component tag java imports
      protected void addCustomComponentTagHandlerImports(
      Set imports,
      ComponentBean component)
      {
      }

      // hook for custom component tag java content
      protected void writeCustomComponentTagHandlerContent(
      PrettyWriter out,
      ComponentBean component) throws IOException
      {
      }

      // hook for custom component descriptor content
      protected void writeCustomComponentTagDescriptorContent(
      XMLStreamWriter stream,
      ComponentBean component) throws XMLStreamException
      {
      }

      2] Change _writeTagAttribute to be protected

      3] All the injected property params are null when subclassing, so I need to make them protected instead of private and set them from my subclass.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Gabrielle Crawford
            Reporter:
            Gabrielle Crawford
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development