• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 4
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was re-rendering wrong part of the page... just added a a4j:outputpanel and rendered inputs only
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic