I use 2 methods to insert a row in the grid
With the netadvantage checkbox (smartrefreshIDs), I have no problem
but with my jsf button, the scroll bars missing
Can you help me ?
Thank in advance
Button :
Checkbox :
<ig:checkBox smartRefreshIds="MainGrid" label="CheckBox" valueChangeListener="#{formatsBean.ajouter}"></ig:checkBox>
Try to use our component <ig:link> instead of <a4j:commandButton>. IG Link component has attribute action too.
Best Regards, Nina
Normal 0 21 false false false FR X-NONE X-NONE MicrosoftInternetExplorer4
Thank you for your answer
But we need a button component with ajax ability, like your checkbox component
In order to refresh the grid i use ajax4jsf (an open source library), it works well but when the grid is "rerender" it lost its height and width properties
When I use your checkbox component it works perfectly
So I supose that your smartrefresh done something more than the ajax4jsf's ajax refresh, but what ?
You can look my sample with your checkbox, I have no problem
http://img393.imageshack.us/my.php?image=image3sb9.jpg
but with my AJAX FOR JSF button, the scroll bars missing
http://img127.imageshack.us/my.php?image=image2gf8.jpg
Thank in advance,
Victor
It is very good idea of ajax button to be available. I' discuss this with all JSF team and I'll inform you when if would be available and when. Thank you very much for this.
I'll try to reproduce your problem with jsf button and find the problem with scrolling.