This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

corresponding JSF statement.

 
lynn fann
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to convert my JSP page to JSF. but i having some problem.

from JSP, i have this code: <%=(qty==0?1:qty)%>, im not sure of what to use in JSF to achieve the statement.

Anyone have the idea?

Thanks.


 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use h:outputText for that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic