• Post Reply Bookmark Topic Watch Topic
  • New Topic

not able to use a variable in JSF

 
ravikumar rao
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I am new to java, jsp, jsf . I am currently facing a problem with jsf command button.
my code is as below
<%
int field_size=50;
%>

<t:commandButton id="modify" value="Modify" action="#{rsiBean.modifyfomDisplay}" style="width=50px;margin-left:<%=field_size>;">
</t:commandButton>

but the variable value filed_size is not getting reflected on commandButton.


Can somebody please help.

thanks in advance.




 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!