Good morning,

I have a datatable wich use a list of simple object. When i use an outputtext inside the table like this:

<h:outputText value="#{myVar.name}">

it's working.
When I try to use the same property (or another one) for the id of the component the text is correctly outputted but I get an empty id (I put a _ in front to don't get exception):

<h:outputText id="_#{myVar.name}" value="#{myVar.name}"> ID NOT WORKING, empty
<h:outputText id="_#{myVar.id}" value="#{myVar.name}"> ID NOT WORKING, empty

Without underscore in front i get directly an exception:

<h:outputText id="#{myVar.name}" value="#{myVar.name}">
<h:outputText id="#{myVar.id}" value="#{myVar.name}">

Reply via email to