Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic