开发者

How does 'binding' in JSF work?

开发者 https://www.devze.com 2022-12-30 00:12 出处:网络
I\'ve created custom component which shows chart. Now I need to make binding support for this component i.e. generated chart-image should be available (as array of bytes) to backing bean via binding

I've created custom component which shows chart.

Now I need to make binding support for this component i.e. generated chart-image should be available (as array of bytes) to backing bean via binding mechanism.

I'd like to know some general info about binding implemen开发者_StackOverflow社区tation techniques. Any links and examples are welcome as well.

Thanks in advance!

UPD: lets put it simple: on which phase value bindings are resolved?


I guess it's on the Update model values phase.

But what does it matter - whenever you call an action method (Invoke application) the binding is already updated.

If you are asking how to do the binding - use a private UIYourComponentName boundComponent field on the bean.

0

精彩评论

暂无评论...
验证码 换一张
取 消