You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Eric Martin <er...@ericmmartin.com> on 2007/11/29 23:55:46 UTC

Prevent unused attributes from showing up in tag name html (StrutsTagAttribute)?

I'm playing around with creating a new button tag. There are quite a few
attributes that are inherited from UIBean that I don't want to be shown in
the documentation (tag name html) from the StrutsTagAttribute annotation.

Is there a way to suppress or remove unwanted attributes from showing up for
a tag?

Thanks,
Eric
-- 
View this message in context: http://www.nabble.com/Prevent-unused-attributes-from-showing-up-in-tag-name-html-%28StrutsTagAttribute%29--tf4900526.html#a14037080
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Prevent unused attributes from showing up in tag name html (StrutsTagAttribute)?

Posted by Eric Martin <er...@ericmmartin.com>.


Jeromy Evans - Blue Sky Minds wrote:
> 
> Eric Martin wrote:
>>
>> Is there a way to suppress or remove unwanted attributes from showing up
>> for
>> a tag?
>>
>>   
> In 2.1 there's @StrutsTagSkipInheritance in core.
> Merging this annotation and the corresponding apt config (?) to 2.0 
> would be the least effort.
> 

I'm using the current trunk code and that annotation does exactly what I was
looking for...thanks!
-- 
View this message in context: http://www.nabble.com/Prevent-unused-attributes-from-showing-up-in-tag-name-html-%28StrutsTagAttribute%29--tf4900526.html#a14040998
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Prevent unused attributes from showing up in tag name html (StrutsTagAttribute)?

Posted by Jeromy Evans <je...@blueskyminds.com.au>.
Eric Martin wrote:
>
> Is there a way to suppress or remove unwanted attributes from showing up for
> a tag?
>
>   
In 2.1 there's @StrutsTagSkipInheritance in core.
Merging this annotation and the corresponding apt config (?) to 2.0 
would be the least effort.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org