This content has been marked as final.
Show 5 replies
-
1. Re: Seam Injection of Collections into backing beans
bfo81 Sep 26, 2006 3:54 AM (in response to ngeadah)I think via @In(value="#{myComponents}"). Like that it's possible to inject non-Seam-components.
I don't know if you can uses an index number to access array elements. Try it out. But I'd suggest that you use ui:repeat or h:dataTable instead in order to iterate over all elements. -
2. Re: Seam Injection of Collections into backing beans
gavin.king Sep 26, 2006 10:27 AM (in response to ngeadah)"ngeadah" wrote:
Would something similiar to this work?<h:inputText id="total" value="#{MyComponent[0].attribute}"/>
Why don't you try it out? -
3. Re: Seam Injection of Collections into backing beans
gavin.king Sep 26, 2006 10:29 AM (in response to ngeadah)"bfo81" wrote:
I think via @In(value="#{myComponents}"). Like that it's possible to inject non-Seam-components.
@In myComponents is pretty much exactly equivalent to @In(value="#{myComponents}"). -
4. Re: Seam Injection of Collections into backing beans
cja987 Sep 26, 2006 10:34 AM (in response to ngeadah)Is there a wiki page or guide anywhere that goes into more detail about mixing JSF and Seam? All I've done is migrated some JSF backing beans to Seam components, but I never thought of actually mixing Seam into JSF. What are the limitations involved? I presume backing beans don't participate in conversations or business processes, for example...
-
5. Re: Seam Injection of Collections into backing beans
gavin.king Sep 26, 2006 10:40 AM (in response to ngeadah)There is no problem at all in using a JSF managed bean in a Seam app.