开发者

How does 'binding' in JSF work?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜