jsf 2 - How to invoke a JSF composite within composite:implementation? -
how invoke jsf2 composite (widget) within anothers composite's implementation tag?
when so, following error: /resources/widgets/tilecontainer.xhtml @25,45 <mywidgets:tilecontainer> tag library supports namespace: http://java.sun.com/jsf/composite/widgets, no tag defined name: tilecontainer
the code snippet is:
<composite:interface name="tilecontainer"> <composite:attribute name="pubcategoryid" type="java.lang.long" required="true" /> </composite:interface> <composite:implementation> <div class="tilecontainer"> <ui:repeat value="#{pubcontroller.getpubsbycategory(cc.attrs.pubcategoryid)}" var="pub"> #{pub.title} <mywidgets:tilecontainer title="private"> <mywidgets:tilesmallpicturetitle title="bulk dispatch lapse stressed application protocols"> </mywidgets:tilesmallpicturetitle> </mywidgets:tilecontainer> </ui:repeat> </div> </composite:implementation>
any other design recommendations on how handle this?
thank sharing thoughts.
this recognizable mojarra issue 2437 fixed in mojarra 2.1.10 (released 25 july 2012). you're using rather outdated mojarra version. it's currently @ 2.1.25 (2.2.x out, wouldn't recommend switching 2.2 right now, let them fix childhood diseases first).
Comments
Post a Comment