Actually there is such a code in HtmlTreeCheckbox. So TreeCheckboxTag
says that component should render himself,
but later HtmlTreeCheckbox says that HtmlTreeCheckboxRenderer must render it.

    /** The default renderer type. */
    private static final String DEFAULT_RENDERER_TYPE =
"org.apache.myfaces.HtmlTreeCheckbox";

    /**
     * <p>
     * Default Constructor.
     * </p>
     */
    public HtmlTreeCheckbox()
    {
        setRendererType(DEFAULT_RENDERER_TYPE);
    }

2008/9/5 Leonardo Uribe <[EMAIL PROTECTED]>:
>
>
> On Fri, Sep 5, 2008 at 2:03 PM, Nikita Koselev <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I'm a bit messed up with tomahawk treeCheckbox tag.
>> org.apache.myfaces.taglib.html.ext.HtmlSelectBooleanCheckboxTag
>> returns null from getRendererType, which means that "the component
>> renders itself directly."
>>
>> However I can't  find encode method in
>> org.apache.myfaces.custom.tree.HtmlTreeCheckbox
>> So who renders treeCheckbox ?
>
> Checking the latest code, on AbstractHtmlTreeCheckbox:
>
> /*
>  * @JSFComponent
>  *   name = "t:treeCheckbox"
>  *   class = "org.apache.myfaces.custom.tree.HtmlTreeCheckbox"
>  *   tagClass = "org.apache.myfaces.custom.tree.taglib.TreeCheckboxTag"
>  * @since 1.1.7
>  * @author <a href="mailto:[EMAIL PROTECTED]">David Le Strat</a>
>  */
> public abstract class AbstractHtmlTreeCheckbox extends UISelectItem
>
> The tag class is org.apache.myfaces.custom.tree.taglib.TreeCheckboxTag and
> the renderer is
> org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeCheckboxRenderer
>
> regards
>
> Leonardo Uribe
>
>>
>> Regards,
>> Nikita Koselev
>
>



-- 
Nikita Koselev

Reply via email to