• Tom_Miller
  • NEWBIE
  • 5 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

We have an actionfunction which oncomplete calls a javascript named "javascript:displayit();"

But the problem we are facing is after execution the actionfunction a span is generated in the rerender area of the actionfunction

 

<span id="org.ajax4jsf.oncomplete">javascript&colon;displayit();</span>

when inspected with firebug.

For this span the javascript&colon;displayit(); is showing in page after execution of the action function and rerendering the rerender area specified in actionfunction.

 

Hi,

 

I have a visualforce email template which is related to a custom object. In the template I have the following line where Agenda_Objective__c is a long text area.

 

 

<apex:outputText value="{!relatedTo.Agenda_Objective__c}"/>

 

 If there are any line breaks in the field in the custom object, they do not come through in the email template.

E.G. if the field contains the text:

 

Test1

Test2

Test3

 

the mail will display

 

Test1 Test2 Test3

 

Is there any way of preserving the line breaks? I could use outputfield instead of outputtext but this puts extra javascript into the mail which causes an error in my email client.

 

  • December 14, 2009
  • Like
  • 0