Spreadsheet not working

UI Components for JSF
Post Reply
helpme
Posts: 2
Joined: 09 Sep 2010, 17:18

09 Sep 2010, 17:21

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?

User avatar
daniel_r
Posts: 199
Joined: 02 Mar 2009, 16:35

02 Feb 2011, 22:54

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
Primefaces 3.4 , MyFaces 2.0.11
Tomcat 6
Win7 32bit

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests