• joe1.3898212780713167E12
  • NEWBIE
  • 15 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
Hello,

I have an apex:pageMessages tag on my VF Page .
On the controller side I doing 
ApexPages.getMessages().clear();
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.ERROR,ErrorMsg));
But for some reason the clear() is not working .
I see the collection of old errors with a new one on the Page ...

Somebody please help ...
 

Hi,

I' using page messages to display message on vf page.

 

  I want to display message as show below...

How can i achieve that

 

Message:'You Selected'+' '+a.name

 

ApexPages.Message msg=new ApexPages.Message(ApexPages.Severity.Info,'You Selected'+' '+a.name );
ApexPages.addMessage(msg);

Hello everybody,

 

while trying to render a page as .pdf, I tried to use font-family: Arial Unicode MS with font-weight: bold.

That did not work. So I did first things first: google told me that it is simply not possible to do that.

 

Ofcourse I also used SF.com documentation and found this:

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_renderas_pdf.htm

 

So, Arial Unicode MS with font-weight: bold is used right in the doc. So what am I doing wrong, it is absolutely not working for me.

 

body {
            font-family:Arial Unicode MS;
            font-weight:bold;    
     }   

// First way I tried it 

body {
            font-family:Arial Unicode MS;  
     }                   
            
div.content {
            font-weight:bold;    
     }   

// Second way I tried