I have no concerns in putting changes to the mojo file.
-M
On 11/17/06, Gabrielle Crawford <[EMAIL PROTECTED]> wrote:
Darn, found one more. Sorry this isn't more organized. There's actually
one additional hook I need.
// hook for custom component tag java imports
protected void addCustomComponentTagHandlerImports(
Set imports,
ComponentBean component)
{
}
Thanks,
Gab
Gabrielle Crawford wrote:
> minor correction below.
>
> Gabrielle Crawford wrote:
>
>> Hi,
>>
>> We are using the Trin Tag generator class GenerateJspTaglibsMojo.
>> However we want to add some custom code in the tag and tld.
>>
>> I would like to make the following changes to GenerateJspTaglibsMojo,
>> does anyone have any objections
>>
>> 1] add 2 protected methods which are no-ops in Trinidad. These are
>> each called once in the class.
>>
>> // 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 IOException
>> {
>> }
>
>
> oops, that should say XMLStreamException, not IOException
>
>>
>> 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.
>>
>>
>> Thanks,
>>
>> Gabrielle
>>
>>
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com