Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

read a list from bean and display it as hyperlink in jsf  RSS feed

 
hemamalini nithyanandam
Ranch Hand
Posts: 53
Chrome Eclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want read a list which contains URL from a bean and display it as a hyperlink in JSF . Onclicking the link , page(web page) should open in new window .
i tried like this



in the test i have used window.open. i am getting error. please help. I am new to jsf
 
K. Tsang
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not just use the target attribute? What's the purpose of the onclick javascript?
 
hemamalini nithyanandam
Ranch Hand
Posts: 53
Chrome Eclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply. Used target attribute..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!