Hi List! I'm using an Map-based Actionform for generating a number of input fields based on the result of a database query. The actionform is implemented as follows
public class MapForm extends ActionForm { private Map values = new HashMap(); public void setValue(String key, Object value) { getValues().put(key, value); } public Object getValue(String key) { return getValues().get(key); } public Map getValues() { return values; } } I've used this map with the following html:text tag with an iteration over another map named "keys" using the result "field. This map "keys" contains the relevant map entries for input. <c:forEach var="field" items="${state.attributes.keys}"> <html:text property="<%= "value(" + ((de.intarsys.efselect.util.AbstractFieldDescription) pageContext.findAttribute("field")).getName() + ")" %>"/> </c:forEach> This works fine within Struts. However, I'm now migrating to JSF and Struts-Faces integration library. I'd use the following construct: <h:inputText id="<%= "value(" + ((de.intarsys.efselect.util.AbstractFieldDescription) pageContext.findAttribute("field")).getName() + ")" %>"/> This does not work, because the id attribute does not accept any expressions. Any ideas how to solve this? Thanks Karsten Krieg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]