You need to sign in to do that
Don't have an account?

Rich Text Editor in Visualforce in Spring '10
Hi
I tried to use the Spring '10 rich text editor field in one of my own Visualforce forms, but it didn't seem to work (online editor complained about the field). Am I doing something wrong, or is that by design?
Thanks,
Jon
Hello Jon;
I didn't see any problem of using richText fileld in VF pages. If your Opportunity has a richText field
named "myField__c", you can use following syntax to display it in the VF page.
<apex:page standardController="Opportunity">
<apex:form>
<apex:inputField value="{!opportunity.myField__c}"/>
</apex:form>
</apex:page>
OR
<apex:outputField value="{!opportunity.myField__c}"/>
Could you please post your code here?
All Answers
In order to use this field, you have to create a pre-release account.
Did you try it in a pre-release account (or in your normal developper accout)?
To create a pre-release account:
https://www.salesforce.com/form/trial/prerelease_spring10.jsp
Yep, I am on a pre-release org.
The rich text editor fields work fine in the standard UI, but not in my Visualforce pages.
Hello Jon;
I didn't see any problem of using richText fileld in VF pages. If your Opportunity has a richText field
named "myField__c", you can use following syntax to display it in the VF page.
<apex:page standardController="Opportunity">
<apex:form>
<apex:inputField value="{!opportunity.myField__c}"/>
</apex:form>
</apex:page>
OR
<apex:outputField value="{!opportunity.myField__c}"/>
Could you please post your code here?
prageeth, you are absolutely correct. It works just fine in my Visualforce page now. I could have sworn the editor was complaining, but I cannot reproduce. I must have made a mistake.
So now I have a page with a gorgeous rich text editor! Awesome.
Thanks!
Jon