Composite Components or ui:include?
Which of those techniques can support inter-module ajax updates?
( The content is above 1100 line in a single JSF 2.0(facelets) page. Even if I use one of the above techniques to modularize th开发者_如何学编程e page, I need still be able to update one module from another module.)
Which is that technique?
Both can do that. In the render
attribute you just have to specify the (absolute) client ID of interest. Updates operate fully at the client side based on the client ID. The client side exist of a HTML DOM tree, not being aware at all that it is originally been generated by JSF composite components or include files.
精彩评论