Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

immediate attribute

sunil verma
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actully i am using the immediate attribute for imporving the performance but it is not working as i want i want to update any other component value(input) by pussing a button(command) but the component value not gets updated please help me.i call an actionListener on command button.

my jsp code is
<h1><hutputText value="Java Server Faces" /></h1>
<h:inputText value="#{manageBean.btnPressed}" immediate="true"></h:inputText>
<h:commandButton type="Submit" actionListener="#{manageBean.actionPerformed}" value="Submit" immediate="true"></h:commandButton><h:commandButton actionListener="#{manageBean.actionPerformed}" value="Cancel" type="Submit"></h:commandButton>

in the manage bean simply i call the setter method and set a value.
but when the response is rendered gets are not called.

why is it so
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic