A friendly place for programming greenhorns!
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
Author
Problem with visual web JSF !
Nguyen Ninh
Greenhorn
Joined: Jan 15, 2013
Posts: 3
posted
Jan 16, 2013 00:07:01
0
Hello!
I'm newbie in visual web Jsf and I've tried something like
http://www.javaguicodexample.com/javavisualwebjsfnetbeans3.html
.
So could you explain for me somethings.
public String helloButton_action() { [b]String name = (String)nameField.getText()[/b];// Namefield is id of textfield in jsp Page. But i can't call it in java class. helloText.setText("Hello, " + name + "!"); return null; }
So how to call it in
java
class. I've try to defined it as
com.sun.webui.jsf.component.TextField
but i can't link it to jsp Page.
Is something wrong in my code?
Please help me. Thanks!
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14487
7
I like...
posted
Jan 16, 2013 04:50:24
0
Closing this thread because it's a duplicate.
Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
http://aspose.com/file-tools
subject: Problem with visual web JSF !
Similar Threads
JSP Not able to Identify the JS, CSS file path
everything I put between <h:xxx> is invisible :0
JSF check if message is empty
Tomcat 7 compile error for simple JSP/Class
problem on JSF application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter