Dúvida

Teria uma forma mais elegante de fazer o trecho destacado no código abaixa:

[code]
<%@taglib uri="/tags/struts-logic" prefix=“logic” %>
<%@taglib uri="/tags/struts-html" prefix=“html” %>
<%@taglib uri="/tags/struts-bean" prefix=“bean” %>

<html:html locale=“true”>
<head>
<title><bean:message key=“editField.title” /></title>
</head>
<body>

<center>
<bloquote>
<h3><bean:message key=“editField.title” /></h3>
<html:form action="/saveEditField" method=“post” onsubmit=“return validateSaveEditFieldForm(this)” focus=“field”>
<html:hidden property=“fieldId” name=“editFieldBean” />
<logic:messagesPresent>

    <html:messages id="error" message="true">
  • <bean:write name="error" />
  • </html:messages>
</logic:messagesPresent>
<bean:message key="prompt.fieldId" /> : <bean:write property="fieldId" name="editFieldBean" />
<bean:message key="prompt.field" /> : <html:text property="field" name="editFieldBean" />
<bean:message key="prompt.area" /> :

<html:select property=“area” name=“editFieldBean” >
<%
com.duallweb.db.mysql.MySQLAreaDAO areaDAO = new com.duallweb.db.mysql.MySQLAreaDAO();
java.util.Collection areas = areaDAO.getAreasTO();
java.util.Iterator i = areas.iterator();
while (i.hasNext()) {
com.duallweb.db.Area area =(com.duallweb.db.Area) i.next();
%>
<html:option value="<%= area.getArea() %>"><%= area.getArea() %></html:option>
<%
}
%>
</html:select>


<bean:message key="prompt.allAreas" /> : <html:checkbox property="allAreas" titleKey="prompt.allAreas" name="editFieldBean" />

<html:submit ><bean:message key=“button.send” /></html:submit>
<html:cancel ><bean:message key=“button.cancel” /></html:cancel>
</html:form>
</bloquote>
<html:link page="/Welcome.do"><bean:message key=“prompt.welcome” /></html:link>
</center>
</body>
<html:javascript formName=“saveEditFieldForm” />
</html:html>[/code]

Até mais!

<html:select property="area" name="editFieldBean" >
<logic:iterate name="areaListBean" id="area">
	<%-- Aqui seria o problema -- %>
	<html:option value="<%= area.getArea() %>"><bean:write name="area" property="area" /></html:option>
</logic:iterate>
</html:select>

Como eu faço para passar no parametro value algo equivalente a <bean:write name=“area” property=“area” /> ?

Essa é minha dúvida por isso fiz usando scriptlets.