File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes corresponding JSF statement. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "corresponding JSF statement." Watch "corresponding JSF statement." New topic

corresponding JSF statement.

lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
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?


Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
You can use h:outputText for that.
Don't get me started about those stupid light bulbs.
subject: corresponding JSF statement.
It's not a secret anymore!