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

Error: The value attribute on <apex:outputText> is not in a valid format. It must be a positive number, and of type Number, Date, Time, or Choice.
I am using an outputText tag along with a param tag to format a date file. This works quite well in the sprin'09 release. I get compile errors in Summer '09. Here is a simple page that works in spring'09 but gets an error on save in the summer '09 release.
<apex:page >
<h1>Congratulations</h1>
This is your new Page
<apex:outputText value="{0,date, MMMM d', 'yyyy}">
<apex:param value="{!NOW()}" />
</apex:outputText>
</apex:page>
The error message I get in summer '09 is below. Does anyone have any idea how to get around this? I have opened a case on this - the number is 02709898
Error: The value attribute on <apex:outputText> is not in a valid format. It must be a positive number, and of type Number, Date, Time, or Choice.
|
![]() |
I am getting this error message when I try to insert a custom label into the Visualforce Email Template.
I need to create international email templates but the Custom labels have {0} markers inside to avoid me creating too many labels for 1 email.
e.g.
1 - New Email(s) in inbox
2 - Total Emails in inbox
Ideally this would be 1 custom label, but it looks like I would need two labels here, or essentially 1 custom label per section between dynamic data.
Does anyone have any ideas?
Have I missed something obvious?
Thanks,
Phil
Has this issue been fixed? Getting this error when trying to display number as a currency on a visualforce email template:
Thanks in advance for any advice
I know it is late but i think in 2nd line it should be
<apex:param value="{!pr.SellPriceExGST__c}" />
Hi ,
I'm facing the below issue in VF page. Can you help on this
"the value attribute on <apex:outputText> is not a valid format. it must be a positive number, and of type number, date, time, or choice"