[jboss-user] [JBoss Seam] - Re: dynamic dataTable
damianharvey
do-not-reply at jboss.com
Thu Aug 2 19:27:02 EDT 2007
There are 2 ways that I can think of right now (a bit late for me so sorry if missed some):
1. Build up a list of Beans where the bean has a property that determines whether a value is present or not.
2. Use the EL to figure out if the row is new.
#2 would be my choice. You could so something like:
| <rich:column>
| <s:span rendered="#{row.something !=null}">
| #{row.whatever}
| </s:span>
| <s:span rendered="#{row.something ==null}">
| <h:inputText value="#{row.whatever}"/>
| </s:span>
| </rich:column>
|
Cheers,
Damian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070344#4070344
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070344
More information about the jboss-user
mailing list