Model and GUI in arms

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Model and GUI in arms

richhl
Regard to this bug I've just submitted. I want to change the value bind to a select1 by using the keyboard, but the system don't let me do it, more precisely, it let me do it but the value is changed inmediately to that selected with the user interface. Attached the sample to be run in the sandbox.

http://forge.objectweb.org/tracker/index.php?func=detail&aid=311715&group_id=168&atid=350207

any advice for bypassing this with a hack will be wellcomed.

thx in advance

rich

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

model_and_gui_in_arms.xhtml (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Model and GUI in arms

Alessandro Vernet
Administrator
Rich,

Richard C. Hidalgo Lorite wrote
Regard to this bug I've just submitted. I want to change the value bind to a select1 by using the keyboard, but the system don't let me do it, more precisely, it let me do it but the value is changed inmediately to that selected with the user interface. Attached the sample to be run in the sandbox.
This was a tricky one. Some code we have to prevent updates coming from the server to update something that the user has typed after the request was sent was interfering here. The fixed is checked in and you can get it in the next nightly build. You'll let us know how this works for you.

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Re: Model and GUI in arms

richhl
>
> This was a tricky one. Some code we have to prevent updates coming from the
> server to update something that the user has typed after the request was
> sent was interfering here. The fixed is checked in and you can get it in the
> next nightly build. You'll let us know how this works for you.
>
> Alex

would you be so kind as to point me to the modified file or files (or cvs command to get it). I would like to make a patch against 3.7 beta for not disturbing my current develop....

thx a lot.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Model and GUI in arms

Alessandro Vernet
Administrator
Richard C. Hidalgo Lorite wrote
would you be so kind as to point me to the modified file or files (or cvs command to get it). I would like to make a patch against 3.7 beta for not disturbing my current develop....
When you get into this, it is easier if you can have the source checked out from CVS. If you're having any trouble with that, just let us know. The change is in xforms.js. See the changes between version 1.296 and 1.297. There are changes in a few places, but I imagine that it shouldn't be too hard to back-port them.

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Model and GUI in arms

richhl
> When you get into this, it is easier if you can have the source checked out
> from CVS.

I have checked out TAG_OPS_3_7_0beta1_200808260135. Is the one if patching against my chart contributions.

If you're having any trouble with that, just let us know. The
> change is in xforms.js. See the changes between version 1.296 and 1.297.
> There are changes in a few places, but I imagine that it shouldn't be too
> hard to back-port them.

Would you please help me a little more, please. I have back-ported this changes to version 1.269 that is the one for this file in my TAG_OPS_3_7_0beta1_200808260135 checkout. I have run ant with the result attached and copied orbeon.jar, orbeon-resources-private.jar and orbeon-resources-public.jar to $TOMCAT/webapps/orbeon/WEB-INF/lib and restarted tomcat.

The behaviour remains the same. any advice? I don't want to copy all $CHECKOUT_DIRECTORY/build/orbeon-war/ to TOMCAT because it leads me to errors. I prefer to deploy your packed 3.7_0Beta and deply selected jars.

thx a lot.

rich

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

ant_with_modified_xformsjs.txt (17K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Model and GUI in arms

richhl
Here you are too the modified xforms.js (changes against 1269) if it can help you in any way.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

xforms.js (442K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Model and GUI in arms

richhl
In reply to this post by richhl
Here you are too the backported xforms.js (changes against 1269) if it can help you in any way.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

xforms.js (442K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Model and GUI in arms

Alessandro Vernet
Administrator
Rich,

Richard C. Hidalgo Lorite wrote
Here you are too the backported xforms.js (changes against 1269) if it can help you in any way.
What I would do is the following:

1) Extract the xforms.js from the build you have. That file is in orbeon-resources-public.jar.
2) With CVS, do a diff between xforms.js versions 1.296 and 1.297. Apply those changes manually to the xforms.js you just extracted.
3) Re-inject the modified xforms.js in the orbeon-resources-public.jar, in the right place.
4) Restart Tomcat.
5) Load that file directly within your web browser (http://localhost:8080/orbeon/ops/javascript/xforms.js) to check that your changes are actually there.

You'll let us know how this goes,

Alex
Reply | Threaded
Open this post in threaded view
|

re: Re: Re: Re: Model and GUI in arms

richhl
In reply to this post by richhl
What I have done:

5)Load that file directly within my web browser

http://neuroescalas.dynalias.org:8180/orbeon/ops/javascript/xforms.js

Yes the changes are there, you can check it, but the
behaviour remains the same!

thx a lot


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: re: Re: Re: Re: Model and GUI in arms

Alessandro Vernet
Administrator
Rich,

Richard C. Hidalgo Lorite wrote
What I have done:

5)Load that file directly within my web browser

http://neuroescalas.dynalias.org:8180/orbeon/ops/javascript/xforms.js

Yes the changes are there, you can check it, but the
behaviour remains the same!
Can you create a minimal test case that runs in the XForms sandbox and that we can run on a nightly build to reproduce this?

Alex