• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic value for verbatim tag

 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I using an OutputLink and would like to fill in the verbatim tag value dynamically. The outputLink is in a dataTable. The code is below

I am dynamically building the links with query string parameters. The text of the link needs to be dynamic as well as the query string parameters.

Does anyone know how to do this?

<h ataTable id="divisionLinks" width="100%"
value="#{divisionList.listAsArray}" var="info">
<h:column>
<h utputLink value="/pages/hierarchy/catalogSubcategory.faces">
<f aram name="ID" value="#{info.ID}" />
<f aram name="CID" value="#{info.CID}" />
<f:verbatim>"#{info.desc}"</f:verbatim>
</h utputLink>


</h:column>
<
</h ataTable>
 
Jeremy Wilson
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe verbatim is just what it means, what ever you put in the tag and nothing more. You should probably user h utputtext for what you are trying to accomplish. The only thing I have ever used verbatim tags for is to throw a <br> in the page.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!