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

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.
 
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic