it is compile time error. the method 'renderInputElement()' is undefined.

On Tue, Jun 28, 2011 at 8:00 PM, Wes Wannemacher [via Struts] <
ml-node+4531963-1262229847-155...@n5.nabble.com> wrote:

> 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
> <[hidden email] <http://user/SendEmail.jtp?type=node&node=4531963&i=0>>
> 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: [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=4531963&i=1>
> > For additional commands, e-mail: [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=4531963&i=2>
> >
> >
>
>
>
> --
> Wes Wannemacher
>
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4531963&i=3>
> For additional commands, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4531963&i=4>
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://struts.1045723.n5.nabble.com/override-Struts-BaseFieldTag-renderInputElement-tp4531233p4531963.html
>  To unsubscribe from override Struts BaseFieldTag.renderInputElement, click
> here<http://struts.1045723.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4531233&code=cHJpdGhpdmlyYWphbi5kQGdtYWlsLmNvbXw0NTMxMjMzfDEwMTE5OTUwMg==>.
>
>


--
View this message in context: 
http://struts.1045723.n5.nabble.com/override-Struts-BaseFieldTag-renderInputElement-tp4531233p4534082.html
Sent from the Struts - User mailing list archive at Nabble.com.

Reply via email to