Hi all,

I am developing a custom UI component that has a model defined by
children components (along the line of UISelectItem) and I was
wondering in which method should I refresh the component model
(reading its children components properties).
Of course, I could save the model in the saveState method but than I
guess it would be impossible to change the view dynamically.

So I have been refreshing the component model in the encodeBegin
method so far. When I was still using the JSF reference
implementation, it was working fine but it doesn't seem to work
anymore with myfaces. I get some null pointer exceptions in my
internal event handlers, so I guess my problem is that the component
model hasn't been repopulated.

Any ideas?

Reply via email to