• Post Reply Bookmark Topic Watch Topic
  • New Topic

why binding desn't work properly???

 
Eugene Babiev
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i have a big problem with rendering updated component.
Here is the code

When i click on commandLink then only set-method for schoolBean.ui.ascNameImage is done, but in the meantime i update the render state of the image component, but annoyingly the get-method for schoolBean.ui.ascNameImage.rendered or schoolBean.ui.ascNameImage is not issued. What to do in this case? It seems that the component doesn�t update it�s state after the post had been submitted, but i need that badly.
[ August 23, 2006: Message edited by: Eugene Babiev ]
 
Eugene Babiev
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i played with that issue and found out that if i remove binding for image then rendered attribute is updated. Can somebody explain why it doesn't work when i bind the image component to the server side object??? I tend to think that this is a real bug!

The working code is:

But i wander why the following code doesn't work at all (only setter is issued for #{schoolBean.ui.ascNameImage} without successive getter to update the image's state):

[ August 22, 2006: Message edited by: Eugene Babiev ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!