hello thanks for your answers look my code
package com.redi5.components;
import org.apache.myfaces.trinidad.bean.FacesBean;
import
org.apache.myfaces.trinidadinternal.taglib.core.input.CoreSelectManyCheckboxTag;
/**
*
* @author alvaro
*/
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);
setIntegerProperty(bean, CoreSelectManyCheckBoxRedi5.LAYOUT_WIDTH,
_layoutWidth);
}
@Override
public void release()
{
super.release();
_layoutWidth=null;
}
@Override
public String getComponentType() {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public String getRendererType() {
throw new UnsupportedOperationException("Not supported yet.");
}
}
this is the hierarchy tree
CoreSelectBooleanCheckboxTag
UIXSelectBooleanTag
UIXEditableValueTag
UIXValueTag
UIXComponentTag
but my class not compile, maybe is that the source that i have not
correspond with the jar of trinidad
trinidad-impl-1.2.11-SNAPSHOT.jar
trinidad-api-1.2.11-SNAPSHOT.jar
2008/11/30 Andrew Robinson <[EMAIL PROTECTED]>
> 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
> >
>