Groundwire/Volunteers-for-Salesforce — Issue #9: VolunteersJobListingFS doesn't handle Rich Text fields
Author: emagnuson
Created: 2011-11-28 19:26:30+00:00
State: open
Labels: Bug, Low Priority

If you add a Rich Text field to either field set used in the VolunteersJobListingFS page, you will see two of the FCK editors displayed, and edits in the editor will not get saved back to the appropriate record. Turns out, these are two unique problems.

1. the FCK editor is displayed twice, because their is some side affect with the jQuery code we are using to put the apex:form in a dialog, is causing the method FCKEditor.ReplaceTextArea to get called twice. If you don't put the apex:form in a jQuery dialog, you only get one FCK editor as expected. Unfortunately, you still run into problem #2.

2. The VolunteersJobListingFS page is using an apex:actionFunction to allow javascript code to call the actual VolunteerShiftSignUp method on the controller that does the actual save. It seems that by going thru an apex:actionFunction, rather than action on a commandButton, the FCK editor's value is not being saved back to its underlying field.