Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Check box is not re-rendered after bean execution

 
Deniz Atak
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a button which I want to use for selecting all checkboxes in my datatable.

Jsf:


java:



selectSingleCBEvent is collecting the row numbers of this checkbox to delete them afterwards. I want to select all checkboxes and delete the corresponding reports. When I click on the button, selectedCB's selected attribute turns to true, but in my form I can not see the change. I tried adding

FacesContext.getCurrentInstance( ).renderResponse( );

but still not working. Does anyone have any opinion about this case? Thanks in advance.
 
Marcos Silvestri
Ranch Hand
Posts: 62
Chrome Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does you component <webuijsf:checkbox/> contain an attribute called "render" or "reRender"?

Those attributes are usually called for a "refresh" of the visual components on the browser, rendering their state after being execution.

Regards!
 
Deniz Atak
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marcos, first, thanks for answering You are one of the brave ones to answer this question!
yes, there is a "render" attribute. I tried render="true" but still it is not working..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic