Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

immediate attribute  RSS feed

 
sunil verma
Greenhorn
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
-----------------
<f:view>
<h1><hutputText value="Java Server Faces" /></h1>
<h:form>
<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>
<h:panelGrid></h:panelGrid>
</h:form>
</f:view>

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!