• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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.
 
knowledge is the difference between drudgery and strategic action -- tiny ad
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic