Is that code not working? That is the correct way to check if the
component should be rendered.

On 10/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

It is an owner defined component Have I to do it in the same way
like another property like styleClass?

I thought it is a standard property. Because I use the
isRencered().

        public void encodeBegin(FacesContext context, UIComponent
component)
                        throws IOException {

                if (!component.isRendered())
                        return;


       }


----Ursprüngliche Nachricht----
Von: [EMAIL PROTECTED]
Datum: 09.10.2006 17:45
An: "MyFaces Discussion"<[email protected]>,
<[EMAIL PROTECTED]>
Betreff: Re: Implementing a rendered property

Do you want to use the rendered property of an existing component
or
do you want to implement a rendered property on a new, custom
built
component?

regards,

Martin

On 10/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello
>
> I would like use a rendered property in my JSF component.
>
> Could You please give me the recipe how I have to do?
>
> Thanks
>
> Urs
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces




Reply via email to