Hi,
I have problem with dynamically create the <dmf:label> .Based on the values receiving from the source i need to display those many controls with values other wise those controls should not be there.Can any body does this kind of code ?
you can always make this not so elegant portion of code inside of jsp:
<%
for (String something : someCollection) {
%>
<dmf:label value="<%=role.getName()%>"/>
}
And you need to obtain reference to a component. inside a jsp
Component comp = (component) pageContext
.getAttribute(Form.FORM,
PageContext.REQUEST_SCOPE);