This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "corresponding JSF statement." Watch "corresponding JSF statement." New topic
Author

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?

Thanks.


Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
You can use h:outputText for that.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: corresponding JSF statement.
 
Similar Threads
Is there any opensource GUI for users to edit XML files?
How to iterate multiple list in an object?
sun.net.smtp with tomcat
Server side validation to be shown in Javascript
pass the values from HTML to jsp page