in firefox instance data is not updated when an input is changed via javascipt

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

in firefox instance data is not updated when an input is changed via javascipt

Doug Young

Hi,

 

This is another problem with firefox 1.5 running an app that changes xforms:input values using javascript.

It works ok in IE 6.0.

I think this is related to (or the same as) the problem I posted under “under firefox a readonly bind not being evaluated when instance data changed via javascipt”

 

I have attached a view and an xpl called from the view and the page flow file for this example app. I have also attached the log4j.xml file as it sets up the logging of the instance when the update is pressed.

 

 

Run this app under 3.0.beta4.200512121407

browse to the page view2

click on the select profit center link this causes javascript to write the value 34 into the summarise under box which is bound to the summaryUnderPointInFinancialTreeID instance element

(under IE it also appears in the display of id box as its also bound to the summaryUnderPointInFinancialTreeID instance element under firefox the display of id box is not updated)

click the update button now look at the debug traces in the eclipse logging events window under IE the instance UIData has the value 34 for summaryUnderPointInFinancialTreeID under firefox it has no value.

 

So it looks like under firefox on the return from the javascipt the instance is not being updated with the value assigned by the javascript.

 

I think this was a bug that was fixed around early November for IE and firefox and has no come back for firefox.

 

 

Doug

 

 

 

Doug Young

Software Engineer

 

Teleflex IT

1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

+44 (0) 1506 407107

 



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

log4j.xml (3K) Download Attachment
view2.xhtml (6K) Download Attachment
calledXPL.xpl (527 bytes) Download Attachment
page-flow.xml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: in firefox instance data is not updated when an input is changed via javascipt

Alessandro  Vernet
Administrator
Doug,

It definitely looks like this is the same problem. Get the latest
build, modify your code per my previous email (to use the
getElementById function), and let us know if there is still a problem.

Alex

On 12/14/05, Doug Young <[hidden email]> wrote:

>
>
>
> Hi,
>
>
>
> This is another problem with firefox 1.5 running an app that changes
> xforms:input values using javascript.
>
> It works ok in IE 6.0.
>
> I think this is related to (or the same as) the problem I posted under
> "under firefox a readonly bind not being evaluated when instance data
> changed via javascipt"
>
>
>
> I have attached a view and an xpl called from the view and the page flow
> file for this example app. I have also attached the log4j.xml file as it
> sets up the logging of the instance when the update is pressed.
>
>
>
>
>
> Run this app under 3.0.beta4.200512121407
>
> browse to the page view2
>
> click on the select profit center link this causes javascript to write the
> value 34 into the summarise under box which is bound to the
> summaryUnderPointInFinancialTreeID instance element
>
> (under IE it also appears in the display of id box as its also bound to the
> summaryUnderPointInFinancialTreeID instance element under
> firefox the display of id box is not updated)
>
> click the update button now look at the debug traces in the eclipse logging
> events window under IE the instance UIData has the value 34 for
> summaryUnderPointInFinancialTreeID under firefox it has no
> value.
>
>
>
> So it looks like under firefox on the return from the javascipt the instance
> is not being updated with the value assigned by the javascript.
>
>
>
> I think this was a bug that was fixed around early November for IE and
> firefox and has no come back for firefox.
>
>
>
>
>
> Doug
>
>
>
>
>
>
>
> Doug Young
>
> Software Engineer
>
>
>
> Teleflex IT
>
> 1 Michaelson Square
>  Livingston
>  West Lothian
>  Scotland
>  EH54 7DP
>
>
> +44 (0) 1506 407107
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: in firefox instance data is not updated when an input is changed via javascipt

Doug Young
Yes that's fixed the problem for this bug too.

thanks
   Doug

Doug Young
Software Engineer
 
Teleflex IT
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
+44 (0) 1506 407107

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
Vernet
Sent: 06 January 2006 01:54
To: [hidden email]
Subject: Re: [ops-users] in firefox instance data is not updated when an
input is changed via javascipt

Doug,

It definitely looks like this is the same problem. Get the latest
build, modify your code per my previous email (to use the
getElementById function), and let us know if there is still a problem.

Alex

On 12/14/05, Doug Young <[hidden email]> wrote:

>
>
>
> Hi,
>
>
>
> This is another problem with firefox 1.5 running an app that changes
> xforms:input values using javascript.
>
> It works ok in IE 6.0.
>
> I think this is related to (or the same as) the problem I posted under
> "under firefox a readonly bind not being evaluated when instance data
> changed via javascipt"
>
>
>
> I have attached a view and an xpl called from the view and the page flow
> file for this example app. I have also attached the log4j.xml file as it
> sets up the logging of the instance when the update is pressed.
>
>
>
>
>
> Run this app under 3.0.beta4.200512121407
>
> browse to the page view2
>
> click on the select profit center link this causes javascript to write the
> value 34 into the summarise under box which is bound to the
> summaryUnderPointInFinancialTreeID instance element
>
> (under IE it also appears in the display of id box as its also bound to
the
> summaryUnderPointInFinancialTreeID instance element under
> firefox the display of id box is not updated)
>
> click the update button now look at the debug traces in the eclipse
logging
> events window under IE the instance UIData has the value 34 for
> summaryUnderPointInFinancialTreeID under firefox it has no
> value.
>
>
>
> So it looks like under firefox on the return from the javascipt the
instance

> is not being updated with the value assigned by the javascript.
>
>
>
> I think this was a bug that was fixed around early November for IE and
> firefox and has no come back for firefox.
>
>
>
>
>
> Doug
>
>
>
>
>
>
>
> Doug Young
>
> Software Engineer
>
>
>
> Teleflex IT
>
> 1 Michaelson Square
>  Livingston
>  West Lothian
>  Scotland
>  EH54 7DP
>
>
> +44 (0) 1506 407107
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/





--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws