• Post Reply Bookmark Topic Watch Topic
  • New Topic

read inputText variable

 
haboo gouchat
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem to read this variable:
*.jsp:
<h:inputText id="text2" value="#{profconndelate.num}"/>

profconndelate.java:
if (app.getIdProf().getIdProf()==num)

(when I use static value like "2" it ok but whith this isn't ,I have setter and getter method)
 
Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you getting any kind of errors or warning? If so what are they?
 
haboo gouchat
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no warnning or problem
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!