This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing out string as hyperlink

 
Ling Chung
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i have a class called Link, it represents a link to another website to be displayed in my application. The Link class has two attributes, name and location. Name represents the name of the link and location represents the url.

I have a form that contains all the links, i do an iterate over them. i write out the name using bean write. How can i write the String location in a way that it will represent a hyperlink. I tried :
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no reason to use html:link here.

Use the regular anchor tags from html so you can put the bean tags wherever you want.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic