-
1. Re: reRender Fidji component
ilya_shaikovsky Jun 16, 2009 10:43 AM (in response to lmk)if there are any problems logged in a4j:log?
-
2. Re: reRender Fidji component
lmk Jun 16, 2009 11:24 AM (in response to lmk)"ilya_shaikovsky" wrote:
if there are any problems logged in a4j:log?
no problem! -
3. Re: reRender Fidji component
ilya_shaikovsky Jun 16, 2009 11:37 AM (in response to lmk)please paste it at http://pastebin.com/ and share the llink.
and b.t.w. have you debugged that actually proper data fetched during ajax request? -
4. Re: reRender Fidji component
lmk Jun 16, 2009 11:40 AM (in response to lmk)"ilya_shaikovsky" wrote:
please paste it at http://pastebin.com/ and share the llink.
and b.t.w. have you debugged that actually proper data fetched during ajax request?
the component is reRendered if I use F5 button. -
-
6. Re: reRender Fidji component
rschoeler Jun 16, 2009 1:23 PM (in response to lmk)Hi, last line of the AJAX-log means, that no oncomplete function is there?
debug[16:42:18,018]: Processing updates finished, no oncomplete function to call
Are you sure, that the component you use has an oncomplete function?
regards rschoeler -
7. Re: reRender Fidji component
lmk Jun 17, 2009 2:58 AM (in response to lmk)I do not use oncomplete funct ion, only reRender attribute.$
-
8. Re: reRender Fidji component
rschoeler Jun 17, 2009 3:34 AM (in response to lmk)Hi lmk, you use a4j:support with the parent-component h:selectOneMenu, and this will be rendered to a HTML - select, which supports the onChange Event....sorry I'vent read your SRC carefully.
Have you played around with other options according to AJAX e.g. surrounding the fiji-tag with <a4j:region> or <a4j:outputPanel> ?
Hope Ilya has better suggestions for your problem....
Also first line of you log looks suspicious:Have Event [object Object] with properties: target: [object HTMLSelectElement], srcElement: undefined, type: change
Maybe this could be the problem?
regards rschoeler -
9. Re: reRender Fidji component
hwoarang Jun 17, 2009 11:56 AM (in response to lmk)Rerender does not work.
You have to use the jQuery ('#chartid:component').update() mechanism.
Please see https://groups.google.com/group/exadel-fiji-discussion -
10. Re: reRender Fidji component
lmk Jun 19, 2009 2:41 AM (in response to lmk)"Hwoarang" wrote:
Rerender does not work.
You have to use the jQuery ('#chartid:component').update() mechanism.
Please see https://groups.google.com/group/exadel-fiji-discussion
how it works with rich:jQuery? It's a special jquery plugin. I dont found this function on jquery documentation. -
11. Re: reRender Fidji component
lmk Jun 19, 2009 8:32 AM (in response to lmk)Im sorry to insist, but I do not understand why reRender does noot work?
-
-
13. Re: reRender Fidji component
hwoarang Jun 22, 2009 11:38 AM (in response to lmk)lmk:
<h:commandLink onclick="$('myForm:columnChartOne:component').update(); return false;" value="Update()" />
take a look in the fiji demo page. There you will find how to use the update() function: http://livedemo.exadel.com/fiji-demo/pages/columnChart.jsf?tab=jsAPI
about the reRender problem: better to ask for fiji developers: https://groups.google.com/group/exadel-fiji-discussion
if you're in evaluation phase, consider OpenFlashChart 2 http://code.google.com/p/jofc2/. Its much better. And open.
Regards. -
14. Re: reRender Fidji component
egosumcarlos Sep 6, 2011 1:22 PM (in response to lmk)for my work.
you should review the get and set your variable 'data', sometimes the solution is simplerthan it seems.
my mistake was that my variable initialized as well as in the example page of Fiji(in the init of the bean), so every time he always called me back the same.
him out of there and put it in the ever get to that variable to call him again initialized