Hi Stefan,

yes - the tag is only evaluated once as long as the view is displayed.

I'd rather use component binding for whatever you want to do with
component attributes.

usage: binding="#{backingBean.xyComponent}"

and you return a component of the desired type.

regards,

Martin



On 6/10/05, Stefan Lischke <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> I have a question about the lifecycle of a component object. I have created
> some new tags and components and i can see, that for every occurrence of the
> tag in the jsp a new tagobject and a new component object is created.
> 
> I have derived one tag from htmlOutputText and overriden the method
> setValue. This method is called with the value attribute of my tag. The
> problem is, when i reload the page, a new component object is created, but
> this time the setValue method is not called.
> 
> Can you tell me some words about the lifecycle and if ist possible to create
> "static" components?
> 
> One last question about the managed beans. I initialize the properties in
> the managed-bean constructor, but somehow later in the lifecycle the
> setValue method of this property is called with null. Is it right to
> initialize the beans insinde the constructors?
> 
> Thanx for any help
> 
> stefan
> 
> --
> Stefan Lischke                 NOVACOM Gesellschaft f�r Internet Services
> Software Engineering              Software Engineering und Consulting mbH
> 
> Dovestr. 1           fon: +49 30 3980540             fax: +49 30 39805411
> D-10587 Berlin       gsm: +49 171 2367112          http://www.novacom.net
> 
>

Reply via email to