Unfortunately I haven't been too successful with ajaxTransactions
either. The first time I select a value in the dropdown it works
perfectly, but the second time it won't. In the Firefox error console I
get the following error with the second selection:
Error: [Exception... "Component returned failure code: 0x80070057
(NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult:
"0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame ::
http://localhost:8080/Timesheets/faces/static/META-INF/libs/scriptaculous/version1.6.4/prototype.js :: anonymous :: line 1" data: no]
Source File:
http://localhost:8080/Timesheets/faces/static/META-INF/libs/scriptaculous/version1.6.4/prototype.js
Line: 1
I also got the impression that it's re-rendering the entire page, not
jusy the table. In fact when I tried using sitemesh, the JSF page is
rerendered over the sitemesh template. However the above error is
generated even with sitemesh disabled.
Ramon Casha
On Fri, 2008-07-18 at 02:33 -0700, Stefan Bley wrote:
> I've never got those zones working.
> Try using DynaFaces.fireAjaxTransaction(). I've been more lucky with that.
>
>
> Ramon Casha wrote:
> >
> > I'm trying to use dynamic faces to update components in a table.
> >
> > The table contains a dropdown list, and I'm trying to update another
> > component on the same row based on the selected value in the dropdown.
> > However it seems the events are not being invoked at all. No JS error
> > messages appear.
> >
> > Can anyone help?
> >
> > Ramon Casha
> >
>
DISCLAIMER
----------------------
The information contained in this electronic mail may be confidential or legally privileged. It is for the intended recipient(s) only. Should you receive this message in error, please notify the sender by replying to this mail. Unauthorised use of the contents is strictly prohibited. Whilst all care has been taken, the Megabyte Group is not responsible for the integrity of the contents of this electronic mail and any attachments included within.