JBoss Seam partial submit.
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
JBoss Seam partial submit.  XML
Forum Index -> JBoss Seam Integration
Author Message
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?
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

.
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.
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

.
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.
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

.
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.
[Email]
tony.herstell

Joined: 01/12/2006 00:00:00
Messages: 206
Offline


I emailed philip the offending code (contact via PM).
hope it helps.
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.
 
Forum Index -> JBoss Seam Integration
Go to:   
Powered by JForum 2.1.7ice © JForum Team