Hi all.
I'm fairly new to
JSF, and wondered if anyone might be able to give me a pointer in the right direction for this scenario...
I have a dynamic list of properties which I need to display on a page. However, the properties have a dynamic type - so for some properties I will need a checkbox to allow the user to select on/off, others will be a text input field etc. There will be a mix of types per page, but I don't know in advance how many or what type they will be, as this comes from a database.
If I were doing this in jstl, I could use something like
<c:if test="${myProperty.type == 'checkbox'}>
<input type="checkbox" ...>
</if>
or even
<input type="<c:out value="${myProperty.type"} />" ....>
Can anyone get me started on the right path to achieve a similar thing in JSF?
sheep.