Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

immediate attribute  RSS feed

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
Boost this thread!