Sub classes are allowed to call protected methods, what is the issue?

On Sat, Nov 29, 2008 at 9:42 AM, alvaro tovar <[EMAIL PROTECTED]> wrote:
> hello
>
> i am trying of add a parameter layoutWidth,
>
> y do this
>
> create a class that extends CoreSelectManyCheckboxTag
>
> public class SelectManyCheckBoxRedi5Tag extends CoreSelectManyCheckboxTag{
>   private String _layoutWidth;
>   final public void setReadOnly(String layoutWidth)
>   {
>     _layoutWidth = layoutWidth;
>   }
> @Override
>   protected void setProperties(
>     FacesBean bean)
>   {
>     super.setProperties(bean);
>     super.setIntegerProperty(bean, CoreSelectManyCheckBoxRedi5.LAYOUT_WIDTH,
> _layoutWidth);
>
>   }
>
>   @Override
>   public void release()
>   {
>     super.release();
>    _layoutWidth=null;
>   }
> }
>
> but the method setIntegerProperty is in UIComponentTag and is protected.
>
> some one can tell me some thing
>

Reply via email to