struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <w...@wantii.com>
Subject Re: override Struts BaseFieldTag.renderInputElement
Date Tue, 28 Jun 2011 14:29:35 GMT
Are you receiving a compiler error or runtime error? Please provide
the output/errors/etc. that lead you to believe you don't have access.

-Wes

On Tue, Jun 28, 2011 at 5:34 AM, prithivirajan
<prithivirajan.d@gmail.com> wrote:
> I was thinking for writing customize Struts TextTag by extending it. And
> override the protected renderInputElement() available in BaseFieldTag.
>
> Unfortunately this method is not accessible/visible in my class which
> extends BaseFieldTag.
>
> I understand there is some kind for restriction for protected access - where
> the protected access level gives access to any class inside the same package
> or any subclass where it is declared. So according to the above said rule my
> class should have access to protected methods but it doesn't have it.
>
> Help me to understand why i can't access the protected method in the
> sub-class belonging to different package.
>
>
>
> --
> View this message in context: http://struts.1045723.n5.nabble.com/override-Struts-BaseFieldTag-renderInputElement-tp4531233p4531233.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

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


Mime
View raw message