On Thu, 17 Feb 2005 10:25:23 +0100, Ramiro Alba Queipo <[EMAIL PROTECTED]> wrote: > Hello everybody: > > I am trying to migrate from an struts application to STRUTS + JSF + > TILES. The problem I have is that the old struts application is using > heavily mapped properties at the action forms beans, and I can manage to > make them work under JSF. For example, at the old application: > > <html:text property="dynamicProps(mac_address)"/> > > and > > <h:inputText value="#{ComponentForm.dynamicProps(mac_address)}"/>
JSF uses essentially the same expression syntax that JSP 2.0 and JSTL do for expressions, so you could do something like this: <h:inputText value="#{ComponentForm.dynamicProps.mac_address}"/> or this (equivalent meaning): <h:inputText value="#{ComponentForm.dynamicProps['mac_address']}"/> The latter form is particularly useful if your map keys have periods in them. Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]