Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Dynamic value for verbatim tag

 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic