This content has been marked as final.
Show 4 replies
-
1. Re: @Factory usage
tonylmai May 10, 2007 8:27 PM (in response to tonylmai)I forgot to mention that the client accesses this component as followed:
<h:dataTable value="#{orderMgr.workingOrders}" var="ord" rendered="#{orderMgr.workingOrders != null and orderMgr.workingOrders.rowCount>0}" >
This table was not rendered as you could imagine if the '@Factory" method was not invoked.
Thanks -
2. Re: @Factory usage
jazir1979 May 10, 2007 8:44 PM (in response to tonylmai)Hi Tony,
The @Factory annotation creates a Seam component in its own right, it's not a property of the "orderMgr" bean.
So I think you should use value="#{workingOrders}" in your data table.
Hope it helps,
Daniel. -
3. Re: @Factory usage
jazir1979 May 10, 2007 8:49 PM (in response to tonylmai)Context variable, not component. But y'know what I mean ;)
-
4. Re: @Factory usage
tonylmai May 10, 2007 9:37 PM (in response to tonylmai)Got it to work. Thanks Daniel.