This content has been marked as final.
Show 1 reply
-
1. Re: Seam Gen Search Parameters
toni Sep 2, 2008 8:14 AM (in response to toni)Hi,
I have found this code in seam-gen/view, which seams to be the culprit for only exposing string properties. Is there any documentation on how to extend/change this???
<#foreach property in pojo.allPropertiesIterator> <#if !c2h.isCollection(property) && !c2h.isManyToOne(property) && property != pojo.versionProperty!> <#if c2j.isComponent(property)> <#foreach componentProperty in property.value.propertyIterator> <#if isString(componentProperty)> <s:decorate template="layout/display.xhtml"> <ui:define name="label">${componentProperty.name}</ui:define> <h:inputText id="${componentProperty.name}" value="${'#'}{${listName}.${componentName}.${property.name}.${componentProperty.name}}"/> </s:decorate> </#if> </#foreach> <#else> <#if isString(property)> <s:decorate template="layout/display.xhtml"> <ui:define name="label">${property.name}</ui:define> <h:inputText id="${property.name}" value="${'#'}{${listName}.${componentName}.${property.name}}"/> </s:decorate> </#if> </#if> </#if> </#foreach>