Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A popup panel form works fine... but not the first time you enter data.

 
Evaristo Perez
Greenhorn
Posts: 4
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a form in a popupPanel that works in a strange way. The first time you modify a field it will immediately discard any data you entered, but if you modify again any field it works ok.

For example, you get the popupPanel showed and you want to modify the first field. You change its value and immediately after you leave (blur) the field it changes to it's original value. If you modify something afterwards i'll work fine.

What might be the cause?

If I delete the <f:ajax id="elementosEdicion" execute="@this" render="@this"> it will not delete the first data you enter but works the same way, only begins to "accept" modified data the second time something is modified.

Thanks in advance.

 
Evaristo Perez
Greenhorn
Posts: 4
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was re-rendering wrong part of the page... just added a a4jutputpanel and rendered inputs only
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic