Hi!
I'm trying to integrate struts-faces to my Struts applications.
In the execute(...) method I put a Collection of items ("bookList") to the
request and forward to a faces page. I wondered if in the faces page i could
do something like this:
<h:dataTable var="book" value="#{request.getAttribute('bookList'}">
<h:column>
<f:facet name="header">Title</f:facet>
<h:outputText value="#{book.title}"/>
</h:column>
<h:column>
<f:facet name="header">Author</f:facet>
<h:outputText value="#{book.author}"/>
</h:column>
<h:column>
<f:facet name="header">Available</f:facet>
<h:outputText value="#{book.available}"/>
</h:column>
</h:dataTable>
But this leads to an Assertion-Error.
Is it possible in any way to use a request attribute as an input for the
dataTable?
Thanks,
Markus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]