I'm tired of writing admin interfaces and thought I'd be able to do something like this to speed up development....
 
 
 <%
 
 Field[] fields = Image.class.getDeclaredFields();
 
 for (int i = 0; i < fields.length ; i++){
  
  %><input type="text" name="<%=fields[i].getName()%>" value="<jsp:getProperty name="img" property="<%=fields[i].getName()%>"><%
 }
 
 %>
 
 
which results in
 
Property '<%=fields[i].getName()%>' in the 'se.flowinteractive.aller.bean.Image' type bean not found
 
Anyone have a solution to this? Or a suggestion which does the same thing?
 
thanks in advance
 
 
Johan
 

Reply via email to