aspose file tools*
The moose likes JSF and the fly likes A popup panel form works fine... but not the first time you enter data. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "A popup panel form works fine... but not the first time you enter data." Watch "A popup panel form works fine... but not the first time you enter data." New topic
Author

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

Evaristo Perez
Greenhorn

Joined: Apr 01, 2012
Posts: 4

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

Joined: Apr 01, 2012
Posts: 4

I was re-rendering wrong part of the page... just added a a4jutputpanel and rendered inputs only
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A popup panel form works fine... but not the first time you enter data.
 
Similar Threads
How to display richPopupPanel wondow from javascript
Ajax status doesn't stop in IE8
how to skip validation phase only
FacesException: f:ajax contains an unknown id - cannot locate it in the context of the component
rich tabpanel : first rich tab not loaded with focus with first tab