| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 19/12/2006 15:21:56
|
tony.herstell
Joined: 01/12/2006 00:00:00
Messages: 206
Offline
|
With a very simple project I am having the screen lose input focus when a partial submit is done from a text field (I was using this do perform validation ).
For now I have uncommented every partial submit and the form works ok but the form is only validated on submit.
I expect to need partial submits again soon on text fields again so am concerned.
Is this is known problem?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 19/12/2006 17:03:01
|
philip.breau

Joined: 08/05/2006 00:00:00
Messages: 2675
Offline
|
Hi Tony,
Exactly what action is the lost focus happening on? The partialSubmit for an inputText should occur on the onBlur event of the input, which is when it loses focus. Or do you mean the entire screen itself?
Thanks,
Philip
|
. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 19/12/2006 17:08:38
|
tony.herstell
Joined: 01/12/2006 00:00:00
Messages: 206
Offline
|
The result is NOTHING ends up having focus.
This is how it pans out:
I click out of a field into another field.
The partial submit takes place and may or may not push out a validation failure message.
Either way nothing ends up having input focus, so I have to click into the "next" field again.
I guess this is'nt a known problem.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 19/12/2006 22:25:17
|
philip.breau

Joined: 08/05/2006 00:00:00
Messages: 2675
Offline
|
No, I don't think this is a known issue. I've logged the bug.
Thanks,
Philip
|
. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 20/12/2006 14:47:05
|
tony.herstell
Joined: 01/12/2006 00:00:00
Messages: 206
Offline
|
I would love to offer any help I can.
I can supply source code for the app that shows it
I can even provide the build instructions to get it running (its a very simple app so far!).
Probably a coding error on my part ;) as no-one else seems to be complaining about it.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 20/12/2006 15:23:15
|
philip.breau

Joined: 08/05/2006 00:00:00
Messages: 2675
Offline
|
Hi Tony,
Sure, any kind of test case would be very helpful.
Thanks,
Philip
|
. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 04/01/2007 10:39:53
|
greg.dick
Joined: 26/10/2004 00:00:00
Messages: 84
Offline
|
Hi Tony,
If you can offer up a test case, that would be helpful. If you have seen the Icefaces example application in the Seam 1.1GA distribution, you'll see that we do some validation of credit card length in a partial submit in the onBlur event as you exit the field.
In both cases, whether the validation fails or not, the focus winds up somewhere. If you could provide us with your example, we could examine this particular case.
thanks.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 04/01/2007 14:16:03
|
tony.herstell
Joined: 01/12/2006 00:00:00
Messages: 206
Offline
|
I emailed philip the offending code (contact via PM).
hope it helps.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 05/01/2007 14:27:43
|
tony.herstell
Joined: 01/12/2006 00:00:00
Messages: 206
Offline
|
I switched it all back on to get you a test case and the problem has gone away.
THe code I sent to Phillip should still have the problem.
Tony.
|
|
|
 |
|
|