jQuery in Action, 2nd edition
The moose likes JSF and the fly likes corresponding JSF statement. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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.


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: corresponding JSF statement.
 
Similar Threads
Is there any opensource GUI for users to edit XML files?
sun.net.smtp with tomcat
Server side validation to be shown in Javascript
How to iterate multiple list in an object?
pass the values from HTML to jsp page