Page 1 of 1

Spreadsheet not working

Posted: 09 Sep 2010, 17:21
by helpme
hi,

i'm following the examples in the showcase for spreadsheet. however, when i do a ss.save() the spreadsheet does not save to database. can someone help me on this?

Re: Spreadsheet not working

Posted: 02 Feb 2011, 22:54
by daniel_r
I know its probably to late for you... but I had the same issue , and I found the solution, so I'll thought I'll share it for the rest...

the right p:commandbutton code should be this:

Code: Select all

 <p:commandButton onclick="ss.save()" update="growl" value="Save" actionListener="#{tableBean.save}"/>
I still don't know what the "onclick="ss.save()"" is for...

I found the code over here:
https://code.google.com/p/primefaces/so ... tml?r=3143