Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-548

plugins: add hooks for custom code to GenerateJspTaglibsMojo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.0-incubating-plugins
    • 1.0.0-incubating-plugins
    • Plugins
    • 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.

      Attachments

        Activity

          People

            gabrielle Gabrielle Crawford
            gabrielle Gabrielle Crawford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: